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

/* Ensure iOS Safari safe-area shows light bg, not footer dark red */
html {
    background-color: #F2F2F2;
}

/* Scroll lock — position:fixed technique for iOS Safari */
html.scroll-locked {
    overflow: hidden !important;
}
body.scroll-locked {
    position: fixed !important;
    top: var(--scroll-y, 0px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}
/* Hide bottom nav bar and footer when modal/cart/drawer is open */
body.scroll-locked .bottom-nav,
body.scroll-locked .footer {
    display: none !important;
}

/* Inline SVG icon base */
.ic {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 4px
}

.ic svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

.mn-emoji svg,
.bn-emoji svg {
    width: 20px;
    height: 20px
}

.pv-icon svg {
    width: 32px;
    height: 32px
}

.ce-icon svg {
    width: 48px;
    height: 48px;
    opacity: .4
}

.mbar-perk .ic svg,
.pv-feat .ic svg {
    width: 14px;
    height: 14px
}

.topbar .ic svg,
.pnav-link .ic svg {
    width: 14px;
    height: 14px
}

.banner h2 .ic svg {
    width: 28px;
    height: 28px
}

.s-head h2 .ic svg {
    width: 20px;
    height: 20px
}

.h-btn .ic svg,
.user-btn .ic svg {
    width: 15px;
    height: 15px
}

.cart-icon-btn .ic svg {
    width: 18px;
    height: 18px
}

.ud-plan .ic svg,
.gc-perks .ic svg {
    width: 13px;
    height: 13px
}

.user-drop a .ic svg {
    width: 15px;
    height: 15px
}

.mobile-tog .ic svg {
    width: 22px;
    height: 22px
}

.ap-head h3 .ic svg {
    width: 18px;
    height: 18px
}

:root {
    --gold: #E31B4E;
    --gold2: #FF4D6D;
    --gold-bg: #FFF0F3;
    --gold-border: #FFCDD8;
    --red: #E31B4E;
    --green: #25D366;
    --bg: #F2F2F2;
    --white: #FFF;
    --text: #1A1A1A;
    --dim: #666;
    --light: #999;
    --border: #E5E5E5;
    --shadow: 0 1px 4px rgba(0, 0, 0, .06)
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.5
}

a {
    color: inherit;
    text-decoration: none
}

/* TOP BAR */
.topbar {
    background: #1A1A1A;
    color: #ccc;
    padding: 7px 0;
    font-size: 12px
}

.topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.topbar a {
    color: #FF4D6D;
    font-weight: 600
}

/* HEADER */
.header,
.site-header {
    background: #E31B4E;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(227, 27, 78, .3)
}

/* HEADER NAV LINKS (unified with Club/Domicilio/Sucursales) */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px
}

.h-link {
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all .15s;
    white-space: nowrap;
    text-decoration: none
}

.h-link:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff
}

.h-link.active {
    background: rgba(255, 255, 255, .2);
    color: #fff
}

.h-link.cta {
    background: #fff;
    color: #E31B4E;
    font-weight: 700
}

.h-link.cta:hover {
    background: rgba(255, 255, 255, .9)
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 16px
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0
}

.logo-img {
    height: 38px;
    max-height: 38px
}

.plus-tag {
    background: linear-gradient(135deg, #E31B4E, #FF4D6D);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: .5px
}

.search-bar {
    flex: 1;
    position: relative;
    max-width: 560px
}

.search-bar input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border .2s;
    background: rgba(255, 255, 255, .15);
    color: #fff
}

.search-bar input::placeholder {
    color: rgba(255, 255, 255, .6)
}

.search-bar input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .25)
}

.search-bar svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%)
}

/* AUTOCOMPLETE — Enhanced with thumbnails, categories, inline add */
.autocomplete {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    max-height: 420px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    scrollbar-width: thin;
    overscroll-behavior: contain
}

.autocomplete.show {
    display: block;
    animation: acSlideIn .2s ease
}

@keyframes acSlideIn {
    from { opacity: 0; transform: translateY(-6px) }
    to { opacity: 1; transform: translateY(0) }
}

.ac-header {
    padding: 8px 14px 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center
}

.ac-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .15s;
    font-size: 13px;
    border-bottom: 1px solid #fafafa;
    position: relative
}

.ac-item:last-of-type { border-bottom: none }

.ac-item:hover,
.ac-item.ac-active {
    background: #FFF5F7
}

.ac-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #FAFAFA;
    flex-shrink: 0;
    border: 1px solid #f0f0f0
}

.ac-emoji {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    border-radius: 8px;
    font-size: 20px;
    flex-shrink: 0
}

.ac-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px
}

.ac-info .ac-name {
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px
}

.ac-info .ac-name mark {
    background: rgba(227, 27, 78, .12);
    color: #E31B4E;
    border-radius: 2px;
    padding: 0 1px;
    font-weight: 700
}

.ac-info .ac-cat {
    font-size: 10px;
    color: var(--light);
    font-weight: 400
}

.ac-cashback {
    font-size: 9px;
    color: #16a34a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 2px
}

.ac-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0
}

.ac-right .ac-price {
    color: var(--text);
    font-weight: 800;
    font-size: 14px
}

.ac-right .ac-price-club {
    color: #E31B4E;
    font-weight: 800;
    font-size: 14px
}

.ac-right .ac-price-old {
    font-size: 10px;
    color: var(--light);
    text-decoration: line-through
}

.ac-club {
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: #E31B4E;
    padding: 1px 5px;
    border-radius: 4px
}

.ac-daily {
    font-size: 9px;
    font-weight: 700;
    color: #FF6B00;
    background: #FFF3E0;
    padding: 1px 5px;
    border-radius: 4px
}

.ac-add-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #E31B4E;
    background: #fff;
    color: #E31B4E;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .2s;
    opacity: 0;
    transform: scale(.8)
}

.ac-item:hover .ac-add-btn,
.ac-item.ac-active .ac-add-btn {
    opacity: 1;
    transform: scale(1)
}

.ac-add-btn:hover {
    background: #E31B4E;
    color: #fff;
    transform: scale(1.1) !important
}

.ac-footer {
    padding: 10px 14px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background .15s
}

.ac-footer:hover { background: #FFF5F7 }

.ac-footer span {
    color: #E31B4E;
    font-size: 12px;
    font-weight: 600
}

.ac-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px 14px;
    color: var(--light);
    font-size: 13px
}

.ac-empty-sub {
    font-size: 11px;
    color: #bbb
}

.ac-recent {
    gap: 8px
}

/* CART BADGE BOUNCE ANIMATION */
@keyframes badgeBounce {
    0%   { transform: scale(1) }
    20%  { transform: scale(1.5) }
    40%  { transform: scale(0.85) }
    60%  { transform: scale(1.25) }
    80%  { transform: scale(0.95) }
    100% { transform: scale(1) }
}

@keyframes cartIconBounce {
    0%   { transform: scale(1) rotate(0) }
    25%  { transform: scale(1.15) rotate(-8deg) }
    50%  { transform: scale(1) rotate(6deg) }
    75%  { transform: scale(1.05) rotate(-3deg) }
    100% { transform: scale(1) rotate(0) }
}

.badge-bounce {
    animation: badgeBounce .5s cubic-bezier(.36, .07, .19, .97);
    animation-fill-mode: both
}

.cart-icon-bounce {
    animation: cartIconBounce .5s cubic-bezier(.36, .07, .19, .97);
    animation-fill-mode: both
}

/* Mobile autocomplete adjustments */
@media (max-width: 768px) {
    .autocomplete {
        max-height: 60vh;
        border-radius: 0 0 12px 12px;
        top: 100%
    }
    .ac-add-btn {
        opacity: 1;
        transform: scale(1)
    }
    .ac-item { padding: 8px 12px; gap: 8px }
    .ac-item img { width: 36px; height: 36px }
}

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

.h-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: all .15s
}

.h-btn:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff
}

.h-btn.gold {
    background: #fff;
    color: #E31B4E
}

.h-btn.gold:hover {
    background: rgba(255, 255, 255, .9)
}

.mobile-tog {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #fff
}

/* MOBILE NAV DRAWER */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 500;
    opacity: 0;
    transition: opacity .3s
}

.mobile-nav-overlay.show {
    display: block;
    opacity: 1
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    max-height: -webkit-fill-available;
    background: #fff;
    z-index: 510;
    display: flex;
    flex-direction: column;
    transition: left .3s cubic-bezier(.16, 1, .3, 1);
    box-shadow: 4px 0 30px rgba(0, 0, 0, .15);
    overflow: hidden;
    overscroll-behavior: contain
}

.mobile-nav.show {
    left: 0
}

.mobile-nav-head {
    background: #E31B4E;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.mobile-nav-head img {
    height: 32px
}

.mobile-nav-head button {
    background: rgba(255, 255, 255, .2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer
}

.mobile-nav-links {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 8px 0
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid #F5F5F5;
    transition: background .15s
}

.mobile-nav-links a:hover {
    background: var(--gold-bg);
    color: var(--gold)
}

.mobile-nav-links a .mn-emoji {
    font-size: 20px;
    width: 28px;
    text-align: center
}

.mobile-nav-links a .mn-badge {
    margin-left: auto;
    background: var(--gold-bg);
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px
}

.mobile-nav-foot {
    padding: 16px 20px;
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 34px));
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0
}

.mobile-nav-foot a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none
}

.mobile-nav-foot .mn-club {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff
}

.mobile-nav-foot .mn-wa {
    background: var(--green);
    color: #fff
}

/* MEMBERSHIP BAR */
.mbar {
    background: var(--gold-bg);
    border-bottom: 1px solid var(--gold-border);
    padding: 8px 0
}

.mbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px
}

.mbar-msg {
    font-size: 12px;
    color: #9E1230;
    display: flex;
    align-items: center;
    gap: 6px
}

.mbar-msg b {
    color: var(--gold)
}

.mbar-perks {
    display: flex;
    gap: 16px
}

.mbar-perk {
    font-size: 11px;
    color: #9E1230;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px
}

/* CATEGORY NAV */
.catnav {
    background: #fff;
    border-bottom: 1px solid var(--border)
}

.catnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: auto;
    overscroll-behavior-x: contain
}

.catnav-inner::-webkit-scrollbar {
    display: none
}

.cn-link {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--dim);
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    cursor: pointer;
    letter-spacing: -.01em
}

.cn-link:hover {
    color: var(--text)
}

.cn-link.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    font-weight: 700
}

/* "Más ▾" dropdown */
.cn-more-wrap {
    position: relative;
    display: inline-flex;
    align-items: stretch
}

.cn-more-btn {
    font-weight: 600 !important;
    color: var(--text) !important
}

.cn-more-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    min-width: 200px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    padding: 6px 0;
    animation: dropIn .2s ease
}

.cn-more-wrap.open .cn-more-dropdown {
    display: block
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.cn-drop-item {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px !important;
    border-bottom: none !important;
    font-size: 13px !important;
    color: var(--dim) !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s
}

.cn-drop-item:hover {
    background: var(--bg);
    color: var(--text) !important
}

.cn-drop-item.active {
    color: var(--gold) !important;
    font-weight: 700 !important;
    background: var(--gold-bg)
}

.cn-drop-cnt {
    font-size: 11px;
    color: var(--light);
    font-weight: 400;
    margin-left: 12px
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
    width: 100%;
    background: linear-gradient(135deg, #8B0A2D, #E31B4E);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease
}

.announcement-bar:hover {
    background: linear-gradient(135deg, #A00D35, #FF2D5E)
}

.ab-badge {
    background: #fff;
    color: #E31B4E;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: .5px;
    flex-shrink: 0
}

.ab-text {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.ab-cta {
    font-size: 11px;
    font-weight: 700;
    opacity: .85;
    flex-shrink: 0;
    white-space: nowrap
}

/* Countdown in announcement bar */
.ab-countdown {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,.15);
    border-radius: 6px;
    padding: 3px 10px;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    animation: countdownPulse 2s ease-in-out infinite
}

.ab-cd-icon {
    font-size: 12px
}

.ab-cd-time {
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff
}

.ab-cd-time span {
    min-width: 20px;
    text-align: center;
    display: inline-block
}

@keyframes countdownPulse {
    0%, 100% { opacity: 1 }
    50% { opacity: .8 }
}

/* OFFER BADGES — Minimalist flat style */
.offer-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.offer-badge .ob-tag {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: .3px;
    text-transform: uppercase
}

.ob-tag.ob-daily { background: #E31B4E; color: #fff }
.ob-tag.ob-club { background: #1A1A1A; color: #fff }
.ob-tag.ob-especial { background: #B45309; color: #fff }
.ob-tag.ob-combo { background: #047857; color: #fff }
.ob-tag.ob-top { background: #fff; color: #1A1A1A; border: 1px solid #E5E5E5 }
.ob-tag.ob-low { background: #DC2626; color: #fff }

/* Load More — Premium Chupatel-branded pagination */
.load-more-wrap {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    gap: 0
}

.load-more-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04)
}

.load-more-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%
}

.load-more-progress {
    flex: 1;
    height: 6px;
    background: #F0F0F0;
    border-radius: 6px;
    overflow: hidden
}

.load-more-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #E31B4E, #FF4D6D);
    border-radius: 6px;
    transition: width .6s cubic-bezier(.4,0,.2,1)
}

.load-more-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap
}

.load-more-count span {
    color: #E31B4E
}

.btn-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #E31B4E;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
    box-shadow: 0 4px 12px rgba(227,27,78,.2)
}

.btn-load-more:hover {
    background: #C8163F;
    box-shadow: 0 6px 20px rgba(227,27,78,.35);
    transform: translateY(-1px)
}

.btn-load-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(227,27,78,.2)
}

.btn-load-more svg {
    animation: loadMoreArrow 1.5s ease-in-out infinite
}

@keyframes loadMoreArrow {
    0%, 100% { transform: translateY(0) }
    50% { transform: translateY(3px) }
}

@media (max-width: 768px) {
    .announcement-bar {
        padding: 6px 12px;
        font-size: 12px;
        gap: 6px
    }

    .ab-badge {
        font-size: 9px;
        padding: 2px 6px
    }

    .ab-cta {
        font-size: 10px
    }

    .ab-countdown {
        padding: 2px 6px;
        gap: 3px
    }

    .ab-cd-time {
        font-size: 11px
    }

    .ab-cd-icon {
        font-size: 10px
    }

    .offer-badge .ob-tag {
        font-size: 9px;
        padding: 2px 6px
    }
}

/* ═══════════════════════════════════════════
   PROMO DEL DÍA — Image banner per day
   ═══════════════════════════════════════════ */
.promo-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px 0;
    cursor: pointer
}

.promo-hero img {
    width: 100%;
    aspect-ratio: 3.5 / 1;
    object-fit: cover;
    object-position: left center;
    border-radius: 16px;
    display: block;
    background: #F5F1EB;
    transition: transform .2s ease, box-shadow .2s ease
}

.promo-hero:hover img {
    transform: scale(1.005);
    box-shadow: 0 4px 20px rgba(0,0,0,.08)
}

@media (max-width: 768px) {
    .promo-hero { padding: 8px 12px 0 }
    .promo-hero img { border-radius: 12px; aspect-ratio: 2.5 / 1 }
}













/* old promo hero removed */

/* COUNTDOWN TIMER */
.promo-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px
}

.promo-countdown .cd-label {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
    font-weight: 500
}

.promo-countdown .cd-timer {
    display: flex;
    gap: 4px
}

.promo-countdown .cd-block {
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    border-radius: 6px;
    padding: 4px 8px;
    text-align: center;
    min-width: 38px
}

.promo-countdown .cd-num {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1
}

.promo-countdown .cd-unit {
    font-size: 8px;
    color: rgba(255, 255, 255, .6);
    text-transform: uppercase;
    letter-spacing: .5px
}

.promo-countdown .cd-sep {
    color: rgba(255, 255, 255, .4);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    align-self: flex-start;
    padding-top: 4px
}


/* BEST SELLERS */
.best-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px 8px
}

.s-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.s-head h2 {
    font-size: 16px;
    font-weight: 700
}

.s-head a {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600
}

.best-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px
}

.best-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    flex-direction: column
}

.best-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
    transform: translateY(-2px)
}

.best-card .b-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative
}

.best-card .b-img img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform .3s ease
}

.best-card:hover .b-img img {
    transform: scale(1.05)
}

.best-card .b-rank {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--gold);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800
}

.best-card .b-info {
    padding: 8px 10px;
    flex: 1
}

.best-card .b-name {
    font-size: 13px;
    color: var(--dim);
    line-height: 1.35;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.best-card .b-price {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -.02em
}

.best-card .b-sold {
    font-size: 10px;
    color: var(--light)
}

.best-card .b-de {
    font-size: 9px;
    color: #E31B4E;
    font-weight: 600;
    margin-top: 2px
}

.best-card .b-actions {
    padding: 4px 10px 10px
}

.best-card .b-add {
    width: 100%;
    padding: 9px;
    border: none;
    background: #E31B4E;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s
}

.best-card .b-add:hover {
    background: #C41842;
    transform: scale(1.02)
}

@media (max-width: 1024px) {
    .best-scroll {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 768px) {
    .best-section {
        padding: 12px 12px 8px
    }

    .best-scroll {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }

    .best-card .b-info {
        padding: 6px 8px
    }

    .best-card .b-name {
        font-size: 11px
    }

    .best-card .b-price {
        font-size: 14px
    }

    .best-card .b-add {
        padding: 6px;
        font-size: 10px
    }

    .s-head h2 {
        font-size: 14px
    }
}

/* MAIN LAYOUT */
.main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px 40px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px
}

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 110px;
    height: fit-content
}

.sb-section {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px
}

.sb-section h3 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--light);
    margin-bottom: 10px
}

.sb-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 8px;
    font-size: 12px;
    color: var(--dim);
    border-radius: 6px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    background: none;
    font-family: inherit;
    transition: all .15s
}

.sb-cat:hover {
    background: var(--bg);
    color: var(--text)
}

.sb-cat.active {
    background: var(--gold-bg);
    color: var(--gold);
    font-weight: 600
}

.sb-cat .cnt {
    font-size: 10px;
    color: var(--light)
}

.price-rng {
    margin: 6px 0
}

.price-rng input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: #E0E0E0;
    outline: none
}

.price-rng input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: var(--shadow)
}

.price-lbl {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--light);
    margin-top: 4px
}

/* CONTENT */
.content-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px
}

.content-head h1 {
    font-size: 20px;
    font-weight: 700
}

.content-head .cnt {
    font-size: 13px;
    color: var(--dim)
}

.content-head .cnt b {
    color: var(--gold)
}

.sort-s {
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    font-family: inherit;
    background: #fff;
    cursor: pointer
}

/* PRODUCT GRID */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px
}

/* PRODUCT CARD */
.p-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all .2s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column
}

.p-card .info {
    flex: 1;
    display: flex;
    flex-direction: column
}

.p-card .actions {
    margin-top: auto
}

.p-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    border-color: #ccc;
    transform: translateY(-2px)
}

/* Out of stock product */
.p-card.is-oos .img-area {
    filter: grayscale(.5);
    opacity: .7
}

.p-card.is-oos .pp {
    -webkit-text-fill-color: #999;
    background: none
}

/* Notify button for out-of-stock */
.btn-notify {
    background: #F8F8F8 !important;
    border-color: #ddd !important;
    color: #666 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center
}

.btn-notify:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important
}

.btn-notify svg {
    flex-shrink: 0
}

.p-card .img-area {
    width: 100%;
    aspect-ratio: 1/1;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #F0F0F0
}

.p-card .img-area img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform .3s ease
}

.p-card:hover .img-area img {
    transform: scale(1.05)
}

.p-card .img-area .emoji {
    font-size: 52px
}

/* Stock availability badges */
.stock-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 10px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .3px;
    z-index: 2;
    text-align: center;
    animation: fadeInBadge .3s ease
}

/* No need to shift when promo badge present — stock is at bottom */
.club-badge ~ .stock-badge {
    bottom: 0;
    top: auto
}

.stock-low {
    background: rgba(239, 68, 68, .12);
    color: #DC2626;
    border: 1px solid rgba(239, 68, 68, .2)
}
.stock-stores {
    display: block;
    font-size: 9px;
    font-weight: 600;
    opacity: .85;
    margin-top: 1px;
    letter-spacing: 0;
}
.store-avail-line {
    font-size: 10px;
    color: #16a34a;
    font-weight: 600;
    margin: 2px 0 4px;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.stock-out {
    background: rgba(0, 0, 0, .06);
    color: #999;
    border: 1px solid rgba(0, 0, 0, .08)
}

@keyframes fadeInBadge {
    from {
        opacity: 0;
        transform: translateY(-4px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

/* ═══════════════════════════════════════════
   CLUB CHUPATEL DISCOUNT BADGES
   ═══════════════════════════════════════════ */
.club-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .4px;
    z-index: 2;
    color: #fff;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.club-20 {
    background: linear-gradient(135deg, #E31B4E, #FF4D6D);
    box-shadow: 0 2px 10px rgba(227, 27, 78, .4);
    border: 1px solid rgba(255, 255, 255, .15)
}

.club-15 {
    background: linear-gradient(135deg, #D97706, #F59E0B);
    box-shadow: 0 2px 10px rgba(217, 119, 6, .4);
    border: 1px solid rgba(255, 255, 255, .15)
}

.club-10 {
    background: linear-gradient(135deg, #059669, #10B981);
    box-shadow: 0 2px 10px rgba(5, 150, 105, .4);
    border: 1px solid rgba(255, 255, 255, .15)
}

.p-card.has-club {
    border-color: rgba(227, 27, 78, .15);
    box-shadow: 0 1px 6px rgba(227, 27, 78, .06)
}

.p-card.has-club:hover {
    border-color: rgba(227, 27, 78, .25);
    box-shadow: 0 4px 16px rgba(227, 27, 78, .1)
}

.club-tag {
    font-size: 11px;
    font-weight: 700;
    color: #E31B4E;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px
}

.club-tag::before {
    content: '★';
    font-size: 10px
}

/* ══ Club Precio Especial ══ */
.club-especial {
    background: linear-gradient(135deg, #1a2744, #0F3460, #1565C0);
    box-shadow: 0 2px 10px rgba(26, 39, 68, .4);
    border: 1px solid rgba(255, 255, 255, .2)
}

.club-tag-especial {
    color: #0F3460
}

.club-tag-especial::before {
    content: '◆';
    font-size: 9px;
    color: #0F3460
}

.p-card.has-especial {
    border-color: rgba(15, 52, 96, .15);
    box-shadow: 0 1px 6px rgba(15, 52, 96, .06)
}

.p-card.has-especial:hover {
    border-color: rgba(15, 52, 96, .25);
    box-shadow: 0 4px 16px rgba(15, 52, 96, .12)
}

/* ══ Club Combos ══ */
.club-combo {
    background: linear-gradient(135deg, #0D9488, #14B8A6);
    box-shadow: 0 2px 10px rgba(13, 148, 136, .35);
    border: 1px solid rgba(255, 255, 255, .15)
}

.club-tag-combo {
    color: #0D9488
}

.club-tag-combo::before {
    content: '■';
    font-size: 9px;
    color: #0D9488
}

.p-card.has-combo {
    border-color: rgba(13, 148, 136, .15);
    box-shadow: 0 1px 6px rgba(13, 148, 136, .06)
}

.p-card.has-combo:hover {
    border-color: rgba(13, 148, 136, .25);
    box-shadow: 0 4px 16px rgba(13, 148, 136, .12)
}

/* Daily promo styles */
.club-badge.club-daily {
    background: linear-gradient(135deg, #FF6B00, #FF9500);
    color: #fff;
    font-weight: 700
}

.club-tag-daily {
    color: #FF6B00;
    font-weight: 600
}

.p-card.has-daily {
    border-color: rgba(255, 107, 0, .2);
    box-shadow: 0 1px 6px rgba(255, 107, 0, .08)
}

.p-card.has-daily:hover {
    border-color: rgba(255, 107, 0, .35);
    box-shadow: 0 4px 16px rgba(255, 107, 0, .15)
}

/* Club badge icon alignment */
.club-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0
}

/* (shimmer animation removed) */

.p-card .badge-p {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px
}

.p-card .badge-s {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 4px
}

.p-card .delivery {
    position: absolute;
    bottom: 6px;
    left: 8px;
    background: rgba(37, 211, 102, .1);
    color: #1B8C3D;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 3px
}

.p-card .info {
    padding: 14px 14px 8px
}

.p-card .cat-l {
    display: none
}

.p-card .name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px
}

.p-card .price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 2px
}

.p-card .pp {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -.02em
}

/* Promo/discount prices in brand red — like Amazon sale prices */
.p-card .pp.club-pp {
    color: #E31B4E
}

.p-card .pr {
    font-size: 12px;
    color: var(--light);
    text-decoration: line-through
}

.p-card .save {
    font-size: 10px;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 2px
}

.p-card .social {
    display: none
}

.p-card .actions {
    padding: 6px 14px 14px
}

.p-card .btn-add {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #E31B4E;
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    letter-spacing: .01em
}

.p-card .btn-add:hover {
    background: #C41842;
    transform: scale(1.02)
}

.p-card .btn-add:active {
    transform: scale(.97)
}

.p-card .btn-add.added {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff
}

.p-card .unit-price {
    font-size: 10px;
    color: var(--light);
    margin-top: 2px;
    font-weight: 500
}

.p-card .cashback-line {
    font-size: 10.5px;
    color: #555;
    margin-top: 4px;
    font-weight: 400;
    border-left: 2px solid #E31B4E;
    padding-left: 6px;
    line-height: 1.3
}

.p-card .cashback-line strong {
    color: #E31B4E;
    font-weight: 700
}

/* LOAD MORE BUTTON — styles defined above in announcement bar section */

/* PROMO CARD IN GRID */
.promo-card {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    min-height: 300px
}

.promo-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px
}

.promo-card p {
    font-size: 12px;
    opacity: .8;
    margin-bottom: 14px
}

.promo-card .p-btn {
    background: #fff;
    color: var(--gold);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit
}

/* MODAL */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 200;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: manipulation
}

.overlay.show {
    display: flex
}

.mdl {
    background: #fff;
    border-radius: 14px;
    max-width: 780px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
    animation: mdlIn .25s;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr
}

@keyframes mdlIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.mdl-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #F0F0F0;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    z-index: 5;
    color: #666;
    transition: all .15s
}

.mdl-close:hover {
    background: var(--red);
    color: #fff
}

.mdl-left {
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px 0 0 14px;
    min-height: 350px;
    padding: 20px
}

.mdl-left img {
    max-width: 80%;
    max-height: 250px;
    object-fit: contain
}

.mdl-left .emoji {
    font-size: 80px
}

.mdl-body {
    padding: 28px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 70vh
}

.mdl-body .cat {
    font-size: 11px;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px
}

/* CROSS-SELLING */
.cross-sell {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border)
}

.cross-sell h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--dim);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px
}

.cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px
}

.xs-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    transition: all .15s;
    display: flex;
    gap: 8px;
    align-items: center
}

.xs-card:hover {
    border-color: var(--gold-border);
    background: var(--gold-bg)
}

.xs-card .xs-img {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden
}

.xs-card .xs-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain
}

.xs-card .xs-info {
    min-width: 0;
    flex: 1
}

.xs-card .xs-name {
    font-size: 10px;
    color: var(--dim);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.xs-card .xs-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold)
}

.xs-card .xs-de {
    font-size: 9px;
    color: #9E1230;
    font-weight: 600;
    display: block;
    margin-top: 1px
}

/* BOTTOM NAV (MOBILE ONLY) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    z-index: 400;
    padding: 6px 0;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
    box-shadow: 0 -2px 12px rgba(0, 0, 0, .06)
}

.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto
}

.bn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 12px;
    font-size: 10px;
    font-weight: 500;
    color: var(--light);
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: color .15s;
    position: relative;
    min-width: 56px;
    -webkit-tap-highlight-color: transparent
}

.bn-item.active,
.bn-item:hover {
    color: var(--gold)
}

.bn-item .bn-emoji {
    font-size: 20px;
    line-height: 1;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center
}

.bn-item .bn-badge {
    position: absolute;
    top: 0px;
    right: 4px;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 1px 4px rgba(227, 27, 78, .4);
    border: 2px solid #fff
}

@media (max-width: 900px) {
    .bottom-nav {
        display: block
    }

    .float-wa {
        bottom: 76px
    }

    body {
        padding-bottom: 64px
    }
}

/* MODAL BREADCRUMB */
.mdl-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 500
}

.mdl-bc-sep {
    color: #D0D0D0
}

.mdl-body h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    color: var(--text)
}

.mdl-prices {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px
}

.mdl-pp {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold)
}

.mdl-pr {
    font-size: 16px;
    color: var(--light);
    text-decoration: line-through
}

.mdl-sv {
    background: var(--gold-bg);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px
}

/* D.E. CASHBACK DISPLAY */
.mdl-de {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(227, 27, 78, .04), rgba(227, 27, 78, .08));
    border: 1px solid rgba(227, 27, 78, .12);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 16px
}

.mdl-de-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0
}

.mdl-de-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px
}

.mdl-de-label {
    font-size: 10px;
    color: var(--dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px
}

.mdl-de-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--gold)
}

.mdl-de-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: .5px
}

/* PRODUCT SPECS TABLE */
.mdl-specs {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px
}

.mdl-spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px;
    font-size: 12px;
    border-bottom: 1px solid var(--border)
}

.mdl-spec:last-child {
    border-bottom: none
}

.mdl-spec:nth-child(odd) {
    background: #FAFAFA
}

.mdl-spec-label {
    color: var(--dim);
    font-weight: 500
}

.mdl-spec-value {
    color: var(--text);
    font-weight: 600;
    text-align: right
}

.mdl-spec-stock {
    color: #2e7d32
}

/* QUANTITY SELECTOR + CART BUTTON */
.mdl-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px
}

.mdl-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0
}

.mdl-qty-btn {
    width: 38px;
    height: 42px;
    border: none;
    background: #FAFAFA;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    transition: all .15s
}

.mdl-qty-btn:hover {
    background: #F0F0F0
}

.mdl-qty-btn:active {
    background: #E8E8E8
}

.mdl-qty-num {
    width: 40px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 42px
}

.mdl-cart-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #E31B4E, #C41240);
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    letter-spacing: .3px
}

.mdl-cart-btn:hover {
    background: linear-gradient(135deg, #C41240, #A80E35);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(227, 27, 78, .3)
}

.mdl-cart-btn:active {
    transform: translateY(0)
}

/* PAGES NAV */
.pages-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 90
}

.pages-nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none
}

.pages-nav-inner::-webkit-scrollbar {
    display: none
}

.pnav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 11px 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .15s
}

.pnav-link:hover {
    color: var(--gold);
    background: var(--gold-bg);
    border-bottom-color: var(--gold)
}

.pnav-link .pnav-badge {
    background: var(--gold-bg);
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .3px
}

.pnav-link.today-promo {
    color: var(--gold);
    background: var(--gold-bg)
}

.pnav-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    flex-shrink: 0
}

/* PREVIEW CARDS */
.preview-strip {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.pv-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all .25s;
    position: relative;
    overflow: hidden
}

.pv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold2));
    opacity: 0;
    transition: opacity .25s
}

.pv-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    transform: translateY(-3px);
    border-color: var(--gold-border)
}

.pv-card:hover::before {
    opacity: 1
}

.pv-card .pv-icon {
    font-size: 32px;
    margin-bottom: 12px
}

.pv-card .pv-tag {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gold);
    margin-bottom: 6px
}

.pv-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2
}

.pv-card .pv-desc {
    font-size: 12px;
    color: var(--dim);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1
}

.pv-card .pv-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px
}

.pv-card .pv-feat {
    background: var(--bg);
    font-size: 10px;
    font-weight: 600;
    color: var(--dim);
    padding: 4px 8px;
    border-radius: 6px
}

.pv-card .pv-footer {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.pv-card .pv-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 4px
}

.pv-card .pv-stat {
    font-size: 11px;
    color: var(--light)
}

.pv-card .pv-highlight {
    background: var(--gold-bg);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px
}

@media (max-width:768px) {
    .preview-strip {
        grid-template-columns: 1fr
    }
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, #E31B4E 0%, #C2173F 50%, #8B0A2D 100%);
    color: rgba(255, 255, 255, .7);
    padding: 40px 24px;
    margin-top: 32px
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px
}

.footer h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px
}

.footer a {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .65);
    padding: 3px 0;
    transition: color .15s
}

.footer a:hover {
    color: #fff
}

.footer-bot {
    max-width: 1400px;
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 8px
}

.footer-bot .brand {
    color: #fff;
    font-weight: 700
}

.footer-bot a {
    color: rgba(255, 255, 255, .5);
    transition: color .15s
}

.footer-bot a:hover {
    color: #fff
}

/* FLOAT */
.float-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    padding: 12px 20px;
    border-radius: 28px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .35);
    transition: all .25s
}

.float-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, .4)
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px;
    gap: 10px;
    grid-column: 1/-1
}

.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .6s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.no-res {
    text-align: center;
    padding: 40px;
    color: var(--dim);
    grid-column: 1/-1
}

/* SKELETON */
.skel {
    background: linear-gradient(90deg, #F0F0F0 25%, #E0E0E0 50%, #F0F0F0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

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

    100% {
        background-position: -200% 0
    }
}

/* AUTH MODAL */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.auth-overlay.show {
    display: flex
}

.auth-box {
    background: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    padding: 36px;
    animation: mdlIn .25s;
    position: relative
}

.auth-box .ax {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #F0F0F0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    color: #666
}

.auth-box .ax:hover {
    background: var(--red);
    color: #fff
}

.auth-box h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    text-align: center
}

.auth-box .subtitle {
    text-align: center;
    color: var(--dim);
    font-size: 13px;
    margin-bottom: 20px
}

.auth-box .gold-card {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    border-radius: 10px;
    padding: 16px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px
}

.auth-box .gold-card .gc-price {
    font-size: 28px;
    font-weight: 800
}

.auth-box .gold-card .gc-period {
    font-size: 12px;
    opacity: .8
}

.auth-box .gc-perks {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap
}

.auth-box .gc-perks span {
    font-size: 10px;
    background: rgba(255, 255, 255, .2);
    padding: 3px 8px;
    border-radius: 12px
}

.auth-group {
    margin-bottom: 14px
}

.auth-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
    margin-bottom: 4px
}

.auth-group input,
.auth-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border .2s
}

.auth-group input:focus,
.auth-group select:focus {
    border-color: var(--gold)
}

.auth-group small {
    color: var(--light);
    font-size: 11px;
    margin-top: 2px;
    display: block
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.auth-submit {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
    margin-top: 6px
}

.auth-submit.gold {
    background: linear-gradient(135deg, var(--gold), var(--gold2));
    color: #fff
}

.auth-submit.gold:hover {
    opacity: .9
}

.auth-submit.green {
    background: var(--green);
    color: #fff
}

.auth-submit.green:hover {
    background: #1DA851
}

.auth-switch {
    text-align: center;
    font-size: 12px;
    color: var(--dim);
    margin-top: 14px
}

.auth-switch a {
    color: var(--gold);
    font-weight: 600;
    cursor: pointer
}

.auth-error {
    background: #FFF0F0;
    border: 1px solid #FFD0D0;
    color: var(--red);
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: none
}

.auth-error.show {
    display: block
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dim);
    cursor: pointer;
    border-bottom: 2px solid transparent
}

.auth-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold)
}

.plan-toggle {
    display: flex;
    background: var(--bg);
    border-radius: 8px;
    padding: 3px;
    margin-bottom: 14px
}

.plan-opt {
    flex: 1;
    text-align: center;
    padding: 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    color: var(--dim);
    transition: all .15s
}

.plan-opt.active {
    background: #fff;
    color: var(--gold);
    box-shadow: var(--shadow)
}

/* USER MENU */
.user-menu {
    position: relative
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-bg);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit
}

.user-btn:hover {
    background: var(--gold-border)
}

.user-drop {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    min-width: 200px;
    display: none;
    z-index: 10
}

.user-drop.show {
    display: block
}

.user-drop .ud-header {
    padding: 14px;
    border-bottom: 1px solid var(--border)
}

.user-drop .ud-name {
    font-size: 14px;
    font-weight: 700
}

.user-drop .ud-email {
    font-size: 11px;
    color: var(--light)
}

.user-drop .ud-plan {
    font-size: 10px;
    background: var(--gold-bg);
    color: var(--gold);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 4px;
    display: inline-block
}

.user-drop a {
    display: block;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--dim);
    transition: background .15s;
    cursor: pointer
}

.user-drop a:hover {
    background: #F5F5F5
}

/* BLURRED PRICES FOR NON-MEMBERS */
.blurred {
    filter: blur(6px);
    user-select: none;
    pointer-events: none
}

.lock-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .85);
    z-index: 2;
    border-radius: 10px;
    cursor: pointer
}

.lock-overlay .lock-icon {
    font-size: 28px;
    margin-bottom: 6px
}

.lock-overlay .lock-text {
    font-size: 11px;
    color: var(--gold);
    font-weight: 700
}

/* CART DRAWER */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 250
}

.cart-overlay.show {
    display: block
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -440px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    max-height: -webkit-fill-available;
    background: #fff;
    z-index: 260;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: right .3s cubic-bezier(.16, 1, .3, 1);
    box-shadow: -4px 0 30px rgba(0, 0, 0, .15);
    overscroll-behavior: contain
}

.cart-drawer.show {
    right: 0
}

.cart-head {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: #fff
}

.cart-head h3 {
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px
}

.cart-head .cart-count-badge {
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 6px
}

.cart-head button {
    background: #F0F0F0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    color: #666
}

.cart-head button:hover {
    background: var(--red);
    color: #fff
}

.cart-body {
    flex: 1 1 0%;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
    padding: 12px 20px;
    overscroll-behavior: contain
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--dim)
}

.cart-empty .ce-icon {
    font-size: 48px;
    margin-bottom: 12px
}

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

.cart-item .ci-img {
    width: 56px;
    height: 56px;
    background: #FAFAFA;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden
}

.cart-item .ci-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain
}

.cart-item .ci-info {
    flex: 1;
    min-width: 0
}

.cart-item .ci-name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.cart-item .ci-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin-top: 2px
}

.cart-item .ci-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden
}

.cart-item .ci-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: var(--dim);
    font-family: inherit
}

.cart-item .ci-qty button:hover {
    background: #F5F5F5
}

.cart-item .ci-qty span {
    width: 28px;
    text-align: center;
    font-size: 12px;
    font-weight: 600
}

.cart-item .ci-del {
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
    font-size: 14px;
    padding: 4px
}

.cart-item .ci-del:hover {
    color: var(--red)
}

.cart-foot {
    flex-shrink: 1;
    padding: 12px 20px;
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    background: #FAFAFA;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 55vh
}

.cart-totals {
    margin-bottom: 12px
}

/* Delivery Switch */
/* Payment method selector */
.pay-method-section {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fafbfc
}

.pay-method-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: .3px
}

.pay-method-btns {
    display: flex;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid var(--red)
}

.pay-btn {
    flex: 1;
    padding: 9px 4px;
    border: none;
    background: #fff;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    white-space: nowrap
}

.pay-btn + .pay-btn {
    border-left: 1px solid rgba(227, 27, 78, .2)
}

.pay-btn.active {
    background: var(--red);
    color: #fff
}

.delivery-switch {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fafbfc
}

.ds-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none
}

.ds-toggle {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: #D1D5DB;
    position: relative;
    transition: background .25s ease;
    flex-shrink: 0
}

.ds-toggle.on {
    background: #E31B4E
}

.ds-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left .25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.ds-toggle.on .ds-knob {
    left: 20px
}

.ds-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px
}

.ds-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text)
}

.ds-fee {
    font-size: 11px;
    color: var(--dim)
}

.ds-toggle.on~.ds-text .ds-fee {
    color: #E31B4E;
    font-weight: 600
}

.ds-truck {
    flex-shrink: 0;
    animation: truckBounce .5s ease
}

@keyframes truckBounce {
    0% {
        transform: translateX(-10px);
        opacity: 0
    }

    60% {
        transform: translateX(3px)
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

.ds-coverage {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border)
}

.ds-check-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all .2s ease
}

.ds-check-btn:hover {
    border-color: #E31B4E;
    color: #E31B4E
}

.ds-check-btn:active {
    transform: scale(.97)
}

.ds-yes,
.ds-no {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4
}

.ds-yes {
    color: #10B981
}

.ds-yes strong {
    color: #059669
}

.ds-yes span {
    color: var(--dim)
}

.ds-no {
    color: #EF4444
}

.ds-no strong {
    color: #DC2626
}

.ds-no span {
    color: var(--dim)
}

.ds-loading {
    font-size: 12px;
    color: var(--dim);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px
}

.ds-blocked-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #DC2626;
    margin-bottom: 8px
}

/* Envase / Deposit Switch */
.envase-switch {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    background: #fafbfc;
    transition: border-color .2s ease
}

.envase-switch.has-envase {
    border-color: #D1FAE5
}

.envase-switch.forced {
    border-color: #FECACA;
    background: #FFFBFB
}

.ev-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none
}

.ev-toggle {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: #E31B4E;
    position: relative;
    transition: background .25s ease;
    flex-shrink: 0
}

.ev-toggle.off {
    background: #10B981
}

.ev-toggle.disabled {
    opacity: .5;
    pointer-events: none
}

.ev-knob {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 20px;
    transition: left .25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2)
}

.ev-toggle.off .ev-knob {
    left: 2px
}

.ev-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px
}

.ev-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text)
}

.ev-fee {
    font-size: 11px;
    color: var(--dim)
}

.ev-toggle:not(.off)~.ev-text .ev-fee {
    color: #E31B4E;
    font-weight: 600
}

.ev-icon {
    flex-shrink: 0;
    animation: bottlePop .4s ease
}

@keyframes bottlePop {
    0% {
        transform: scale(0) rotate(-20deg);
        opacity: 0
    }

    60% {
        transform: scale(1.15) rotate(5deg)
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1
    }
}

.ev-breakdown {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border)
}

.ev-breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 11px;
    color: var(--dim)
}

.ev-breakdown-item .ev-b-name {
    display: flex;
    align-items: center;
    gap: 4px
}

.ev-breakdown-item .ev-b-price {
    font-weight: 600;
    color: #E31B4E
}

.ev-forced-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 10px;
    color: #DC2626;
    font-weight: 600;
    background: #FEF2F2;
    padding: 5px 8px;
    border-radius: 6px
}

.ev-info-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 10px;
    color: #059669;
    font-weight: 600;
    background: #ECFDF5;
    padding: 5px 8px;
    border-radius: 6px
}

.cart-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--dim);
    padding: 3px 0
}

.cart-row.total {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px
}

.cart-row .free {
    color: var(--green);
    font-weight: 600
}

.btn-checkout {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    background: var(--green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .15s
}

.btn-checkout:hover {
    background: #1DA851
}

.btn-continue {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    background: #fff;
    color: var(--dim);
    margin-top: 8px;
    text-align: center
}

/* CART ICON HEADER */
.cart-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: inherit;
    transition: all .15s
}

.cart-icon-btn:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 2px;
    background: #fff;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
    border: 1.5px solid var(--red);
    animation: badgePop .3s ease
}

@keyframes badgePop {
    0% {
        transform: scale(0)
    }

    60% {
        transform: scale(1.3)
    }

    100% {
        transform: scale(1)
    }
}

/* CHECKOUT */
.checkout-section {
    display: none
}

.checkout-section.show {
    display: block;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    max-height: 60vh;
    overscroll-behavior: contain
}

.ck-group {
    margin-bottom: 12px
}

.ck-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
    margin-bottom: 4px
}

.ck-group input,
.ck-group select,
.ck-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    outline: none
}

.ck-group input:focus,
.ck-group select:focus {
    border-color: var(--gold)
}

.ck-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.ck-back {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 0;
    margin-bottom: 12px;
    font-family: inherit
}

/* FAQ ACCORDION */
.faq-item.open>div:last-child {
    max-height: 200px
}

.faq-item.open>div:first-child span {
    transform: rotate(45deg)
}

/* SHIPPING OPTIONS */
.ship-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s
}

.ship-opt:hover {
    border-color: var(--gold-border)
}

.ship-opt.selected {
    border-color: var(--gold);
    background: var(--gold-bg)
}

.ship-opt .so-radio {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.ship-opt.selected .so-radio {
    border-color: var(--gold)
}

.ship-opt.selected .so-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold)
}

.ship-opt .so-info {
    flex: 1
}

.ship-opt .so-name {
    font-size: 13px;
    font-weight: 600
}

.ship-opt .so-time {
    font-size: 11px;
    color: var(--dim)
}

.ship-opt .so-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold)
}

/* TOAST */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 400;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    transform: translateX(120%);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
    max-width: 320px
}

.toast.show {
    transform: translateX(0)
}

.toast .t-icon {
    font-size: 22px;
    flex-shrink: 0
}

.toast .t-body {
    flex: 1
}

.toast .t-title {
    font-size: 12px;
    font-weight: 700
}

.toast .t-msg {
    font-size: 11px;
    color: var(--dim)
}

.toast .t-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 0 0 10px 10px;
    animation: toastBar 3s linear forwards
}

@keyframes toastBar {
    from {
        width: 100%
    }

    to {
        width: 0
    }
}

/* MI CUENTA PANEL */
.account-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 280;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.account-overlay.show {
    display: flex
}

.account-panel {
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    animation: mdlIn .25s;
    position: relative
}

.ap-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.ap-head h3 {
    font-size: 18px;
    font-weight: 700
}

.ap-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    padding: 0 24px
}

.ap-tab {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dim);
    cursor: pointer;
    border-bottom: 2px solid transparent
}

.ap-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold)
}

.ap-body {
    padding: 20px 24px
}

.ap-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px
}

.ap-label {
    font-size: 11px;
    color: var(--dim);
    margin-bottom: 2px
}

.ap-value {
    font-size: 16px;
    font-weight: 700
}

.ap-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.order-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px
}

.order-card .oc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px
}

.order-card .oc-id {
    font-size: 12px;
    font-weight: 700
}

.order-card .oc-date {
    font-size: 11px;
    color: var(--dim)
}

.oc-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px
}

.oc-status.pending {
    background: #FFF3E0;
    color: #E65100
}

.oc-status.shipped {
    background: #E3F2FD;
    color: #1565C0
}

.oc-status.delivered {
    background: #E8F5E9;
    color: #2E7D32
}

.oc-items {
    font-size: 12px;
    color: var(--dim);
    line-height: 1.5
}

.oc-total {
    font-size: 14px;
    font-weight: 700;
    margin-top: 6px
}

/* TRACKING */
.track-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 12px 0
}

.track-step {
    display: flex;
    gap: 12px;
    padding: 8px 0
}

.track-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative
}

.track-dot.done {
    background: var(--gold);
    border-color: var(--gold)
}

.track-dot.active {
    border-color: var(--gold);
    animation: pulse 1.5s infinite
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(184, 150, 12, .3)
    }

    50% {
        box-shadow: 0 0 0 6px rgba(184, 150, 12, 0)
    }
}

.track-line {
    position: absolute;
    left: 5px;
    top: 14px;
    width: 2px;
    height: 20px;
    background: var(--border)
}

.track-dot.done .track-line {
    background: var(--gold)
}

.track-info .ti-title {
    font-size: 13px;
    font-weight: 600
}

.track-info .ti-time {
    font-size: 11px;
    color: var(--dim)
}

@media(max-width:900px) {
    .main {
        grid-template-columns: 1fr
    }

    .sidebar {
        display: none
    }

    .topbar,
    .mbar,
    .pages-nav,
    .header-nav {
        display: none
    }

    /* MOBILE HEADER - Walmart style */
    .header-inner {
        flex-wrap: wrap;
        gap: 0;
        padding: 8px 12px;
        justify-content: space-between
    }

    /* Row 1: ☰ Logo Cart */
    .mobile-tog {
        display: block;
        order: 1;
        font-size: 24px;
        padding: 6px
    }

    .logo-area {
        order: 2;
        flex: 1;
        justify-content: center
    }

    .logo-img {
        height: 32px;
        max-height: 32px
    }

    .header-actions {
        order: 3;
        gap: 0
    }

    /* Hide text buttons, keep only cart icon */
    .h-btn {
        display: none !important
    }

    .user-menu {
        display: none !important
    }

    .cart-icon-btn {
        font-size: 20px;
        padding: 6px 8px
    }

    #cartIconText {
        display: none
    }

    /* Row 2: Search bar full width */
    .search-bar {
        order: 4;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 8px
    }

    .search-bar input {
        padding: 9px 14px 9px 36px;
        font-size: 13px;
        border-radius: 20px;
        background: rgba(255, 255, 255, .2);
        border: 1.5px solid rgba(255, 255, 255, .3)
    }

    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px
    }

    .p-card .img-area img {
        max-width: 85%;
        max-height: 85%
    }

    .p-card .info {
        padding: 8px 8px 4px
    }

    .p-card .name {
        font-size: 11px;
        min-height: 26px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 4px
    }

    .p-card .pp {
        font-size: 15px
    }

    .p-card .actions {
        padding: 4px 8px 8px
    }

    .btn-add {
        font-size: 11px;
        padding: 7px
    }

    .p-card .cashback-line {
        font-size: 9px;
        margin-top: 2px
    }

    .p-card .unit-price {
        font-size: 9px
    }

    .banner {
        min-width: 100%;
        height: 140px;
        padding: 0 24px
    }

    .banner h2 {
        font-size: 20px
    }

    .banner p {
        font-size: 12px
    }

    .content-head h1 {
        font-size: 16px
    }

    .overlay {
        padding: 0;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain
    }

    .overlay.show {
        display: block
    }

    .mdl {
        position: relative;
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        border-radius: 0;
        overflow-y: visible;
        box-shadow: none;
        animation: none
    }

    .mdl-left {
        min-height: 200px;
        border-radius: 0;
        position: relative;
        top: auto;
        z-index: 1
    }

    .mdl-body {
        max-height: none;
        overflow-y: visible;
        padding: 20px 16px 120px
    }

    .mdl-close {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 10;
        background: rgba(0, 0, 0, .5);
        color: #fff
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr)
    }

    .auth-box {
        padding: 24px
    }

    .auth-row {
        grid-template-columns: 1fr
    }

    .promo-card {
        grid-column: span 2
    }

    .load-more-wrap {
        grid-column: span 2
    }
}

@media(max-width:480px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px
    }

    .p-card .info {
        padding: 6px 8px 4px
    }

    .p-card .name {
        font-size: 10px;
        min-height: 24px;
        -webkit-line-clamp: 2;
        line-clamp: 2
    }

    .p-card .pp {
        font-size: 14px
    }

    .p-card .actions {
        padding: 4px 8px 6px
    }

    .btn-add {
        font-size: 10px;
        padding: 6px
    }

    .banner {
        height: 120px;
        padding: 0 16px
    }

    .banner h2 {
        font-size: 17px
    }

    .best-card {
        min-width: 120px
    }

    .best-card .b-img {
        height: 90px
    }

    .cart-foot {
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px))
    }
}

/* ═══════════════════════════════════════════
   SKELETON LOADING CARDS
   ═══════════════════════════════════════════ */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 0
}

.skeleton-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden
}

.skeleton-img {
    width: 100%;
    height: 190px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    margin: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite
}

.skeleton-line.short {
    width: 40%;
    height: 10px
}

.skeleton-line.price {
    width: 30%;
    height: 20px;
    margin-top: 8px
}

.skeleton-line.btn {
    width: calc(100% - 24px);
    height: 36px;
    border-radius: 20px;
    margin-top: 12px
}

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

    100% {
        background-position: -200% 0
    }
}

/* ═══════════════════════════════════════════
   BACK TO TOP BUTTON
   ═══════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: #666;
    border: 1px solid rgba(0, 0, 0, .08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s ease;
    pointer-events: none;
    backdrop-filter: blur(8px)
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto
}

.back-to-top:hover {
    background: #E31B4E;
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 27, 78, .3)
}

.back-to-top svg {
    width: 20px;
    height: 20px
}

/* ═══════════════════════════════════════════
   STICKY MOBILE ADD TO CART
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .mdl-sticky-bar {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        padding: 10px 16px;
        display: flex;
        align-items: center;
        gap: 10px;
        z-index: 10;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, .06)
    }

    .mdl-sticky-bar .sticky-price {
        font-size: 20px;
        font-weight: 900;
        background: linear-gradient(135deg, #E31B4E, #FF4D6D);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        white-space: nowrap
    }

    .mdl-sticky-bar .sticky-btn {
        flex: 1;
        padding: 12px;
        border-radius: 12px;
        border: none;
        background: linear-gradient(135deg, #E31B4E, #FF4D6D);
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        font-family: inherit
    }
}

/* ═══════════════════════════════════════════
   SHARE BUTTON
   ═══════════════════════════════════════════ */
.share-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border)
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    color: var(--dim)
}

.share-btn:hover {
    border-color: #ccc;
    background: #FAFAFA
}

.share-btn.wa {
    color: #25D366;
    border-color: rgba(37, 211, 102, .3)
}

.share-btn.wa:hover {
    background: rgba(37, 211, 102, .05)
}

.share-btn.copy {
    color: var(--dim)
}

/* ═══════════════════════════════════════════
   PULL TO REFRESH
   ═══════════════════════════════════════════ */
.pull-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    z-index: 200;
    background: #fff;
    padding: 10px 20px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1);
    font-size: 12px;
    font-weight: 600;
    color: var(--dim);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform .3s ease
}

.pull-indicator.show {
    transform: translateX(-50%) translateY(0)
}

.pull-indicator .pull-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin .6s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* ═══════════════════════════════════════════
   CART FLY ANIMATION
   ═══════════════════════════════════════════ */
.cart-fly {
    position: fixed;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    pointer-events: none;
    box-shadow: 0 4px 20px rgba(227, 27, 78, .4);
    transition: all .6s cubic-bezier(.25, .46, .45, .94);
    opacity: 1
}

.cart-fly.fly {
    opacity: 0;
    transform: scale(.3)
}

/* ═══════════════════════════════════════════
   BREADCRUMBS IN CONTENT AREA
   ═══════════════════════════════════════════ */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 12px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, .02);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, .04)
}

.breadcrumbs a {
    color: var(--dim);
    text-decoration: none;
    transition: color .15s;
    font-weight: 500
}

.breadcrumbs a:hover {
    color: var(--gold)
}

.breadcrumbs .bc-sep {
    color: #bbb;
    font-size: 10px
}

.breadcrumbs .bc-current {
    color: var(--text);
    font-weight: 600
}

/* ═══════════════════════════════════════════
   SWIPE HINT (MOBILE)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .swipe-hint {
        position: absolute;
        top: 50%;
        right: 8px;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(0, 0, 0, .06);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        color: var(--light);
        opacity: 0;
        transition: opacity .3s
    }

    .p-card:active .swipe-hint {
        opacity: 1
    }

    .back-to-top {
        bottom: 74px;
        right: 14px;
        width: 40px;
        height: 40px
    }
}

/* ═══════════════════════════════════════════
   INFINITE SCROLL SENTINEL
   ═══════════════════════════════════════════ */
.scroll-sentinel {
    height: 1px;
    width: 100%
}

.scroll-loading {
    text-align: center;
    padding: 20px;
    color: var(--light);
    font-size: 13px
}

.scroll-loading .scroll-dots {
    display: inline-flex;
    gap: 4px;
    margin-right: 8px
}

.scroll-loading .scroll-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: dotPulse .6s infinite alternate
}

.scroll-loading .scroll-dots span:nth-child(2) {
    animation-delay: .2s
}

.scroll-loading .scroll-dots span:nth-child(3) {
    animation-delay: .4s
}

@keyframes dotPulse {
    from {
        opacity: .3;
        transform: scale(.8)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

/* ═══════════════════════════════════════════
   CLUB NAV CHIP
   ═══════════════════════════════════════════ */
.cn-club {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(227, 27, 78, .08), rgba(255, 77, 109, .08));
    border: 1px solid rgba(227, 27, 78, .2);
    border-radius: 20px;
    padding: 5px 14px !important;
    color: #E31B4E !important;
    font-weight: 700 !important;
    transition: all .3s ease;
    position: relative;
    overflow: visible;
    margin-left: 8px;
    white-space: nowrap;
    flex-shrink: 0
}

.cn-club::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 27, 78, .1), transparent);
    animation: clubShimmer 3s infinite;
    border-radius: inherit;
    pointer-events: none
}

@keyframes clubShimmer {
    0% {
        left: -100%
    }

    100% {
        left: 200%
    }
}

.cn-club:hover {
    background: linear-gradient(135deg, rgba(227, 27, 78, .15), rgba(255, 77, 109, .15));
    border-color: rgba(227, 27, 78, .4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 27, 78, .15)
}

.cn-club.active {
    background: linear-gradient(135deg, #E31B4E, #FF4D6D) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 16px rgba(227, 27, 78, .35)
}

.cn-club.active svg {
    stroke: #fff
}

.cn-club svg {
    stroke: #E31B4E;
    flex-shrink: 0;
    vertical-align: middle;
    transition: stroke .2s
}

.cn-club-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: rgba(227, 27, 78, .12);
    font-size: 9px;
    font-weight: 800;
    color: #E31B4E;
    padding: 0 5px;
    margin-left: 2px
}

.cn-club.active .cn-club-count {
    background: rgba(255, 255, 255, .25);
    color: #fff
}

/* ═══════════════════════════════════════════
   CART CLUB STYLES
   ═══════════════════════════════════════════ */
.ci-club-tag {
    display: inline-block;
    background: linear-gradient(135deg, #E31B4E, #FF4D6D);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    letter-spacing: .3px;
    vertical-align: middle
}

.cart-item.ci-club {
    border-left: 3px solid #E31B4E;
    background: linear-gradient(90deg, rgba(227, 27, 78, .03), transparent)
}

/* Cart: Precio Especial tag */
.ci-especial-tag {
    background: linear-gradient(135deg, #1a2744, #0F3460) !important;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 6px;
    letter-spacing: .3px;
    vertical-align: middle
}

/* Cart: Combo tag */
.ci-combo-tag {
    background: linear-gradient(135deg, #0D9488, #14B8A6) !important;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 6px;
    letter-spacing: .3px;
    vertical-align: middle
}

/* ═══════════════════════════════════════════
   OFERTAS SECTION HEADERS
   ═══════════════════════════════════════════ */
.ofertas-section-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0 8px;
    margin: 8px 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap
}

.ofertas-section-header svg {
    color: #0D9488;
    flex-shrink: 0
}

.ofertas-icon {
    font-size: 18px;
    flex-shrink: 0
}

.ofertas-club-header svg {
    color: #E31B4E
}

.ofertas-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--light);
    margin-left: auto
}

.club-cta-mini {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1a2744, #0F3460);
    border-radius: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px
}

.club-cta-btn {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .15);
    transition: background .2s
}

.club-cta-btn:hover {
    background: rgba(255, 255, 255, .25)
}

@media (max-width: 768px) {
    .ofertas-section-header {
        font-size: 14px;
        padding: 12px 0 6px
    }

    .ofertas-subtitle {
        width: 100%;
        margin-left: 24px;
        margin-top: 2px
    }

    .club-cta-mini {
        flex-direction: column;
        gap: 8px;
        text-align: center
    }
}

/* ═══════════════════════════════════════════
   ENHANCED PRODUCT CARD HOVER
   ═══════════════════════════════════════════ */
.p-card {
    transition: all .3s cubic-bezier(.16, 1, .3, 1)
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
    border-color: rgba(0, 0, 0, .08)
}

.p-card:hover .btn-add {
    background: linear-gradient(135deg, #E31B4E, #FF4D6D);
    color: #fff;
    border-color: transparent
}

.p-card.has-club:hover {
    box-shadow: 0 12px 32px rgba(227, 27, 78, .12)
}

/* ═══════════════════════════════════════════
   IMPROVED MOBILE BOTTOM NAV
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .cn-club {
        margin-left: 4px;
        padding: 5px 12px !important;
        font-size: 12px !important;
        flex-shrink: 0
    }
}

/* ═══════════════════════════════════════════
   EMPTY CART SUGGESTIONS
   ═══════════════════════════════════════════ */
.cart-empty {
    text-align: center;
    padding: 24px 16px
}

.cart-empty .ce-icon {
    margin-bottom: 12px;
    opacity: .5
}

.cart-empty p {
    color: var(--dim);
    font-size: 14px;
    margin-bottom: 16px
}

.ce-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #E31B4E, #FF4D6D);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(227, 27, 78, .25)
}

.ce-explore:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(227, 27, 78, .35)
}

.ce-suggest-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: .6px;
    margin: 24px 0 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border)
}

.ce-suggestions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
}

.ce-sug-card {
    background: var(--bg);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    border: 1px solid transparent
}

.ce-sug-card:hover {
    border-color: var(--gold-border);
    background: var(--gold-bg);
    transform: translateY(-1px)
}

.ce-sug-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 6px
}

.ce-sug-name {
    font-size: 10px;
    color: var(--dim);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 26px
}

.ce-sug-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--gold);
    margin: 4px 0
}

.ce-sug-add {
    font-size: 10px;
    font-weight: 700;
    color: #E31B4E;
    background: rgba(227, 27, 78, .08);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block
}

/* ═══════════════════════════════════════════
   SKELETON LOADER FOR INFINITE SCROLL
   ═══════════════════════════════════════════ */
.scroll-loading {
    text-align: center;
    padding: 10px 0 20px;
    grid-column: 1 / -1
}

.skeleton-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px
}

.skeleton-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden
}

.sk-img {
    width: 100%;
    height: 160px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skShimmer 1.5s infinite
}

.sk-line {
    height: 12px;
    margin: 10px 12px 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skShimmer 1.5s infinite
}

.sk-line:last-child {
    margin-bottom: 14px
}

.sk-line.w70 {
    width: 70%
}

.sk-line.w40 {
    width: 40%
}

@keyframes skShimmer {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@media (max-width: 900px) {
    .skeleton-row {
        grid-template-columns: repeat(2, 1fr)
    }

    .sk-img {
        height: 100px
    }
}

/* ═══════════════════════════════════════════
   MOBILE FILTER BOTTOM SHEET
   ═══════════════════════════════════════════ */
.filter-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s
}

.filter-sheet-overlay.show {
    opacity: 1;
    pointer-events: auto
}

.filter-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 70vh;
    background: #fff;
    border-radius: 16px 16px 0 0;
    z-index: 510;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
    overflow-y: auto;
    padding: 0 16px 24px;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, .12)
}

.filter-sheet.show {
    transform: translateY(0)
}

.filter-sheet-handle {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: #ddd;
    margin: 10px auto 16px;
    display: block
}

.filter-sheet h3 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text)
}

.filter-sheet .fs-section {
    margin-bottom: 16px
}

.filter-sheet .fs-section h4 {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--light);
    margin-bottom: 8px
}

.filter-sheet .fs-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.filter-sheet .fs-chip {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--dim);
    cursor: pointer;
    transition: all .15s;
    font-family: inherit
}

.filter-sheet .fs-chip.active {
    background: var(--gold-bg);
    border-color: var(--gold-border);
    color: var(--gold);
    font-weight: 700
}

.filter-sheet .fs-chip:active {
    transform: scale(.95)
}

.fs-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13px;
    color: var(--dim);
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    font-family: inherit
}

.fs-toggle .fs-switch {
    width: 40px;
    height: 22px;
    border-radius: 11px;
    background: #ddd;
    position: relative;
    transition: background .2s
}

.fs-toggle .fs-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: left .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15)
}

.fs-toggle.active .fs-switch {
    background: var(--gold)
}

.fs-toggle.active .fs-switch::after {
    left: 20px
}

.fs-apply {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #E31B4E, #FF4D6D);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
    transition: all .2s
}

.fs-apply:active {
    transform: scale(.98)
}

/* ═══════════════════════════════════════════
   NORMALIZED PRODUCT IMAGE CONTAINERS
   ═══════════════════════════════════════════ */
.p-card .img-area img {
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    transition: transform .4s cubic-bezier(.25, .46, .45, .94);
    background: transparent;
    mix-blend-mode: multiply
}