/* ============================================================
   FACEL SHOP — Mockup tienda profesional
   Mobile-first, todo en uno.
   ============================================================ */

/* ====== DESIGN TOKENS ====================================== */
:root {
    /* Color */
    --c-bg:        #FAFAF7;
    --c-surface:   #FFFFFF;
    --c-ink:       #0F172A;
    --c-ink-2:     #1E293B;
    --c-muted:     #64748B;
    --c-muted-2:   #94A3B8;
    --c-line:      #E5E7EB;
    --c-line-soft: #F1F5F9;
    --c-accent:    #FF5C28;
    --c-accent-d:  #E04A1A;
    --c-accent-l:  #FFEDE5;
    --c-success:   #16A34A;
    --c-success-l: #DCFCE7;
    --c-warning:   #EAB308;
    --c-warning-l: #FEF9C3;
    --c-danger:    #DC2626;
    --c-danger-l:  #FEE2E2;
    --c-info:      #2563EB;
    --c-info-l:    #DBEAFE;

    /* Type */
    --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --f-body:    'Inter', system-ui, sans-serif;
    --f-mono:    'JetBrains Mono', ui-monospace, monospace;

    /* Spacing */
    --s-1: 4px;
    --s-2: 8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 20px;
    --s-6: 24px;
    --s-8: 32px;
    --s-10: 40px;
    --s-12: 48px;
    --s-16: 64px;

    /* Radius */
    --r-1: 4px;
    --r-2: 8px;
    --r-3: 12px;
    --r-4: 16px;

    /* Shadow */
    --sh-1: 0 1px 2px rgba(15, 23, 42, 0.04);
    --sh-2: 0 4px 12px rgba(15, 23, 42, 0.06);
    --sh-3: 0 12px 32px rgba(15, 23, 42, 0.10);

    /* Layout */
    --max-w: 1280px;
    --header-h: 64px;

    /* Z-index */
    --z-topbar: 30;
    --z-header: 40;
    --z-megamenu: 50;
    --z-drawer: 90;
    --z-modal: 100;
}

/* ====== RESET + BASE ====================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--c-ink);
    background: var(--c-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

[x-cloak] { display: none !important; }

/* ====== UTILITIES ========================================= */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--s-4);
}

.hidden-mobile { display: none; }
@media (min-width: 768px) {
    .hidden-mobile { display: block; }
    .hidden-desktop { display: none; }
}

.font-display { font-family: var(--f-display); }
.font-mono { font-family: var(--f-mono); }

/* ====== TOP BAR =========================================== */
.topbar {
    background: var(--c-ink);
    color: #fff;
    font-size: 12px;
    padding: var(--s-2) 0;
    position: sticky;
    top: 0;
    z-index: var(--z-topbar);
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
}

.topbar-promo {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    color: rgba(255,255,255,0.85);
}

.topbar-promo .badge {
    background: var(--c-accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.topbar-links {
    display: none;
    gap: var(--s-5);
}

@media (min-width: 768px) {
    .topbar-links {
        display: flex;
    }
}

.topbar-links a {
    color: rgba(255,255,255,0.85);
    transition: color .15s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-links a:hover {
    color: #fff;
}

.topbar-links svg {
    width: 14px;
    height: 14px;
}

/* ====== HEADER ============================================ */
.header {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: 30px;
    z-index: var(--z-header);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) 0;
}

@media (min-width: 768px) {
    .header-inner {
        gap: var(--s-6);
        padding: var(--s-4) 0;
    }
}

.logo {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    border-radius: 50%;
    display: inline-block;
}

@media (min-width: 768px) {
    .logo { font-size: 28px; }
}

/* Search */
.search {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 44px;
    padding: 0 var(--s-12) 0 var(--s-4);
    border: 1.5px solid var(--c-line);
    border-radius: 100px;
    font-size: 14px;
    background: var(--c-surface);
    transition: border-color .15s;
}

.search-input:focus {
    outline: none;
    border-color: var(--c-ink);
}

.search-input::placeholder {
    color: var(--c-muted-2);
}

.search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    background: var(--c-ink);
    color: #fff;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.search-btn:hover {
    background: var(--c-accent);
}

.search-btn svg {
    width: 16px;
    height: 16px;
}

/* Header icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--s-1);
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--r-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-ink);
    transition: background .15s;
    position: relative;
}

.icon-btn:hover {
    background: var(--c-line-soft);
}

.icon-btn svg {
    width: 22px;
    height: 22px;
}

.icon-btn-label {
    display: none;
    font-size: 11px;
    font-weight: 500;
    color: var(--c-muted);
    margin-left: 6px;
}

@media (min-width: 1024px) {
    .icon-btn {
        width: auto;
        padding: 0 var(--s-3);
        gap: 6px;
    }
    .icon-btn-label {
        display: inline-block;
    }
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--c-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

@media (min-width: 1024px) {
    .cart-count {
        position: static;
        margin-left: 4px;
    }
}

/* ====== NAVIGATION ======================================== */
.nav {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    position: sticky;
    top: calc(40px + 64px);
    z-index: 35;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) 0;
    overflow-x: auto;
    scrollbar-width: none;
}

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

.nav-cat-trigger {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-3);
    background: var(--c-ink);
    color: #fff;
    border-radius: var(--r-2);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cat-trigger:hover {
    background: var(--c-ink-2);
}

.nav-cat-trigger svg {
    width: 18px;
    height: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--s-1);
}

.nav-link {
    padding: var(--s-2) var(--s-3);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-ink-2);
    border-radius: var(--r-2);
    white-space: nowrap;
    transition: background .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    background: var(--c-line-soft);
}

.nav-link.is-hot::after {
    content: "HOT";
    background: var(--c-accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

/* ====== MEGAMENU ========================================== */
.megamenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: var(--z-megamenu);
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    backdrop-filter: blur(2px);
}

.megamenu-panel {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    background: var(--c-surface);
    border-radius: var(--r-3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 220px 1fr;
    box-shadow: var(--sh-3);
    min-height: 480px;
    max-height: 80vh;
}

@media (max-width: 767px) {
    .megamenu {
        padding-top: 60px;
        padding-bottom: 0;
    }
    .megamenu-panel {
        grid-template-columns: 1fr;
        border-radius: var(--r-3) var(--r-3) 0 0;
        max-height: 90vh;
    }
}

.megamenu-cats {
    background: var(--c-line-soft);
    overflow-y: auto;
    padding: var(--s-3);
}

.megamenu-cat {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3);
    border-radius: var(--r-2);
    color: var(--c-ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s;
    width: 100%;
    text-align: left;
}

.megamenu-cat:hover,
.megamenu-cat.is-active {
    background: var(--c-surface);
    color: var(--c-accent);
}

.megamenu-cat-icon {
    width: 32px;
    height: 32px;
    background: var(--c-surface);
    border-radius: var(--r-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--c-ink);
}

.megamenu-cat.is-active .megamenu-cat-icon {
    background: var(--c-accent);
    color: #fff;
}

.megamenu-cat-icon svg {
    width: 18px;
    height: 18px;
}

.megamenu-cat-arrow {
    margin-left: auto;
    opacity: 0;
    transition: opacity .15s;
}

.megamenu-cat:hover .megamenu-cat-arrow,
.megamenu-cat.is-active .megamenu-cat-arrow {
    opacity: 1;
}

.megamenu-content {
    padding: var(--s-6);
    overflow-y: auto;
}

.megamenu-title {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--s-1);
    letter-spacing: -0.02em;
}

.megamenu-subtitle {
    color: var(--c-muted);
    font-size: 13px;
    margin-bottom: var(--s-6);
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--s-4);
}

.megamenu-subcat {
    padding: var(--s-3);
    border-radius: var(--r-2);
    transition: background .15s;
}

.megamenu-subcat:hover {
    background: var(--c-line-soft);
}

.megamenu-subcat-title {
    font-weight: 600;
    margin-bottom: var(--s-2);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.megamenu-subcat-title .badge-sm {
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 100px;
    font-weight: 700;
    background: var(--c-accent);
    color: #fff;
    letter-spacing: 0.5px;
}

.megamenu-subcat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.megamenu-subcat-list a {
    font-size: 13px;
    color: var(--c-muted);
    padding: 2px 0;
    transition: color .15s;
    display: block;
}

.megamenu-subcat-list a:hover {
    color: var(--c-accent);
}

/* ====== HERO ============================================== */
.hero {
    padding: var(--s-6) 0 var(--s-8);
}

@media (min-width: 768px) {
    .hero { padding: var(--s-10) 0 var(--s-16); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: var(--s-12);
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: 6px var(--s-3);
    background: var(--c-accent-l);
    color: var(--c-accent-d);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: var(--s-4);
}

.hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    background: var(--c-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--f-display);
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: var(--s-4);
}

.hero-title em {
    color: var(--c-accent);
    font-style: normal;
}

.hero-text {
    font-size: 16px;
    color: var(--c-muted);
    margin-bottom: var(--s-6);
    max-width: 520px;
}

@media (min-width: 768px) {
    .hero-text { font-size: 18px; }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    margin-top: var(--s-8);
    padding-top: var(--s-6);
    border-top: 1px solid var(--c-line);
}

.hero-stat-val {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.02em;
}

.hero-stat-lbl {
    font-size: 12px;
    color: var(--c-muted);
    font-weight: 500;
}

/* Hero visual */
.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--r-4);
    background:
        linear-gradient(135deg, rgba(15,23,42,0.7), rgba(15,23,42,0.3)),
        linear-gradient(45deg, #FF5C28 0%, #FFB088 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: var(--s-6);
}

.hero-visual-tag {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-2);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.5px;
}

.hero-visual-tag b {
    color: var(--c-accent);
    font-weight: 600;
}

/* ====== BUTTONS =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    padding: 0 var(--s-5);
    height: 44px;
    border-radius: var(--r-2);
    font-weight: 500;
    font-size: 14px;
    transition: all .15s;
    white-space: nowrap;
    line-height: 1;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--c-ink);
    color: #fff;
}

.btn-primary:hover {
    background: var(--c-ink-2);
    transform: translateY(-1px);
}

.btn-accent {
    background: var(--c-accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--c-accent-d);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--c-ink);
    border: 1.5px solid var(--c-line);
}

.btn-outline:hover {
    border-color: var(--c-ink);
}

.btn-ghost {
    background: var(--c-line-soft);
    color: var(--c-ink);
}

.btn-ghost:hover {
    background: var(--c-line);
}

.btn-sm {
    height: 36px;
    padding: 0 var(--s-3);
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

/* ====== SECTIONS ========================================== */
.section {
    padding: var(--s-10) 0;
}

@media (min-width: 768px) {
    .section { padding: var(--s-16) 0; }
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--s-4);
    margin-bottom: var(--s-6);
    flex-wrap: wrap;
}

.section-title {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .section-title { font-size: 36px; }
}

.section-subtitle {
    color: var(--c-muted);
    font-size: 14px;
    margin-top: var(--s-1);
}

.section-link {
    color: var(--c-accent);
    font-weight: 500;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.section-link:hover {
    text-decoration: underline;
}

/* ====== CATEGORY GRID ===================================== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
}

@media (min-width: 640px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(6, 1fr); }
}

.cat-card {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-3);
    padding: var(--s-5) var(--s-4);
    text-align: center;
    transition: all .2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s-3);
    text-decoration: none;
    color: inherit;
}

.cat-card:hover {
    border-color: var(--c-accent);
    transform: translateY(-2px);
    box-shadow: var(--sh-2);
}

.cat-card-icon {
    width: 56px;
    height: 56px;
    background: var(--c-line-soft);
    border-radius: var(--r-3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.cat-card:hover .cat-card-icon {
    background: var(--c-accent-l);
}

.cat-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--c-ink);
}

.cat-card:hover .cat-card-icon svg {
    color: var(--c-accent);
}

.cat-card-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}

.cat-card-count {
    font-size: 11px;
    color: var(--c-muted);
}

/* ====== PRODUCT GRID ====================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-3);
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--s-4);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* === PRODUCT CARD (signature element) === */
.pcard {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-3);
    overflow: hidden;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pcard:hover {
    border-color: var(--c-ink);
    box-shadow: var(--sh-2);
}

.pcard-sku-ribbon {
    background: var(--c-line-soft);
    padding: 6px var(--s-3);
    font-family: var(--f-mono);
    font-size: 10px;
    color: var(--c-muted);
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--c-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pcard-sku-ribbon b {
    color: var(--c-ink);
    font-weight: 600;
}

.pcard-image {
    aspect-ratio: 1;
    background: var(--c-line-soft);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pcard-image-emoji {
    font-size: 64px;
    opacity: 0.7;
    transition: transform .25s;
}

.pcard:hover .pcard-image-emoji {
    transform: scale(1.1);
}

.pcard-badges {
    position: absolute;
    top: var(--s-2);
    left: var(--s-2);
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.pcard-wishlist {
    position: absolute;
    top: var(--s-2);
    right: var(--s-2);
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    transition: all .15s;
    z-index: 2;
}

.pcard-wishlist:hover {
    background: #fff;
    color: var(--c-danger);
}

.pcard-wishlist svg {
    width: 16px;
    height: 16px;
}

.badge {
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.badge-new      { background: var(--c-info);    color: #fff; }
.badge-hot      { background: var(--c-accent);  color: #fff; }
.badge-sale     { background: var(--c-danger);  color: #fff; }
.badge-low      { background: var(--c-warning); color: var(--c-ink); }
.badge-combo    { background: var(--c-ink);     color: #fff; }
.badge-stock    { background: var(--c-success-l); color: var(--c-success); }

.pcard-body {
    padding: var(--s-3);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pcard-brand {
    font-size: 11px;
    color: var(--c-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pcard-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--c-ink);
    margin-bottom: var(--s-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

.pcard-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--s-2);
}

.pcard-rating-stars {
    color: var(--c-warning);
    font-size: 12px;
    letter-spacing: 1px;
}

.pcard-rating-count {
    font-size: 11px;
    color: var(--c-muted);
}

.pcard-prices {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: var(--s-2);
    flex-wrap: wrap;
}

.pcard-price {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.02em;
    line-height: 1;
}

.pcard-price-old {
    font-size: 13px;
    color: var(--c-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.pcard-stock {
    margin-top: var(--s-2);
    font-size: 11px;
    color: var(--c-success);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pcard-stock svg {
    width: 12px;
    height: 12px;
}

.pcard-stock.is-low {
    color: var(--c-warning);
}

.pcard-actions {
    padding: 0 var(--s-3) var(--s-3);
    display: flex;
    gap: var(--s-2);
}

.pcard-add {
    flex: 1;
    background: var(--c-ink);
    color: #fff;
    border-radius: var(--r-2);
    padding: var(--s-2);
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background .15s;
}

.pcard-add:hover {
    background: var(--c-accent);
}

.pcard-add svg {
    width: 16px;
    height: 16px;
}

.pcard-quote {
    width: 40px;
    height: 40px;
    background: var(--c-line-soft);
    color: var(--c-ink);
    border-radius: var(--r-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.pcard-quote:hover {
    background: var(--c-ink);
    color: #fff;
}

.pcard-quote svg {
    width: 16px;
    height: 16px;
}

/* ====== PROMO STRIP ======================================= */
.promo-strip {
    background: var(--c-ink);
    color: #fff;
    border-radius: var(--r-3);
    padding: var(--s-6);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    align-items: center;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .promo-strip {
        grid-template-columns: 1fr auto;
        padding: var(--s-8) var(--s-10);
    }
}

.promo-strip::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,92,40,0.3), transparent 70%);
    pointer-events: none;
}

.promo-strip-content {
    position: relative;
    z-index: 1;
}

.promo-strip-eyebrow {
    color: var(--c-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--s-2);
}

.promo-strip-title {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-2);
}

@media (min-width: 768px) {
    .promo-strip-title { font-size: 36px; }
}

.promo-strip-text {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    max-width: 480px;
}

/* ====== FOOTER ============================================ */
.footer {
    background: var(--c-ink);
    color: #fff;
    padding: var(--s-12) 0 var(--s-6);
    margin-top: var(--s-16);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    margin-bottom: var(--s-10);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.footer-title {
    font-family: var(--f-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--s-4);
    color: #fff;
}

.footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: var(--s-4);
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.footer-list a {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    transition: color .15s;
}

.footer-list a:hover {
    color: var(--c-accent);
}

.footer-social {
    display: flex;
    gap: var(--s-2);
    margin-top: var(--s-4);
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--r-2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.footer-social a:hover {
    background: var(--c-accent);
}

.footer-social svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--s-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-3);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.footer-payment-chip {
    background: rgba(255,255,255,0.1);
    padding: 4px var(--s-2);
    border-radius: var(--r-1);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ====== CART DRAWER ======================================= */
.drawer-bg {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: var(--z-drawer);
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: var(--c-surface);
    z-index: calc(var(--z-drawer) + 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--sh-3);
}

.drawer-head {
    padding: var(--s-5);
    border-bottom: 1px solid var(--c-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-title {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.drawer-close {
    width: 36px;
    height: 36px;
    background: var(--c-line-soft);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.drawer-close:hover {
    background: var(--c-line);
}

.drawer-close svg {
    width: 16px;
    height: 16px;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: var(--s-5);
}

.drawer-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--s-3);
    padding-bottom: var(--s-4);
    margin-bottom: var(--s-4);
    border-bottom: 1px solid var(--c-line-soft);
}

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

.drawer-item-image {
    width: 80px;
    height: 80px;
    background: var(--c-line-soft);
    border-radius: var(--r-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.drawer-item-name {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
    line-height: 1.3;
}

.drawer-item-variant {
    font-size: 11px;
    color: var(--c-muted);
    margin-bottom: var(--s-2);
}

.drawer-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    background: var(--c-line-soft);
    border-radius: 100px;
    padding: 2px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s;
}

.qty-btn:hover {
    background: var(--c-surface);
}

.qty-val {
    min-width: 28px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.drawer-item-price {
    font-weight: 700;
    font-size: 14px;
    text-align: right;
}

.drawer-item-remove {
    color: var(--c-muted);
    font-size: 11px;
    text-decoration: underline;
}

.drawer-item-remove:hover {
    color: var(--c-danger);
}

.drawer-foot {
    padding: var(--s-5);
    border-top: 1px solid var(--c-line);
    background: var(--c-bg);
}

.drawer-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--s-3);
}

.drawer-total-lbl {
    font-size: 13px;
    color: var(--c-muted);
}

.drawer-total-val {
    font-family: var(--f-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.drawer-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--c-muted);
    margin-bottom: var(--s-2);
}

/* ====== CATÁLOGO PAGE ===================================== */
.breadcrumb {
    padding: var(--s-4) 0;
    font-size: 12px;
    color: var(--c-muted);
    display: flex;
    align-items: center;
    gap: var(--s-2);
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--c-accent);
}

.breadcrumb svg {
    width: 12px;
    height: 12px;
}

.catalog-head {
    padding: var(--s-4) 0 var(--s-6);
    border-bottom: 1px solid var(--c-line);
    margin-bottom: var(--s-6);
}

.catalog-title {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-1);
}

.catalog-count {
    color: var(--c-muted);
    font-size: 14px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
}

@media (min-width: 1024px) {
    .catalog-layout {
        grid-template-columns: 260px 1fr;
        gap: var(--s-8);
    }
}

/* Filter sidebar */
.filter-toggle-mobile {
    margin-bottom: var(--s-3);
}

@media (min-width: 1024px) {
    .filter-toggle-mobile { display: none; }
}

.filters {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-3);
    padding: var(--s-5);
    height: fit-content;
    position: sticky;
    top: 120px;
}

@media (max-width: 1023px) {
    .filters {
        position: fixed;
        inset: 0;
        z-index: var(--z-drawer);
        border-radius: 0;
        overflow-y: auto;
        display: none;
    }
    .filters.is-open { display: block; }
}

.filter-block {
    padding: var(--s-4) 0;
    border-bottom: 1px solid var(--c-line-soft);
}

.filter-block:first-child { padding-top: 0; }
.filter-block:last-child { border-bottom: none; }

.filter-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: var(--s-3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

.filter-check {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    cursor: pointer;
    font-size: 13px;
    color: var(--c-ink-2);
}

.filter-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--c-accent);
    cursor: pointer;
}

.filter-check-count {
    margin-left: auto;
    color: var(--c-muted);
    font-size: 12px;
}

.filter-range {
    display: flex;
    gap: var(--s-2);
    align-items: center;
    margin-top: var(--s-2);
}

.filter-range input {
    flex: 1;
    padding: var(--s-2);
    border: 1px solid var(--c-line);
    border-radius: var(--r-2);
    font-size: 13px;
    text-align: center;
}

.filter-range input:focus {
    outline: none;
    border-color: var(--c-ink);
}

.filter-color-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.filter-color {
    width: 28px;
    height: 28px;
    border-radius: 100px;
    border: 2px solid var(--c-line);
    cursor: pointer;
    transition: all .15s;
    position: relative;
}

.filter-color:hover,
.filter-color.is-selected {
    border-color: var(--c-ink);
    transform: scale(1.1);
}

/* Catalog toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--s-4);
    flex-wrap: wrap;
    gap: var(--s-3);
}

.catalog-toolbar-info {
    font-size: 13px;
    color: var(--c-muted);
}

.catalog-toolbar-actions {
    display: flex;
    gap: var(--s-2);
    align-items: center;
}

.sort-select {
    padding: 0 var(--s-3);
    height: 36px;
    border: 1px solid var(--c-line);
    border-radius: var(--r-2);
    background: var(--c-surface);
    font-size: 13px;
    cursor: pointer;
}

.view-toggle {
    display: inline-flex;
    background: var(--c-line-soft);
    border-radius: var(--r-2);
    padding: 2px;
}

.view-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--r-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    transition: all .15s;
}

.view-toggle-btn.is-active {
    background: var(--c-surface);
    color: var(--c-ink);
    box-shadow: var(--sh-1);
}

.view-toggle-btn svg {
    width: 16px;
    height: 16px;
}

/* ====== PRODUCTO (ficha) ================================== */
.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    padding: var(--s-4) 0;
}

@media (min-width: 768px) {
    .product-layout {
        grid-template-columns: 1.1fr 1fr;
        gap: var(--s-10);
        padding: var(--s-8) 0;
    }
}

.product-gallery {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--s-3);
}

@media (max-width: 767px) {
    .product-gallery {
        grid-template-columns: 1fr;
    }
}

.product-thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--s-2);
}

@media (max-width: 767px) {
    .product-thumbs {
        flex-direction: row;
        order: 2;
    }
}

.product-thumb {
    width: 80px;
    height: 80px;
    background: var(--c-line-soft);
    border-radius: var(--r-2);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all .15s;
    flex-shrink: 0;
}

.product-thumb.is-active {
    border-color: var(--c-ink);
}

.product-main-img {
    aspect-ratio: 1;
    background: var(--c-line-soft);
    border-radius: var(--r-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    position: relative;
    overflow: hidden;
}

.product-info-sku {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--c-muted);
    letter-spacing: 0.5px;
    margin-bottom: var(--s-3);
}

.product-info-brand {
    font-size: 12px;
    color: var(--c-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--s-2);
}

.product-info-title {
    font-family: var(--f-display);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: var(--s-3);
}

@media (min-width: 768px) {
    .product-info-title { font-size: 40px; }
}

.product-info-rating {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--c-line);
}

.product-info-rating-stars {
    color: var(--c-warning);
    letter-spacing: 2px;
}

.product-info-rating-text {
    font-size: 13px;
    color: var(--c-muted);
}

.product-info-prices {
    display: flex;
    align-items: baseline;
    gap: var(--s-3);
    margin-bottom: var(--s-2);
}

.product-info-price {
    font-family: var(--f-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.02em;
    line-height: 1;
}

.product-info-price-old {
    font-size: 18px;
    color: var(--c-muted);
    text-decoration: line-through;
}

.product-info-price-save {
    background: var(--c-success-l);
    color: var(--c-success);
    padding: 4px var(--s-2);
    border-radius: var(--r-1);
    font-size: 12px;
    font-weight: 700;
}

.product-info-stock {
    color: var(--c-success);
    font-size: 13px;
    margin-bottom: var(--s-5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info-stock svg {
    width: 16px;
    height: 16px;
}

.product-variants {
    margin-bottom: var(--s-5);
}

.product-variant-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--s-2);
    display: flex;
    align-items: center;
    gap: var(--s-2);
}

.product-variant-label span {
    color: var(--c-muted);
    font-weight: 400;
}

.product-variant-opts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}

.variant-opt {
    padding: 8px var(--s-4);
    border: 1.5px solid var(--c-line);
    border-radius: var(--r-2);
    background: var(--c-surface);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
}

.variant-opt:hover {
    border-color: var(--c-ink);
}

.variant-opt.is-selected {
    border-color: var(--c-ink);
    background: var(--c-ink);
    color: #fff;
}

.variant-opt.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.variant-color {
    width: 32px;
    height: 32px;
    border-radius: 100px;
    border: 2px solid var(--c-line);
    cursor: pointer;
    transition: all .15s;
}

.variant-color:hover {
    border-color: var(--c-ink);
}

.variant-color.is-selected {
    border-color: var(--c-ink);
    box-shadow: 0 0 0 2px #fff inset;
}

.product-buy {
    display: flex;
    gap: var(--s-2);
    margin-bottom: var(--s-5);
}

.qty-large {
    display: inline-flex;
    align-items: center;
    background: var(--c-line-soft);
    border-radius: var(--r-2);
    padding: 4px;
    height: 52px;
}

.qty-large-btn {
    width: 36px;
    height: 44px;
    border-radius: var(--r-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: background .15s;
}

.qty-large-btn:hover {
    background: var(--c-surface);
}

.qty-large-val {
    min-width: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.btn-lg {
    height: 52px;
    flex: 1;
    font-size: 15px;
}

.product-features {
    background: var(--c-line-soft);
    border-radius: var(--r-3);
    padding: var(--s-4);
    margin-bottom: var(--s-5);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
}

@media (min-width: 480px) {
    .product-features {
        grid-template-columns: 1fr 1fr;
    }
}

.product-feature {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    font-size: 13px;
}

.product-feature svg {
    width: 20px;
    height: 20px;
    color: var(--c-accent);
    flex-shrink: 0;
}

.product-feature-title {
    font-weight: 600;
    display: block;
}

.product-feature-sub {
    color: var(--c-muted);
    font-size: 11px;
}

/* Tabs */
.tabs {
    border-top: 1px solid var(--c-line);
    padding-top: var(--s-8);
    margin-top: var(--s-4);
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--c-line);
    margin-bottom: var(--s-6);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: var(--s-3) var(--s-5);
    font-weight: 500;
    color: var(--c-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all .15s;
}

.tab-btn.is-active {
    color: var(--c-ink);
    border-bottom-color: var(--c-accent);
}

.tab-panel {
    display: none;
    line-height: 1.7;
    color: var(--c-ink-2);
}

.tab-panel.is-active {
    display: block;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid var(--c-line-soft);
}

.spec-table td {
    padding: var(--s-3) 0;
    font-size: 14px;
}

.spec-table td:first-child {
    color: var(--c-muted);
    font-weight: 500;
    width: 40%;
}

.spec-table td:last-child {
    font-weight: 500;
}

/* ====== MOBILE NAV (hamburger) ============================ */
.mnav-bg {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    z-index: var(--z-drawer);
}

.mnav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: var(--c-surface);
    z-index: calc(var(--z-drawer) + 1);
    padding: var(--s-5);
    overflow-y: auto;
}

.mnav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--s-5);
    border-bottom: 1px solid var(--c-line);
    margin-bottom: var(--s-5);
}

.mnav-section {
    margin-bottom: var(--s-5);
}

.mnav-section-title {
    font-size: 11px;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: var(--s-2);
}

.mnav-link {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3);
    border-radius: var(--r-2);
    font-weight: 500;
}

.mnav-link:hover { background: var(--c-line-soft); }

.mnav-link svg {
    width: 18px;
    height: 18px;
    color: var(--c-muted);
}

/* ====== ANIMACIONES de entrada ============================= */
.drawer-enter {
    animation: slide-right .25s ease-out;
}

.mnav-enter {
    animation: slide-left .25s ease-out;
}

.megamenu-enter {
    animation: fade-in .15s ease-out;
}

@keyframes slide-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes slide-left {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ====== REDUCED MOTION ==================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====== FOCUS visible (accesibilidad) ===================== */
:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 2px;
}

/* ============================================================
   FACEL MODERN — Estilos que faltaban del home (fix visual)
   Agregados: 2026-07-09
   Componentes: beneficios, hero slider, strip marcas, CTA
   ============================================================ */

/* ==== FIX DEFENSIVO: SVGs sin dimensión explícita ==== */
/* Si algún CSS externo intenta darles width: 100%, quedan acotados */
.header svg,
.topbar svg,
.nav svg,
.footer svg,
.footer-social svg,
.pcard svg,
.btn svg,
.icon-btn svg,
.megamenu svg,
.mnav svg,
.section-head svg,
.section-link svg,
.benefit svg,
.cat-card svg,
.hero svg,
.cta-box svg {
    max-width: 24px;
    max-height: 24px;
    flex-shrink: 0;
}

/* ==== BENEFICIOS BAR ==== */
.benefits {
    background: var(--c-surface);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    padding: 20px 0;
    margin: 16px 0 24px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--c-accent-l);
    color: var(--c-accent);
    border-radius: var(--r-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
}

.benefit-title {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--c-ink);
    line-height: 1.2;
    margin-bottom: 2px;
}

.benefit-sub {
    display: block;
    font-size: 11px;
    color: var(--c-muted);
    line-height: 1.3;
}

/* ==== HERO SLIDER (banner grande del inicio) ==== */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: var(--r-3);
    background: var(--c-line-soft);
}

@media (max-width: 640px) {
    .hero-slider {
        aspect-ratio: 16 / 10;
        border-radius: var(--r-2);
    }
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

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

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .2s;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.hero-dot.is-active {
    background: #fff;
    width: 28px;
}

/* Contenedor hero cuando NO hay slider (fallback hero decorativo) */
.hero {
    padding: 0px 0 24px;
}

.hero .container {
    padding: 0;
}

@media (min-width: 640px) {
    .hero {
        padding: 0px 0 32px;
    }
}

/* ==== STRIP DE MARCAS ==== */
.brands-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

@media (min-width: 640px) {
    .brands-strip {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
}

.brand-chip {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-2);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    transition: all .15s;
    text-decoration: none;
    color: var(--c-ink-2);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

.brand-chip:hover {
    border-color: var(--c-ink);
    transform: translateY(-2px);
    box-shadow: var(--sh-1);
}

.brand-chip img {
    max-height: 44px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all .15s;
}

.brand-chip:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ==== CTA FINAL ==== */
.cta-box {
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 92, 40, 0.08), transparent 60%),
        var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--r-3);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-box {
        flex-direction: row;
        text-align: left;
        padding: 40px 40px;
        gap: 40px;
    }
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: var(--f-display);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 6px;
    color: var(--c-ink);
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 28px;
    }
}

.cta-text {
    color: var(--c-muted);
    font-size: 14px;
    line-height: 1.5;
    max-width: 480px;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    flex-shrink: 0;
}

/* ==== BADGE LOW STOCK ==== */
.badge-low {
    background: var(--c-warning-l);
    color: var(--c-warning);
}

/* ==== FIX: espaciado entre secciones del home ==== */
.section + .section {
    padding-top: 32px;
}

@media (min-width: 768px) {
    .section + .section {
        padding-top: 48px;
    }
}
.catalog-load-more .btn {
    padding: 12px 32px;
    font-weight: 600;
    min-width: 200px;
}