/* ═══════════════════════════════════════════════════════════════
   mobulaa B2B — Portal Distribuidores v6
   Barlow Condensed + Figtree · Charcoal theme
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;0,800;0,900;1,700&family=Figtree:wght@400;500;600;700;800&display=swap');

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

:root {
    /* ── Brand ──────────────────────────────────────── */
    --or:         #e8471e;        /* naranja ligeramente más oscuro → mejor contraste sobre blanco */
    --or-dk:      #c43a14;
    --or-lt:      #f26540;
    --or-glow:    rgba(232,71,30,0.25);
    --or-glow-sm: rgba(232,71,30,0.12);
    --or-dim:     rgba(232,71,30,0.09);
    --gr:         #3d8b2c;
    --gr-dim:     rgba(61,139,44,0.12);

    /* ── Fondos — light corporate ───────────────────── */
    --bg:   #f0f2f7;   /* gris azulado muy claro — fondo página     */
    --bg2:  #e6e9f1;   /* levemente más oscuro — navbar, stats-bar  */
    --s1:   #ffffff;   /* blanco puro — cards, sidebar              */
    --s2:   #f7f8fc;   /* casi blanco — hover, input BG             */
    --s3:   #ebeef6;   /* borde sutil — separadores                 */

    /* ── Bordes ─────────────────────────────────────── */
    --b1:   rgba(30,45,90,0.09);
    --b2:   rgba(30,45,90,0.16);
    --b3:   rgba(30,45,90,0.26);

    /* ── Texto ──────────────────────────────────────── */
    --t1: #131d35;   /* casi negro azulado — texto principal        */
    --t2: #475a80;   /* gris azulado medio — texto secundario       */
    --t3: #8595b4;   /* gris claro — labels, placeholders           */

    /* ── Sombras ────────────────────────────────────── */
    --sh-sm: 0 1px 4px rgba(20,35,80,0.08), 0 0 0 1px rgba(20,35,80,0.05);
    --sh-md: 0 4px 16px rgba(20,35,80,0.10), 0 0 0 1px rgba(20,35,80,0.06);
    --sh-lg: 0 8px 32px rgba(20,35,80,0.13), 0 0 0 1px rgba(20,35,80,0.07);

    /* ── Fonts ──────────────────────────────────────── */
    --fd: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    --fb: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;

    /* ── Radii ──────────────────────────────────────── */
    --r:   12px;
    --rl:  18px;
    --rxl: 24px;

    /* ── Motion ─────────────────────────────────────── */
    --ease:   cubic-bezier(0.4, 0, 0.2, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
    background: var(--bg);
    color: var(--t1);
    font-family: var(--fb);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Textura sutil — tema claro */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 55% 35% at 0% 0%,   rgba(232,71,30,0.04) 0%, transparent 55%),
        radial-gradient(ellipse 45% 35% at 100% 100%, rgba(70,100,200,0.04) 0%, transparent 55%);
}
body > * { position: relative; z-index: 1; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--s3); }
::-webkit-scrollbar-thumb { background: var(--b2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--t2); }

/* ════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
.navbar {
    position: sticky; top: 0; z-index: 300;
    height: 62px;
    display: flex; align-items: center;
    padding: 0 clamp(1rem, 3vw, 2rem);
    gap: clamp(0.5rem, 2vw, 1rem);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 1px solid var(--b1);
    box-shadow: 0 1px 12px rgba(30,40,80,0.07);
}
.navbar::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px; top: auto;
    background: linear-gradient(90deg, var(--or) 0%, rgba(253,86,45,0.5) 60%, transparent 100%);
    box-shadow: 0 0 10px var(--or-glow);
}
.brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; flex-shrink: 0; }
.brand-icon {
    width: 36px; height: 36px; background: var(--or); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 16px var(--or-glow-sm);
    transition: box-shadow 0.25s var(--ease), transform 0.25s var(--spring);
    flex-shrink: 0;
}
.brand:hover .brand-icon { box-shadow: 0 0 26px var(--or-glow); transform: scale(1.08); }
.brand-icon svg { width: 21px; height: 21px; }
.brand-texts { display: flex; flex-direction: column; }
.brand-name { font-family: var(--fd); font-weight: 800; font-size: 1.35rem; color: var(--t1); letter-spacing: 0.01em; line-height: 1; }
.brand-tag  { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--or); line-height: 1; }
.nav-sep { width: 1px; height: 26px; background: var(--b1); flex-shrink: 0; }

.nav-search {
    flex: 1; max-width: 440px;
    display: flex; align-items: center;
    background: var(--bg); border: 1px solid var(--b1);
    border-radius: 10px; overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.nav-search:focus-within { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-dim); }
.nav-search-ico { padding: 0 0.6rem; color: var(--t3); display: flex; align-items: center; }
.nav-search input { flex: 1; background: none; border: none; outline: none; padding: 0.55rem 0; color: var(--t1); font-family: var(--fb); font-size: 0.875rem; min-width: 0; }
.nav-search input::placeholder { color: var(--t3); }
.nav-search-btn {
    background: none; border: none; border-left: 1px solid var(--b1);
    padding: 0 0.85rem; height: 100%; color: var(--t3);
    cursor: pointer; font-family: var(--fd); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.2s; flex-shrink: 0;
}
.nav-search-btn:hover { color: var(--or); background: var(--or-dim); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 0.45rem; flex-shrink: 0; }
.nav-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: transparent; border: 1px solid var(--b2);
    border-radius: 9px; padding: 0.42rem 0.85rem;
    color: var(--t2); text-decoration: none;
    font-family: var(--fb); font-size: 0.83rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.nav-btn:hover { border-color: var(--b2); color: var(--t1); }
.nav-btn-cta {
    background: var(--or); border-color: var(--or); color: white;
    font-family: var(--fd); font-weight: 800; font-size: 0.9rem;
    letter-spacing: 0.04em; padding: 0.42rem 1.1rem;
    box-shadow: 0 0 14px var(--or-glow-sm);
}
.nav-btn-cta:hover { background: var(--or-dk); border-color: var(--or-dk); box-shadow: 0 0 24px var(--or-glow); transform: translateY(-1px); }
.cart-count {
    background: var(--or); color: white; border-radius: 50%;
    width: 17px; height: 17px; font-size: 0.62rem; font-weight: 800;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ════════════════════════════════════════════════════════════
   HERO — Foto real · Full-bleed · B2B
════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(232,71,30,0.25);
    min-height: clamp(460px, 72vh, 780px);
    display: flex; align-items: center;
}

/* ── Foto de fondo real ── */
.hero-bg-img {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('https://mobulaa-colombia.com/cdn/shop/files/20260112153723_1697_16.png?v=1768790646');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    transform-origin: center;
}

/* Overlay principal: izquierda opaca → derecha semi-transparente */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
        linear-gradient(100deg,
            rgba(8,10,18,0.93) 0%,
            rgba(8,10,18,0.80) 38%,
            rgba(8,10,18,0.45) 60%,
            rgba(8,10,18,0.12) 80%,
            transparent 100%
        ),
        /* degradado inferior: funde con la página */
        linear-gradient(to bottom,
            transparent 55%,
            rgba(8,10,18,0.65) 80%,
            rgba(8,10,18,0.92) 100%
        );
}

/* Grid técnico sutil */
.hero-grid {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg,
        transparent 0%,
        rgba(0,0,0,.5) 18%,
        rgba(0,0,0,.5) 82%,
        transparent 100%
    );
}

/* Línea naranja top (acento de marca) */
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 55%; height: 2px; z-index: 5;
    background: linear-gradient(90deg, var(--or) 0%, rgba(232,71,30,0.3) 70%, transparent 100%);
    box-shadow: 0 0 20px rgba(232,71,30,0.5);
}

/* Glow naranja borde izquierdo */
.hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(ellipse 30% 70% at 0% 60%, rgba(232,71,30,0.13) 0%, transparent 55%);
}

/* ── Contenedor principal ── */
.hero-inner {
    position: relative; z-index: 4;
    max-width: 1360px; margin: 0 auto; width: 100%;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
    display: flex; flex-direction: column;
    justify-content: center;
}

/* ── Contenido (columna izquierda, máx 55% en desktop) ── */
.hero-content {
    display: flex; flex-direction: column; gap: 1.75rem;
    max-width: min(640px, 58%);
}

/* Badge pill */
.hero-pill {
    display: inline-flex; align-items: center; gap: 0.5rem;
    width: fit-content;
    background: rgba(253,86,45,0.14);
    border: 1px solid rgba(253,86,45,0.38);
    border-radius: 100px;
    padding: 0.3rem 0.9rem 0.3rem 0.55rem;
    font-family: var(--fd); font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: #ffb09a;
    backdrop-filter: blur(10px);
    animation: hFade 0.6s var(--ease) 0.1s both;
}
.hero-pill-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--or);
    box-shadow: 0 0 8px var(--or-glow);
    animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* Título */
.hero-title {
    font-family: var(--fd); font-weight: 900;
    line-height: 0.88; letter-spacing: -0.01em;
    animation: hFade 0.7s var(--ease) 0.2s both;
}
.hero-title-line {
    display: block;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    color: #ffffff; text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title-line.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.45);
    font-style: italic;
    letter-spacing: 0.015em;
}
.hero-title-line.big {
    font-size: clamp(4.5rem, 9vw, 8rem);
    color: var(--or); letter-spacing: -0.03em;
    text-shadow:
        0 0 30px rgba(253,86,45,0.55),
        0 0 70px rgba(253,86,45,0.25),
        0 2px 8px rgba(0,0,0,0.4);
}

/* Descripción */
.hero-desc {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(220,228,245,0.85);
    line-height: 1.75; max-width: 460px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    animation: hFade 0.7s var(--ease) 0.3s both;
}

/* Botones */
.hero-actions {
    display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
    animation: hFade 0.7s var(--ease) 0.42s both;
}

/* Stats */
.hero-stats {
    display: flex; gap: 0; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
    animation: hFade 0.7s var(--ease) 0.54s both;
}
.hero-stat {
    padding-right: 1.5rem;
    margin-right: 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat-num {
    display: block;
    font-family: var(--fd); font-weight: 900;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    color: #fff; line-height: 1; letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(253,86,45,0.3);
}
.hero-stat-num .or { color: var(--or); }
.hero-stat-lbl {
    display: block; font-size: 0.63rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: rgba(180,190,215,0.7); margin-top: 0.2rem;
}

/* Chips flotantes (posicionados sobre la foto) */
.hero-spec-chip {
    position: absolute; z-index: 5;
    background: rgba(12,15,25,0.75);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px; padding: 0.65rem 1rem;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
    animation: chipFloat 5s ease-in-out infinite;
}
.hero-spec-chip-1 {
    top: clamp(12%, 16%, 20%); right: clamp(3%, 5%, 8%);
    animation-delay: 0s;
}
.hero-spec-chip-2 {
    bottom: clamp(14%, 18%, 22%); right: clamp(12%, 18%, 22%);
    animation-delay: -2.4s;
}
@keyframes chipFloat {
    0%,100% { transform: translateY(0px); }
    50%      { transform: translateY(-8px); }
}
.chip-label {
    font-family: var(--fd); font-size: 0.55rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(160,175,210,0.8); display: block; margin-bottom: 0.12rem;
}
.chip-val {
    font-family: var(--fd); font-weight: 900; font-size: 1.15rem;
    color: var(--or); line-height: 1;
    text-shadow: 0 0 16px rgba(253,86,45,0.5);
}
.chip-val.green {
    color: #7dcf5e;
    text-shadow: 0 0 14px rgba(101,166,79,0.45);
}

@keyframes hFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Ghost button para hero */
.btn-ghost-hero {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(220,230,248,0.9);
    padding: 0.65rem 1.35rem; font-size: 0.92rem;
    font-family: var(--fb); font-weight: 600;
    border-radius: var(--r); cursor: pointer; text-decoration: none;
    transition: all 0.2s; backdrop-filter: blur(8px);
}
.btn-ghost-hero:hover {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
    background: rgba(255,255,255,0.12);
}

/* ════════════════════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════════════════════ */
.stats-bar { /* light theme — stats-bar */
    background: var(--s1); border-bottom: 1px solid var(--b1);
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: flex; overflow-x: auto;
    -ms-overflow-style: none; scrollbar-width: none;
}
.stats-bar::-webkit-scrollbar { display: none; }
.stats-bar-inner { max-width: 1360px; margin: 0 auto; width: 100%; display: flex; }
.stat-item {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-right: 1px solid var(--b1); flex-shrink: 0;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-num { font-family: var(--fd); font-weight: 900; font-size: 1.15rem; color: var(--or); line-height: 1; }
.stat-lbl { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--t3); }
.stats-divider { flex: 1; }
.stats-tagline { font-family: var(--fd); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t3); padding: 0.6rem 0; flex-shrink: 0; white-space: nowrap; }
.stats-tagline span { color: var(--or); }

/* ════════════════════════════════════════════════════════════
   LAYOUT · SIDEBAR · MAIN
════════════════════════════════════════════════════════════ */
.layout {
    max-width: 1360px; margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.5rem);
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 1.5rem; align-items: start;
}
.sidebar { position: sticky; top: 74px; background: var(--s1); border-radius: var(--rl); border: 1px solid var(--b1); padding: 1.25rem 0.9rem; box-shadow: var(--sh-sm); }
.sidebar-section { margin-bottom: 1.25rem; }
.sidebar-label { font-family: var(--fd); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t3); padding: 0 0.5rem; margin-bottom: 0.4rem; display: block; }
.cat-item {
    display: flex; align-items: center; gap: 0.4rem;
    padding: 0.46rem 0.6rem; border-radius: 9px;
    color: var(--t2); text-decoration: none;
    font-size: 0.875rem; font-weight: 500;
    transition: all 0.18s; margin-bottom: 2px; border: 1px solid transparent;
}
.cat-item:hover { background: var(--s1); color: var(--t1); border-color: var(--b1); }
.cat-item.active { background: var(--or-dim); color: var(--or); border-color: rgba(253,86,45,0.2); font-weight: 700; box-shadow: inset 3px 0 0 var(--or); }
.sidebar-cta {
    background: var(--s1); border: 1px solid rgba(253,86,45,0.2);
    border-radius: var(--rl); padding: 1rem; position: relative; overflow: hidden;
}
.sidebar-cta::before { content: ''; position: absolute; top: -20px; right: -20px; width: 80px; height: 80px; background: radial-gradient(circle, var(--or-dim) 0%, transparent 70%); }
.sidebar-cta p { font-size: 0.8rem; color: var(--t2); line-height: 1.6; margin-bottom: 0.75rem; }
.sidebar-cta strong { color: var(--or); }

.main-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; gap: 1rem; flex-wrap: wrap; }
.main-bar h2 { font-family: var(--fd); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.main-bar p { font-size: 0.78rem; color: var(--t3); margin-top: 0.1rem; }

/* ════════════════════════════════════════════════════════════
   PRODUCT GRID · CARD
════════════════════════════════════════════════════════════ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 1rem; }
.product-card {
    background: var(--s1); border: 1px solid var(--b1);
    border-radius: var(--rl); overflow: hidden;
    display: flex; flex-direction: column; cursor: pointer;
    box-shadow: var(--sh-sm);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--spring);
    animation: fadeUp 0.4s var(--ease) both;
}
.product-card:hover {
    border-color: rgba(232,71,30,0.35);
    box-shadow: 0 0 0 1px rgba(232,71,30,0.12), 0 8px 28px rgba(20,35,80,0.15);
    transform: translateY(-4px);
}
.card-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--s2) 0%, var(--s3) 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    position: relative; overflow: hidden;
}
.product-card:hover .card-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, rgba(232,71,30,0.07), transparent); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.product-card:hover .card-img img { transform: scale(1.07); }
.card-tag { position: absolute; top: 0.55rem; left: 0.55rem; background: var(--or); color: white; font-family: var(--fd); font-weight: 800; font-size: 0.6rem; padding: 0.16rem 0.5rem; border-radius: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.card-body { padding: clamp(0.7rem, 2vw, 0.9rem); flex: 1; }
.card-ref { font-size: 0.62rem; color: var(--t3); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.28rem; }
.card-name { font-family: var(--fd); font-weight: 800; font-size: clamp(0.95rem, 2vw, 1.05rem); line-height: 1.15; color: var(--t1); margin-bottom: 0.5rem; letter-spacing: 0.02em; text-transform: uppercase; }
.card-price { font-family: var(--fd); font-weight: 900; font-size: clamp(1.05rem, 2.5vw, 1.2rem); color: var(--or); text-shadow: 0 0 18px rgba(253,86,45,0.28); }
.card-price-nd { font-size: 0.78rem; color: var(--t3); font-weight: 600; }
.card-footer { padding: 0 clamp(0.7rem, 2vw, 0.9rem) clamp(0.7rem, 2vw, 0.9rem); opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s; }
.product-card:hover .card-footer { opacity: 1; transform: none; }
@media (hover: none) { .card-footer { opacity: 1; transform: none; } }

/* ════════════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    border: none; border-radius: var(--r);
    font-family: var(--fd); font-weight: 800;
    cursor: pointer; text-decoration: none;
    transition: all 0.2s var(--ease);
    letter-spacing: 0.04em; white-space: nowrap;
}
.btn-orange {
    background: var(--or); color: white;
    padding: 0.65rem 1.2rem; font-size: 0.9rem; text-transform: uppercase;
    box-shadow: 0 0 14px var(--or-glow-sm), 0 2px 8px rgba(253,86,45,0.2);
}
.btn-orange:hover { background: var(--or-dk); color: white; box-shadow: 0 0 24px var(--or-glow), 0 4px 16px rgba(253,86,45,0.25); transform: translateY(-1px); }
.btn-ghost { background: transparent; border: 1px solid var(--b2); color: var(--t2); padding: 0.6rem 1rem; font-size: 0.83rem; font-family: var(--fb); font-weight: 600; }
.btn-ghost:hover { border-color: var(--b3); color: var(--t1); }
.btn-green { background: var(--gr); color: white; padding: 0.6rem 1rem; font-size: 0.88rem; text-transform: uppercase; }
.btn-green:hover { background: #4d8a39; }
.btn-full { width: 100%; }
.btn-sm   { padding: 0.36rem 0.75rem; font-size: 0.76rem; }
.btn-lg   { padding: 0.8rem 1.5rem; font-size: 1rem; }
.btn-xl   { padding: 0.7rem 1.6rem; font-size: 1rem; }

/* ════════════════════════════════════════════════════════════
   FORMS
════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.7rem; font-weight: 700; color: var(--t3); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.09em; }
.form-input { width: 100%; background: var(--s1); border: 1px solid var(--b2); border-radius: var(--r); padding: 0.7rem 0.9rem; color: var(--t1); font-family: var(--fb); font-size: 0.94rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-input:focus { border-color: var(--or); box-shadow: 0 0 0 3px var(--or-dim); background: var(--s2); }
.form-input::placeholder { color: var(--t3); }
select.form-input { cursor: pointer; }

/* ════════════════════════════════════════════════════════════
   PAGINATION
════════════════════════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 4px; margin-top: 2rem; flex-wrap: wrap; }
.pag-btn { background: var(--s1); border: 1px solid var(--b1); border-radius: 8px; padding: 0.4rem 0.8rem; color: var(--t2); text-decoration: none; font-family: var(--fd); font-weight: 700; font-size: 0.84rem; transition: all 0.18s; }
.pag-btn:hover { border-color: var(--b2); color: var(--t1); }
.pag-btn.active { background: var(--or); border-color: var(--or); color: white; }
.pag-btn.disabled { opacity: 0.3; pointer-events: none; }

/* ════════════════════════════════════════════════════════════
   MODAL
════════════════════════════════════════════════════════════ */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 500; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(8px); }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--s1); border: 1px solid var(--b2); border-radius: var(--rxl); padding: clamp(1.25rem, 4vw, 1.75rem); width: 100%; max-width: 420px; box-shadow: 0 40px 80px rgba(0,0,0,0.6); animation: modalUp 0.28s var(--spring); position: relative; overflow: hidden; }
.modal-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--or), transparent); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--b1); }
.modal-title { font-family: var(--fd); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.modal-close { background: var(--s2); border: 1px solid var(--b1); border-radius: 7px; width: 28px; height: 28px; cursor: pointer; color: var(--t3); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: all 0.18s; }
.modal-close:hover { color: var(--t1); border-color: var(--b2); }
.modal-footer { display: flex; gap: 0.6rem; margin-top: 1.25rem; }

/* ════════════════════════════════════════════════════════════
   ALERTS / BADGES / TOAST
════════════════════════════════════════════════════════════ */
.alert { border-radius: var(--r); padding: 0.75rem 1rem; font-size: 0.85rem; margin-bottom: 1rem; border-left: 2px solid; }
.alert-error   { background: rgba(224,48,48,0.07); border-color: #e03030; color: #ff8888; }
.alert-success { background: var(--gr-dim); border-color: var(--gr); color: #8dce6d; }
.alert-info    { background: var(--or-dim); border-color: var(--or); color: var(--or-lt); }
.badge { display: inline-flex; align-items: center; border-radius: 5px; padding: 0.12rem 0.48rem; font-size: 0.64rem; font-weight: 800; font-family: var(--fd); letter-spacing: 0.07em; text-transform: uppercase; }
.badge-or  { background: var(--or-dim); color: var(--or);  border: 1px solid rgba(253,86,45,0.2); }
.badge-gr  { background: var(--gr-dim); color: var(--gr);  border: 1px solid rgba(101,166,79,0.2); }
.badge-dim { background: var(--s3);     color: var(--t3);  border: 1px solid var(--b1); }
.toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 600; display: flex; flex-direction: column; gap: 0.4rem; pointer-events: none; max-width: calc(100vw - 3rem); }
.toast { background: var(--s2); border: 1px solid var(--b2); border-radius: var(--r); padding: 0.65rem 1rem; font-family: var(--fd); font-weight: 700; font-size: 0.84rem; display: flex; align-items: center; gap: 0.5rem; min-width: 190px; box-shadow: 0 8px 28px rgba(0,0,0,0.4); transform: translateX(110%); opacity: 0; transition: all 0.3s var(--spring); }
.toast.show { transform: none; opacity: 1; }
.toast.success { border-left: 2px solid var(--gr); }
.toast.error   { border-left: 2px solid #e03030; }
.toast.default { border-left: 2px solid var(--or); }
.empty-state { grid-column: 1/-1; text-align: center; padding: 5rem 2rem; }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.3; }
.empty-state h3 { font-family: var(--fd); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--t2); margin-bottom: 0.4rem; }
.empty-state p { font-size: 0.85rem; color: var(--t3); }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.site-footer { background: var(--bg2); border-top: 1px solid var(--b1); padding: 2rem clamp(1rem, 3vw, 2rem); margin-top: 4rem; }
.footer-inner { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-brand-icon { width: 28px; height: 28px; background: var(--or); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.footer-brand-icon svg { width: 16px; height: 16px; }
.footer-brand-name { font-family: var(--fd); font-weight: 800; font-size: 1.1rem; color: var(--t1); }
.footer-copy { font-size: 0.74rem; color: var(--t3); }
.footer-copy a { color: var(--or); text-decoration: none; }
.footer-links { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.footer-link { font-size: 0.78rem; color: var(--t3); text-decoration: none; transition: color 0.18s; }
.footer-link:hover { color: var(--t1); }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes modalUp { from { transform: translateY(20px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.product-card:nth-child(1)  { animation-delay: 0.03s }
.product-card:nth-child(2)  { animation-delay: 0.06s }
.product-card:nth-child(3)  { animation-delay: 0.09s }
.product-card:nth-child(4)  { animation-delay: 0.12s }
.product-card:nth-child(5)  { animation-delay: 0.15s }
.product-card:nth-child(6)  { animation-delay: 0.18s }
.product-card:nth-child(7)  { animation-delay: 0.21s }
.product-card:nth-child(8)  { animation-delay: 0.24s }
.product-card:nth-child(n+9){ animation-delay: 0.26s }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST · BLINDADO
   Breakpoints: 1440 · 1280 · 1100 · 1024 · 900 · 820 · 768
                600 · 480 · 430 · 390 · 360 · 320
════════════════════════════════════════════════════════════ */

/* ────────── HAMBURGER BUTTON ────────── */
.nav-hamburger {
    display: none;
    flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px;
    background: var(--s1); border: 1px solid var(--b1);
    border-radius: 9px; cursor: pointer; padding: 8px;
    margin-left: auto; flex-shrink: 0; transition: border-color 0.2s;
}
.nav-hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--t2); border-radius: 2px;
    transition: all 0.25s var(--ease); transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────── MOBILE DRAWER ────────── */
.nav-drawer {
    display: none;
    position: fixed; inset: 62px 0 0 0; z-index: 299;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 1.25rem 1rem 2rem;
    gap: 0.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--b1);
    animation: drawerIn 0.22s var(--ease);
}
.nav-drawer.open { display: flex; }
@keyframes drawerIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.drawer-search {
    display: flex; align-items: center;
    background: var(--s1); border: 1px solid var(--b1);
    border-radius: 11px; overflow: hidden; margin-bottom: 0.5rem;
}
.drawer-search input {
    flex: 1; background: none; border: none; outline: none;
    padding: 0.7rem 0.9rem; color: var(--t1);
    font-family: var(--fb); font-size: 0.95rem;
}
.drawer-search input::placeholder { color: var(--t3); }
.drawer-search button {
    background: var(--or); border: none; padding: 0.7rem 1.1rem;
    color: white; font-family: var(--fd); font-weight: 800;
    font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
    cursor: pointer;
}
.drawer-divider {
    height: 1px; background: var(--b1);
    margin: 0.4rem 0;
}
.drawer-label {
    font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--t3); padding: 0.3rem 0.25rem;
}
.drawer-link {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.75rem 0.75rem;
    border-radius: 10px; text-decoration: none;
    color: var(--t2); font-size: 0.95rem; font-weight: 500;
    transition: all 0.18s; border: 1px solid transparent;
}
.drawer-link:hover,
.drawer-link:active  { background: var(--s2); color: var(--t1); border-color: var(--b1); }
.drawer-link.active  { background: var(--or-dim); color: var(--or); border-color: rgba(253,86,45,0.2); }
.drawer-link.cta     { background: var(--or); color: white; font-family: var(--fd); font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; border-color: var(--or); justify-content: center; margin-top: 0.4rem; }
.drawer-link.cta:hover { background: var(--or-dk); }

/* ────────── 1920px+ ────────── */
@media (min-width: 1920px) {
    .layout { max-width: 1680px; grid-template-columns: 250px 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
    .hero-inner { max-width: 1560px; }
}

/* ────────── 1440px ────────── */
@media (min-width: 1440px) {
    .layout { grid-template-columns: 230px 1fr; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
}


/* ════════════════════════════════════════════════════════════
   LAPTOP ZONE — 1366×768 · 1280×800 · MacBook 13"
   El breakpoint más olvidado del diseño web corporativo
════════════════════════════════════════════════════════════ */

/* Pantallas cortas (≤820px alto) — recortar hero verticalmente */
@media (max-height: 820px) and (min-width: 900px) {
    .hero                 { min-height: clamp(400px, 66vh, 640px); }
    .hero-inner           { padding-top: clamp(2rem, 5vh, 3.5rem);
                            padding-bottom: clamp(2rem, 5vh, 3.5rem); }
    .hero-stat-num        { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
    .hero-title-line      { font-size: clamp(2.4rem, 4.5vw, 4rem); }
    .hero-title-line.big  { font-size: clamp(3.5rem, 7vw, 5.8rem); }
    .hero-stats           { padding-top: 0.9rem; }
    .hero-content         { gap: 1.3rem; }
}

/* Pantallas muy cortas (≤768px alto) — hero compacto */
@media (max-height: 768px) and (min-width: 900px) {
    .hero                 { min-height: clamp(360px, 60vh, 560px); }
    .hero-inner           { padding-top: clamp(1.75rem, 4.5vh, 3rem);
                            padding-bottom: clamp(1.75rem, 4.5vh, 3rem); }
    .hero-title-line      { font-size: clamp(2.2rem, 4vw, 3.6rem); }
    .hero-title-line.big  { font-size: clamp(3.2rem, 6.5vw, 5.2rem); }
    .hero-content         { gap: 1.1rem; }
    .hero-desc            { font-size: 0.88rem; }
    .hero-pill            { font-size: 0.64rem; }
}

/* 1366×768 exacto — el Dell corporativo más común */
@media (max-width: 1366px) and (max-height: 768px) {
    .hero                 { min-height: clamp(340px, 58vh, 520px); }
    .hero-content         { max-width: min(580px, 56%); gap: 1rem; }
    .hero-title-line      { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
    .hero-title-line.big  { font-size: clamp(3rem, 6.2vw, 4.8rem); }
    .hero-desc            { font-size: 0.87rem; line-height: 1.65;
                            display: -webkit-box; -webkit-line-clamp: 2;
                            -webkit-box-orient: vertical; overflow: hidden; }
    .hero-stats           { padding-top: 0.8rem; gap: 0 1.2rem; }
    .hero-stat-num        { font-size: 1.3rem; }
    .hero-spec-chip-1     { top: 10%; right: 2%; padding: 0.5rem 0.8rem; }
    .hero-spec-chip-2     { bottom: 12%; right: 9%; padding: 0.5rem 0.8rem; }
    .chip-val             { font-size: 1rem; }

    .layout               { grid-template-columns: 185px 1fr; gap: 1.1rem;
                            padding: 1rem 1.25rem; }
    .product-grid         { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 0.85rem; }
    .card-body            { padding: 0.7rem; }
}

/* 1280×800 — MacBook Pro 13" y similares */
@media (max-width: 1280px) and (max-height: 800px) {
    .hero                 { min-height: clamp(360px, 60vh, 560px); }
    .hero-content         { max-width: min(560px, 57%); gap: 1.1rem; }
    .hero-title-line      { font-size: clamp(2.3rem, 4vw, 3.6rem); }
    .hero-title-line.big  { font-size: clamp(3.2rem, 6.5vw, 5rem); }
    .hero-desc            { font-size: 0.9rem; }
    .hero-stats           { padding-top: 0.9rem; }

    .layout               { grid-template-columns: 190px 1fr; gap: 1.25rem;
                            padding: 1rem 1.25rem; }
    .product-grid         { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; }
}

/* MacBook Air 13" — 1440×900 (Retina: reporta 1440 CSS px) */
@media (max-width: 1440px) and (max-height: 900px) and (min-width: 1281px) {
    .hero                 { min-height: clamp(420px, 68vh, 640px); }
    .hero-content         { gap: 1.4rem; }
    .hero-title-line.big  { font-size: clamp(4rem, 7.2vw, 5.8rem); }
    .layout               { grid-template-columns: 210px 1fr; }
    .product-grid         { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}

/* ────────── 1280px ────────── */
@media (max-width: 1280px) {
    .layout { grid-template-columns: 205px 1fr; }
    .hero-title-line.big { font-size: clamp(3.8rem, 8vw, 6.5rem); }
}

/* ────────── 1100px ────────── */
@media (max-width: 1100px) {
    .hero-content         { max-width: min(530px, 58%); }
    .hero-title-line      { font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
    .hero-title-line.big  { font-size: clamp(3.8rem, 8.5vw, 6.2rem); }
    .hero-spec-chip-1     { top: 12%; right: 2%; }
    .hero-spec-chip-2     { bottom: 14%; right: 9%; }
}

/* ────────── 1024px ────────── */
@media (max-width: 1024px) {
    .layout           { grid-template-columns: 190px 1fr; gap: 1.25rem; }
    .brand-tag        { display: none; }
    .hero-content     { max-width: min(500px, 62%); }
    .hero-spec-chip   { backdrop-filter: blur(12px); }
}

/* ────────── 900px — hero full overlay ────────── */
@media (max-width: 900px) {
    .hero               { min-height: clamp(420px, 68vw, 620px); }
    .hero-bg-img        { background-position: 62% 32%; }
    .hero-overlay {
        background:
            linear-gradient(105deg,
                rgba(6,8,16,0.94) 0%,
                rgba(6,8,16,0.82) 40%,
                rgba(6,8,16,0.50) 65%,
                rgba(6,8,16,0.20) 100%
            ),
            linear-gradient(to bottom, transparent 55%, rgba(14,16,24,0.75) 82%, var(--bg) 100%);
    }
    .hero-content       { max-width: min(500px, 75%); }
    .hero-spec-chip     { display: none; }
    .hero-title-line    { font-size: clamp(2.6rem, 7vw, 4.2rem); }
    .hero-title-line.big{ font-size: clamp(4rem, 12.5vw, 7rem); }
}

/* ────────── 820px — sidebar collapsa a pills ────────── */
@media (max-width: 820px) {
    .layout               { grid-template-columns: 1fr; gap: 1rem; }
    .sidebar              { position: static; background: none; }
    .sidebar-section {
        display: flex; flex-wrap: wrap; align-items: center;
        gap: 0.35rem; padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--b1);
    }
    .sidebar-label        { display: none; }
    .cat-item {
        padding: 0.3rem 0.75rem;
        font-size: 0.78rem; border-radius: 20px;
        border: 1px solid var(--b1);
    }
    .cat-item.active      { box-shadow: 0 0 10px var(--or-glow-sm); }
    .sidebar-cta          { display: none; }
    .product-grid         { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}

/* ────────── 768px — mobile nav + hero ────────── */
@media (max-width: 768px) {
    /* Navbar mobile */
    .navbar       { height: 56px; padding: 0 1rem; gap: 0.5rem; }
    .nav-search   { display: none; }
    .nav-sep      { display: none; }
    .nav-actions  { display: none; }
    .nav-hamburger{ display: flex; }

    /* Drawer height ajuste */
    .nav-drawer   { inset: 56px 0 0 0; }

    /* Stats bar */
    .stats-bar          { padding: 0 1rem; }
    .stat-item          { padding: 0.45rem 0.7rem; }
    .stat-num           { font-size: 0.95rem; }
    .stat-lbl           { font-size: 0.58rem; }
    .stats-tagline,
    .stats-divider      { display: none; }

    /* Layout */
    .layout             { padding: 0.85rem; }
    .main-bar           { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

    /* Hero 768 */
    .hero               { min-height: clamp(380px, 100vw * 0.62, 520px); }
    .hero-inner         { padding: clamp(2rem, 6vw, 3.5rem) 1.25rem; }
    .hero-bg-img        { background-position: 68% 28%; }
    .hero-overlay {
        background:
            linear-gradient(to bottom,
                rgba(6,8,16,0.55) 0%,
                rgba(6,8,16,0.48) 30%,
                rgba(6,8,16,0.72) 70%,
                var(--bg) 100%
            ),
            linear-gradient(to right,
                rgba(6,8,16,0.88) 0%,
                rgba(6,8,16,0.60) 50%,
                transparent 100%
            );
    }
    .hero-content       { max-width: 85%; gap: 1.2rem; }
    .hero-title-line    { font-size: clamp(2.4rem, 8vw, 3.8rem); }
    .hero-title-line.big{ font-size: clamp(3.8rem, 14vw, 6rem); }
    .hero-desc          { font-size: clamp(0.83rem, 2.4vw, 0.95rem); max-width: 100%; }
    .hero-actions       { flex-direction: column; gap: 0.6rem; }
    .hero-actions .btn,
    .hero-actions .btn-ghost-hero { width: 100%; justify-content: center; }
    .hero-stats         { flex-wrap: wrap; gap: 1rem 1.5rem; padding-top: 1rem; border-top-color: rgba(255,255,255,0.1); }
    .hero-stat          { flex: 0 0 auto; border-right: none !important; padding-right: 0 !important; margin-right: 0 !important; }
    .hero-stat-num      { font-size: clamp(1.4rem, 4.5vw, 1.8rem); }
    .hero-spec-chip     { display: none; }
}

/* ────────── 600px ────────── */
@media (max-width: 600px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.55rem; }
    .card-body    { padding: 0.6rem; }
    .card-footer  { padding: 0 0.6rem 0.6rem; }
    .card-name    { font-size: 0.88rem; }
    .card-price   { font-size: 0.98rem; }

    .hero-inner          { padding-inline: 1rem; }
    .hero-content        { max-width: 90%; }
    .hero-stats          { gap: 0.85rem 1.25rem; }
    .hero-stat-num       { font-size: 1.35rem; }
    .hero-stat-lbl       { font-size: 0.58rem; }
    .hero-pill           { font-size: 0.62rem; padding: 0.28rem 0.75rem 0.28rem 0.48rem; }
}

/* ────────── 480px ────────── */
@media (max-width: 480px) {
    .hero               { min-height: clamp(340px, 92vw, 480px); }
    .hero-bg-img        { background-position: 72% 25%; }
    .hero-overlay {
        background:
            linear-gradient(to bottom,
                rgba(6,8,16,0.62) 0%,
                rgba(6,8,16,0.55) 25%,
                rgba(6,8,16,0.78) 68%,
                var(--bg) 100%
            ),
            linear-gradient(to right,
                rgba(6,8,16,0.92) 0%,
                rgba(6,8,16,0.68) 45%,
                rgba(6,8,16,0.25) 100%
            );
    }
    .hero-content        { max-width: 92%; }
    .hero-title-line     { font-size: clamp(2.2rem, 9.5vw, 3.2rem); }
    .hero-title-line.big { font-size: clamp(3.5rem, 16vw, 5.5rem); }
    .hero-title-line.outline { -webkit-text-stroke-width: 1.2px; }
    .hero-desc           { font-size: 0.84rem; line-height: 1.65; }
    .hero-stats          { gap: 0.7rem 1.1rem; }

    .product-grid        { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .layout              { padding: 0.75rem; }
    .card-img            { aspect-ratio: 4/3; }
}

/* ────────── 430px ────────── */
@media (max-width: 430px) {
    .navbar         { height: 52px; padding: 0 0.85rem; }
    .brand-icon     { width: 32px; height: 32px; border-radius: 8px; }
    .brand-icon svg { width: 18px; height: 18px; }
    .brand-name     { font-size: 1.18rem; }
    .brand-tag      { display: none; }

    .nav-drawer     { inset: 52px 0 0 0; }

    .hero               { min-height: clamp(320px, 88vw, 440px); }
    .hero-inner         { padding: 1.75rem 0.9rem; }
    .hero-content       { max-width: 95%; gap: 1rem; }
    .hero-title-line    { font-size: clamp(2rem, 10.5vw, 3rem); }
    .hero-title-line.big{ font-size: clamp(3.2rem, 17vw, 5rem); }
    .hero-title-line.outline { -webkit-text-stroke-width: 1px; }
    .hero-desc          { font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .hero-pill          { font-size: 0.6rem; }
    .hero-stat-num      { font-size: 1.25rem; }
    .hero-stats         { gap: 0.65rem 1rem; }

    .product-grid       { gap: 0.45rem; }
    .layout             { padding: 0.65rem; }
    .main-bar h2        { font-size: 0.85rem; }
    .main-bar p         { font-size: 0.72rem; }
    .stat-num           { font-size: 0.88rem; }
}

/* ────────── 390px ────────── */
@media (max-width: 390px) {
    .hero               { min-height: clamp(300px, 85vw, 400px); }
    .hero-title-line    { font-size: clamp(1.85rem, 10vw, 2.7rem); }
    .hero-title-line.big{ font-size: clamp(3rem, 16vw, 4.5rem); }
    .hero-content       { gap: 0.9rem; }
    .hero-desc          { -webkit-line-clamp: 2; }

    .product-grid       { grid-template-columns: repeat(2, 1fr); gap: 0.4rem; }
    .card-img           { aspect-ratio: 1; }
    .card-body          { padding: 0.55rem; }
    .card-name          { font-size: 0.82rem; }
    .card-price         { font-size: 0.9rem; }
}

/* ────────── 360px ────────── */
@media (max-width: 360px) {
    .navbar             { padding: 0 0.7rem; }
    .brand-name         { font-size: 1.1rem; }
    .hero               { min-height: clamp(285px, 82vw, 380px); }
    .hero-inner         { padding: 1.5rem 0.75rem; }
    .hero-title-line    { font-size: clamp(1.75rem, 10.5vw, 2.5rem); }
    .hero-title-line.big{ font-size: clamp(2.8rem, 17vw, 4.2rem); }
    .hero-stats         { gap: 0.55rem 0.9rem; }
    .hero-stat-num      { font-size: 1.1rem; }
    .hero-stat-lbl      { font-size: 0.55rem; }
    .layout             { padding: 0.55rem; }
    .product-grid       { gap: 0.35rem; }
}

/* ────────── 320px ────────── */
@media (max-width: 320px) {
    .brand-name         { font-size: 1rem; }
    .brand-icon         { width: 28px; height: 28px; }
    .hero               { min-height: 270px; }
    .hero-inner         { padding: 1.25rem 0.65rem; }
    .hero-title-line    { font-size: clamp(1.6rem, 11vw, 2.3rem); }
    .hero-title-line.big{ font-size: clamp(2.5rem, 17.5vw, 3.8rem); }
    .hero-pill          { font-size: 0.55rem; padding: 0.22rem 0.6rem 0.22rem 0.4rem; }
    .hero-desc          { font-size: 0.78rem; -webkit-line-clamp: 2; }
    .hero-stat-num      { font-size: 1rem; }
    .product-grid       { grid-template-columns: 1fr 1fr; gap: 0.3rem; }
    .card-body          { padding: 0.45rem; }
    .card-name          { font-size: 0.75rem; }
    .card-price         { font-size: 0.82rem; }
    .layout             { padding: 0.45rem; }
    .stats-bar          { padding: 0 0.5rem; }
}

/* ────────── Landscape mobile (ancho > alto) ────────── */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar             { height: 46px; }
    .nav-drawer         { inset: 46px 0 0 0; }

    .hero               { min-height: auto; }
    .hero-inner         { padding: 1.25rem clamp(1rem, 4vw, 2.5rem); }
    .hero-content       { gap: 0.75rem; max-width: min(52%, 500px); }
    .hero-title-line    { font-size: clamp(1.8rem, 5vw, 3rem); }
    .hero-title-line.big{ font-size: clamp(2.8rem, 8vw, 4.5rem); }
    .hero-desc          { display: none; }
    .hero-stats         { display: none; }
    .hero-actions       { flex-direction: row; }
    .hero-actions .btn,
    .hero-actions .btn-ghost-hero { width: auto; }
    .hero-overlay {
        background:
            linear-gradient(100deg, rgba(6,8,16,0.90) 0%, rgba(6,8,16,0.55) 50%, transparent 80%),
            linear-gradient(to bottom, transparent 60%, rgba(14,16,24,0.6) 100%);
    }
    .stats-bar          { display: none; }
    .layout             { padding: 0.65rem; gap: 0.75rem; }
    .product-grid       { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 0.45rem; }
    .card-img           { aspect-ratio: 4/3; }
}

/* ────────── Touch: mostrar footer de card siempre ────────── */
@media (hover: none) {
    .card-footer        { opacity: 1; transform: none; }
    .product-card:hover { transform: none; }
}

/* ────────── Print básico ────────── */
@media print {
    .navbar, .hero, .stats-bar, .sidebar, .pagination, .site-footer { display: none; }
    .layout { grid-template-columns: 1fr; padding: 0; }
    .product-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .product-card { border: 1px solid #ccc; box-shadow: none; }
}
