@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── SECCIÓN ENVÍO + MEDIOS DE PAGO ─────────────────────── */
.info-section {
    background: #fff;
    padding: 3rem 0 2.5rem;
    border-top: 1px solid #f0e6ff;
}

.shipping-calc {
    background: linear-gradient(135deg, #f5f0ff, #fef0f8);
    border: 2px solid #e9d5ff;
    border-radius: 20px;
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
}

.shipping-calc-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.shipping-calc-icon { font-size: 2.5rem; line-height: 1; }

.shipping-calc-header h3 {
    font-family: Poppins, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #7e22ce;
    margin: 0 0 .2rem;
}

.shipping-calc-header p {
    font-family: Poppins, sans-serif;
    font-size: .85rem;
    color: #6b7280;
    margin: 0;
}

.shipping-calc-form {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.shipping-calc-form input {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
    padding: .75rem 1.1rem;
    border: 2px solid #d8b4fe;
    border-radius: 12px;
    font-size: 1rem;
    font-family: Poppins, sans-serif;
    outline: none;
    transition: border-color .2s;
    letter-spacing: .08em;
}

.shipping-calc-form input:focus { border-color: #7e22ce; }

.shipping-calc-form button {
    padding: .75rem 1.75rem;
    background: #7e22ce;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: Poppins, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.shipping-calc-form button:hover { background: #6b21a8; }

.shipping-result {
    margin-top: 1.1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #7e22ce;
    font-family: Poppins, sans-serif;
}

.shipping-result .sr-zone { font-size: .8rem; color: #9ca3af; margin-bottom: .25rem; }
.shipping-result .sr-price { font-size: 1.25rem; font-weight: 700; color: #7e22ce; }
.shipping-result .sr-carriers { font-size: .82rem; color: #6b7280; margin-top: .3rem; }
.shipping-result .sr-note { font-size: .78rem; color: #9ca3af; margin-top: .75rem; font-style: italic; }

.sr-carriers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .5rem;
}

@media (max-width: 480px) { .sr-carriers-grid { grid-template-columns: 1fr; } }

.sr-carrier {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: .75rem 1rem;
}

.sr-carrier-name { font-size: .8rem; font-weight: 600; color: #6b7280; margin-bottom: .25rem; }
.sr-carrier-price { font-size: 1.1rem; font-weight: 700; color: #7e22ce; margin-bottom: .3rem; }
.sr-carrier-link {
    font-size: .75rem;
    color: #7e22ce;
    text-decoration: none;
    font-weight: 600;
}
.sr-carrier-link:hover { text-decoration: underline; }

.sr-actions { margin-top: .85rem; }

.sr-btn {
    display: inline-block;
    padding: .6rem 1.25rem;
    border-radius: 10px;
    font-family: Poppins, sans-serif;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.sr-btn-wpp {
    background: #25d366;
    color: #fff;
}

/* Grid medios de pago / envío */
.payment-shipping-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 640px) {
    .payment-shipping-grid { grid-template-columns: 1fr; }
    .shipping-calc { padding: 1.25rem; }
}

.ps-block h4 {
    font-family: Poppins, sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: .9rem;
}

.ps-logos {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.ps-badge {
    display: inline-block;
    padding: .3rem .75rem;
    border-radius: 8px;
    font-family: Poppins, sans-serif;
    font-size: .78rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
    border: 1.5px solid #e5e7eb;
}

.ps-badge.mp       { background: #009ee3; color: #fff; border-color: #009ee3; }
.ps-badge.visa     { background: #1a1f71; color: #fff; border-color: #1a1f71; }
.ps-badge.mc       { background: #eb001b; color: #fff; border-color: #eb001b; }
.ps-badge.amex     { background: #007bc1; color: #fff; border-color: #007bc1; }
.ps-badge.naranja  { background: #ff6600; color: #fff; border-color: #ff6600; }
.ps-badge.cabal    { background: #003087; color: #fff; border-color: #003087; }
.ps-badge.pago     { background: #e30613; color: #fff; border-color: #e30613; }
.ps-badge.rapi     { background: #f7941d; color: #fff; border-color: #f7941d; }
.ps-badge.cash     { background: #16a34a; color: #fff; border-color: #16a34a; }
.ps-badge.bank     { background: #374151; color: #fff; border-color: #374151; }
.ps-badge.andreani { background: #e30613; color: #fff; border-color: #e30613; }
.ps-badge.correo   { background: #ffcc00; color: #222; border-color: #ffcc00; }
.ps-badge.hand     { background: #7e22ce; color: #fff; border-color: #7e22ce; }
.ps-badge.local    { background: #059669; color: #fff; border-color: #059669; }

/* ── Card de Correo Argentino ───────────────────────────── */
.correo-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.1rem;
    border: 2px solid #ffcc00;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff9e6, #fff);
    box-shadow: 0 2px 8px rgba(255,204,0,.2);
}

.correo-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.correo-logo-fallback {
    font-size: 1rem;
    font-weight: 700;
    color: #003087;
    font-family: Poppins, sans-serif;
}

.correo-card-info { display: flex; flex-direction: column; }
.correo-servicios { font-family: Poppins, sans-serif; font-size: .82rem; color: #6b7280; }

/* ── Selector de envío en modales ───────────────────────── */
.envio-opts { display:flex; flex-direction:column; gap:.45rem; margin:.25rem 0; }
.envio-opt {
    display:flex; align-items:center; gap:.6rem;
    padding:.55rem .8rem;
    border:1.5px solid #e5e7eb;
    border-radius:10px;
    cursor:pointer;
    font-family:Poppins,sans-serif;
    font-size:.88rem;
    transition:border-color .15s, background .15s;
}
.envio-opt:has(input:checked) { border-color:#7e22ce; background:#f5f0ff; }
.envio-opt input[type="radio"] { accent-color:#7e22ce; width:16px; height:16px; }

.ps-note {
    font-family: Poppins, sans-serif;
    font-size: .8rem;
    color: #6b7280;
    margin-top: .75rem;
}

:root {
    --pink: #FF4081;
    --pink-dark: #E91E63;
    --purple: #7C4DFF;
    --yellow: #FFD740;
    --whatsapp: #25D366;
    --mp: #009EE3;
    --bg: #FFF9FE;
    --text: #1A1A2E;
    --text-light: #777;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* ---- CANVAS PARTÍCULAS ---- */
#starCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

body > *:not(#starCanvas):not(#cartSidebar):not(#cartOverlay):not(#modalOverlay):not(#productOverlay):not(#fabCart):not(#adminLoginOverlay):not(#adminOverlay):not(#adminEditModal) {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- HEADER ---- */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(255, 64, 129, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 10px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 62px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
    transition: transform 0.3s;
}

.logo-img:hover { transform: scale(1.06) rotate(-2deg); }

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: width 0.2s;
    border-radius: 2px;
}

.nav a:hover { color: var(--pink); }
.nav a:hover::after { width: 100%; }

.cart-btn {
    position: relative;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 64, 129, 0.4);
}


.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--yellow);
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* ---- HERO ---- */
.hero {
    background: linear-gradient(135deg, #FF4081 0%, #9C27B0 50%, #3F51B5 100%);
    color: white;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    font-size: 2.5rem;
    animation: floatShape 6s ease-in-out infinite;
    opacity: 0.25;
}

.s1 { top: 10%; left: 5%; animation-delay: 0s; }
.s2 { top: 20%; right: 8%; animation-delay: 1s; }
.s3 { bottom: 20%; left: 12%; animation-delay: 2s; }
.s4 { bottom: 10%; right: 5%; animation-delay: 0.5s; }
.s5 { top: 50%; left: 50%; animation-delay: 1.5s; }

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(15deg); }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text { flex: 1; }

.hero-text h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.92;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-emojis { flex-shrink: 0; }

.hero-logo3d {
    width: 320px;
    max-width: 90vw;
    border-radius: 50%;
    animation: float3d 3.5s ease-in-out infinite;
    box-shadow: 0 12px 40px rgba(124,77,255,0.3);
}

@keyframes float3d {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%       { transform: translateY(-14px) rotate(1deg); }
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-size: 3.5rem;
    animation: float 3s ease-in-out infinite;
}

.emoji-grid span {
    display: block;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---- BUTTONS ---- */
.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary { background: white; color: var(--pink); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.btn-whatsapp { background: var(--whatsapp); color: white; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.4); }

.btn-mp { background: var(--mp); color: white; }
.btn-mp:hover { background: #0088c7; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,158,227,0.4); }

.btn-full { width: 100%; }

/* ---- BANNER CARRUSEL ---- */
.banner-carousel-section {
    width: 100%;
    background: #ffffff;
    padding: 20px 0 32px;
    position: relative;
}

.banner-carousel {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16 / 9;
}

.banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.banner-dot.active {
    background: #fff;
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .banner-carousel { width: 95%; }
}

/* ---- FEATURES ---- */
.features {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 20px 16px;
}

.feature span { font-size: 2rem; display: block; margin-bottom: 8px; }
.feature h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.feature p { font-size: 0.82rem; color: var(--text-light); }

/* ---- NUESTRO LOCAL ---- */
.local-section {
    width: 100%;
    overflow: hidden;
}

.local-img-wrap {
    position: relative;
    width: 100%;
    height: 480px;
}

.local-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: brightness(0.75);
}

.local-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.15) 100%);
}

.local-text {
    color: white;
    text-align: center;
    padding: 24px;
    max-width: 580px;
}

.local-badge {
    display: inline-block;
    background: var(--pink);
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.local-text h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.local-text p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .local-img-wrap { height: 340px; }
    .local-text h2 { font-size: 1.8rem; }
}

/* ---- PRODUCTS SECTION ---- */
.products-section { padding: 70px 0; }

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 36px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.search-bar {
    max-width: 520px;
    margin: 0 auto 32px;
}

.search-bar input {
    width: 100%;
    padding: 14px 24px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
}

.search-bar input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255, 64, 129, 0.1);
}

.categories {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.cat-btn {
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    background: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text);
}

.cat-btn:hover { border-color: var(--pink); color: var(--pink); }

.cat-btn.active {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.35);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.04);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.product-image-wrap {
    position: relative;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.stock-out-img {
    opacity: 0.55;
    filter: grayscale(25%);
}

.product-image-emoji {
    background: linear-gradient(135deg, #FFE0F0, #E8D5FF, #D5F0FF);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
}

.stock-out-stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-weight: 800;
    font-size: 0.62rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    pointer-events: none;
    z-index: 2;
}

.stock-out-stamp.lg {
    top: 16px;
    right: 16px;
    width: 110px;
    height: 110px;
    font-size: 1rem;
}

.product-info {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-desc {
    font-size: 0.83rem;
    color: var(--text-light);
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

.add-to-cart {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.add-to-cart:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(255, 64, 129, 0.4);
}

.consult-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.consult-whatsapp:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.stock-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.stock-low  { background: #fff3e0; color: #e65100; }

.add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    padding: 60px 20px;
    font-size: 1.05rem;
}

/* ---- CONTACT ---- */
.contact-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #FFF0F7, #F0E8FF, #E8F0FF);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.contact-card:hover { transform: translateY(-4px); }

.contact-icon { font-size: 2.8rem; display: block; margin-bottom: 14px; }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card a { color: var(--whatsapp); font-weight: 700; text-decoration: none; display: block; margin-bottom: 4px; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { color: var(--text-light); font-size: 0.88rem; line-height: 1.6; }

/* ---- FOOTER ---- */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.85);
    padding: 28px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
}

.footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1rem; }

.footer-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.15) drop-shadow(0 2px 6px rgba(255,255,255,0.15));
}
.footer-wa { color: var(--whatsapp); text-decoration: none; font-weight: 700; }
.footer-wa:hover { text-decoration: underline; }

/* ---- CART SIDEBAR ---- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar {
    position: fixed;
    right: -420px;
    top: 0;
    height: 100dvh;
    width: 390px;
    max-width: 95vw;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 40px rgba(0,0,0,0.2);
}

.cart-sidebar.open { right: 0; }

.cart-header {
    padding: 22px 20px;
    border-bottom: 2px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #FFF0F7, #F0E8FF);
}

.cart-header h3 { font-size: 1.2rem; font-weight: 700; }

.close-cart {
    background: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: background 0.2s, color 0.2s;
}

.close-cart:hover { background: var(--pink); color: white; }

.cart-items { flex: 1; overflow-y: auto; padding: 12px 16px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item:last-child { border-bottom: none; }

.cart-item-thumb {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #f0f0f0;
}

.cart-item-emoji { font-size: 2.2rem; min-width: 44px; text-align: center; }

.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.cart-item-price { color: var(--text); font-weight: 700; font-size: 0.9rem; margin-top: 2px; }

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.qty-btn {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.qty-btn:hover { background: var(--pink); color: white; }
.qty-num { font-weight: 700; min-width: 22px; text-align: center; font-size: 1rem; }

.cart-empty {
    text-align: center;
    color: var(--text-light);
    padding: 60px 20px;
    font-size: 1rem;
    line-height: 2;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #f5f5f5;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-total strong { color: var(--text); font-size: 1.5rem; font-weight: 800; }

/* ---- PRODUCT DETAIL MODAL ---- */
.product-modal {
    max-width: 640px;
    padding: 0;
    overflow: hidden;
}

.product-modal-img-wrap {
    position: relative;
    width: 100%;
    background: #FFF0F7;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 55vh;
    max-height: 70vh;
}

.product-modal-img {
    width: 100%;
    height: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.product-modal-emoji {
    font-size: 6rem;
}

/* ---- SELECTOR DE COLOR ---- */
.product-modal-colors {
    margin-bottom: 18px;
}

.product-modal-colors-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-opt {
    border: 2px solid #e0e0e0;
    background: #fff;
    color: var(--text);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.color-opt:hover {
    border-color: var(--pink);
}

.color-opt.selected {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-color: transparent;
    color: #fff;
}

.cart-item-color {
    color: var(--text-light);
    font-weight: 500;
}

.product-modal-info {
    padding: 24px 28px 28px;
}

.product-modal-info h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}

.product-modal-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-modal-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
}

/* ---- WPP CONFIRM MODAL ---- */
.wpp-confirm-modal {
    max-width: 420px;
    width: 100%;
    padding: 2rem 2rem 1.5rem;
}

.wpp-confirm-subtitle {
    color: #666;
    font-size: .95rem;
    margin: -.5rem 0 1.2rem;
}

.wpp-confirm-form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.wpp-confirm-form label {
    font-weight: 700;
    font-size: .9rem;
    color: var(--dark);
    margin-bottom: -.25rem;
}

.wpp-confirm-form input {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: .75rem 1rem;
    font-size: 1rem;
    outline: none;
    transition: border-color .2s;
}

.wpp-confirm-form input:focus {
    border-color: #25D366;
}

.wpp-confirm-error {
    color: var(--pink);
    font-size: .88rem;
    min-height: 1.2em;
    margin: 0;
}

/* ---- CHECKOUT MODAL ---- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.modal-overlay.active { display: flex; }

.modal {
    background: white;
    border-radius: 24px;
    padding: 36px 32px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal { transform: translateY(0) scale(1); }

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    color: var(--text-light);
}

.close-modal:hover { background: var(--pink); color: white; }

.modal h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.order-summary {
    background: linear-gradient(135deg, #FFF0F7, #F0E8FF);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    font-size: 0.9rem;
}

.order-summary-item span:first-child { color: var(--text-light); }
.order-summary-item span:last-child { font-weight: 600; }

.order-summary-total {
    border-top: 2px solid var(--pink);
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 800 !important;
    font-size: 1rem !important;
    color: var(--pink);
}

.order-summary-total span { color: var(--pink) !important; }

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 7px;
    color: var(--text);
}

.form-group input {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(255, 64, 129, 0.1);
}

.payment-options {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-options h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

/* ---- FAB PEDIDOS ---- */
.fab-orders {
    display: none !important;
}

.orders-new-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: white;
    font-size: .65rem;
    font-weight: 800;
    border-radius: 99px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    line-height: 1;
}

/* ---- PANEL DE PEDIDOS ---- */
.orders-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1050;
    backdrop-filter: blur(2px);
}
.orders-overlay.active { display: block; }

.orders-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    max-width: 95vw;
    height: 100%;
    background: white;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transition: right .3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,.18);
}
.orders-panel.active { right: 0; }

.orders-panel-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #7c3aed, #c026d3);
    color: white;
    flex-shrink: 0;
}
.orders-panel-hdr h3 { margin: 0; font-size: 1.1rem; font-weight: 800; color: white; }
.orders-panel-hdr button {
    background: rgba(255,255,255,.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.orders-panel-hdr button:hover { background: rgba(255,255,255,.35); }

.orders-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.orders-empty-msg { text-align: center; color: #9ca3af; margin-top: 3rem; font-size: .95rem; }

.order-card {
    border: 2px solid #f3f4f6;
    border-radius: 14px;
    padding: 1rem;
    background: white;
    transition: border-color .3s, background .3s;
}
.order-card.new-order { border-color: #25D366; background: #f0fdf4; }

.order-card-hdr {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: .4rem;
}
.order-card-name { font-weight: 800; color: #1f2937; font-size: .95rem; }
.order-card-phone { color: #16a34a; font-size: .82rem; font-weight: 600; margin-top: .1rem; }
.order-card-time { font-size: .72rem; color: #9ca3af; white-space: nowrap; margin-left: .5rem; }

.order-card-items {
    font-size: .82rem;
    color: #6b7280;
    margin: .5rem 0;
    line-height: 1.6;
    border-top: 1px solid #f3f4f6;
    padding-top: .5rem;
}
.order-card-total { font-weight: 800; color: #7c3aed; font-size: .95rem; margin-top: .4rem; }
.order-card-via {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .6rem;
    border-radius: 99px;
    margin-top: .4rem;
}
.via-whatsapp { background: #dcfce7; color: #16a34a; }
.via-mp { background: #ede9fe; color: #7c3aed; }

/* ---- FAB CARRITO FLOTANTE ---- */
.fab-cart {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    font-size: 1.7rem;
    border: none;
    cursor: pointer;
    z-index: 500;
    box-shadow: 0 6px 24px rgba(255,64,129,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fab-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 32px rgba(255,64,129,0.55);
}

.fab-cart.bump {
    animation: fab-bump 0.35s ease;
}

@keyframes fab-bump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.fab-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--yellow);
    color: #1A1A2E;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* ---- CONFETTI ---- */
.confetti-piece {
    position: fixed;
    top: -20px;
    z-index: 9999;
    pointer-events: none;
    animation: confetti-fall linear forwards;
}

@keyframes confetti-fall {
    0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 1; }
    80%  { opacity: 1; }
    100% { transform: translateY(105vh) translateX(var(--drift)) rotate(var(--rotate)); opacity: 0; }
}

/* ---- TOAST ---- */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #1A1A2E;
    color: white;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    z-index: 500;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    pointer-events: none;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {

    /* Header */
    .nav { display: none; }
    .header { padding: 8px 0; }
    .logo-img { height: 46px; }
    .cart-btn { padding: 9px 14px; font-size: 1.1rem; }
    .cart-btn span:not(.cart-badge) { display: none; }

    /* Hero */
    .hero { padding: 40px 0 30px; }
    .hero-content { flex-direction: column; gap: 24px; text-align: center; }
    .hero-text h2 { font-size: 1.7rem; }
    .hero-text p { font-size: 0.9rem; }
    .hero-emojis { display: none; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 10px; }
    .hero-buttons .btn { padding: 11px 22px; font-size: 0.9rem; }

    /* Features */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .feature { padding: 16px 10px; }
    .feature span { font-size: 1.6rem; }
    .feature h4 { font-size: 0.85rem; }
    .feature p { font-size: 0.75rem; }

    /* Banner */
    .banner-carousel { width: 95%; }

    /* Local */
    .local-img { height: 260px; }
    .local-text h2 { font-size: 1.4rem; }
    .local-text p { font-size: 0.85rem; }

    /* Productos */
    .section-title { font-size: 1.5rem; }
    .search-bar input { font-size: 0.9rem; }
    .categories { gap: 6px; }
    .cat-btn { padding: 7px 13px; font-size: 0.78rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { border-radius: 14px; }
    .product-image { height: 140px; }
    .stock-out-stamp { top: 6px; right: 6px; width: 52px; height: 52px; font-size: 0.5rem; }
    .product-name { font-size: 0.82rem; }
    .product-desc { font-size: 0.72rem; -webkit-line-clamp: 2; }
    .product-price { font-size: 0.95rem; }
    .add-to-cart { padding: 6px 10px; font-size: 0.75rem; }
    .product-footer { gap: 4px; }
    .product-info { padding: 10px; }

    /* Contacto */
    .contact-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .contact-card { padding: 18px 12px; }
    .contact-icon { font-size: 1.8rem; }
    .contact-card h3 { font-size: 0.95rem; }
    .contact-card p, .contact-card a { font-size: 0.82rem; }

    /* Footer */
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .footer-logo { height: 48px; }

    /* Carrito lateral */
    .cart-sidebar { width: 100%; max-width: 100%; height: 100dvh; }
    .cart-header { padding: 16px; }
    .cart-header h3 { font-size: 1.05rem; }
    .cart-items {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 8px 12px;
    }
    .cart-item { padding: 10px 0; gap: 10px; }
    .cart-item-thumb { width: 46px; height: 46px; border-radius: 8px; }
    .cart-item-name { font-size: 0.84rem; word-break: break-word; }
    .cart-item-price { font-size: 0.82rem; }
    .cart-item-emoji { font-size: 1.8rem; min-width: 36px; }
    .qty-btn { width: 34px; height: 34px; font-size: 1.1rem; }
    .qty-num { font-size: 0.95rem; min-width: 18px; }
    .cart-empty { padding: 40px 16px; font-size: 0.9rem; }
    .cart-footer {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    }
    .cart-total { font-size: 1rem; margin-bottom: 4px; }
    .cart-total strong { font-size: 1.3rem; }
    .cart-footer .btn { padding: 13px; font-size: 0.9rem; }

    /* FAB */
    .fab-cart { width: 54px; height: 54px; font-size: 1.4rem; bottom: 18px; right: 18px; }

    /* Modales desde abajo */
    #productOverlay, #modalOverlay, #wppConfirmOverlay, #mpConfirmOverlay {
        align-items: flex-end;
        padding: 0;
    }

    #productOverlay .modal, #modalOverlay .modal {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 92vh;
        overflow-y: auto;
        padding: 20px 18px 30px;
    }

    /* Modales de confirmación de pedido */
    #wppConfirmOverlay .wpp-confirm-modal,
    #mpConfirmOverlay .wpp-confirm-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        max-height: 90dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    }
    #wppConfirmOverlay .modal h3,
    #mpConfirmOverlay .modal h3 { font-size: 1.2rem; margin-bottom: 14px; }
    .wpp-confirm-subtitle { font-size: 0.85rem; margin-bottom: 1rem; }
    .wpp-confirm-form { gap: 0.6rem; }
    .wpp-confirm-form input { padding: 0.65rem 0.85rem; font-size: 0.95rem; }
    .envio-opt { padding: 0.45rem 0.65rem; font-size: 0.84rem; }
    .close-modal { top: 12px; right: 12px; }

    .product-modal-img-wrap { min-height: 58vh; max-height: 62vh; }
    .product-modal-img { max-height: 62vh; }
    .product-modal-emoji { font-size: 4rem; }
    .product-modal-info { padding: 14px 16px 18px; }
    .product-modal-info h2 { font-size: 1rem; }
    .product-modal-info p { font-size: 0.82rem; margin-bottom: 12px; }
    .product-modal-price { font-size: 1.2rem; }
    .product-modal-footer { flex-wrap: wrap; gap: 8px; }
    .product-modal-footer .add-to-cart,
    .product-modal-footer .consult-whatsapp { width: 100%; padding: 13px; font-size: 1rem; }

    .payment-options .btn { font-size: 1rem; padding: 14px; }
    .form-group input { font-size: 1rem; padding: 12px 14px; }
}

/* ---- ADMIN PANEL ---- */
.admin-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.2s;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 20px;
}
.admin-link:hover { color: white; border-color: white; }

.admin-login-modal { max-width: 380px; }

.admin-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #f4f4f8;
    z-index: 2000;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.admin-overlay.active { display: block; }

.admin-panel {
    max-width: 1050px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: white;
    padding: 22px 26px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.admin-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
}

.admin-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-migrate-btn {
    background: #e3f2fd;
    color: #1565c0;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.admin-add-btn {
    background: #e8f5e9;
    color: #2e7d32;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.admin-add-form {
    display: none;
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    border-left: 4px solid #4CAF50;
}
.admin-add-form.open { display: block; }

.admin-add-form h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #2e7d32;
}

.admin-add-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-add-grid .admin-field-full { grid-column: 1 / -1; }

.admin-add-form select {
    padding: 8px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
    color: var(--text);
    width: 100%;
}
.admin-add-form select:focus { border-color: var(--pink); }

.admin-img-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.admin-img-label {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
}
.admin-img-label:hover { opacity: 0.85; }
.admin-img-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}
.admin-img-none {
    font-size: 0.82rem;
    color: var(--text-light);
}
.admin-img-clear {
    background: #ffebee;
    color: #c62828;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.admin-img-clear:hover { background: #ef9a9a; }

.admin-add-actions { display: flex; gap: 8px; }
.admin-add-actions .btn {
    padding: 9px 20px;
    font-size: 0.88rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

@media (max-width: 600px) {
    .admin-add-grid { grid-template-columns: 1fr; }
}

.admin-save-all-btn {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.admin-reset-all-btn {
    background: #fff3e0;
    color: #e65100;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}
.admin-export-btn {
    background: #e8f5e9;
    color: #2e7d32;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.close-admin {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    color: var(--text-light);
    flex-shrink: 0;
}
.close-admin:hover { background: var(--pink); color: white; }

.admin-search { margin-bottom: 16px; }
.admin-search input {
    width: 100%;
    padding: 13px 22px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    background: white;
}
.admin-search input:focus { border-color: var(--pink); }

.admin-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-product-row {
    background: white;
    border-radius: 14px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 16px;
    align-items: start;
}

.admin-product-thumb {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.admin-product-thumb-emoji {
    width: 76px;
    height: 76px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFE0F0, #E8D5FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    flex-shrink: 0;
}

.admin-product-meta {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-badge-modified {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.admin-product-fields {
    display: grid;
    grid-template-columns: 1fr 110px 100px;
    gap: 10px;
}

.admin-field { display: flex; flex-direction: column; gap: 4px; }

.admin-field-full { grid-column: 1 / -1; }

.admin-field label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-field input, .admin-field textarea {
    padding: 8px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 9px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    color: var(--text);
    background: #fafafa;
}
.admin-field input:focus, .admin-field textarea:focus {
    border-color: var(--pink);
    background: white;
}
.admin-field textarea { resize: vertical; min-height: 58px; }

.admin-product-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.admin-product-actions .btn {
    padding: 7px 16px;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.admin-prod-save-btn {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
}
.admin-prod-reset-btn {
    background: #f5f5f5;
    color: var(--text);
}

@media (max-width: 600px) {
    .admin-product-row { grid-template-columns: 58px 1fr; gap: 10px; }
    .admin-product-thumb, .admin-product-thumb-emoji { width: 58px; height: 58px; }
    .admin-product-fields { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; }
    .admin-header-actions { width: 100%; }
    .admin-save-all-btn, .admin-reset-all-btn, .admin-export-btn { flex: 1; font-size: 0.8rem; padding: 9px 10px; }
}

@media (max-width: 380px) {
    .hero-text h2 { font-size: 1.4rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .product-image { height: 120px; }
    .contact-cards { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }

    /* Carrito extra pequeño */
    .cart-header { padding: 12px; }
    .cart-item-thumb { width: 40px; height: 40px; }
    .cart-footer .btn { font-size: 0.82rem; padding: 12px 8px; }
    .cart-total strong { font-size: 1.1rem; }
    #wppConfirmOverlay .wpp-confirm-modal,
    #mpConfirmOverlay .wpp-confirm-modal { max-height: 94dvh; }
}
