/* 
   LYNX STREETWEAR DEPT. - STYLESHEET
   Estilo: Modern Minimal Streetwear (Cloud & Electric Violet)
*/

:root {
    --bg-primary: #f7f8fc;      /* Cool cloud */
    --bg-secondary: #ffffff;    /* Clean white */
    --bg-tertiary: #eef0f7;     /* Soft lavender gray */
    --text-primary: #16171c;    /* Graphite */
    --text-secondary: #5f6470;  /* Cool gray */
    --text-muted: #979ba6;      /* Muted silver */
    
    --accent: #625bf6;          /* Electric violet */
    --accent-hover: #4b44e2;
    --accent-rgb: 98, 91, 246;
    --gold: #8c86ff;            /* Legacy accent alias */
    --gold-soft: #c9c7ff;
    --gold-rgb: 140, 134, 255;
    --ivory-panel: #ffffff;
    --heritage-ink: #16171c;
    
    --success: #1ebd55;         /* Premium WhatsApp Green */
    --radius-full: 999px;
    --border-color: #e2e4ea;
    --border-focus: #625bf6;
    
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Beneficio de envío gratis · máxima visibilidad sin tapar el catálogo */
.free-shipping-spotlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 62px;
    padding: 10px clamp(20px, 6vw, 88px);
    border-block: 1px solid #f0cd4c;
    background: linear-gradient(105deg, #c89f16 0%, #f0cd4c 48%, #d3aa20 100%);
    color: #080808;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(0,0,0,.24);
}
.free-shipping-spotlight-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(0,0,0,.28); border-radius: 50%; }
.free-shipping-spotlight-icon svg { width: 19px; }
.free-shipping-spotlight > span:nth-child(2) { display: grid; gap: 2px; }
.free-shipping-spotlight small { font: 800 .58rem/1 var(--font-main); letter-spacing: .18em; }
.free-shipping-spotlight strong { font: 900 clamp(.9rem,1.25vw,1.08rem)/1.15 var(--font-main); letter-spacing: .055em; }
.free-shipping-spotlight > b { display: inline-flex; align-items: center; gap: 8px; margin-left: 22px; font: 900 .64rem/1 var(--font-main); letter-spacing: .1em; }
.free-shipping-spotlight > b svg { width: 17px; transition: transform .2s ease; }
.free-shipping-spotlight:hover > b svg { transform: translateX(4px); }

@media (max-width: 700px) {
    .free-shipping-spotlight { justify-content: flex-start; gap: 10px; min-height: 56px; padding: 9px 15px; }
    .free-shipping-spotlight-icon { width: 34px; height: 34px; flex: 0 0 auto; }
    .free-shipping-spotlight small { font-size: .52rem; }
    .free-shipping-spotlight strong { font-size: .78rem; letter-spacing: .035em; }
    .free-shipping-spotlight > b { margin-left: auto; font-size: 0; }
    .free-shipping-spotlight > b svg { width: 20px; }
}

/* Conversion upgrades · favoritos, carga conectada y envío gratis */
.catalog-favorites-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 13px; border: 1px solid #37342d; border-radius: 8px; background: #101010; color: #c7c3ba; font: 800 .62rem/1 var(--font-main); letter-spacing: .08em; cursor: pointer; }
.catalog-favorites-toggle svg { width: 16px; }
.catalog-favorites-toggle b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; background: #25231d; color: var(--accent); }
.catalog-favorites-toggle.active { border-color: var(--accent); color: var(--accent); }
.catalog-favorites-toggle.active svg { fill: currentColor; }
.product-card { position: relative; }
.product-card-favorite { position: absolute; z-index: 4; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(8,8,8,.78); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.product-card-favorite svg { width: 17px; pointer-events: none; }
.product-card-favorite.is-favorite { border-color: var(--accent); background: var(--accent); color: #090909; }
.product-card-favorite.is-favorite svg { fill: currentColor; }
.catalog-loading-state { grid-column: 1/-1; display: grid; place-items: center; gap: 14px; min-height: 320px; color: var(--accent); font-size: .68rem; letter-spacing: .13em; }
.catalog-loading-state span { width: 34px; height: 34px; border: 2px solid rgba(212,175,55,.22); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.trending-loading-state { display: grid; place-items: center; min-width: 100%; min-height: 300px; color: var(--accent); font-size: .68rem; letter-spacing: .13em; }
.free-shipping-progress { display: grid; gap: 9px; margin: 14px 0 2px; padding: 13px; border: 1px solid rgba(212,175,55,.26); background: rgba(212,175,55,.055); }
.free-shipping-progress > div { display: flex; justify-content: space-between; gap: 12px; color: #c9c5bb; font-size: .7rem; line-height: 1.35; }
.free-shipping-progress strong { flex: 0 0 auto; color: var(--accent); }
.free-shipping-progress > i { display: block; overflow: hidden; height: 5px; border-radius: 999px; background: #292720; }
.free-shipping-progress > i span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8d6f0f,var(--accent)); transition: width .3s ease; }
.info-item-highlight { color: var(--accent); }

@media (max-width: 768px) {
    .catalog-favorites-toggle { flex: 0 0 auto; min-height: 40px; }
    .catalog-favorites-toggle span { display: none; }
    .product-card-favorite { top: 9px; right: 9px; width: 34px; height: 34px; }
}

.btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none !important;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 500;           /* Thinner, cleaner font weight */
    letter-spacing: 0.1em;      /* Wide letter spacing for luxury feel */
    text-transform: uppercase;
}

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

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
}

/* Utility Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 0;           /* Stark rectangular corners for minimalist luxury */
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
}

.btn-whatsapp {
    background-color: var(--success);
    color: #ffffff;
    border: 1px solid var(--success);
}

.btn-whatsapp:hover {
    background-color: transparent;
    color: var(--success);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* App Header */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-img {
    height: 28px;
    display: block;
    filter: invert(1); /* El PNG es negro sobre transparencia. */
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav .nav-link {
    font-family: var(--font-title);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--text-primary);
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.desktop-nav .nav-link.active::after,
.desktop-nav .nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-decoration: none;
}
.account-btn:hover { background: var(--bg-tertiary); }
.account-btn svg { width: 19px; height: 19px; }
.account-btn.is-authenticated { background: #efefff; color: #5f59f7; }

.cart-btn {
    position: relative;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    padding: 4px;
}

.cart-btn i {
    width: 20px;
    height: 20px;
    stroke-width: 1.5px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-family: var(--font-title);
    font-weight: 800;
    min-width: 15px;
    height: 15px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Limited Stock Marquee */
.stock-marquee {
    position: relative;
    z-index: 90;
    /* El header de escritorio mide 82 px (42 px de contenido + 40 px de padding). */
    margin-top: 82px;
    overflow: hidden;
    background: #050505;
    color: #ffffff;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}

.stock-marquee-track {
    display: flex;
    width: max-content;
    animation: stock-marquee-scroll 28s linear infinite;
}

.stock-marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 76px;
    padding: 11px 76px 11px 0;
}

.stock-marquee-group span {
    white-space: nowrap;
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

@keyframes stock-marquee-scroll {
    to { transform: translateX(-50%); }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%),
                url('assets/oversized_hoodie.jpg') center/cover no-repeat;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    z-index: 10;
    text-align: center;
    margin-top: 60px;
}

.hero-tag {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 460px;
    margin: 0 auto 36px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .desktop-nav {
        display: none;
    }
}

/* CRO / UX refinement · 2026-08-13 */
.hero-proof { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: rgba(255,255,255,.78); font-size: .72rem; line-height: 1.4; }
.hero-proof svg { width: 16px; height: 16px; color: var(--accent); }
.filter-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.catalog-select-control select { min-height: 46px; padding: 0 38px 0 14px; border: 1px solid rgba(212,175,55,.34); border-radius: 10px; background: #111; color: #f7f5ee; font: 700 .7rem Outfit, sans-serif; letter-spacing: .04em; cursor: pointer; }
.catalog-stock-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #d8d4c8; font: 700 .7rem Outfit, sans-serif; cursor: pointer; }
.catalog-stock-toggle input { width: 17px; height: 17px; accent-color: var(--accent); }
.checkout-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 10px 24px; border-bottom: 1px solid rgba(255,255,255,.1); background: #0b0b0b; }
.checkout-progress span { padding: 8px 4px; border-bottom: 2px solid #2b2b2b; color: #777; font: 700 .58rem Outfit, sans-serif; letter-spacing: .04em; text-align: center; }
.checkout-progress .is-complete, .checkout-progress .is-active { color: #f1df9d; border-color: var(--accent); }
.checkout-form-container .form-group > label span { color: #8f8b80; font-weight: 500; }
.field-error { display: block; min-height: 0; margin-top: 5px; color: #ff8790; font-size: .68rem; line-height: 1.3; }
.checkout-form-container input.is-invalid { border-color: #ff6874 !important; box-shadow: 0 0 0 2px rgba(255,104,116,.12); }
.checkout-confidence { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 12px; margin: 12px 0 2px; color: #bdb9ad; font-size: .64rem; }
.checkout-confidence span { display: inline-flex; align-items: center; gap: 5px; }
.checkout-confidence svg { width: 14px; height: 14px; color: var(--accent); }

@media (max-width: 768px) {
    .hero-proof { max-width: 290px; font-size: .66rem; }
    .filter-controls { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .filter-controls .search-box { grid-column: 1 / -1; width: 100%; }
    .catalog-select-control select, .catalog-stock-toggle { width: 100%; min-height: 44px; }
    .checkout-progress { padding-inline: 14px; }
    .checkout-confidence { align-items: flex-start; justify-content: flex-start; }
}

/* Heritage Luxury Palette */
body {
    background:
        radial-gradient(circle at 50% -15%, rgba(var(--accent-rgb), 0.22), transparent 34rem),
        var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--gold), var(--accent));
}

.btn-primary {
    background: linear-gradient(135deg, #8d2443, var(--accent));
    color: var(--text-primary);
    border-color: rgba(var(--gold-rgb), 0.75);
    box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.22);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold-soft);
    border-color: var(--gold);
}

.btn-secondary:hover {
    color: var(--gold-soft);
    border-color: var(--gold);
}

.app-header {
    background: linear-gradient(90deg, rgba(10, 8, 9, 0.97), rgba(24, 13, 18, 0.95), rgba(10, 8, 9, 0.97));
    border-bottom-color: rgba(var(--gold-rgb), 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.logo-img {
    filter: invert(79%) sepia(17%) saturate(738%) hue-rotate(359deg) brightness(89%);
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--gold-soft);
}

.desktop-nav .nav-link::after {
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

.cart-btn:hover,
.footer-info li i,
.drawer-title i {
    color: var(--gold-soft);
}

.cart-count {
    background: var(--accent);
    color: var(--text-primary);
    outline: 1px solid var(--gold);
}

.stock-marquee {
    background: linear-gradient(90deg, #3b0c1d, #741b38 45%, #3b0c1d);
    border-color: rgba(var(--gold-rgb), 0.6);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
}

.stock-marquee-group span {
    color: var(--text-primary);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(10, 8, 9, 0.18), rgba(84, 16, 44, 0.36)),
        linear-gradient(180deg, rgba(10, 8, 9, 0.1) 0%, rgba(10, 8, 9, 0.96) 100%),
        url('assets/oversized_hoodie.jpg') center/cover no-repeat;
}

.hero-overlay {
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.06) 20%, rgba(10, 8, 9, 0.86) 100%);
}

.hero-tag,
.trending-eyebrow {
    color: var(--gold);
}

.gradient-text {
    color: transparent;
    background: linear-gradient(100deg, var(--text-primary) 10%, var(--gold-soft) 48%, #fff8ec 62%, var(--gold) 90%);
    background-clip: text;
    -webkit-background-clip: text;
    filter: drop-shadow(0 8px 24px rgba(var(--gold-rgb), 0.16));
}

.info-strip {
    background: linear-gradient(90deg, var(--bg-secondary), #1b1116, var(--bg-secondary));
    border-color: rgba(var(--gold-rgb), 0.22);
}

.info-item i {
    color: var(--gold);
}

.trending-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 34%),
        linear-gradient(115deg, #f3eee6, #e8ddcf);
    color: var(--heritage-ink);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
}

.trending-header h2 {
    color: var(--heritage-ink);
}

.trending-controls button {
    color: var(--accent);
    border-color: var(--accent);
}

.trending-controls button:hover {
    background: var(--accent);
    color: var(--text-primary);
    border-color: var(--gold);
}

.trending-card-image {
    background: #ded2c4;
    box-shadow: 0 18px 38px rgba(56, 30, 38, 0.12);
}

.trending-card-badge {
    background: var(--accent);
    color: var(--text-primary);
    border: 1px solid var(--gold);
}

.trending-card-title {
    color: var(--heritage-ink);
}

.trending-card-price {
    color: var(--accent);
    font-weight: 800;
}

.section-title,
.detail-title,
.drawer-title,
.footer-brand h3 {
    color: var(--text-primary);
    text-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.18);
}

.section-title::after {
    content: '';
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

.search-box:focus-within,
.form-group input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.08);
}

.tag-btn:hover,
.tag-btn.active {
    color: var(--gold-soft);
}

.tag-btn::after {
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

.product-card-img-wrapper {
    outline: 1px solid rgba(var(--gold-rgb), 0.12);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.product-card-badge {
    background: var(--accent);
    color: var(--text-primary);
    border: 1px solid rgba(var(--gold-rgb), 0.72);
}

.product-card-badge.limited {
    background: var(--gold);
    color: var(--heritage-ink);
    border-color: var(--gold-soft);
}

.product-card-title:hover {
    color: var(--gold-soft);
}

.product-card-price,
.detail-price,
.summary-price,
.option-price {
    color: var(--gold-soft);
}

.modal-content,
.drawer-content {
    border-color: rgba(var(--gold-rgb), 0.34);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 70px rgba(var(--accent-rgb), 0.08);
}

.detail-badge {
    color: var(--gold-soft);
    border-color: rgba(var(--gold-rgb), 0.5);
}

.fit-recommendation {
    border-color: rgba(var(--gold-rgb), 0.42);
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.1), rgba(var(--accent-rgb), 0.08));
}

.fit-recommendation svg {
    color: var(--gold);
}

.size-btn:hover,
.close-modal-btn:hover,
.shipping-option-card:hover {
    border-color: var(--gold);
}

.size-btn.active,
.shipping-option-card.active {
    background: var(--accent);
    color: var(--text-primary);
    border-color: var(--gold);
}

.app-footer {
    background: linear-gradient(180deg, var(--bg-secondary), #0b0809);
    border-top-color: rgba(var(--gold-rgb), 0.34);
}

.footer-bottom {
    border-top-color: rgba(var(--gold-rgb), 0.2);
}

/* Info Strip */
.info-strip {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 24px;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.info-item i {
    color: var(--text-primary);
    width: 18px;
    height: 18px;
    stroke-width: 1.25px;
}

/* Trending Carousel */
.trending-section {
    background: #f7f7f5;
    color: #080808;
    padding: 76px max(24px, calc((100vw - 1400px) / 2));
    overflow: hidden;
}

.trending-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.trending-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.trending-header h2 {
    font-size: clamp(2rem, 3.6vw, 3.3rem);
    font-weight: 900;
    letter-spacing: 0.035em;
}

.trending-controls {
    display: flex;
    gap: 8px;
}

.trending-controls button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid #111111;
    color: #111111;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.trending-controls button:hover {
    background: #111111;
    color: #ffffff;
    transform: translateY(-2px);
}

.trending-controls svg {
    width: 19px;
    height: 19px;
}

.trending-viewport {
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
}

.trending-viewport::-webkit-scrollbar {
    display: none;
}

.trending-track {
    display: flex;
    width: max-content;
}

.trending-empty-state {
    display: grid;
    gap: 8px;
    place-items: center;
    min-width: min(100vw - 48px, 520px);
    min-height: 220px;
    padding: 32px;
    border: 1px solid rgba(8, 8, 8, 0.18);
    text-align: center;
}

.trending-empty-state strong {
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

.trending-empty-state span {
    color: #555;
    font-size: 0.95rem;
}

.trending-loop-group {
    display: flex;
    flex-shrink: 0;
    gap: 24px;
    padding-right: 24px;
}

.trending-card {
    flex: 0 0 clamp(220px, calc((100vw - 144px) / 5), 260px);
}

.trending-card-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 17px;
    background: #ececea;
    border: 0;
    cursor: pointer;
}

.trending-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.trending-card-image .trending-secondary-img {
    opacity: 0;
}

.trending-card-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    background: #080808;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.trending-card-title {
    display: block;
    width: 100%;
    min-height: 46px;
    color: #080808;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.025em;
    text-align: center;
    text-transform: none;
    cursor: pointer;
}

.trending-card-price {
    display: block;
    margin-top: 7px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    text-align: center;
}

@media (hover: hover) and (pointer: fine) {
    .trending-card:hover .trending-card-image img {
        transform: scale(1.035);
    }

    .trending-card.has-secondary-image:hover .trending-primary-img {
        opacity: 0;
    }

    .trending-card.has-secondary-image:hover .trending-secondary-img {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .trending-card {
        flex-basis: 42vw;
        min-width: 240px;
    }
}

@media (max-width: 600px) {
    .stock-marquee-group {
        gap: 42px;
        padding-right: 42px;
    }

    .stock-marquee-group span {
        font-size: 0.7rem;
    }

    .trending-section {
        padding-top: 54px;
        padding-bottom: 58px;
    }

    .trending-header {
        align-items: center;
        margin-bottom: 26px;
    }

    .trending-controls button {
        width: 40px;
        height: 40px;
    }

    .trending-card {
        flex-basis: 76vw;
        min-width: 0;
    }
}

/* LYNX Outfit Builder */
.outfit-builder-section {
    padding: 72px max(24px, calc((100vw - 1200px) / 2));
    background:
        radial-gradient(circle at 18% 18%, rgba(var(--accent-rgb), 0.12), transparent 24rem),
        linear-gradient(135deg, #11131c 0%, #1b1d2b 58%, #29264b 100%);
    color: #ffffff;
    overflow: hidden;
}

/* Fit Lab pausado temporalmente: se conserva el código para una futura reconstrucción. */
.outfit-builder-section {
    display: none !important;
}

.outfit-builder-heading {
    max-width: 650px;
    margin-bottom: 30px;
}

.outfit-builder-heading .trending-eyebrow {
    color: #aaa6ff;
}

.builder-heading-kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.builder-beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 207, 92, 0.75);
    border-radius: 999px;
    background: rgba(255, 194, 61, 0.18);
    color: #ffd45c;
    font-family: var(--font-title);
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1;
}

.builder-beta-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd45c;
    box-shadow: 0 0 0 4px rgba(255, 212, 92, 0.14), 0 0 14px rgba(255, 212, 92, 0.75);
}

.outfit-builder-heading h2 {
    margin: 8px 0 14px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.outfit-builder-heading p {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.96rem;
}

.outfit-builder-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.builder-preview-panel {
    min-width: 0;
}

.builder-stage {
    position: relative;
    width: min(100%, 320px);
    /* Las capas del maniquí se generan en formato vertical 896x1758.
       Mantener esa proporción evita que el flare y las zapatillas queden
       recortados al final del escenario. */
    aspect-ratio: 896 / 1758;
    margin: 0 auto;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: linear-gradient(145deg, #f7f7fa, #dfe2eb);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.builder-stage::after {
    content: '';
    position: absolute;
    right: 8%;
    bottom: 4%;
    left: 8%;
    height: 6%;
    border-radius: 50%;
    background: rgba(20, 22, 35, 0.17);
    filter: blur(18px);
    z-index: -1;
}

.builder-stage-glow {
    position: absolute;
    inset: 8% 12% 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 66%);
    filter: blur(12px);
}

.builder-stage-label {
    position: absolute;
    top: 18px;
    left: 20px;
    z-index: 6;
    color: rgba(25, 27, 40, 0.54);
    font-family: var(--font-title);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.builder-mannequin,
.builder-layer {
    position: absolute;
    display: block;
    height: auto;
    pointer-events: none;
    user-select: none;
}

.builder-composite {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

/* La propiedad hidden debe ganar a los estilos visuales de las capas. */
.builder-composite[hidden],
.builder-mannequin[hidden],
.builder-layer[hidden] {
    display: none !important;
}

.builder-mannequin {
    top: 5%;
    left: 13%;
    z-index: 1;
    width: 74%;
}

.builder-layer {
    object-fit: contain;
    filter: drop-shadow(0 12px 16px rgba(13, 15, 24, 0.15));
}

.builder-layer-top,
.builder-layer-outer {
    top: 5%;
    left: 13%;
    z-index: 3;
    width: 74%;
}

.builder-layer-outer {
    z-index: 4;
}

.builder-layer-underwear {
    top: 5%;
    left: 13%;
    z-index: 2;
    width: 74%;
    /* La base debe seguir la cintura del maniquí, no ocupar todo el ancho del escenario. */
    transform: scaleX(0.5) scaleY(0.82);
    transform-origin: top center;
}

.builder-layer-underwear.is-under-upper {
    /* Deja espacio visible bajo el hoodie/jacket cuando no hay jean. */
    transform: translateY(22%) scaleX(0.5) scaleY(0.82);
}

.builder-layer-bottom {
    top: 5%;
    left: 13%;
    z-index: 3;
    width: 74%;
}

.builder-total-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 320px);
    margin: 18px auto 0;
}

.builder-total-label,
.builder-size-note {
    display: block;
    color: rgba(255, 255, 255, 0.54);
    font-family: var(--font-title);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.builder-total-row strong {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 1.65rem;
    letter-spacing: -0.02em;
}

.builder-size-note {
    padding-bottom: 5px;
    text-align: right;
}

.builder-controls {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.builder-choice-group {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(16px);
}

.builder-choice-heading {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 13px;
}

.builder-choice-heading span {
    color: #aaa6ff;
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.builder-choice-heading h3 {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.builder-choice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.builder-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 13px;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.builder-choice:hover {
    transform: translateY(-2px);
    border-color: rgba(170, 166, 255, 0.72);
}

.builder-choice.active {
    border-color: #aaa6ff;
    background: rgba(170, 166, 255, 0.14);
    box-shadow: 0 0 0 1px rgba(170, 166, 255, 0.18);
}

.builder-choice-thumb {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 58px;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #edf0f5;
}

.builder-choice-thumb.is-empty {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.58);
}

.builder-choice-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.builder-choice-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.builder-choice-copy strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.72rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.builder-choice-copy small {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.7rem;
}

.builder-choice-check {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 14px;
    height: 14px;
    color: transparent;
}

.builder-choice.active .builder-choice-check {
    color: #aaa6ff;
}

.builder-buy-btn {
    min-height: 54px;
    margin-top: 2px;
    background: #aaa6ff;
    border-color: #aaa6ff;
    color: #11131c;
}

.builder-buy-btn:hover {
    background: #c9c7ff;
    border-color: #c9c7ff;
    color: #11131c;
}

.builder-disclaimer {
    margin-top: -5px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
    line-height: 1.45;
}

.builder-beta-note {
    color: #ffd45c;
    font-weight: 900;
    letter-spacing: 0.08em;
}

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

    .builder-preview-panel {
        width: min(100%, 350px);
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .outfit-builder-section {
        padding: 68px 18px 76px;
    }

    .outfit-builder-heading {
        margin-bottom: 30px;
    }

    .outfit-builder-heading h2 {
        font-size: 2.2rem;
    }

    .builder-choice-group {
        padding: 14px;
    }

    .builder-choice {
        gap: 8px;
        padding: 7px;
    }

    .builder-choice-thumb {
        flex-basis: 42px;
        width: 42px;
        height: 52px;
    }

    .builder-choice-copy strong {
        font-size: 0.64rem;
    }

    .builder-total-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .builder-size-note {
        text-align: left;
    }
}

/* Mobile storefront: compact navigation and touch-first catalog */
.mobile-menu-btn,
.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .app-header {
        height: 64px;
    }

    .header-container {
        position: relative;
        height: 64px;
        padding: 0 18px;
    }

    .logo-img {
        height: 20px;
    }

    .header-actions {
        gap: 8px;
    }

    .mobile-menu-btn,
    .cart-btn {
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        border-radius: 50%;
        color: var(--text-primary);
        cursor: pointer;
    }

    .mobile-menu-btn {
        background: var(--bg-tertiary);
    }

    .mobile-menu-btn svg,
    .cart-btn svg {
        width: 20px;
        height: 20px;
    }

    .mobile-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 14px;
        left: 14px;
        display: grid;
        padding: 10px;
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid var(--border-color);
        border-radius: 18px;
        box-shadow: 0 22px 60px rgba(22, 23, 28, 0.16);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        transform-origin: top;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .menu-open .mobile-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .mobile-nav-link {
        min-height: 46px;
        padding: 0 14px;
        border-radius: 12px;
        color: var(--text-secondary);
        font-family: var(--font-title);
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-align: left;
        text-transform: uppercase;
        cursor: pointer;
    }

    .mobile-nav-link.active {
        color: var(--accent);
        background: rgba(var(--accent-rgb), 0.09);
    }

    .stock-marquee {
        margin-top: 64px;
    }

    .stock-marquee-group {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .hero-section {
        width: 100%;
        min-height: 580px;
        height: min(680px, calc(100svh - 98px));
        padding-inline: 18px;
        background:
            linear-gradient(90deg, rgba(9, 10, 15, 0.78) 0%, rgba(11, 12, 18, 0.48) 68%, rgba(11, 12, 18, 0.18) 100%),
            linear-gradient(180deg, rgba(11, 12, 18, 0.02) 18%, rgba(11, 12, 18, 0.2) 50%, rgba(11, 12, 18, 0.9) 100%),
            url('assets/hero-lynx-model-cinematic-v2.webp') 61% center / cover no-repeat;
    }

    .hero-content {
        padding-bottom: 28px;
    }

    .hero-tag {
        margin-bottom: 14px;
        padding: 7px 11px;
        font-size: 0.59rem;
        letter-spacing: 0.12em;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 16px;
        font-size: clamp(2.55rem, 12.7vw, 3.35rem);
        line-height: 0.94;
        letter-spacing: -0.055em;
    }

    .hero-description {
        max-width: 340px;
        margin-bottom: 20px;
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .hero-content .btn-primary {
        min-height: 48px;
        padding-inline: 22px;
        font-size: 0.72rem;
    }

    .info-strip {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
        padding: 12px 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .info-strip::-webkit-scrollbar {
        display: none;
    }

    .info-item {
        flex: 0 0 min(82vw, 330px);
        min-height: 58px;
        padding: 10px 12px;
        border: 1px solid var(--border-color);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.74);
        scroll-snap-align: start;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .trending-section {
        padding: 48px 18px 54px;
    }

    .trending-header {
        gap: 12px;
        margin-bottom: 24px;
    }

    .trending-header h2 {
        font-size: clamp(1.75rem, 9vw, 2.3rem);
        line-height: 0.95;
    }

    .trending-controls {
        gap: 6px;
    }

    .trending-controls button {
        width: 40px;
        height: 40px;
    }

    .trending-loop-group {
        gap: 14px;
        padding-right: 14px;
    }

    .trending-card {
        flex-basis: min(72vw, 276px);
    }

    .catalog-section {
        padding: 62px 16px 72px;
    }

    .catalog-header {
        display: grid;
        gap: 24px;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .filter-controls,
    .search-box {
        width: 100%;
    }

    .search-box {
        min-height: 50px;
    }

    .category-tags {
        position: sticky;
        top: 64px;
        z-index: 45;
        gap: 20px;
        margin: 0 -16px 34px;
        padding: 14px 16px 13px;
        border-top: 1px solid rgba(226, 228, 234, 0.75);
        border-bottom: 1px solid rgba(226, 228, 234, 0.9);
        background: rgba(247, 248, 252, 0.94);
        backdrop-filter: blur(18px) saturate(150%);
        scrollbar-width: none;
    }

    .category-tags::-webkit-scrollbar {
        display: none;
    }

    .tag-btn {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .tag-btn::after {
        bottom: -14px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 12px;
    }

    .catalog-category-heading {
        margin-top: 42px;
        padding-bottom: 13px;
        scroll-margin-top: 128px;
    }

    .catalog-category-heading h3 {
        font-size: 1.24rem;
    }

    .catalog-category-count {
        padding-top: 18px;
        font-size: 0.58rem;
    }

    .product-card-img-wrapper {
        padding-top: 132%;
        border-radius: 14px;
    }

    .product-card-badge,
    .product-card-badge.limited {
        top: 9px;
        left: 9px;
        max-width: calc(100% - 18px);
        padding: 5px 8px;
        overflow: hidden;
        font-size: 0.52rem;
        letter-spacing: 0.06em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-card-content {
        padding-top: 11px;
    }

    .product-card-category {
        margin-bottom: 4px;
        font-size: 0.58rem;
    }

    .product-card-title {
        display: -webkit-box;
        min-height: 2.5em;
        margin-bottom: 5px;
        overflow: hidden;
        font-size: 0.8rem;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-card-price {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .modal-content {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 10px);
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }

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

    .product-detail-card {
        padding: 20px 18px calc(24px + env(safe-area-inset-bottom));
    }

    .product-detail-layout {
        gap: 20px;
    }

    .product-detail-gallery img {
        max-height: 48vh;
        object-fit: contain;
        border-radius: 14px;
    }

    .close-modal-btn {
        position: sticky;
        top: 0;
        float: right;
        margin-bottom: -38px;
    }

    .detail-title {
        padding-right: 44px;
        font-size: 1.2rem;
    }

    .drawer-header,
    .drawer-body,
    .drawer-footer {
        padding-right: 18px;
        padding-left: 18px;
    }

    .drawer-header {
        padding-top: max(18px, env(safe-area-inset-top));
        padding-bottom: 18px;
    }

    .drawer-footer {
        padding-bottom: max(18px, env(safe-area-inset-bottom));
    }

    .app-footer {
        padding: 58px 20px 26px;
    }

    .footer-container {
        gap: 30px;
        margin-bottom: 38px;
    }

    .footer-bottom {
        padding-top: 24px;
        text-align: center;
    }
}

@media (max-width: 340px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout final: métodos de pago claros y revisión antes de WhatsApp */
.field-help { color: var(--text-muted); font-size: .68rem; line-height: 1.45; }
.checkout-terms-check { display:flex; align-items:flex-start; gap:10px; margin:16px 0 0; color:var(--text-secondary); font-size:.7rem; line-height:1.5; }
.checkout-terms-check input { width:18px; min-height:18px; margin-top:1px; accent-color:var(--gold); }
.checkout-terms-check a { color:var(--gold-soft); text-decoration:underline; }
.review-fit-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.review-fit-fields label { min-width: 0; }
.review-fit-fields input,.review-fit-fields select { width: 100%; min-height: 44px; border: 1px solid var(--border-color); background: var(--bg-tertiary); color: var(--text-primary); padding: 10px; }
.review-fit-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.review-fit-meta span { padding: 5px 8px; border: 1px solid rgba(var(--gold-rgb),.32); border-radius: 100px; color: var(--gold-soft); font-size: .6rem; }
.payment-options-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.payment-option-card { min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid var(--border-color); border-radius: 10px; background: var(--bg-tertiary); cursor: pointer; transition: border-color .18s ease, background .18s ease, opacity .18s ease; }
.payment-option-card:hover { border-color: var(--gold); }
.payment-option-card.active { border-color: var(--gold); background: rgba(var(--gold-rgb),.09); }
.payment-option-card.is-disabled { display: none; }
.payment-option-card input { width: 16px; height: 16px; min-height: 0; margin-top: 2px; padding: 0; accent-color: var(--gold); }
.payment-option-card > span { min-width: 0; display: grid; gap: 4px; }
.payment-option-card strong { color: var(--text-primary); font: 800 .69rem/1.25 var(--font-title); letter-spacing: .03em; }
.payment-option-card small { color: var(--text-secondary); font: 400 .65rem/1.4 var(--font-body); text-transform: none; letter-spacing: 0; }
.checkout-review-panel { margin: 4px 0 24px; padding: 20px; border: 1px solid rgba(var(--gold-rgb),.38); border-radius: 14px; background: linear-gradient(145deg,rgba(var(--gold-rgb),.08),rgba(255,255,255,.02)); }
.checkout-review-kicker { color: var(--gold-soft); font: 800 .61rem/1 var(--font-title); letter-spacing: .1em; }
.checkout-review-panel h4 { margin: 8px 0 18px; color: var(--text-primary); font: 800 1.2rem/1.1 var(--font-title); }
.checkout-review-panel > p { margin: 16px 0 0; color: var(--text-muted); font-size: .68rem; line-height: 1.55; }
.checkout-review-content { display: grid; gap: 10px; }
.checkout-review-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); font-size: .72rem; line-height: 1.45; }
.checkout-review-row strong { max-width: 62%; color: var(--text-primary); text-align: right; }
.checkout-review-items { display: grid; gap: 7px; margin: 5px 0; }
.checkout-review-item { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 9px; }
.checkout-review-item img { width: 42px; height: 52px; object-fit: cover; border-radius: 7px; background: #eee; }
.checkout-review-item div { min-width: 0; }
.checkout-review-item strong { display: block; overflow: hidden; color: var(--text-primary); font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.checkout-review-item span { color: var(--text-muted); font-size: .62rem; }
.checkout-review-item b { color: var(--gold-soft); font: 800 .68rem var(--font-title); }
.checkout-review-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; margin-top: 18px; }
.checkout-review-actions .btn { min-height: 46px; padding-inline: 10px; font-size: .63rem; }
.checkout-review-mode #checkout-form,.checkout-review-mode .totals-breakdown-box { display: none; }
.checkout-review-mode #checkout-review-panel { display: block; }
.checkout-review-mode #submit-order-btn { display: none; }

@media (max-width: 520px) {
    .review-fit-fields { grid-template-columns: 1fr; }
    .payment-options-grid { grid-template-columns: 1fr; }
    .checkout-review-actions { grid-template-columns: 1fr; }
}

/* FAQs and social contact */
.faq-section {
    background: #f4f4f6;
    color: #17181d;
    padding: 88px 24px;
}

.faq-container {
    width: min(100%, 1120px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(230px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(48px, 8vw, 110px);
    align-items: start;
}

.faq-heading {
    position: sticky;
    top: 110px;
}

.faq-kicker {
    display: block;
    margin-bottom: 12px;
    color: #5d58c7;
    font-family: var(--font-title);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.faq-heading h2 {
    max-width: 520px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: -0.025em;
}

.faq-heading p {
    max-width: 390px;
    margin-top: 20px;
    color: #686a73;
    line-height: 1.65;
}

.faq-list {
    border-top: 1px solid rgba(23, 24, 29, 0.16);
}

.faq-item {
    border-bottom: 1px solid rgba(23, 24, 29, 0.16);
}

.faq-item summary {
    position: relative;
    padding: 25px 48px 25px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-title);
    font-size: clamp(0.96rem, 1.6vw, 1.12rem);
    font-weight: 750;
    line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before,
.faq-item summary::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 4px;
    width: 18px;
    height: 2px;
    background: #5d58c7;
    transition: transform 0.25s ease;
}

.faq-item summary::after {
    transform: rotate(90deg);
}

.faq-item[open] summary::after {
    transform: rotate(0);
}

.faq-item p {
    max-width: 650px;
    padding: 0 44px 25px 0;
    color: #62646d;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-container {
    grid-template-columns: 1fr 1.15fr 0.8fr;
}

.footer-social h4 {
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.footer-social p {
    margin-bottom: 18px;
    color: #b9bdc7;
    font-size: 0.8rem;
    line-height: 1.55;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    font-family: var(--font-title);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
    background: #25d366;
    border-color: #25d366;
    transform: translateY(-2px);
}

.social-links a[href*="instagram.com"]:hover {
    background: linear-gradient(135deg, #833ab4, #e1306c, #f77737);
    border-color: #e1306c;
}

.social-links a[href*="tiktok.com"]:hover {
    background: #000000;
    border-color: #ffffff;
}

.social-links svg {
    width: 17px;
    height: 17px;
}

.social-fab-group {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 85;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.social-fab {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 17px;
    border-radius: 999px;
    background: #1f2027;
    color: #ffffff;
    box-shadow: 0 12px 34px rgba(22, 23, 28, 0.24);
    font-family: var(--font-title);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(22, 23, 28, 0.34);
}

.social-fab-instagram:hover {
    background: linear-gradient(135deg, #833ab4, #e1306c, #f77737);
}

.social-fab-tiktok:hover {
    background: #000000;
}

.social-fab-whatsapp {
    background: #25d366;
}

.social-fab svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 820px) {
    .faq-section {
        padding: 68px 20px;
    }

    .faq-container {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .faq-heading {
        position: static;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .faq-item summary {
        padding-block: 22px;
        padding-right: 40px;
    }

    .social-fab {
        width: 50px;
        padding: 0;
        justify-content: center;
    }

    .social-fab span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
}

/* Compact storefront hero inspired by the supplied mobile reference */
.header-search-btn {
    display: none;
    width: 36px;
    height: 36px;
    place-items: center;
    color: var(--text-primary);
    cursor: pointer;
}

.header-search-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.6px;
}

.hero-cta-mobile {
    display: none;
}

html.is-android .hero-section {
    margin-top: 65px;
}

html.is-android .stock-marquee {
    margin-top: 0;
}

@media (max-width: 768px) and (min-width: 10000px) {
    .app-header,
    .header-container {
        height: 72px;
    }

    .header-container {
        display: grid;
        grid-template-columns: 48px 1fr 96px;
        padding: 0 14px;
    }

    .brand-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        z-index: 2;
    }

    .logo-img {
        height: 22px;
        max-width: 118px;
    }

    .header-actions {
        grid-column: 1 / 4;
        grid-row: 1;
        display: grid;
        grid-template-columns: 44px 1fr 44px 44px;
        align-items: center;
        gap: 4px;
        pointer-events: none;
    }

    .header-actions > * {
        pointer-events: auto;
    }

    .mobile-menu-btn {
        grid-column: 1;
        background: transparent;
        border-radius: 0;
    }

    .header-search-btn {
        grid-column: 3;
        width: 42px;
        height: 42px;
    }

    .cart-btn {
        grid-column: 4;
        justify-self: end;
    }

    .mobile-menu-btn,
    .header-search-btn,
    .cart-btn {
        grid-row: 1;
    }

    .mobile-menu-btn svg,
    .header-search-btn svg,
    .cart-btn svg {
        width: 23px;
        height: 23px;
        stroke-width: 1.7px;
    }

    .mobile-nav {
        top: calc(100% + 8px);
    }

    .hero-section {
        width: 100%;
        min-height: 285px;
        height: clamp(285px, 76vw, 430px);
        max-height: 430px;
        margin-top: 72px;
        padding: 0 18px;
        align-items: flex-end;
        background: url('assets/hero-lynx-model-v1.webp') right center / cover no-repeat;
        background-color: #d9d8df;
    }

    .hero-overlay {
        background: linear-gradient(180deg, transparent 52%, rgba(10, 10, 13, 0.28) 100%);
    }

    .hero-content {
        width: 100%;
        margin: 0;
        padding: 0 0 20px;
    }

    .hero-tag,
    .hero-title,
    .hero-description {
        display: none;
    }

    .hero-content .btn-primary {
        width: auto;
        min-height: 44px;
        padding: 0 17px;
        border: 0;
        border-radius: 4px;
        background: #050505;
        color: #ffffff;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .hero-content .btn-primary:hover {
        background: #050505;
        color: #ffffff;
    }

    .hero-content .btn-primary svg,
    .hero-cta-desktop {
        display: none;
    }

    .hero-cta-mobile {
        display: inline;
    }

    .stock-marquee {
        margin-top: 0;
        background: #050505;
    }

    .stock-marquee-group {
        gap: 54px;
        padding: 10px 54px 10px 0;
    }

    .stock-marquee-group span {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .info-strip {
        display: none;
    }

    .trending-section {
        padding: 46px 18px 54px;
        background: #ffffff;
    }

    .trending-header {
        justify-content: center;
        margin-bottom: 26px;
        text-align: center;
    }

    .trending-header h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        letter-spacing: 0.01em;
    }

    .trending-eyebrow,
    .trending-controls {
        display: none;
    }

    .trending-loop-group {
        gap: 14px;
        padding-right: 14px;
    }

    .trending-card {
        flex-basis: calc((100vw - 50px) / 2);
        min-width: 0;
    }

    .trending-card-image {
        margin-bottom: 13px;
        border-radius: 0;
        background: #f3f3f3;
        box-shadow: none;
    }

    .trending-card-title {
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .trending-card-price {
        font-size: 0.88rem;
    }
}

/* Mobile reliability layer: keep the final responsive rules in one place. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .app-header {
        height: calc(64px + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
    }

    .header-container {
        height: 64px;
        padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    }

    .mobile-nav {
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .stock-marquee {
        margin-top: calc(64px + env(safe-area-inset-top));
    }

    .hero-section {
        min-height: 500px;
        height: clamp(500px, calc(100svh - 98px), 680px);
        padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right));
        background-position: 68% center;
    }

    .hero-content {
        max-width: 100%;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .hero-title {
        font-size: clamp(2.35rem, 12.7vw, 3.35rem);
        overflow-wrap: anywhere;
    }

    .hero-description {
        max-width: min(340px, 100%);
    }

    .info-strip {
        padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    }

    .category-tags {
        top: calc(64px + env(safe-area-inset-top));
    }

    .catalog-category-heading {
        min-width: 0;
        gap: 12px;
    }

    .catalog-category-heading > div {
        min-width: 0;
    }

    .catalog-category-heading h3 {
        overflow-wrap: anywhere;
    }

    .catalog-category-count {
        flex-shrink: 0;
    }

    .product-card-footer .btn {
        min-height: 42px;
        padding-inline: 8px;
        font-size: 0.64rem;
        letter-spacing: 0.055em;
        white-space: nowrap;
    }

    .modal-overlay,
    .drawer-overlay {
        height: 100dvh;
        min-height: 100%;
    }

    .modal-content {
        max-height: calc(100dvh - 8px);
    }

    .close-modal-btn {
        z-index: 3;
        background: var(--bg-tertiary);
    }

    .drawer-content {
        height: 100dvh;
        max-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 380px) {
    .hero-section {
        min-height: 480px;
        height: clamp(480px, calc(100svh - 98px), 600px);
    }

    .hero-title {
        font-size: clamp(2.15rem, 12.5vw, 2.8rem);
    }

    .product-card-footer .btn {
        font-size: 0.59rem;
        letter-spacing: 0.035em;
    }
}

/* Storefront audit fixes — stable responsive and catalog layer */
.catalog-load-more {
    min-width: 210px;
    min-height: 50px;
    display: block;
    margin: 44px auto 0;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: transparent;
    color: var(--gold-soft);
    cursor: pointer;
    font-family: var(--font-title);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.catalog-load-more:hover { background: var(--accent); color: #080808; }
.catalog-load-more[hidden] { display: none; }

.catalog-category-more {
    grid-column: 1 / -1;
    width: min(100%, 360px);
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 4px auto 14px;
    padding: 13px 24px;
    border: 1px solid var(--accent);
    border-radius: 4px;
    background: transparent;
    color: var(--gold-soft);
    cursor: pointer;
    font-family: var(--font-title);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}
.catalog-category-more:hover {
    color: #080808;
    background: var(--accent);
    transform: translateY(-2px);
}
.catalog-category-more span { font-size: 1rem; }

@media (max-width: 768px) {
    .catalog-category-more {
        width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .catalog-section {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 54px 16px 72px;
        overflow: clip;
    }
    .catalog-container,
    .catalog-header,
    .filter-controls,
    .search-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .catalog-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 18px;
        margin-bottom: 20px;
    }
    .search-box {
        min-height: 50px;
        padding: 12px 14px 12px 42px;
        border-radius: 8px;
    }
    .search-box input { width: 100%; min-width: 0; }
    .category-tags { max-width: calc(100vw - 32px); }
}

/* Mobile reliability layer: keep the final responsive rules in one place. */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .app-header {
        height: calc(64px + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
    }

    .header-container {
        height: 64px;
        padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    }

    .mobile-nav {
        max-height: calc(100dvh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .stock-marquee {
        margin-top: calc(64px + env(safe-area-inset-top));
    }

    .hero-section {
        min-height: 500px;
        height: clamp(500px, calc(100svh - 98px), 680px);
        padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right));
        background-position: 68% center;
    }

    .hero-content {
        max-width: 100%;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .hero-title {
        font-size: clamp(2.35rem, 12.7vw, 3.35rem);
        overflow-wrap: anywhere;
    }

    .hero-description {
        max-width: min(340px, 100%);
    }

    .info-strip {
        padding-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
    }

    .category-tags {
        top: calc(64px + env(safe-area-inset-top));
    }

    .catalog-category-heading {
        min-width: 0;
        gap: 12px;
    }

    .catalog-category-heading > div {
        min-width: 0;
    }

    .catalog-category-heading h3 {
        overflow-wrap: anywhere;
    }

    .catalog-category-count {
        flex-shrink: 0;
    }

    .product-card-footer .btn {
        min-height: 42px;
        padding-inline: 8px;
        font-size: 0.64rem;
        letter-spacing: 0.055em;
        white-space: nowrap;
    }

    .modal-overlay,
    .drawer-overlay {
        height: 100dvh;
        min-height: 100%;
    }

    .modal-content {
        max-height: calc(100dvh - 8px);
    }

    .close-modal-btn {
        z-index: 3;
        background: var(--bg-tertiary);
    }

    .drawer-content {
        height: 100dvh;
        max-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@media (max-width: 380px) {
    .hero-section {
        min-height: 480px;
        height: clamp(480px, calc(100svh - 98px), 600px);
    }

    .hero-title {
        font-size: clamp(2.15rem, 12.5vw, 2.8rem);
    }

    .product-card-footer .btn {
        font-size: 0.59rem;
        letter-spacing: 0.035em;
    }
}

@media (max-width: 480px) {
    .social-fab-group { right: max(10px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); gap: 5px; }
    .social-fab { width: 42px; height: 42px; min-height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    .stock-marquee-track {
        animation-play-state: paused;
    }
}

/* Catalog Section */
.catalog-section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .mobile-account-link {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 6px;
        border-top: 1px solid var(--border-color);
        color: #5f59f7;
    }

    .mobile-account-link svg { width: 17px; height: 17px; }

.filter-controls {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 12px 14px 12px 42px;
    display: flex;
    align-items: center;
    width: 260px;
    transition: var(--transition-smooth);
}

.search-box:focus-within {
    border-color: var(--text-primary);
}

.search-box i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    width: 16px;
    height: 16px;
    stroke-width: 1.5px;
}

.search-box input {
    width: 100%;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.category-tags {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    overflow-x: auto;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    -webkit-overflow-scrolling: touch;
}

.tag-btn {
    padding: 6px 4px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-smooth);
}

.tag-btn:hover {
    color: var(--text-primary);
}

.tag-btn::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.tag-btn.active {
    color: var(--text-primary);
}

.tag-btn.active::after {
    width: 100%;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 48px 32px;
}

.product-card {
    background-color: transparent; /* No card background */
    border: none;                  /* No border for clean luxury feel */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card-img-wrapper {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 133%; /* 3:4 Aspect Ratio */
    background-color: var(--bg-secondary);
    overflow: hidden;
    text-decoration: none;
}

.product-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-secondary-img {
    opacity: 0;
}

@media (hover: hover) and (pointer: fine) {
    .product-card:hover .product-card-img-wrapper img {
        transform: scale(1.04);
    }

    .product-card.has-secondary-image:hover .product-card-primary-img {
        opacity: 0;
    }

    .product-card.has-secondary-image:hover .product-card-secondary-img {
        opacity: 1;
    }
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    z-index: 2;
    text-transform: uppercase;
}

.product-card-badge.limited {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-content {
    padding: 16px 0 0; /* Clear padding for clean list look */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-category {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.08em;
}

.product-card-title {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.product-card-price {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.product-card-footer {
    margin-top: auto;
}

.product-card-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.product-card-add:disabled {
    cursor: not-allowed;
    opacity: .55;
}

@media (max-width: 768px) {
    .product-card-footer {
        grid-template-columns: 1fr;
    }
}

/* Modals and Overlays Base */
.modal-overlay, .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active, .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Product Detail Modal */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.98);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 90%;
    max-width: 880px;
    max-height: 90%;
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.product-detail-card {
    padding: 40px;
    position: relative;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.close-modal-btn:hover {
    border-color: var(--text-primary);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.product-detail-gallery img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
    background-color: var(--bg-tertiary);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.detail-badge {
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.detail-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.detail-price-row {
    margin-bottom: 24px;
}

.detail-price {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.detail-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 28px;
    line-height: 1.7;
    font-weight: 300;
}

.fit-recommendation {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    margin: -8px 0 24px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(212, 175, 55, 0.08);
    color: var(--text-secondary);
}

.fit-recommendation[hidden] {
    display: none;
}

.fit-recommendation svg {
    width: 20px;
    min-width: 20px;
    color: var(--accent);
}

.fit-recommendation strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.fit-recommendation p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.55;
}

.fit-recommendation .fit-example {
    margin-top: 7px;
    color: var(--text-primary);
}

.fit-recommendation .fit-example strong {
    display: inline;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: normal;
    text-transform: none;
}

.option-label {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.detail-options {
    margin-bottom: 28px;
}

.size-options-container {
    display: flex;
    gap: 8px;
}

.size-btn {
    width: 44px;
    height: 44px;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.size-btn:hover {
    border-color: var(--text-secondary);
}

.size-btn.active {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.detail-quantity {
    margin-bottom: 36px;
}

.qty-selector {
    display: inline-flex;
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
}

.qty-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.qty-btn:hover {
    background-color: var(--bg-secondary);
}

.qty-btn i {
    width: 14px;
    height: 14px;
    stroke-width: 1.5px;
}

.qty-selector input {
    width: 48px;
    text-align: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.95rem;
    -moz-appearance: textfield;
}

.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .product-detail-card {
        padding: 24px;
    }
}

/* Cart & Checkout Drawers */
.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100%;
    background-color: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-overlay.active .drawer-content {
    transform: translateX(0);
}

/* Customer account */
.account-dialog {
    width: min(94vw, 560px);
    max-height: 92dvh;
    margin: auto;
    border: 0;
    border-radius: 24px;
    background: transparent;
    color: #17181d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
}
.account-dialog::backdrop { background: rgba(8, 9, 14, .72); backdrop-filter: blur(6px); }
.account-card { position: relative; padding: clamp(26px, 6vw, 42px); background: #fff; overflow-y: auto; max-height: 92dvh; }
.account-close { position: absolute; top: 17px; right: 17px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: #f3f3f7; color: #555864; }
.account-close svg { width: 19px; }
.account-heading { padding-right: 42px; }
.account-eyebrow { color: #5f59f7; font-family: var(--font-title); font-size: .66rem; font-weight: 800; letter-spacing: .17em; }
.account-heading h2 { margin-top: 9px; font-family: var(--font-title); font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1; letter-spacing: -.035em; }
.account-heading p { margin-top: 12px; color: #6f727d; font-size: .84rem; line-height: 1.55; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 26px 0 20px; padding: 5px; border-radius: 13px; background: #f3f3f7; }
.account-tab { min-height: 42px; border-radius: 9px; cursor: pointer; color: #6f727d; font-family: var(--font-title); font-size: .75rem; font-weight: 800; }
.account-tab.active { background: #fff; color: #17181d; box-shadow: 0 5px 16px rgba(31, 32, 42, .08); }
.account-form { display: grid; gap: 15px; margin-top: 24px; }
.account-tabs + .account-form { margin-top: 0; }
.account-form label:not(.account-consent) { display: grid; gap: 7px; color: #30323b; font-size: .72rem; font-weight: 700; }
.account-form input:not([type="checkbox"]) { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #e1e2e8; border-radius: 11px; outline: 0; background: #fff; color: #17181d; }
.account-form input:focus { border-color: #5f59f7; box-shadow: 0 0 0 3px rgba(95, 89, 247, .12); }
.account-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.account-verification-note { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid #dcdcff; border-radius: 11px; background: #f3f2ff; color: #555864; font-size: .73rem; line-height: 1.45; }
.account-verification-note svg { width: 20px; height: 20px; flex: 0 0 auto; color: #5f59f7; }
.account-verification-note strong { color: #34307e; }
.account-consent { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border-radius: 11px; background: #f7f7fa; color: #666975; font-size: .72rem; line-height: 1.45; cursor: pointer; }
.account-consent input { width: 17px; height: 17px; margin-top: 2px; flex: 0 0 auto; accent-color: #5f59f7; }
.account-consent strong { color: #2d2f37; }
.account-message { min-height: 18px; color: #c43c4b; font-size: .74rem; line-height: 1.45; }
.account-message.success { color: #168c55; }
.account-text-btn { justify-self: center; cursor: pointer; color: #6f727d; font-size: .73rem; text-decoration: underline; text-underline-offset: 3px; }
.account-secondary-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #e1e2e8; border-radius: 11px; cursor: pointer; color: #4f515b; font-family: var(--font-title); font-size: .74rem; font-weight: 800; }
.account-secondary-btn[hidden] { display: none !important; }
.account-secondary-btn svg { width: 17px; }

@media (max-width: 768px) {
    .account-btn { width: 40px; min-height: 40px; justify-content: center; padding: 0; }
    .account-btn span { display: none; }
    .account-dialog { width: 100%; max-height: calc(100dvh - 8px); margin: auto 0 0; border-radius: 22px 22px 0 0; }
    .account-card { max-height: calc(100dvh - 8px); padding: 30px 20px calc(28px + env(safe-area-inset-bottom)); }
    .account-form-grid { grid-template-columns: 1fr; }
}

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

.drawer-title {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.1em;
}

.drawer-title i {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
    stroke-width: 1.5px;
}

.close-drawer-btn, .back-drawer-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: var(--transition-smooth);
}

.close-drawer-btn:hover, .back-drawer-btn:hover {
    background-color: var(--bg-tertiary);
}

.close-drawer-btn i, .back-drawer-btn i {
    width: 18px;
    height: 18px;
    stroke-width: 1.5px;
}

.drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-primary);
}

/* Empty Cart State */
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}

.empty-cart-state i {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    stroke-width: 1px;
}

.empty-cart-state p {
    margin-bottom: 24px;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Cart Items List */
.cart-item {
    display: grid;
    grid-template-columns: 74px 1fr auto;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 74px;
    height: 98px;
    object-fit: cover;
    background-color: var(--bg-tertiary);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-price {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.remove-item-btn {
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.remove-item-btn:hover {
    color: var(--text-primary);
}

.remove-item-btn i {
    width: 16px;
    height: 16px;
    stroke-width: 1.5px;
}

/* Summary Row */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.summary-price {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 800;
}

.summary-disclaimer {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 24px;
}

.cart-discount-box {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(var(--gold-rgb), .3);
    border-radius: 10px;
    background: rgba(var(--gold-rgb), .055);
}

.cart-discount-box > label {
    display: block;
    margin-bottom: 9px;
    color: var(--text-secondary);
    font: 700 .68rem/1 var(--font-title);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.discount-code-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.discount-code-control input {
    min-width: 0;
    height: 46px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-title);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.discount-code-control button {
    min-width: 94px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--gold);
    border-radius: 7px;
    background: var(--gold);
    color: #080808;
    cursor: pointer;
    font: 800 .64rem/1 var(--font-title);
    letter-spacing: .08em;
}

.discount-code-control button:disabled { cursor: wait; opacity: .62; }
.discount-code-message { display: block; min-height: 1.25em; margin-top: 7px; color: var(--text-muted); font-size: .67rem; line-height: 1.35; }
.discount-code-message.is-success { color: #71cf91; }
.discount-code-message.is-error { color: #ff8585; }
.discount-summary-row,.discount-total-row { color: #71cf91; }
.discount-summary-row .summary-price { color: #71cf91; font-size: 1rem; }
.cart-final-row { padding-top: 11px; border-top: 1px solid var(--border-color); }
.discount-delivery-message { min-height: 1.5em; margin-top: 18px; }

@media (max-width: 380px) {
    .discount-code-control { grid-template-columns: 1fr; }
    .discount-code-control button { width: 100%; }
}

/* Checkout Form Layout */
.checkout-form-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.hidden {
    display: none;
}

.form-group label {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.form-group input {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    border-color: var(--text-primary);
}

.shipping-options-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shipping-option-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.shipping-option-card:hover {
    border-color: var(--text-secondary);
}

.shipping-option-card.active {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.02);
}

.shipping-option-card input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--text-primary);
}

.option-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.option-price {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.option-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 300;
}

/* Reservation Option Style */
.reservation-checkbox-wrapper {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.reservation-checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
    accent-color: var(--text-primary);
    width: 16px;
    height: 16px;
}

.reservation-checkbox-wrapper label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: normal;
    text-transform: none;
    color: var(--text-primary);
}

.checkbox-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 300;
}

/* Totals Box */
.totals-breakdown-box {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 24px;
}

.box-title {
    font-size: 0.8rem;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.totals-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 12px 0;
}

.total-row.main-total {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.total-row.main-total span:last-child {
    color: var(--text-primary);
}

.dynamic-payment-status {
    background-color: rgba(255, 255, 255, 0.02);
    padding: 12px;
}

.status-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    font-weight: 300;
}

.status-alert i {
    color: var(--text-primary);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke-width: 1.5px;
}

.whatsapp-security-notice {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.65rem;
    margin-top: 16px;
    line-height: 1.4;
}

/* Footer Section */
.app-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 24px 32px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 320px;
    font-weight: 300;
    font-size: 0.9rem;
}

.footer-info h4 {
    font-size: 0.85rem;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.footer-info ul {
    list-style: none;
}

.footer-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 12px;
    font-weight: 300;
}

.footer-info li i {
    width: 14px;
    height: 14px;
    color: var(--text-primary);
    stroke-width: 1.5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Heritage theme: final cascade */
.info-strip {
    background: linear-gradient(90deg, var(--bg-secondary), #1b1116, var(--bg-secondary));
    border-color: rgba(var(--gold-rgb), 0.22);
}

.info-item i { color: var(--gold); }

.trending-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 34%),
        linear-gradient(115deg, #f3eee6, #e8ddcf);
    color: var(--heritage-ink);
    border-top: 1px solid var(--gold);
    border-bottom: 1px solid var(--gold);
}

.trending-header h2,
.trending-card-title { color: var(--heritage-ink); }
.trending-eyebrow { color: var(--accent); }
.trending-controls button { color: var(--accent); border-color: var(--accent); }
.trending-controls button:hover { background: var(--accent); color: var(--text-primary); border-color: var(--gold); }
.trending-card-image { background: #ded2c4; box-shadow: 0 18px 38px rgba(56, 30, 38, 0.12); }
.trending-card-badge { background: var(--accent); color: var(--text-primary); border: 1px solid var(--gold); }
.trending-card-price { color: var(--accent); font-weight: 800; }

.section-title,
.detail-title,
.drawer-title,
.footer-brand h3 {
    color: var(--text-primary);
    text-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.18);
}

.section-title::after {
    content: '';
    display: block;
    width: 54px;
    height: 2px;
    margin-top: 12px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
}

.search-box:focus-within,
.form-group input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.08); }
.tag-btn:hover,
.tag-btn.active { color: var(--gold-soft); }
.tag-btn::after { background: linear-gradient(90deg, var(--accent), var(--gold)); }

.product-card-img-wrapper {
    outline: 1px solid rgba(var(--gold-rgb), 0.12);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.product-card-badge { background: var(--accent); color: var(--text-primary); border: 1px solid rgba(var(--gold-rgb), 0.72); }
.product-card-badge.limited { background: var(--gold); color: var(--heritage-ink); border-color: var(--gold-soft); }
.product-card-title:hover { color: var(--gold-soft); }
.product-card-price,
.detail-price,
.summary-price,
.option-price { color: var(--gold-soft); }

.modal-content,
.drawer-content {
    border-color: rgba(var(--gold-rgb), 0.34);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 70px rgba(var(--accent-rgb), 0.08);
}

.detail-badge { color: var(--gold-soft); border-color: rgba(var(--gold-rgb), 0.5); }
.fit-recommendation { border-color: rgba(var(--gold-rgb), 0.42); background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.1), rgba(var(--accent-rgb), 0.08)); }
.fit-recommendation svg { color: var(--gold); }
.size-btn:hover,
.close-modal-btn:hover,
.shipping-option-card:hover { border-color: var(--gold); }
.size-btn.active,
.shipping-option-card.active { background: var(--accent); color: var(--text-primary); border-color: var(--gold); }

.app-footer { background: linear-gradient(180deg, var(--bg-secondary), #0b0809); border-top-color: rgba(var(--gold-rgb), 0.34); }
.footer-bottom { border-top-color: rgba(var(--gold-rgb), 0.2); }

/* Modern Minimal Theme: youthful, clean and digital */
html,
body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

body {
    background-image:
        radial-gradient(circle at 8% 12%, rgba(var(--accent-rgb), 0.07), transparent 24rem),
        radial-gradient(circle at 92% 38%, rgba(140, 134, 255, 0.06), transparent 28rem);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0.035em;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #c9ccd5;
    border-radius: 999px;
}

.btn {
    border-radius: 999px;
    letter-spacing: 0.09em;
    box-shadow: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.22);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(var(--accent-rgb), 0.28);
}

.btn-secondary {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: var(--bg-secondary);
}

.btn-secondary:hover {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.42);
}

.app-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(22, 23, 28, 0.07);
    box-shadow: 0 8px 30px rgba(23, 24, 30, 0.05);
    backdrop-filter: blur(22px) saturate(150%);
}

.logo-img {
    filter: none;
    opacity: 0.92;
}

.desktop-nav .nav-link {
    color: var(--text-secondary);
    letter-spacing: 0.07em;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--text-primary);
}

.desktop-nav .nav-link::after {
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}

.cart-btn,
.cart-btn:hover {
    color: var(--text-primary);
}

.cart-count {
    background: var(--accent);
    color: #ffffff;
    outline: 2px solid #ffffff;
}

.stock-marquee {
    background: var(--accent);
    color: #ffffff;
    border: 0;
    box-shadow: none;
}

.stock-marquee-group span {
    color: #ffffff;
    text-shadow: none;
    letter-spacing: 0.07em;
}

.hero-section {
    background:
        linear-gradient(120deg, rgba(15, 16, 22, 0.42), rgba(61, 55, 178, 0.18)),
        linear-gradient(180deg, rgba(16, 17, 22, 0.08) 18%, rgba(16, 17, 22, 0.82) 100%),
        url('assets/oversized_hoodie.jpg') center/cover no-repeat;
}

.hero-overlay {
    background: radial-gradient(circle at 50% 42%, transparent 18%, rgba(13, 14, 20, 0.52) 100%);
}

.hero-tag,
.trending-eyebrow {
    color: #d9d7ff;
}

.hero-title {
    color: #ffffff;
}

.gradient-text {
    color: #ffffff;
    background: none;
    filter: none;
    text-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.hero-description {
    color: rgba(255, 255, 255, 0.8);
}

.info-strip {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--border-color);
}

.info-item {
    color: var(--text-secondary);
}

.info-item i {
    color: var(--accent);
}

.info-item-appointment { color: var(--text-primary); font-weight: 700; }
.info-item-appointment:hover { color: var(--accent); }

.trending-section {
    background:
        radial-gradient(circle at 12% 10%, rgba(var(--accent-rgb), 0.12), transparent 21rem),
        linear-gradient(135deg, #f1f1ff 0%, #f9f9ff 48%, #ffffff 100%);
    color: var(--text-primary);
    border: 0;
}

.trending-header h2,
.trending-card-title {
    color: var(--text-primary);
}

.trending-eyebrow {
    color: var(--accent);
}

.trending-controls button {
    color: var(--text-primary);
    border: 1px solid rgba(22, 23, 28, 0.12);
    background: rgba(255, 255, 255, 0.76);
    border-radius: 50%;
}

.trending-controls button:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.trending-card-image {
    background: #e8e9f1;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(27, 28, 36, 0.09);
}

.trending-card-badge {
    background: rgba(22, 23, 28, 0.9);
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.trending-card-price {
    color: var(--accent);
    font-weight: 800;
}

.catalog-section {
    color: var(--text-primary);
}

.section-title,
.detail-title,
.drawer-title,
.footer-brand h3 {
    color: var(--text-primary);
    text-shadow: none;
}

.section-title::after {
    width: 42px;
    height: 3px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--accent);
}

.search-box {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--border-color);
    border-radius: 14px;
}

.search-box:focus-within,
.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.1);
}

.category-tags {
    border-color: var(--border-color);
}

.tag-btn:hover,
.tag-btn.active {
    color: var(--accent);
}

.tag-btn::after {
    height: 3px;
    border-radius: 999px;
    background: var(--accent);
}

.product-card-img-wrapper {
    background: #eceef4;
    outline: 0;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(22, 23, 28, 0.07);
}

.product-card-badge,
.product-card-badge.limited {
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 6px 11px;
}

.product-card-badge {
    background: var(--accent);
}

.product-card-badge.limited {
    background: rgba(22, 23, 28, 0.9);
}

.product-card-title {
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: -0.01em;
}

.product-card-title:hover {
    color: var(--accent);
}

.product-card-price,
.detail-price,
.summary-price,
.option-price {
    color: var(--accent);
}

.modal-overlay,
.drawer-overlay {
    background: rgba(16, 17, 22, 0.58);
    backdrop-filter: blur(12px);
}

.modal-content,
.drawer-content {
    background: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: 0 30px 90px rgba(24, 25, 32, 0.18);
}

.modal-content {
    border-radius: 24px;
}

.close-modal-btn {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: transparent;
    border-radius: 50%;
}

.close-modal-btn:hover,
.size-btn:hover,
.shipping-option-card:hover {
    border-color: rgba(var(--accent-rgb), 0.45);
}

.detail-badge {
    color: var(--accent);
    border-color: rgba(var(--accent-rgb), 0.24);
    background: rgba(var(--accent-rgb), 0.07);
    border-radius: 999px;
}

.fit-recommendation {
    color: var(--text-secondary);
    border-color: rgba(var(--accent-rgb), 0.2);
    background: rgba(var(--accent-rgb), 0.07);
    border-radius: 16px;
}

.fit-recommendation svg {
    color: var(--accent);
}

.size-btn {
    background: var(--bg-tertiary);
    border-color: transparent;
    border-radius: 12px;
}

.size-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.qty-selector,
.form-group input,
.shipping-option-card,
.reservation-checkbox-wrapper,
.totals-breakdown-box {
    border-radius: 14px;
}

.qty-selector,
.form-group input,
.shipping-option-card,
.totals-breakdown-box {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

.reservation-checkbox-wrapper {
    background: rgba(var(--accent-rgb), 0.04);
    border-color: rgba(var(--accent-rgb), 0.22);
}

.shipping-option-card.active {
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--text-primary);
    border-color: var(--accent);
}

.shipping-option-card input[type="radio"],
.reservation-checkbox-wrapper input[type="checkbox"] {
    accent-color: var(--accent);
}

.drawer-header,
.drawer-footer,
.cart-item,
.footer-bottom {
    border-color: var(--border-color);
}

.drawer-footer {
    background: var(--bg-primary);
}

.app-footer {
    background: #16171c;
    color: #ffffff;
    border-top: 0;
}

.app-footer .footer-brand h3,
.app-footer .footer-info h4 {
    color: #ffffff;
}

.app-footer .footer-brand p,
.app-footer .footer-info li {
    color: #b9bdc7;
}

.app-footer .footer-info li i {
    color: #aaa6ff;
}

.app-footer .footer-bottom {
    color: #7f8490;
    border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
    .trending-card-image,
    .product-card-img-wrapper {
        border-radius: 15px;
    }

    .modal-content {
        border-radius: 20px;
    }
}

/* Editorial hero: large visual with left-aligned copy */
.hero-section {
    min-height: 610px;
    height: calc(100svh - 104px);
    align-items: flex-end;
    padding: 0 24px;
    background:
        linear-gradient(90deg, rgba(9, 10, 15, 0.98) 0%, rgba(9, 10, 15, 0.92) 20%, rgba(12, 13, 20, 0.72) 38%, rgba(14, 15, 22, 0.16) 68%, rgba(14, 15, 22, 0.05) 100%),
        linear-gradient(180deg, rgba(11, 12, 18, 0.04) 12%, rgba(11, 12, 18, 0.14) 52%, rgba(11, 12, 18, 0.78) 100%),
        url('assets/hero-lynx-model-cinematic-v2.webp') right center / auto 100% no-repeat;
    background-color: #090a11;
}

.hero-overlay {
    background:
        radial-gradient(circle at 72% 40%, transparent 8%, rgba(11, 12, 18, 0.12) 52%, rgba(11, 12, 18, 0.38) 100%);
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 clamp(44px, 6vh, 76px);
    text-align: left;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 13px;
    color: #ffffff;
    background: rgba(var(--accent-rgb), 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.hero-title {
    max-width: 920px;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(4rem, 7vw, 6.7rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.045em;
    text-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
}

.hero-title .gradient-text {
    color: transparent;
    background: linear-gradient(90deg, #ffffff 0%, #d8d6ff 54%, #8d87ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    filter: none;
}

.hero-description {
    max-width: 540px;
    margin: 0 0 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
}

.hero-content .btn-primary {
    min-height: 52px;
    padding-inline: 30px;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 620px;
        height: calc(100svh - 98px);
        padding-inline: 20px;
        background:
            linear-gradient(90deg, rgba(9, 10, 15, 0.82) 0%, rgba(11, 12, 18, 0.52) 66%, rgba(11, 12, 18, 0.2) 100%),
            linear-gradient(180deg, rgba(11, 12, 18, 0.04) 14%, rgba(11, 12, 18, 0.2) 50%, rgba(11, 12, 18, 0.86) 100%),
            url('assets/hero-lynx-model-cinematic-v2.webp') 64% center / cover no-repeat;
    }

    .hero-content {
        padding-bottom: 40px;
    }

    .hero-tag {
        margin-bottom: 18px;
        font-size: 0.64rem;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 22px;
        font-size: clamp(3rem, 15vw, 4.5rem);
        line-height: 0.91;
    }

    .hero-description {
        max-width: 92%;
        margin-bottom: 28px;
        font-size: 0.92rem;
        line-height: 1.6;
    }
}

/* Catalog groups and scroll-aware navigation */
.catalog-category-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 128px;
}

.catalog-category-heading:first-child {
    margin-top: 0;
}

.catalog-category-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.catalog-category-heading h3 {
    color: var(--text-primary);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.catalog-category-count {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .catalog-category-heading {
        align-items: flex-start;
        margin-top: 40px;
        padding-bottom: 14px;
        scroll-margin-top: 112px;
    }

    .catalog-category-heading h3 {
        font-size: 1.35rem;
    }

    .catalog-category-count {
        padding-top: 20px;
        font-size: 0.62rem;
    }
}

/* Final mobile overrides (kept last so the theme cascade cannot undo them) */
@media (max-width: 768px) {
    .hero-section {
        width: 100%;
        min-height: 500px;
        height: clamp(500px, calc(100svh - 98px), 680px);
        padding-inline: 18px;
        background:
            linear-gradient(90deg, rgba(9, 10, 15, 0.78) 0%, rgba(11, 12, 18, 0.48) 68%, rgba(11, 12, 18, 0.18) 100%),
            linear-gradient(180deg, rgba(11, 12, 18, 0.02) 18%, rgba(11, 12, 18, 0.2) 50%, rgba(11, 12, 18, 0.9) 100%),
            url('assets/hero-lynx-model-cinematic-v2.webp') 68% center / cover no-repeat;
    }

    .hero-content {
        padding-bottom: 28px;
    }

    .hero-tag {
        margin-bottom: 14px;
        padding: 7px 11px;
        font-size: 0.59rem;
        letter-spacing: 0.12em;
    }

    .hero-title {
        max-width: 100%;
        margin-bottom: 16px;
        font-size: clamp(2.35rem, 12.7vw, 3.35rem);
        line-height: 0.94;
        letter-spacing: -0.055em;
        overflow-wrap: anywhere;
    }

    .hero-description {
        max-width: 340px;
        margin-bottom: 20px;
        font-size: 0.84rem;
        line-height: 1.5;
    }

    .trending-section {
        padding: 48px 18px 54px;
    }

    .trending-loop-group {
        gap: 14px;
        padding-right: 14px;
    }

    .trending-card {
        flex-basis: min(72vw, 276px);
        min-width: 0;
    }

    .catalog-section {
        padding: 62px 16px 72px;
    }

    .catalog-header {
        display: grid;
        gap: 24px;
        margin-bottom: 24px;
    }

    .filter-controls,
    .search-box {
        width: 100%;
    }

    .category-tags {
        position: sticky;
        top: 64px;
        z-index: 45;
        gap: 20px;
        margin: 0 -16px 34px;
        padding: 14px 16px 13px;
        border-top: 1px solid rgba(226, 228, 234, 0.75);
        border-bottom: 1px solid rgba(226, 228, 234, 0.9);
        background: rgba(247, 248, 252, 0.94);
        backdrop-filter: blur(18px) saturate(150%);
        scrollbar-width: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 12px;
    }

    .catalog-category-heading {
        min-width: 0;
        margin-top: 42px;
        gap: 12px;
        padding-bottom: 13px;
        scroll-margin-top: 128px;
    }

    .catalog-category-heading > div {
        min-width: 0;
    }

    .catalog-category-heading h3 {
        overflow-wrap: anywhere;
    }

    .catalog-category-heading h3 {
        font-size: 1.24rem;
    }

    .catalog-category-count {
        flex-shrink: 0;
        padding-top: 18px;
        font-size: 0.58rem;
    }

    .product-card-footer .btn {
        min-height: 42px;
        padding-inline: 8px;
        font-size: 0.64rem;
        letter-spacing: 0.055em;
        white-space: nowrap;
    }

    .product-card-img-wrapper {
        padding-top: 132%;
        border-radius: 14px;
    }

    .product-card-badge,
    .product-card-badge.limited {
        top: 9px;
        left: 9px;
        max-width: calc(100% - 18px);
        padding: 5px 8px;
        overflow: hidden;
        font-size: 0.52rem;
        letter-spacing: 0.06em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-card-content {
        padding-top: 11px;
    }

    .product-card-category {
        margin-bottom: 4px;
        font-size: 0.58rem;
    }

    .product-card-title {
        display: -webkit-box;
        min-height: 2.5em;
        margin-bottom: 5px;
        overflow: hidden;
        font-size: 0.8rem;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .product-card-price {
        margin-bottom: 10px;
        font-size: 0.95rem;
    }

    .modal-content {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-height: calc(100dvh - 8px);
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }

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

    .product-detail-card {
        padding: 20px 18px calc(24px + env(safe-area-inset-bottom));
    }

    .modal-overlay,
    .drawer-overlay {
        height: 100dvh;
        min-height: 100%;
    }

    .drawer-content {
        height: 100dvh;
        max-height: 100dvh;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .close-modal-btn {
        z-index: 3;
        background: var(--bg-tertiary);
    }

    .product-detail-gallery img {
        max-height: 48vh;
        object-fit: contain;
        border-radius: 14px;
    }
}

@media (max-width: 340px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Final compact home for every mobile phone */
@media (max-width: 768px) {
    .app-header,
    .header-container {
        height: 72px;
    }

    .app-header {
        padding-top: env(safe-area-inset-top);
    }

    .header-container {
        display: grid;
        grid-template-columns: 48px 1fr 96px;
        padding: 0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
    }

    .brand-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        z-index: 2;
    }

    .logo-img {
        height: 22px;
        max-width: 118px;
    }

    .header-actions {
        grid-column: 1 / 4;
        grid-row: 1;
        display: grid;
        grid-template-columns: 44px 1fr 44px 44px;
        align-items: center;
        gap: 4px;
        pointer-events: none;
    }

    .header-actions > * {
        pointer-events: auto;
    }

    .mobile-menu-btn {
        grid-column: 1;
        background: transparent;
        border-radius: 0;
    }

    .header-search-btn {
        display: grid;
        grid-column: 3;
        width: 42px;
        height: 42px;
    }

    .account-btn { display: none; }

    .cart-btn {
        grid-column: 4;
        justify-self: end;
    }

    .mobile-menu-btn,
    .header-search-btn,
    .cart-btn {
        grid-row: 1;
    }

    .mobile-menu-btn svg,
    .header-search-btn svg,
    .cart-btn svg {
        width: 23px;
        height: 23px;
        stroke-width: 1.7px;
    }

    .mobile-nav {
        top: calc(100% + 8px);
    }

    .hero-section {
        width: 100%;
        min-height: 285px;
        height: clamp(285px, 76vw, 430px);
        max-height: 430px;
        margin-top: calc(72px + env(safe-area-inset-top));
        padding: 0 18px;
        align-items: flex-end;
        background: url('assets/hero-lynx-model-v1.webp') right center / cover no-repeat;
        background-color: #d9d8df;
    }

    .hero-overlay {
        background: linear-gradient(180deg, transparent 52%, rgba(10, 10, 13, 0.28) 100%);
    }

    .hero-content {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 0 20px;
        text-align: left;
    }

    .hero-tag,
    .hero-title,
    .hero-description {
        display: none;
    }

    .hero-content .btn-primary {
        width: auto;
        min-height: 44px;
        padding: 0 17px;
        border: 0;
        border-radius: 4px;
        background: #050505;
        color: #ffffff;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .hero-content .btn-primary:hover {
        background: #050505;
        color: #ffffff;
    }

    .hero-content .btn-primary svg,
    .hero-cta-desktop {
        display: none;
    }

    .hero-cta-mobile {
        display: inline;
    }

    .stock-marquee {
        margin-top: 0;
        background: #050505;
    }

    .stock-marquee-group {
        gap: 54px;
        padding: 10px 54px 10px 0;
    }

    .stock-marquee-group span {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .info-strip {
        display: none;
    }

    .trending-section {
        padding: 46px 18px 54px;
        background: #ffffff;
    }

    .trending-header {
        justify-content: center;
        margin-bottom: 26px;
        text-align: center;
    }

    .trending-header h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
        letter-spacing: 0.01em;
    }

    .trending-eyebrow,
    .trending-controls {
        display: none;
    }

    .trending-loop-group {
        gap: 14px;
        padding-right: 14px;
    }

    .trending-card {
        flex: 0 0 calc((100vw - 50px) / 2);
        min-width: 0;
    }

    .trending-card-image {
        margin-bottom: 13px;
        border-radius: 0;
        background: #f3f3f3;
        box-shadow: none;
    }

    .trending-card-title {
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .trending-card-price {
        font-size: 0.88rem;
    }
}

/* Infinite carousel, brand icons and direct contact refinements */
.trending-viewport {
    cursor: grab;
    /* Deja que Safari gestione el swipe horizontal de forma nativa. */
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    -webkit-user-select: none;
}

.trending-viewport.is-dragging {
    cursor: grabbing;
}

.trending-viewport.is-dragging .trending-track {
    pointer-events: none;
}

.trending-viewport img {
    -webkit-user-drag: none;
    user-select: none;
}

.trending-viewport:focus-visible {
    outline: 3px solid rgba(var(--accent-rgb), 0.3);
    outline-offset: 5px;
}

.social-brand-icon {
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.social-links .social-brand-icon {
    width: 20px;
    height: 20px;
}

.social-fab .social-brand-icon {
    width: 25px;
    height: 25px;
    padding: 3px;
    border-radius: 7px;
    background: #ffffff;
}

.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    transition: color 0.2s ease;
}

.footer-whatsapp-link:hover,
.footer-whatsapp-link:focus-visible {
    color: #25d366;
}

@media (max-width: 768px) {
    .trending-header {
        justify-content: space-between;
        gap: 16px;
        text-align: left;
    }

    .trending-controls {
        display: flex;
        flex: 0 0 auto;
    }

    .trending-header h2 {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .logo-img {
        height: 22px;
        max-width: 132px;
    }
}

/* Customer reviews */
.reviews-section {
    padding: 92px 24px;
    background: linear-gradient(135deg, #191a21, #25233d 58%, #171820);
    color: #ffffff;
}

.reviews-container {
    width: min(100%, 1120px);
    margin: 0 auto;
}

.reviews-heading {
    max-width: 620px;
    margin-bottom: 42px;
}

.reviews-heading .faq-kicker { color: #aaa6ff; }
.reviews-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: .98; letter-spacing: -0.025em; }
.reviews-heading p { margin-top: 17px; color: #bec1cc; line-height: 1.65; }

.reviews-content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
}

.reviews-list { display: grid; gap: 14px; }
.reviews-empty { padding: 28px; border: 1px dashed rgba(255,255,255,.22); border-radius: 16px; color: #bec1cc; text-align: center; }

.review-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
}

.review-card-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.review-author { font-family: var(--font-title); font-size: .94rem; font-weight: 800; letter-spacing: .02em; }
.review-date { color: #aeb2bd; font-size: .73rem; }
.review-verification { display: block; width: fit-content; margin-top: 6px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 99px; color: #c8cad2; font: 700 .56rem var(--font-title); letter-spacing: .04em; }
.review-verification.is-purchase { border-color: rgba(var(--gold-rgb),.5); color: var(--gold-soft); }
.review-stars-display { color: #ffcf4d; font-size: 1rem; letter-spacing: .08em; }
.review-card p { margin-top: 14px; color: #e6e7ed; font-size: .91rem; line-height: 1.68; white-space: pre-line; }

.review-compose {
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    color: #1a1b22;
    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

.review-compose-kicker { display: block; color: var(--accent); font-family: var(--font-title); font-size: .65rem; font-weight: 900; letter-spacing: .14em; }
.review-compose h3 { margin-top: 9px; font-size: 1.45rem; letter-spacing: .01em; }
.review-compose > p { margin: 10px 0 20px; color: #676a76; font-size: .84rem; line-height: 1.55; }
.review-compose .btn { width: 100%; font-size: .68rem; }

.review-form { display: grid; gap: 15px; }
.review-form fieldset { border: 0; }
.review-form legend, .review-form > label > span { display: block; margin-bottom: 8px; color: #454750; font-size: .75rem; font-weight: 800; }
.review-form textarea { width: 100%; min-height: 118px; padding: 12px; resize: vertical; border: 1px solid #dbdde5; border-radius: 11px; color: #1a1b22; outline: none; }
.review-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .12); }
.review-photo-picker { display: grid; gap: 7px; }
.review-photo-picker > span { display: block; color: #454750; font-size: .75rem; font-weight: 800; }
.review-photo-picker input { width: 100%; padding: 9px; border: 1px dashed #bfc2ce; border-radius: 11px; color: #555966; font-size: .76rem; cursor: pointer; }
.review-photo-picker small { color: #7b7e89; font-size: .67rem; line-height: 1.4; }
.review-photo-picker small.is-error { color: #c43c4b; }
.review-stars { display: inline-flex; gap: 3px; }
.review-stars input { position: absolute; opacity: 0; }
.review-stars label { cursor: pointer; color: #d7d9e0; font-size: 1.65rem; line-height: 1; }
.review-stars label:hover,
.review-stars label:has(~ label:hover) { color: #ffbd2e; }
.review-stars label:has(input:checked),
.review-stars label:has(~ label input:checked) { color: #ffbd2e; }
.review-message { min-height: 18px; color: #c43c4b; font-size: .74rem; line-height: 1.4; }
.review-message.success { color: #168c55; }
.review-photo-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: transparent; color: #ffffff; font-family: var(--font-title); font-size: .66rem; font-weight: 800; letter-spacing: .05em; cursor: pointer; }
.review-photo-btn:hover, .review-photo-btn:focus-visible { background: #ffffff; color: #20212a; }
.review-image-modal { position: fixed; z-index: 1500; inset: 0; display: grid; place-items: center; padding: 20px; }
body.review-image-open { overflow: hidden; }
.review-image-modal[hidden] { display: none; }
.review-image-modal-backdrop { position: absolute; inset: 0; background: rgba(8, 9, 13, .82); backdrop-filter: blur(6px); }
.review-image-modal-panel { position: relative; z-index: 1; width: min(100%, 880px); max-height: min(82dvh, 780px); overflow: auto; padding: 20px; border-radius: 18px; background: #ffffff; box-shadow: 0 24px 80px rgba(0,0,0,.4); }
.review-image-modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; color: #1a1b22; }
.review-image-modal-heading h3 { font-size: 1.1rem; }
.review-image-modal-close { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #e2e3e9; border-radius: 50%; background: #ffffff; color: #20212a; cursor: pointer; }
.review-image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.review-image-gallery img { width: 100%; max-height: 66dvh; border-radius: 12px; object-fit: contain; background: #f2f3f6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 780px) {
    .reviews-section { padding: 64px 18px; }
    .reviews-content { grid-template-columns: 1fr; }
    .review-compose { order: -1; }
    .review-image-modal { padding: 12px; }
    .review-image-modal-panel { padding: 15px; }
}

/* Mobile product modal: una imagen protagonista, sin desplazar la información
   importante fuera de la primera vista en teléfonos altos. */
@media (max-width: 768px) {
    .product-detail-card {
        padding: 16px 18px calc(22px + env(safe-area-inset-bottom));
    }

    .product-detail-layout {
        gap: 14px;
    }

    .product-detail-gallery img {
        max-height: min(42svh, 380px);
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .detail-badge {
        margin-bottom: 9px;
        font-size: 0.68rem;
    }

    .detail-title {
        padding-right: 46px;
        margin-bottom: 9px;
        font-size: clamp(1.45rem, 6vw, 1.8rem);
        line-height: 1.08;
        letter-spacing: 0.015em;
    }

    .detail-price-row {
        margin-bottom: 14px;
    }

    .detail-price {
        font-size: 1.4rem;
    }

    .detail-description {
        margin-bottom: 18px;
        font-size: 0.95rem;
        line-height: 1.58;
    }
}

/* Final responsive guardrails */
.faq-section,
.reviews-section,
.app-footer {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

@media (max-width: 768px) {
    html,
    body,
    main,
    .catalog-section,
    .trending-section,
    .faq-section,
    .reviews-section,
    .app-footer {
        width: 100%;
        max-width: 100%;
    }

    body { overflow-x: clip; }

    .products-grid,
    .product-card,
    .product-card-content,
    .reviews-content,
    .review-card,
    .review-compose { min-width: 0; }

    .product-card-title,
    .cart-item-title,
    .review-card p { overflow-wrap: anywhere; }

    .modal-content,
    .drawer-content {
        width: 100%;
        max-width: min(100vw, 440px);
        overflow-x: clip;
    }

    .drawer-body {
        min-width: 0;
        overscroll-behavior: contain;
    }

    .cart-item {
        grid-template-columns: 68px minmax(0, 1fr) 32px;
        gap: 12px;
    }

    .cart-item-img {
        width: 68px;
        height: 88px;
        border-radius: 8px;
    }

    .cart-item-actions { min-width: 0; }
    .drawer-footer .btn { min-height: 50px; }
}

@media (max-width: 380px) {
    .header-container { padding-inline: 10px; }
    .catalog-section { padding-inline: 12px; }
    .products-grid { gap: 28px 10px; }
    .drawer-header,
    .drawer-body,
    .drawer-footer { padding-inline: 14px; }
    .cart-item { grid-template-columns: 60px minmax(0, 1fr) 30px; gap: 10px; }
    .cart-item-img { width: 60px; height: 80px; }
}

/* LYNX Fusion 2026
   Dark luxury direction inspired by the new collection artwork, integrated
   over the current storefront without replacing its commerce components. */
:root {
    --bg-primary: #070707;
    --bg-secondary: #111111;
    --bg-tertiary: #191919;
    --text-primary: #f8f6ef;
    --text-secondary: #c8c5bb;
    --text-muted: #8f8c83;
    --accent: #d4af37;
    --accent-hover: #ebca60;
    --accent-rgb: 212, 175, 55;
    --gold: #d4af37;
    --gold-soft: #f1dc96;
    --gold-rgb: 212, 175, 55;
    --ivory-panel: #111111;
    --heritage-ink: #f8f6ef;
    --border-color: #292721;
    --border-focus: #d4af37;
}

html,
body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.app-header {
    border-bottom-color: rgba(212, 175, 55, 0.18);
    background: rgba(7, 7, 7, 0.94);
    color: var(--text-primary);
    backdrop-filter: blur(18px);
}

.logo-img {
    filter: brightness(0) invert(1);
}

.desktop-nav .nav-link,
.header-actions button {
    color: #d5d2c9;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active,
.header-actions button:hover {
    color: var(--gold-soft);
}

.desktop-nav .nav-link.active::after {
    background: var(--accent);
}

.mobile-nav {
    border-color: rgba(212, 175, 55, 0.22);
    background: #0d0d0d;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48);
}

.mobile-nav-link {
    color: var(--text-secondary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-soft);
}

.cart-count {
    background: var(--accent);
    color: #080808;
}

.stock-marquee {
    border-block: 1px solid rgba(212, 175, 55, 0.28);
    background: #0d0d0d;
    color: var(--gold-soft);
}

.hero-section {
    min-height: clamp(560px, 71vh, 760px);
    margin-top: 0;
    align-items: flex-end;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 31%, rgba(0, 0, 0, 0.2) 61%, rgba(0, 0, 0, 0.16) 100%),
        url('assets/hero-lynx-model-cinematic-v2.webp') 61% center / cover no-repeat;
    background-color: #080808;
}

.hero-overlay {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 45%, rgba(0, 0, 0, 0.72) 100%),
        radial-gradient(circle at 17% 52%, rgba(212, 175, 55, 0.16), transparent 36%);
}

.hero-content {
    max-width: 620px;
    margin: 0 0 clamp(58px, 8vh, 96px) clamp(24px, 6vw, 96px);
    padding: 0;
    text-align: left;
}

.hero-tag {
    border-color: rgba(212, 175, 55, 0.56);
    background: rgba(12, 12, 12, 0.68);
    color: var(--gold-soft);
}

.hero-title {
    color: #ffffff;
    text-shadow: 0 10px 36px rgba(0, 0, 0, 0.55);
}

.gradient-text {
    background: none;
    color: var(--gold-soft);
    -webkit-text-fill-color: var(--gold-soft);
}

.hero-description {
    margin-left: 0;
    color: #dedbd2;
}

.hero-content .btn-primary {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #080808;
    box-shadow: 0 14px 34px rgba(212, 175, 55, 0.22);
}

.hero-content .btn-primary:hover {
    border-color: var(--gold-soft);
    background: var(--gold-soft);
    color: #080808;
}

.info-strip {
    border-block-color: rgba(212, 175, 55, 0.16);
    background: #101010;
    color: var(--text-secondary);
}

.info-item svg {
    color: var(--accent);
}

.trending-section,
.outfit-builder-section,
.catalog-section,
.faq-section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.outfit-builder-section,
.faq-section {
    border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.trending-eyebrow,
.catalog-eyebrow,
.faq-kicker,
.builder-heading-kicker,
.product-card-category {
    color: var(--accent);
}

.trending-header h2,
.section-title,
.outfit-builder-heading h2,
.faq-heading h2,
.catalog-category-heading h3 {
    color: var(--text-primary);
}

.trending-controls button {
    border-color: rgba(212, 175, 55, 0.35);
    background: #111111;
    color: var(--gold-soft);
}

.trending-controls button:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #070707;
}

.trending-card {
    color: var(--text-primary);
}

.trending-card-image,
.product-card-img-wrapper {
    border: 1px solid #25231e;
    background: #f0efeb;
}

.trending-card-title,
.product-card-title {
    color: var(--text-primary);
}

.trending-card-title:hover,
.product-card-title:hover {
    color: var(--gold-soft);
}

.trending-card-price,
.product-card-price {
    color: var(--gold-soft);
}

.trending-card-badge,
.product-card-badge,
.product-card-badge.limited {
    border: 1px solid rgba(212, 175, 55, 0.75);
    background: #0a0a0a;
    color: var(--gold-soft);
}

.builder-preview-panel,
.builder-controls,
.builder-choice-group {
    border-color: rgba(212, 175, 55, 0.16);
    background: #101010;
}

.builder-stage {
    background:
        radial-gradient(circle at 50% 35%, rgba(212, 175, 55, 0.15), transparent 38%),
        #e9e7e1;
}

.builder-choice-heading h3,
.builder-total,
.builder-choice-card strong {
    color: var(--text-primary);
}

.builder-choice-card {
    border-color: #302e28;
    background: #161616;
    color: var(--text-secondary);
}

.builder-choice-card.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.12);
}

.catalog-container {
    color: var(--text-primary);
}

.search-box,
.tag-btn {
    border-color: #302e28;
    background: #111111;
    color: var(--text-secondary);
}

.search-box input {
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.tag-btn:hover,
.tag-btn.active {
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-soft);
}

.product-card-footer .btn-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #080808;
}

.product-card-footer .btn-primary:hover {
    background: var(--gold-soft);
}

.product-card-footer .btn-secondary {
    border-color: #524a30;
    background: #111111;
    color: var(--text-primary);
}

.product-card-footer .btn-secondary:hover {
    border-color: var(--accent);
    color: var(--gold-soft);
}

.reviews-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.13), transparent 31%),
        linear-gradient(135deg, #090909, #12110e 58%, #070707);
}

.reviews-heading .faq-kicker {
    color: var(--gold-soft);
}

.review-card {
    border-color: rgba(212, 175, 55, 0.18);
    background: rgba(255, 255, 255, 0.045);
}

.review-compose {
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.faq-item {
    border-color: #292721;
    background: #111111;
    color: var(--text-primary);
}

.faq-item summary:hover {
    color: var(--gold-soft);
}

.faq-item p,
.faq-heading p,
.outfit-builder-heading p,
.section-subtitle {
    color: var(--text-secondary);
}

.app-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    background: #050505;
    color: var(--text-secondary);
}

.app-footer h3,
.app-footer h4 {
    color: var(--gold-soft);
}

.social-fab {
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

@media (max-width: 768px) {
    .app-header,
    .header-container {
        height: 68px;
    }

    .header-container {
        grid-template-columns: 46px 1fr 94px;
    }

    .logo-img {
        height: 24px;
        max-width: 138px;
    }

    .hero-section {
        min-height: 480px;
        height: clamp(480px, 124vw, 610px);
        max-height: 610px;
        margin-top: calc(68px + env(safe-area-inset-top));
        padding: 0 18px;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.05) 32%, rgba(0, 0, 0, 0.92) 91%),
            url('assets/hero-lynx-model-v1.webp') right center / cover no-repeat;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.68) 100%),
            radial-gradient(circle at 18% 72%, rgba(212, 175, 55, 0.12), transparent 42%);
    }

    .hero-content {
        margin: 0;
        padding: 0 0 28px;
    }

    .hero-tag {
        display: inline-flex;
        margin-bottom: 12px;
        font-size: 0.6rem;
    }

    .hero-title {
        display: block;
        max-width: 350px;
        margin-bottom: 12px;
        font-size: clamp(2.25rem, 11.5vw, 3.35rem);
        line-height: 0.9;
        letter-spacing: -0.04em;
    }

    .hero-description {
        display: none;
    }

    .hero-content .btn-primary {
        min-height: 44px;
        padding: 0 18px;
        border: 1px solid var(--accent);
        border-radius: 6px;
        background: var(--accent);
        color: #080808;
        font-size: 0.68rem;
    }

    .stock-marquee {
        background: #0b0b0b;
    }

    .trending-section {
        background: var(--bg-primary);
    }

    .trending-card-image {
        border-radius: 10px;
        background: #efeee9;
    }

    .trending-header {
        text-align: left;
    }

    .product-card-footer {
        gap: 7px;
    }

    .social-fab-group {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        gap: 6px;
    }

    .social-fab {
        width: 42px;
        min-height: 42px;
        height: 42px;
    }

    .social-fab .social-brand-icon {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 380px) {
    .hero-section {
        min-height: 450px;
        height: 132vw;
        max-height: 540px;
        background-position: right center;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 2.7rem);
    }
}

/* Compact classic hero + always-running announcement carousel */
.stock-marquee-track {
    animation: lynx-stock-loop 24s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

@keyframes lynx-stock-loop {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.hero-section {
    min-height: 450px;
    height: 58vh;
    max-height: 620px;
    background-size: auto, auto 100%;
    background-position: center, right center;
    background-repeat: no-repeat;
}

.hero-content {
    margin-bottom: clamp(34px, 5vh, 58px);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 430px;
        height: clamp(430px, 112vw, 480px);
        max-height: 480px;
        background-image:
            linear-gradient(180deg, rgba(0, 0, 0, 0.02) 35%, rgba(0, 0, 0, 0.92) 87%),
            url('assets/hero-lynx-model-mobile-full-v1.webp');
        background-size: auto, 100% auto;
        background-position: center, center top;
        background-repeat: no-repeat;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.82) 82%, #070707 100%),
            radial-gradient(circle at 18% 76%, rgba(212, 175, 55, 0.14), transparent 42%);
    }

    .hero-content {
        margin-bottom: 0;
        padding-bottom: 22px;
    }

    .hero-title {
        font-size: clamp(2.1rem, 10.5vw, 2.8rem);
    }

    .category-tags {
        border-top-color: rgba(212, 175, 55, 0.22);
        border-bottom-color: rgba(212, 175, 55, 0.28);
        background: rgba(7, 7, 7, 0.96);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(18px) saturate(130%);
    }

    .category-tags .tag-btn {
        padding: 9px 12px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        border-radius: 4px;
        background: #111111;
        color: #dedbd2;
    }

    .category-tags .tag-btn:hover {
        border-color: rgba(212, 175, 55, 0.58);
        color: var(--gold-soft);
    }

    .category-tags .tag-btn.active {
        border-color: var(--accent);
        background: var(--accent);
        color: #070707;
    }

    .category-tags .tag-btn::after {
        display: none;
    }
}

@media (max-width: 380px) {
    .hero-section {
        min-height: 420px;
        height: 114vw;
        max-height: 455px;
    }
}

.footer-guide-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--gold-soft);
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-guide-link:hover,
.footer-guide-link:focus-visible {
    color: var(--accent);
}

.footer-category-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.footer-category-button svg {
    width: 18px;
    height: 18px;
}

.footer-category-button:hover,
.footer-category-button:focus-visible {
    color: var(--gold-soft);
}

/* TikTok showcase — local preview */
.nav-link-anchor, .mobile-nav-anchor { text-decoration: none; }
.tiktok-showcase { position:relative; padding:74px clamp(20px,5vw,84px) 58px; overflow:hidden; border-block:1px solid rgba(212,175,55,.18); background:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px),radial-gradient(circle at 85% 8%,rgba(212,175,55,.1),transparent 28rem),#080808; background-size:42px 42px,42px 42px,auto,auto; color:#fff; }
.tiktok-showcase::before { content:'LYNX'; position:absolute; top:16px; right:-22px; color:rgba(255,255,255,.025); font-family:var(--font-title); font-size:clamp(8rem,19vw,20rem); font-weight:900; line-height:1; pointer-events:none; }
.tiktok-showcase-heading { position:relative; z-index:1; max-width:1480px; margin:0 auto 30px; display:flex; align-items:end; justify-content:space-between; gap:28px; }
.tiktok-showcase-kicker { color:var(--accent); font-size:.68rem; font-weight:800; letter-spacing:.22em; }
.tiktok-showcase h2 { margin:9px 0 8px; font-family:var(--font-title); font-size:clamp(2rem,4vw,4rem); line-height:.92; letter-spacing:-.035em; }
.tiktok-showcase-heading p { max-width:560px; color:#aaa; font-size:.93rem; line-height:1.6; }
.tiktok-profile-link { display:inline-flex; align-items:center; gap:10px; padding:14px 18px; border:1px solid rgba(212,175,55,.56); color:var(--gold-soft); font-size:.68rem; font-weight:800; letter-spacing:.11em; text-decoration:none; }
.tiktok-profile-link:hover { background:var(--accent); color:#080808; }
.tiktok-profile-link svg { width:16px; }
.tiktok-video-rail { position:relative; z-index:1; max-width:1480px; margin:0 auto; display:grid; grid-auto-flow:column; grid-auto-columns:minmax(260px,1fr); gap:12px; overflow-x:auto; padding:2px 2px 12px; scroll-snap-type:x mandatory; scrollbar-width:none; }
.tiktok-video-rail::-webkit-scrollbar { display:none; }
.tiktok-video-card { scroll-snap-align:start; min-width:0; padding:9px; border:1px solid #2b2b2b; background:rgba(14,14,14,.94); box-shadow:0 18px 45px rgba(0,0,0,.24); transition:transform .3s ease,border-color .3s ease; }
.tiktok-video-card:hover { transform:translateY(-5px); border-color:rgba(212,175,55,.62); }
.tiktok-card-top { min-height:39px; display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; padding:0 3px 8px; }
.tiktok-card-top span { color:var(--accent); font-size:.66rem; font-weight:800; letter-spacing:.16em; }
.tiktok-card-top strong { overflow:hidden; color:#eee; font-size:.7rem; letter-spacing:.07em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
.tiktok-card-top .tiktok-card-mark { color:#707070; font-size:.48rem; white-space:nowrap; }
.tiktok-player-frame { position:relative; width:100%; aspect-ratio:9/16; overflow:hidden; background:#030303; }
.tiktok-player-frame::after { content:''; position:absolute; inset:0; border:1px solid rgba(255,255,255,.07); pointer-events:none; }
.tiktok-player-frame iframe { width:100%; height:100%; display:block; border:0; background:#050505; }
.tiktok-player-launch { position:relative; width:100%; height:100%; display:grid; place-items:center; align-content:center; gap:18px; overflow:hidden; border:0; background:#090909 var(--tiktok-cover) center/cover no-repeat; color:#fff; cursor:pointer; }
.tiktok-player-launch::before { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.04) 46%,rgba(0,0,0,.72) 100%); transition:background .25s ease; }
.tiktok-player-launch:hover::before { background:linear-gradient(180deg,rgba(0,0,0,.02) 44%,rgba(0,0,0,.58) 100%); }
.tiktok-player-play { width:68px; height:68px; position:relative; display:grid; place-items:center; border:1px solid var(--accent); border-radius:50%; background:rgba(0,0,0,.56); box-shadow:0 0 0 10px rgba(212,175,55,.05); transition:transform .25s ease,background .25s ease; }
.tiktok-player-play::after { content:''; margin-left:5px; border-top:9px solid transparent; border-bottom:9px solid transparent; border-left:15px solid var(--gold-soft); }
.tiktok-player-launch:hover .tiktok-player-play { transform:scale(1.08); background:var(--accent); }
.tiktok-player-launch:hover .tiktok-player-play::after { border-left-color:#070707; }
.tiktok-player-launch small { position:absolute; left:0; right:0; bottom:18px; color:#fff; font-size:.5rem; font-weight:800; letter-spacing:.18em; text-shadow:0 2px 8px #000; }
.tiktok-card-footer { min-height:38px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 3px 0; }
.tiktok-card-footer > span { color:#777; font-size:.5rem; font-weight:800; letter-spacing:.17em; }
.tiktok-card-footer a { color:var(--gold-soft); font-size:.55rem; font-weight:800; letter-spacing:.08em; text-decoration:none; }
.tiktok-showcase-footer { position:relative; z-index:1; max-width:1480px; margin:9px auto 0; display:flex; align-items:center; justify-content:space-between; color:#666; font-size:.5rem; font-weight:700; letter-spacing:.18em; }
.tiktok-showcase-footer div { display:flex; gap:5px; }
.tiktok-showcase-footer i { width:24px; height:1px; display:block; background:#333; }
.tiktok-showcase-footer i:first-child { background:var(--accent); }
.tiktok-empty-card { grid-column:1/-1; width:min(100%,820px); min-height:210px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; padding:32px; border:1px solid #2a2a2a; background:linear-gradient(135deg,#111,#090909); }
.tiktok-empty-icon { width:72px; height:72px; display:grid; place-items:center; border:1px solid var(--accent); border-radius:50%; color:var(--accent); font-size:2rem; }
.tiktok-empty-card strong { display:block; margin-bottom:8px; font-family:var(--font-title); font-size:1.3rem; }
.tiktok-empty-card p { color:#999; line-height:1.55; }
.tiktok-empty-card a { color:var(--gold-soft); font-size:.72rem; font-weight:800; text-decoration:none; }
@media (max-width:768px) {
    .tiktok-showcase { padding:54px 16px 42px; }
    .tiktok-showcase-heading { align-items:start; flex-direction:column; margin-bottom:26px; }
    .tiktok-showcase-heading p { font-size:.82rem; }
    .tiktok-video-rail { grid-auto-columns:minmax(248px,79vw); gap:11px; }
    .tiktok-showcase-footer { margin-top:5px; }
    .tiktok-showcase-footer > span:first-child { display:none; }
    .tiktok-empty-card { grid-template-columns:54px 1fr; gap:16px; padding:22px 18px; }
    .tiktok-empty-icon { width:54px; height:54px; }
    .tiktok-empty-card a { grid-column:2; }
}

/* Interactive storefront + email-only welcome offer */
.page-scroll-progress {
    position: fixed; inset: 0 0 auto; z-index: 10000; height: 3px;
    transform: scaleX(0); transform-origin: left center;
    background: linear-gradient(90deg, #b58a12, #ffe783, #d4af37);
    box-shadow: 0 0 16px rgba(255, 221, 105, .5); pointer-events: none;
}
.page-pointer-glow {
    position: fixed; top: 0; left: 0; z-index: 0; width: 380px; height: 380px;
    border-radius: 50%; background: radial-gradient(circle, rgba(212,175,55,.075), transparent 68%);
    pointer-events: none; will-change: transform;
}
.motion-reveal {
    opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(5px);
    transition: opacity .85s cubic-bezier(.2,.75,.2,1) var(--reveal-delay,0ms),
                transform .85s cubic-bezier(.2,.75,.2,1) var(--reveal-delay,0ms),
                filter .85s ease var(--reveal-delay,0ms);
}
.motion-reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); }
.product-card, .trending-card {
    transform: perspective(1100px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));
    transform-style: preserve-3d; transition: transform .32s ease, opacity .85s ease, filter .85s ease;
}
.product-card-img-wrapper::after {
    content:''; position:absolute; inset:-70% -35%; z-index:2;
    background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.24) 50%,transparent 60%);
    transform:translateX(-70%) rotate(8deg); transition:transform .8s cubic-bezier(.2,.7,.2,1); pointer-events:none;
}
.product-card:hover .product-card-img-wrapper::after { transform:translateX(70%) rotate(8deg); }
.hero-content > * { animation: heroElementIn .85s cubic-bezier(.2,.8,.2,1) both; }
.hero-content > *:nth-child(2) { animation-delay:.1s; }
.hero-content > *:nth-child(3) { animation-delay:.2s; }
.hero-content > *:nth-child(4) { animation-delay:.3s; }

/* El bloque editorial siempre debe caber completo en escritorio. */
@media (min-width: 769px) {
    .hero-section {
        min-height: 590px;
        height: 68vh;
        max-height: 690px;
    }

    .hero-content {
        max-width: 650px;
        margin-bottom: clamp(34px, 5vh, 52px);
    }

    .hero-title {
        font-size: clamp(4.35rem, 6vw, 5.4rem);
        line-height: 0.88;
    }
}
@keyframes heroElementIn { from { opacity:0; transform:translateY(28px); filter:blur(5px); } to { opacity:1; transform:none; filter:none; } }

.discount-dialog { width:min(900px,calc(100% - 28px)); border-radius:0; overflow:visible; }
.discount-dialog::backdrop { background:rgba(0,0,0,.78); backdrop-filter:blur(12px); }
.discount-card {
    width:100%; max-width:none; min-height:520px; display:grid; grid-template-columns:.88fr 1.12fr;
    padding:0; overflow:hidden; border:1px solid rgba(212,175,55,.38);
    background:#f7f5ef; box-shadow:0 38px 120px rgba(0,0,0,.65);
}
.discount-card > .account-close {
    z-index:12; border:1px solid rgba(255,255,255,.18);
    background:rgba(10,10,10,.72); color:#fff; backdrop-filter:blur(10px);
}
.discount-card-art {
    position:relative; min-height:520px; display:grid; place-content:center; text-align:center; overflow:hidden;
    color:#f8de72; background:radial-gradient(circle at 50% 45%,#24200e 0,#10100c 36%,#050505 72%);
}
.discount-card-art::before { content:'LYNX'; position:absolute; inset:auto -20px 8px; color:rgba(255,255,255,.035); font-family:var(--font-title); font-size:7rem; font-weight:900; }
.discount-card-art strong { position:relative; z-index:2; font-family:var(--font-title); font-size:clamp(5rem,10vw,8rem); line-height:.8; letter-spacing:-.08em; text-shadow:0 0 34px rgba(212,175,55,.25); }
.discount-card-art small { position:relative; z-index:2; margin-top:25px; font-size:.58rem; font-weight:800; letter-spacing:.35em; }
.discount-orbit { position:absolute; left:50%; top:50%; border:1px solid rgba(212,175,55,.32); border-radius:50%; animation:discountOrbit 11s linear infinite; }
.discount-orbit::after { content:''; position:absolute; left:50%; top:-4px; width:8px; height:8px; border-radius:50%; background:#f4d45d; box-shadow:0 0 18px #f4d45d; }
.discount-orbit-one { width:280px; height:280px; margin:-140px; }
.discount-orbit-two { width:390px; height:390px; margin:-195px; animation-direction:reverse; animation-duration:16s; opacity:.45; }
@keyframes discountOrbit { to { transform:rotate(360deg); } }
.discount-card-content { align-self:center; padding:56px clamp(28px,5vw,64px); color:#141414; }
.discount-card-content h2 { margin:12px 0 18px; font-family:var(--font-title); font-size:clamp(2.25rem,5vw,4rem); line-height:.92; letter-spacing:-.055em; }
.discount-card-content h2 em { color:#a17b11; font-size:.47em; font-style:normal; letter-spacing:.04em; }
.discount-card-content > p { color:#68655d; font-size:.88rem; line-height:1.65; }
.discount-email-form { margin-top:26px; }
.discount-email-form .btn { display:flex; align-items:center; justify-content:center; gap:12px; }
.discount-email-form .btn svg { width:17px; }
.discount-consent { display:flex; align-items:flex-start; gap:10px; color:#69665e; cursor:pointer; font-size:.68rem; line-height:1.5; }
.discount-consent input { width:17px; height:17px; margin-top:2px; flex:0 0 auto; accent-color:#c69b22; }
.discount-consent strong { color:#26241e; }
.discount-safe-note { display:flex; align-items:center; gap:8px; margin-top:18px; color:#777269; font-size:.64rem; }
.discount-safe-note svg { width:16px; color:#9b7818; }
.discount-sent-view { text-align:center; }
.discount-sent-icon { width:76px; height:76px; display:grid; place-items:center; margin:0 auto 24px; border:1px solid #c8a232; border-radius:50%; background:#fff8dc; color:#9b7818; }
.discount-sent-icon svg { width:34px; height:34px; }
.discount-otp-form { margin-top:22px; text-align:left; }
.discount-otp-form input { text-align:center; font-size:1.15rem; font-weight:800; letter-spacing:.28em; }
.discount-otp-form .btn { display:flex; align-items:center; justify-content:center; gap:10px; }
.discount-otp-form .btn svg { width:17px; }
.discount-sent-view .account-secondary-btn { width:100%; margin-top:26px; }

@media (max-width:700px) {
    .page-pointer-glow { display:none; }
    .discount-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 20px); }
    .discount-card { min-height:0; grid-template-columns:1fr; max-height:calc(100dvh - 20px); overflow:auto; }
    .discount-card-art { min-height:180px; }
    .discount-card-art strong { font-size:4.8rem; }
    .discount-card-art small { margin-top:14px; }
    .discount-orbit-one { width:170px; height:170px; margin:-85px; }
    .discount-orbit-two { width:235px; height:235px; margin:-117px; }
    .discount-card-content { padding:30px 22px calc(28px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) {
    .motion-reveal { opacity:1; transform:none; filter:none; transition:none; }
    .discount-orbit, .hero-content > * { animation:none; }
}

/* Final audit guardrail: keep the live catalog inside every mobile viewport. */
@media (max-width: 768px) {
    #catalog.catalog-section {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding: 54px 16px 72px;
        overflow: clip;
    }
    #catalog .catalog-container,
    #catalog .catalog-header,
    #catalog .filter-controls,
    #catalog .search-box {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    #catalog .catalog-header {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 18px;
        margin-bottom: 20px;
    }
    #catalog .search-box {
        min-height: 50px;
        padding: 12px 14px 12px 42px;
        border-radius: 8px;
    }
    #catalog .search-box input { width: 100%; min-width: 0; }
    #catalog .category-tags { max-width: calc(100vw - 32px); }
}

/* Responsive + iOS audit guardrails — 2026-08-21
   Estas reglas son deliberadamente finales: sustituyen medidas antiguas que
   se contradecían entre sí en Safari y en teléfonos de 320 a 430 px. */
#catalog {
    scroll-margin-top: 96px;
}

.trending-viewport {
    overflow-x: scroll;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

@media (hover: none), (pointer: coarse) {
    .trending-viewport {
        cursor: auto;
        touch-action: pan-x pan-y;
        scroll-snap-type: none;
    }

    .trending-card {
        scroll-snap-align: start;
        transform: none !important;
        transform-style: flat;
    }

    .trending-card-image,
    .trending-card-image img {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #catalog {
        scroll-margin-top: calc(82px + env(safe-area-inset-top));
    }

    .trending-section {
        padding-inline: 16px;
    }

    .trending-header {
        align-items: center;
    }

    .trending-controls {
        display: none;
    }

    .trending-card {
        flex-basis: calc((100vw - 46px) / 2);
        min-width: 0;
    }

    .trending-card-title {
        display: -webkit-box;
        min-height: 2.6em;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .social-fab-group {
        right: max(8px, env(safe-area-inset-right));
        bottom: max(9px, env(safe-area-inset-bottom));
        flex-direction: row;
        gap: 5px;
    }

    .social-fab {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
        opacity: 0.94;
    }

    .social-fab span:not(.social-brand-icon) {
        display: none;
    }

.social-fab .social-brand-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 480px) {
    .social-fab-group { right: max(10px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); gap: 5px; }
    .social-fab { width: 42px; height: 42px; min-height: 42px; }
}

    .discount-dialog {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
        margin: auto;
    }

    .discount-card {
        max-height: calc(100dvh - 16px);
    }

    .discount-card-art {
        min-height: clamp(132px, 23dvh, 174px);
    }

    .discount-card-art strong {
        font-size: clamp(4rem, 20vw, 4.8rem);
    }

    .discount-card-content {
        padding: 24px 18px max(22px, env(safe-area-inset-bottom));
    }

    .discount-card-content h2 {
        margin: 9px 0 13px;
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .discount-card-content > p {
        font-size: 0.78rem;
        line-height: 1.5;
    }

    .discount-email-form {
        margin-top: 18px;
    }

    .discount-consent {
        font-size: 0.64rem;
    }

    .drawer-content,
    .modal-content {
        max-width: 100vw;
    }
}

@media (max-width: 340px) {
    #catalog.catalog-section {
        padding-inline: 10px;
    }

    #catalog .category-tags {
        max-width: calc(100vw - 20px);
    }

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

    .product-card-title {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .product-card-price {
        font-size: 0.78rem;
    }

    .product-card-footer .btn {
        min-height: 44px;
        padding-inline: 5px;
        font-size: 0.54rem;
        letter-spacing: 0.02em;
    }

    .trending-section {
        padding-inline: 10px;
    }

    .trending-card {
        flex-basis: calc((100vw - 30px) / 2);
    }

    .catalog-category-count {
        display: none;
    }
}

/* Laptop density guardrail — keeps every section proportional on 13–16 inch
   screens without changing the established mobile composition. */
@media (min-width: 769px) and (max-width: 1920px) {
    .header-container {
        max-width: 1240px;
        padding: 14px 22px;
    }

    .desktop-nav { gap: clamp(17px, 1.7vw, 27px); }
    .desktop-nav .nav-link { font-size: .73rem; }
    .header-actions { gap: 13px; }
    .account-btn { min-height: 38px; }
    .stock-marquee { margin-top: 70px; }

    .hero-section {
        min-height: 440px;
        height: 56vh;
        max-height: 560px;
    }

    .hero-content {
        max-width: 580px;
        margin-bottom: clamp(28px, 4vh, 44px);
    }

    .hero-title {
        font-size: clamp(3.55rem, 5vw, 4.65rem);
    }

    .trending-section {
        padding: 58px max(22px, calc((100vw - 1240px) / 2));
    }

    .trending-header { margin-bottom: 28px; }
    .trending-header h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); }

    .catalog-section { padding: 70px 24px; }
    .catalog-header { margin-bottom: 30px; }
    .category-tags { margin-bottom: 38px; }
    .catalog-category-heading { margin-top: 44px; }

    .outfit-builder-section,
    .faq-section,
    .reviews-section {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .tiktok-showcase { padding: 58px clamp(22px, 4vw, 64px) 46px; }
    .tiktok-showcase-heading,
    .tiktok-video-rail,
    .tiktok-showcase-footer { max-width: 1200px; }
    .tiktok-showcase-heading { margin-bottom: 24px; }
    .tiktok-showcase h2 { font-size: clamp(2rem, 3vw, 3rem); }
    .tiktok-video-rail {
        grid-auto-columns: minmax(220px, 270px);
        justify-content: center;
        gap: 12px;
    }
    .tiktok-video-card { padding: 8px; }
    .tiktok-card-top { min-height: 35px; }

    .reviews-container,
    .faq-container { width: min(100%, 1040px); }
    .reviews-heading { margin-bottom: 30px; }
    .reviews-heading h2,
    .faq-heading h2 { font-size: clamp(2rem, 3vw, 3rem); }
    .reviews-content { gap: clamp(26px, 3.5vw, 46px); }
    .review-card { padding: 20px; }
    .review-compose { padding: 24px; }
}

/* El progreso del carrito debe conservar el contraste en todos los temas. */
.free-shipping-progress {
    padding: 16px;
    border-color: rgba(225,187,56,.65);
    background: linear-gradient(135deg,rgba(225,187,56,.15),rgba(225,187,56,.045));
    box-shadow: inset 0 0 0 1px rgba(225,187,56,.08);
}
.free-shipping-progress > div { align-items: center; color: #fff; font-weight: 700; }
.free-shipping-progress strong { padding: 5px 8px; border-radius: 4px; background: #e1bb38; color: #080808; font-weight: 900; }
.free-shipping-progress > i { height: 7px; }

/* UX guardrail: promoción y hero son bloques independientes en escritorio. */
@media (min-width: 769px) {
    .free-shipping-spotlight {
        position: relative;
        z-index: 3;
        min-height: 64px;
        padding-block: 8px;
    }

    .hero-section {
        z-index: 1;
        align-items: center;
        min-height: 500px;
        height: clamp(500px, 60vh, 600px);
        max-height: 600px;
        overflow: hidden;
    }

    .hero-content {
        margin-top: 0;
        margin-bottom: 0;
        padding-block: 30px;
    }
}

/* Responsive final guardrail — iPhone Pro Max, iPhone, Android y tablets.
   Mantiene la promoción debajo del encabezado fijo y evita saltos/solapes. */
@media (max-width: 768px) {
    .app-header {
        height: calc(68px + env(safe-area-inset-top));
        padding-top: env(safe-area-inset-top);
    }

    .header-container {
        height: 68px;
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }

    .free-shipping-spotlight {
        position: relative;
        z-index: 3;
        width: 100%;
        min-height: 56px;
        margin-top: calc(68px + env(safe-area-inset-top));
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
        box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    }

    .free-shipping-spotlight > span:nth-child(2) {
        min-width: 0;
    }

    .free-shipping-spotlight strong {
        display: block;
        overflow-wrap: anywhere;
    }

    .hero-section {
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
    }

    .stock-marquee {
        width: 100%;
        margin-top: 0 !important;
    }

    .social-fab-group {
        right: max(10px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .free-shipping-spotlight {
        gap: 8px;
        padding-left: max(11px, env(safe-area-inset-left));
        padding-right: max(11px, env(safe-area-inset-right));
    }

    .free-shipping-spotlight-icon {
        width: 31px;
        height: 31px;
    }

    .free-shipping-spotlight small {
        font-size: .48rem;
    }

    .free-shipping-spotlight strong {
        font-size: .7rem;
        line-height: 1.2;
    }
}

/* Preventa — colección separada del inventario con entrega inmediata. */
.nav-link-preorder {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--gold-soft, #f2d774) !important;
}

.nav-link-preorder::before {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(225, 187, 56, .12);
    content: '';
}

.mobile-nav-preorder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: var(--gold-soft, #f2d774);
}

.mobile-nav-preorder small {
    padding: 5px 7px;
    border: 1px solid rgba(225, 187, 56, .45);
    border-radius: 999px;
    color: var(--gold-soft, #f2d774);
    font-size: .5rem;
    letter-spacing: .12em;
}

.preorder-section {
    position: relative;
    overflow: hidden;
    padding: 82px 24px;
    border-block: 1px solid rgba(225, 187, 56, .28);
    background:
        radial-gradient(circle at 90% 10%, rgba(225, 187, 56, .15), transparent 28%),
        linear-gradient(145deg, #121006 0%, #070707 38%, #0a0a0a 100%);
    scroll-margin-top: 82px;
}

.preorder-section::before {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(225, 187, 56, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(225, 187, 56, .16) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    content: '';
}

.preorder-container {
    position: relative;
    z-index: 1;
    width: min(100%, 1400px);
    margin-inline: auto;
}

.preorder-header {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
    align-items: end;
    gap: clamp(34px, 6vw, 90px);
    margin-bottom: 34px;
}

.preorder-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--gold, #e1bb38);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .22em;
}

.preorder-kicker svg { width: 17px; }

.preorder-title-group h2 {
    margin: 12px 0 14px;
    color: #f7f5ee;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: clamp(2.65rem, 5.5vw, 5.4rem);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.055em;
}

.preorder-title-group p {
    max-width: 660px;
    margin: 0;
    color: rgba(247, 245, 238, .72);
    font-size: .98rem;
    line-height: 1.7;
}

.preorder-info {
    display: grid;
    gap: 9px;
}

.preorder-info span {
    display: grid;
    grid-template-columns: 24px 24px 1fr;
    align-items: center;
    min-height: 50px;
    padding: 11px 15px;
    border: 1px solid rgba(225, 187, 56, .22);
    background: rgba(255, 255, 255, .035);
    color: rgba(247, 245, 238, .82);
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.preorder-info svg {
    width: 17px;
    color: var(--gold, #e1bb38);
}

.preorder-info b { color: var(--gold, #e1bb38); }

.preorder-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
    padding-block: 16px;
    border-block: 1px solid rgba(225, 187, 56, .2);
    color: rgba(247, 245, 238, .62);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.preorder-summary a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-soft, #f2d774);
    text-decoration: none;
    white-space: nowrap;
}

.preorder-summary a svg { width: 16px; }

.preorder-products-grid { margin-top: 0; }

.preorder-product-card {
    padding: 8px 8px 13px;
    border: 1px solid rgba(225, 187, 56, .23);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
}

.preorder-product-card .product-card-img-wrapper {
    border: 0;
    border-radius: 7px;
}

.preorder-card-badge {
    border-color: var(--gold, #e1bb38) !important;
    background: #0b0b0b !important;
    color: var(--gold-soft, #f2d774) !important;
}

.preorder-card-caption {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    color: rgba(247, 245, 238, .55);
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.preorder-card-caption svg { width: 13px; }

.preorder-load-more { margin-top: 42px; }

.preorder-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 0;
    color: rgba(247, 245, 238, .58);
    font-size: .72rem;
    text-align: center;
}

.preorder-note svg { width: 15px; flex: 0 0 auto; }

.preorder-empty-state {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 64px 20px;
    border: 1px solid rgba(225, 187, 56, .2);
    color: rgba(247, 245, 238, .7);
    text-align: center;
}

.preorder-empty-state > svg { width: 36px; color: var(--gold, #e1bb38); }
.preorder-empty-state strong { color: #f7f5ee; letter-spacing: .08em; }
.preorder-empty-state p { margin: 0; }
.preorder-empty-state a { color: var(--gold-soft, #f2d774); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }

@media (max-width: 1050px) {
    .preorder-header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
    }

    .preorder-info { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .preorder-info span { grid-template-columns: 22px 20px 1fr; }
}

@media (max-width: 768px) {
    .preorder-section {
        padding: 54px 16px 58px;
        scroll-margin-top: calc(68px + env(safe-area-inset-top));
    }

    .preorder-header { gap: 24px; margin-bottom: 26px; }
    .preorder-title-group h2 { font-size: clamp(2.45rem, 13vw, 3.45rem); }
    .preorder-title-group p { font-size: .82rem; line-height: 1.58; }
    .preorder-info { grid-template-columns: 1fr; gap: 7px; }
    .preorder-info span { min-height: 44px; padding: 9px 12px; }

    .preorder-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        font-size: .59rem;
        line-height: 1.45;
    }

    .preorder-product-card { padding: 5px 5px 10px; }
    .preorder-product-card .product-card-content { padding-inline: 4px; }
    .preorder-card-caption { font-size: .48rem; letter-spacing: .07em; }
    .preorder-note { align-items: flex-start; font-size: .64rem; line-height: 1.45; }
}

@media (max-width: 380px) {
    .preorder-section { padding-inline: 10px; }
    .preorder-summary a { white-space: normal; }
}

/* Responsive system v3 · LYNX storefront
   Una única capa final para evitar solapes entre las reglas históricas. */
img, svg, video { max-width: 100%; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

@media (min-width: 769px) {
    .header-container,
    .catalog-section,
    .trending-section,
    .tiktok-showcase,
    .reviews-section,
    .faq-section { width: min(100%, 1440px); }

    .header-container { padding-inline: clamp(20px, 3vw, 48px); }
    .desktop-nav { gap: clamp(16px, 2.1vw, 32px); }
    .desktop-nav .nav-link { font-size: clamp(.68rem, .72vw, .8rem); white-space: nowrap; }
    .header-actions { gap: clamp(8px, 1.2vw, 18px); }
    .account-btn { white-space: nowrap; }

    .free-shipping-spotlight { min-height: 60px; gap: clamp(10px, 1.6vw, 20px); }
    .free-shipping-spotlight > span:nth-child(2) { min-width: 0; }
    .free-shipping-spotlight strong { white-space: nowrap; }
    .hero-section { height: clamp(500px, 60vh, 680px); }
    .hero-content { padding-inline: 20px; }

    .catalog-section { padding-inline: clamp(24px, 4vw, 60px); }
    .catalog-header { align-items: end; }
    .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 44px) clamp(16px, 2.2vw, 32px); }
    .product-card-title { overflow-wrap: anywhere; }
    .category-tags { overflow-x: auto; scrollbar-width: none; }
    .category-tags::-webkit-scrollbar { display: none; }

    .tiktok-video-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .tiktok-video-card { min-width: 0; }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .header-container { padding-inline: 18px; }
    .desktop-nav { gap: 14px; }
    .desktop-nav .nav-link { font-size: .64rem; letter-spacing: .055em; }
    .account-btn { padding-inline: 8px; font-size: .64rem; }
    .account-btn span { display: none; }
    .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .free-shipping-spotlight strong { font-size: .86rem; }
    .free-shipping-spotlight > b { margin-left: 8px; }
}

@media (max-width: 768px) {
    :root { font-size: 16px; }
    body { min-width: 320px; }
    .app-header { height: calc(68px + env(safe-area-inset-top)); }
    .header-container { width: 100%; max-width: none; }
    .brand-logo { min-width: 0; }
    .logo-img { width: auto; max-width: 110px; }
    .mobile-menu-btn, .header-search-btn, .cart-btn { flex: 0 0 42px; }
    .header-actions { min-width: 0; }
    .account-btn { max-width: 42px; padding: 0; overflow: hidden; }

    .free-shipping-spotlight { align-items: center; min-height: 58px; }
    .free-shipping-spotlight > span:nth-child(2) { flex: 1 1 auto; }
    .free-shipping-spotlight small { display: block; white-space: nowrap; }
    .free-shipping-spotlight strong { max-width: 100%; white-space: normal; }
    .free-shipping-spotlight > b { flex: 0 0 auto; }

    .hero-section { min-height: clamp(480px, 100svh, 680px); height: clamp(480px, calc(100svh - 96px), 680px); }
    .hero-content { margin-inline: auto; }
    .hero-proof { justify-content: center; margin-inline: auto; }

    .info-strip { width: 100%; }
    .trending-section, .catalog-section, .preorder-section, .tiktok-showcase, .reviews-section, .faq-section { width: 100%; max-width: 100%; }
    .trending-header { min-width: 0; }
    .trending-header > div:first-child { min-width: 0; }
    .trending-header h2 { overflow-wrap: anywhere; }
    .trending-viewport { max-width: 100%; }
    .trending-loop-group { min-width: 0; }

    .catalog-header, .catalog-header > *, .filter-controls, .search-box { min-width: 0; }
    .filter-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .catalog-select-control, .catalog-stock-toggle, .catalog-favorites-toggle { min-width: 0; }
    .catalog-select-control select, .catalog-stock-toggle, .catalog-favorites-toggle { width: 100%; }
    .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 7vw, 36px) 12px; }
    .product-card { min-width: 0; }
    .product-card-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; }
    .product-card-footer .btn { width: 100%; min-width: 0; }
    .product-card-title { overflow-wrap: anywhere; }

    .modal-overlay { padding: 0; }
    .modal-content { width: 100%; max-width: 100%; }
    .product-detail-layout { min-width: 0; }
    .detail-description, .fit-recommendation { overflow-wrap: anywhere; }

    .tiktok-video-rail { grid-auto-columns: minmax(0, 79vw); }
    .tiktok-video-card { min-width: 0; }
    .social-fab-group { max-width: calc(100vw - 20px); }
}

@media (max-width: 480px) {
    .header-container { padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); }
    .mobile-nav { left: 10px; right: 10px; }
    .free-shipping-spotlight { gap: 7px; padding-block: 8px; }
    .free-shipping-spotlight > b { margin-left: 0; }
    .hero-section { min-height: 490px; }
    .hero-title { font-size: clamp(2.15rem, 12vw, 3rem); }
    .filter-controls { grid-template-columns: 1fr; }
    .filter-controls .search-box { grid-column: 1; }
    .catalog-select-control, .catalog-stock-toggle, .catalog-favorites-toggle { width: 100%; }
    .category-tags { gap: 15px; }
    .products-grid { gap: 28px 10px; }
    .product-card-img-wrapper { padding-top: 137%; }
    .product-card-title { font-size: .78rem; }
    .product-card-price { font-size: .9rem; }
    .preorder-header { gap: 20px; }
    .preorder-info span { font-size: .68rem; }
    .tiktok-video-rail { grid-auto-columns: minmax(0, 86vw); }
}

@media (max-width: 359px) {
    .header-container { padding-inline: 9px; }
    .mobile-menu-btn, .header-search-btn, .cart-btn { flex-basis: 38px; width: 38px; height: 38px; }
    .logo-img { max-width: 88px; }
    .free-shipping-spotlight strong { font-size: .65rem; }
    .products-grid { column-gap: 7px; }
    .product-card-footer .btn { font-size: .57rem; letter-spacing: .02em; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card, .trending-card { transform: none !important; }
}
