:root {
    --primary: #1a1a1a;
    --accent: #4a2c2a;
    --bg: #ffffff;
    --surface: #f5f5f5;
    --text: #1a1a1a;
    --dim: #6b6b6b;
    --muted: #9a9a9a;
    --border: #ebebeb;
    --wa: #25D366;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --header-h: 108px;
    --tab-h: 60px;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: var(--header-h);
    padding-bottom: calc(var(--tab-h) + var(--safe-b));
}
body.product-open { padding-top: 56px; }
body.desktop { padding-bottom: 0; padding-top: 0; }
h1,h2,h3 { font-family: 'Playfair Display', serif; }

/* —— Header fijo con buscador —— */
.app-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.announcement {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.header-inner { width: 100%; }
.header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
}
.header-row .logo-btn { flex-shrink: 0; }
.header-row .search-sticky { flex: 1; min-width: 0; }
.icon-btn {
    width: 42px; height: 42px;
    border: none;
    background: var(--surface);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.logo-btn {
    background: none;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    flex-shrink: 0;
}
.search-sticky {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 10px 16px;
    min-width: 0;
}
.search-sticky i { color: var(--muted); font-size: 0.85rem; }
.search-sticky input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.85rem;
}
.cart-btn { position: relative; }
.cart-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--accent);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* —— Vistas —— */
.view { display: none; min-height: calc(100vh - var(--header-h) - var(--tab-h)); }
.view.active { display: block; }
body.product-open .view:not(#view-product) { display: none !important; }
body.product-open #view-product { display: block !important; }

/* —— Menú lateral —— */
.overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.overlay.show { opacity: 1; visibility: visible; }
.menu-sidebar {
    position: fixed;
    top: 0; left: -100%;
    width: min(320px, 88vw);
    height: 100%;
    height: 100dvh;
    background: #fff;
    z-index: 2600;
    transition: left 0.35s cubic-bezier(0.32,0.72,0,1);
    display: flex;
    flex-direction: column;
    box-shadow: 8px 0 32px rgba(0,0,0,0.1);
}
.menu-sidebar.open { left: 0; }
.menu-head {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-head h2 { font-size: 1.2rem; }
.menu-body { flex: 1; overflow-y: auto; padding: 8px 0 16px; }
.menu-footer {
    flex-shrink: 0;
    padding: 16px 20px calc(16px + var(--safe-b));
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--surface);
}
.menu-footer a {
    font-size: 0.72rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}
.menu-footer a:hover { color: var(--accent); }
.menu-footer strong {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1.5px;
}
.mobile-only { display: block; }
.desktop-only { display: none; }
.menu-label {
    padding: 16px 20px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}
.menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text);
    transition: background 0.15s;
}
.menu-link:hover, .menu-link:active { background: var(--surface); }
.menu-link i { width: 20px; color: var(--accent); }
.menu-promo {
    margin: 8px 16px;
    padding: 14px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
}
.menu-promo strong { display: block; font-size: 0.85rem; margin-bottom: 4px; }
.menu-promo span { font-size: 0.72rem; opacity: 0.85; }

/* —— Home —— */
.hero-slider {
    position: relative;
    margin: 12px 16px;
    border-radius: 16px;
    height: min(48vh, 380px);
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    color: #fff;
    padding: 24px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
}
.hero-content h1 { font-size: 1.9rem; margin: 8px 0; }
.hero-content p { font-size: 0.85rem; opacity: 0.9; }
.section-title {
    padding: 24px 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-title h2 { font-size: 1.25rem; }
.section-title span { font-size: 0.75rem; color: var(--dim); }
.link-btn {
    background: none; border: none;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}
.promo-scroll, .cat-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.promo-scroll::-webkit-scrollbar, .cat-scroll::-webkit-scrollbar { display: none; }

.offer-scroll {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 769px) {
    .offer-scroll {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px 48px;
    }
}
.promo-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    min-height: 130px;
    position: relative;
    cursor: pointer;
}
.promo-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.promo-body {
    position: relative;
    z-index: 1;
    padding: 16px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}
.badge { font-size: 0.6rem; font-weight: 700; background: var(--accent); padding: 4px 8px; border-radius: 4px; align-self: flex-start; margin-bottom: 6px; }
.cat-card {
    flex: 0 0 42%;
    scroll-snap-align: start;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; }
.cat-card span {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
}

/* —— Tienda grid —— */
.filters {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filters-sticky {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--bg);
    padding: 8px 16px;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .app-header {
        border-bottom: none;
    }
    .filters-sticky {
        top: calc(var(--header-h) - 1px);
        border-bottom: none;
    }
}
.filter-chip {
    flex-shrink: 0;
    padding: 9px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}
.filter-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 16px 24px;
}
.card {
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
    padding: 0;
    font-family: inherit;
    color: inherit;
}
.card-img {
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    margin-bottom: 10px;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h4 { font-size: 0.82rem; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.card .sku { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.5px; margin-bottom: 4px; }
.card .row { display: flex; justify-content: space-between; align-items: center; }
.card .price { font-weight: 700; font-size: 0.9rem; }

/* —— Página producto (internacional) —— */
#view-product { padding-bottom: 100px; }
.pd-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    z-index: 2100;
    border-bottom: 1px solid var(--border);
}
.pd-gallery { background: #f8f8f8; }
.pd-main-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.pd-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
}
.pd-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: none;
}
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-body { padding: 20px 16px; max-width: 720px; margin: 0 auto; }
.pd-breadcrumb { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pd-breadcrumb button { background: none; border: none; color: var(--accent); cursor: pointer; font-size: inherit; }
.pd-name { font-size: 1.5rem; line-height: 1.2; margin-bottom: 8px; }
.pd-sku { font-size: 0.75rem; color: var(--muted); margin-bottom: 12px; }
.pd-sku code { background: var(--surface); padding: 2px 8px; border-radius: 4px; font-family: monospace; }
.pd-price { font-size: 1.5rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.pd-stock { font-size: 0.75rem; color: #2d7a4f; margin-bottom: 20px; }
.opt-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 10px; }
.colors, .sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.color-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
}
.color-btn.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary); }
.size-btn {
    min-width: 48px; height: 48px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.size-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pd-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border);
    margin: 24px 0 16px;
}
.pd-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.pd-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.pd-panel { display: none; font-size: 0.9rem; line-height: 1.7; color: var(--dim); }
.pd-panel.active { display: block; }
.detail-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.detail-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.detail-table td:first-child { color: var(--muted); width: 40%; }
.combine-section {
    padding: 28px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 28px;
}
.combine-section h3 { font-size: 1.1rem; margin-bottom: 4px; }
.combine-section p { font-size: 0.8rem; color: var(--dim); margin-bottom: 16px; }
.combine-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.combine-card {
    flex: 0 0 130px;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    padding: 0;
    font-family: inherit;
}
.combine-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 8px;
}
.combine-card span { font-size: 0.75rem; font-weight: 600; display: block; }
.combine-card em { font-size: 0.72rem; color: var(--accent); font-style: normal; font-weight: 700; }
.pd-sticky-bar {
    position: fixed;
    bottom: calc(var(--tab-h) + var(--safe-b));
    left: 0; right: 0;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 2050;
    display: flex;
    gap: 12px;
    align-items: center;
}
body.product-open .pd-sticky-bar { bottom: var(--safe-b); }
body.desktop.product-open .pd-sticky-bar { bottom: 0; }
.pd-sticky-bar .price-mini { font-weight: 700; font-size: 1rem; flex: 1; }
.btn-add {
    flex: 2;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
}

/* —— Nosotros —— */
.about-hero {
    background: var(--primary);
    color: #fff;
    padding: 40px 24px;
    text-align: center;
}
.about-hero h1 { font-size: 2rem; margin-bottom: 8px; }
.about-content { padding: 24px 16px; max-width: 640px; margin: 0 auto; }
.about-block { margin-bottom: 28px; }
.about-block h3 { font-size: 1.1rem; margin-bottom: 10px; }
.about-block p { font-size: 0.9rem; line-height: 1.7; color: var(--dim); }
.about-info {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}
.info-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border-radius: 12px;
    align-items: flex-start;
}
.info-card i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; }
.info-card strong { display: block; font-size: 0.85rem; margin-bottom: 4px; }
.info-card span { font-size: 0.8rem; color: var(--dim); }

/* —— Carrito —— */
.cart-panel {
    position: fixed;
    top: 0; right: -100%;
    width: min(400px, 100%);
    height: 100dvh;
    background: #fff;
    z-index: 2700;
    transition: right 0.35s;
    display: flex;
    flex-direction: column;
    padding: 20px 16px calc(20px + var(--safe-b));
}
.cart-panel.open { right: 0; }
.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item img { width: 56px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.btn-wa {
    width: 100%;
    padding: 14px;
    background: var(--wa);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 12px;
}

/* —— Bottom nav —— */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: calc(var(--tab-h) + var(--safe-b));
    padding-bottom: var(--safe-b);
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 2000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}
.tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none;
    background: none;
    color: var(--muted);
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 2px;
}
.tab i { font-size: 1.1rem; }
.tab.active { color: var(--primary); }
.tab.active i { color: var(--accent); }

/* Botón de Ofertas en bottom-nav (móvil) */
.tab-offers {
    color: #e63946 !important;
    font-weight: 700 !important;
    position: relative;
}
.tab-offers i {
    color: #e63946 !important;
    font-size: 1.2rem !important;
}
.tab-offers.active {
    color: #c1121f !important;
}
.tab-offers.active i {
    color: #c1121f !important;
}
.tab-offers span {
    background: #e63946;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1.2;
}

.toast {
    position: fixed;
    bottom: calc(var(--tab-h) + var(--safe-b) + 80px);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    z-index: 9999;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); grid-column: 1 / -1; }

/* Contenedor centrado (PC) */
.site-wrap {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* WhatsApp flotante */
.wa-float-wrap {
    position: fixed;
    right: 16px;
    bottom: calc(var(--tab-h) + var(--safe-b) + 20px);
    z-index: 3500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}
.wa-float-wrap > * { pointer-events: auto; }
.wa-float-msg {
    background: #fff;
    color: var(--text);
    font-size: 0.78rem;
    line-height: 1.35;
    padding: 10px 14px;
    border-radius: 12px 12px 4px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    max-width: 200px;
    font-weight: 500;
}
.wa-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}
.wa-float-btn:hover { transform: scale(1.06); }
.wa-float-btn:active { transform: scale(0.95); }

body.product-open .wa-float-wrap {
    bottom: calc(80px + var(--safe-b));
}

.footer-dev {
    color: rgba(255,255,255,0.55);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-dev:hover { color: var(--accent); }
.footer-dev strong { color: rgba(255,255,255,0.9); letter-spacing: 1px; }

/* Botón añadir en página producto (escritorio) */
.pd-actions-desktop { display: none; margin-top: 24px; }
.pd-actions-desktop .btn-add { width: 100%; max-width: 360px; }
.pd-combine-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px 24px; }

/* Footer web (escritorio) */
.site-footer {
    background: var(--primary);
    color: #fff;
    padding: 48px 32px 28px;
    margin-top: 48px;
}
.site-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-footer h3 { font-size: 1.5rem; letter-spacing: 3px; margin-bottom: 12px; }
.site-footer p { font-size: 0.85rem; opacity: 0.75; line-height: 1.6; }
.site-footer h4 { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; opacity: 0.5; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer button, .site-footer a {
    background: none; border: none; color: rgba(255,255,255,0.85);
    font-size: 0.85rem; cursor: pointer; text-decoration: none;
    font-family: inherit; padding: 0;
}
.site-footer button:hover, .site-footer a:hover { color: var(--accent); }
.site-footer-bottom {
    max-width: 1280px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ═══ ESCRITORIO: experiencia web clásica ═══ */
@media (min-width: 769px) {
    .mobile-only { display: none !important; }
    .desktop-only { display: block; }

    body {
        padding-top: 0;
        padding-bottom: 0;
        background: #fff;
    }
    body.product-open {
        padding-top: 0;
        padding-bottom: 0;
    }

    .bottom-nav { display: none; }

    .app-header {
        position: sticky;
        top: 0;
        box-shadow: 0 1px 0 var(--border);
    }
    .announcement { font-size: 0.65rem; padding: 10px; }

    .header-mobile { display: none !important; }

    .header-desktop {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 24px 22px;
        gap: 24px;
    }
    .header-nav-left {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 32px;
    }
    .logo-left {
        font-size: 2rem;
        justify-self: start;
        grid-column: 1;
    }
    .header-nav-right {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
    }
    .header-nav-right .search-sticky {
        flex: 1;
        max-width: 300px;
        border-radius: 4px;
    }
    .desktop-nav { display: flex; align-items: center; gap: 32px; }
    .desktop-nav button {
        background: none;
        border: none;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        color: var(--text);
        padding: 4px 0;
        position: relative;
        white-space: nowrap;
    }
    .desktop-nav button:hover { color: var(--accent); }
    .desktop-nav button.active::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0; right: 0;
        height: 2px;
        background: var(--accent);
    }

    .wa-float-wrap { bottom: 28px; }
    body.product-open .wa-float-wrap { bottom: 28px; }

    .view { min-height: auto; }
    body.product-open .view:not(#view-product) { display: none !important; }

    .hero-slider {
        margin: 24px auto 0;
        border-radius: 12px;
        height: min(58vh, 480px);
        max-width: 1200px;
    }
    .section-title {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
    }
    .filters {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
    }
    .promo-scroll, .cat-scroll {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
    }
    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 24px 48px;
    }
    .cat-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; }
    .cat-card { flex: unset; max-width: none; }
    .promo-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; }
    .promo-card { flex: unset; min-height: 180px; }

    .about-hero {
        max-width: 1200px;
        margin: 24px auto 0;
        border-radius: 12px;
        padding: 64px 32px;
    }
    .about-hero h1 { font-size: 2.8rem; }
    .about-content { max-width: 720px; padding: 48px 24px 80px; }
    .about-info { grid-template-columns: 1fr 1fr; }

    .site-footer-inner,
    .site-footer-bottom { max-width: 1200px; }

    /* Producto: layout e-commerce dos columnas */
    #view-product { padding-bottom: 0; }
    .pd-page-wrap {
        max-width: 1200px;
        margin: 0 auto;
        padding: 32px 24px 0;
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 56px;
        align-items: start;
    }
    .pd-gallery { background: transparent; }
    .pd-main-img { border-radius: 8px; aspect-ratio: 4/5; }
    .pd-thumbs { padding: 16px 0; }
    .pd-body { padding: 0; max-width: none; }
    .pd-name { font-size: 2rem; }
    .pd-sticky-bar { display: none !important; }
    .pd-actions-desktop { display: block; }
    .combine-section { margin-top: 0; padding-top: 0; border: none; }
    .combine-scroll { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; gap: 16px; }
    .combine-card { flex: unset; }
    .pd-combine-wrap {
        max-width: 1200px;
        padding: 0 24px 48px;
    }
    .pd-combine-wrap .combine-section h3 { font-size: 1.25rem; }

    .cart-panel { max-width: 440px; }
    .toast { bottom: 32px; }

    body.product-open #app-header { display: block !important; }
}

.header-desktop { display: none; }


/* Badge de promoción en tarjetas */
.badge-promo {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    margin-bottom: 6px;
}

/* Precios de promoción */
.promo-price {
    font-size: 0.85rem;
    margin-bottom: 4px;
}
.old-price {
    text-decoration: line-through;
    color: var(--muted);
    margin-right: 6px;
}
.offer-price {
    color: var(--accent);
    font-weight: 700;
}

/* Tarjetas de producto con botón consultar stock */
.card .btn-consult {
    display: inline-block;
    padding: 10px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    transition: background 0.2s;
}
.card .btn-consult:hover {
    background: #3a221a;
}

/* Botón de compartir */
.share-btn {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dim);
    transition: background 0.2s, color 0.2s;
}
.share-btn:hover {
    background: var(--accent);
    color: #fff;
}
.share-btn i {
    font-size: 0.9rem;
}

/* Botón de compartir en tarjetas de categoría */
.cat-card {
    position: relative;
}
.cat-share-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.85);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    font-size: 0.8rem;
    z-index: 2;
    transition: background 0.2s;
}
.cat-share-btn:hover {
    background: #fff;
}

@media (max-width: 768px) {
    .site-footer { display: none; }
    body.product-open .bottom-nav { display: none; }
    body.product-open { padding-bottom: calc(72px + var(--safe-b)); }
}

