/* ============================================================
   STAFFEL TOPOGRAFÍA — ECOMMERCE STYLES (Light Theme)
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --orange:     #F26B1F;
  --orange-h:   #E05B12;
  --orange-lt:  #FFF3EA;
  --orange-md:  #FDDDC7;
  --navy:       #0D1B45;
  --navy-lt:    #1A2F6B;

  --bg:         #FFFFFF;
  --bg-s:       #F9FAFB;
  --bg-m:       #F3F4F6;

  --border:     #E5E7EB;
  --border-s:   #D1D5DB;

  --text:       #111827;
  --text-s:     #4B5563;
  --text-m:     #9CA3AF;

  --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.11);

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --container:  1280px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- Layout ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ---- Typography ---- */
.display { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.mono { font-family: 'JetBrains Mono', monospace; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1.5px; background: var(--orange); }
.section-title { font-size: clamp(26px,3.5vw,38px); color: var(--navy); }
.section-title .o { color: var(--orange); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-sub { font-size: 16px; color: var(--text-s); max-width: 480px; line-height: 1.65; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: all .2s ease; cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 16px rgba(242,107,31,.3); }
.btn-primary:hover { background: var(--orange-h); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(242,107,31,.35); }
.btn-outline { background: #fff; color: var(--navy); border: 1.5px solid var(--border-s); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-lt); }
.btn-ghost { background: transparent; color: var(--text-s); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--bg-s); color: var(--text); border-color: var(--border-s); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-icon { padding: 10px; border-radius: 50%; }
.btn-arrow { width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.btn-primary .btn-arrow { background: rgba(0,0,0,.15); }

/* ---- Badge / Tag ---- */
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.badge-orange { background: var(--orange-lt); color: var(--orange); }
.badge-green  { background: #DCFCE7; color: #16A34A; }
.badge-blue   { background: #DBEAFE; color: #2563EB; }
.badge-gray   { background: var(--bg-m); color: var(--text-s); }
.badge-red    { background: #FEE2E2; color: #DC2626; }
.badge-purple { background: #EDE9FE; color: #7C3AED; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.nav-top {
  display: flex; align-items: center; gap: 16px; justify-content: center;
  padding: 12px 24px; max-width: var(--container); margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 64px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.nav-logo-name { display: flex; flex-direction: column; align-items: flex-start; font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); line-height: 1.2; }
.nav-logo-name small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; color: var(--orange); text-transform: uppercase; font-weight: 500; white-space: nowrap; }

.nav-search-wrap { flex: 0 1 500px; min-width: 180px; max-width: 500px; position: relative; }
.nav-search-input {
  width: 100%; padding: 10px 16px 10px 42px;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-size: 14px; color: var(--text); background: var(--bg-s);
  transition: all .2s ease; outline: none;
}
.nav-search-input::placeholder { color: var(--text-m); }
.nav-search-input:focus { border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(242,107,31,.12); }
.nav-search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-m); pointer-events: none; }
.nav-search-btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: var(--orange); color: #fff; border: none; border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.nav-search-btn:hover { background: var(--orange-h); }
.nav-search-btn-icon { display: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%;
  background: var(--bg-s); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-s); transition: all .2s ease;
}
.nav-icon-btn:hover { background: var(--orange-lt); border-color: var(--orange); color: var(--orange); }
.nav-cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--orange); color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.nav-cotizar { background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; transition: background .2s; }
.nav-cotizar:hover { background: var(--navy-lt); }

/* Nav categories bar */
.nav-cats-bar { border-top: 1px solid var(--border); background: #fff; overflow-x: auto; scrollbar-width: none; }
.nav-cats-bar::-webkit-scrollbar { display: none; }
.nav-cats-inner { display: flex; gap: 0; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.nav-cat-link {
  padding: 10px 18px; font-size: 13.5px; font-weight: 700; color: var(--text-s);
  white-space: nowrap; border-bottom: 2.5px solid transparent;
  transition: all .2s ease; display: flex; align-items: center; gap: 7px;
}
.nav-cat-link:hover { color: var(--orange); border-bottom-color: var(--orange); background: var(--orange-lt); }
.nav-cat-link.active { color: var(--orange); border-bottom-color: var(--orange); font-weight: 600; }
.nav-cat-link svg { flex-shrink: 0; }

/* ── Nav responsive ── */
@media (max-width: 768px) {
  .nav-cotizar { display: none; }

  /* Nombre: reducir tamaño, mostrar subtítulo completo */
  .nav-logo-name { font-size: 14px; }
  .nav-logo-name small { font-size: 8px; letter-spacing: .08em; white-space: normal; line-height: 1.4; }

  /* Search: bajar a segunda fila, ancho completo */
  .nav-top { flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .nav-logo { flex: 1; min-width: 0; }
  .nav-actions { flex-shrink: 0; }
  .nav-search-wrap {
    order: 3;
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* Search input: cede espacio al botón */
  .nav-search-input {
    padding-right: 80px; /* espacio para el botón */
  }
  .nav-search-btn {
    padding: 5px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .nav-logo img { height: 40px; }
  .nav-logo-name { font-size: 12px; }
  .nav-logo-name small { font-size: 7px; }
  .nav-icon-btn { width: 36px; height: 36px; }
  .nav-search-input { padding-right: 48px; }
  .nav-search-btn { padding: 0; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
  .nav-search-btn-text { display: none; }
  .nav-search-btn-icon { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lt) 60%, #1e3a8a 100%);
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
}
.hero-eyebrow { color: rgba(242,107,31,.9); margin-bottom: 20px; font-size: 20px; font-weight: 700; letter-spacing: .05em; }
.hero-title { font-size: clamp(36px,5vw,62px); color: #fff; margin-bottom: 20px; }
.hero-title .accent { color: var(--orange); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.72); max-width: 500px; line-height: 1.65; margin-bottom: 36px; font-style: normal; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.2); padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
.hero-btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
.hero-stats { display: flex; gap: 36px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 32px; }
.hero-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-num .plus { color: var(--orange); }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.55); margin-top: 6px; }
.hero-visual { position: relative; display: flex; align-items: flex-start; justify-content: center; }
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 40px; backdrop-filter: blur(16px);
  text-align: center; width: 100%;
  box-shadow: 0 24px 48px rgba(0,0,0,.25);
}
.hero-card-img { width: 260px; height: 260px; object-fit: contain; margin: 0 auto 24px; filter: drop-shadow(0 16px 32px rgba(0,0,0,.3)); }
.hero-chip-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-chip {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.85);
  display: flex; align-items: center; gap: 6px;
}
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ============================================================
   CATEGORIES GRID (Home)
   ============================================================ */
.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 24px; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border); cursor: pointer;
  transition: all .25s ease; position: relative; overflow: hidden;
  background: var(--bg);
}
.cat-card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card-icon {
  width: 60px; height: 60px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.cat-card-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.cat-card-count { font-size: 12px; color: var(--text-m); font-family: 'JetBrains Mono', monospace; letter-spacing: .06em; }
.cat-card-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--text-m); transition: all .25s; }
.cat-card:hover .cat-card-arrow { right: 14px; color: var(--orange); }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 460px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg); cursor: pointer;
  transition: all .25s ease; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img-wrap { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-img-bg { position: absolute; inset: 0; }
.product-img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: contain; padding: 20px;
  transition: transform .3s ease;
}
.product-card:hover .product-img { transform: scale(1.04); }
.product-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: #fff;
  padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.product-tag.tag-premium { background: var(--navy); }
.product-tag.tag-promo   { background: #16A34A; }
.product-tag.tag-nuevo   { background: #2563EB; }
.product-tag.tag-bestseller { background: var(--orange); }
.product-unavail { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,.5); color: #fff; padding: 3px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; }
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-brand { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.product-name { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; flex: 1; }
.product-price { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; color: var(--navy); }
.product-price-label { font-size: 11px; font-weight: 400; color: var(--text-m); margin-left: 4px; }
.product-footer { display: flex; gap: 8px; margin-top: 8px; }
.product-footer .btn { flex: 1; justify-content: center; padding: 9px 12px; font-size: 12.5px; }
.product-stock { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #16A34A; font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.product-stock .dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }
.product-stock.out { color: var(--text-m); }
.product-stock.out .dot { background: var(--text-m); }
.product-stock.pedido { color: #D97706; }
.product-stock.pedido .dot { background: #F59E0B; }

/* ============================================================
   HERO BANNER (category page top banner)
   ============================================================ */
.cat-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%);
  padding: 48px 0; position: relative; overflow: hidden;
}
.cat-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cat-banner-inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 0 24px; text-align: center; }
.cat-banner-eyebrow { color: rgba(242,107,31,.9); margin-bottom: 12px; font-size: 14px; justify-content: center; }
.cat-banner-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(30px,4vw,48px); font-weight: 700; color: #fff; margin-bottom: 10px; }
.cat-banner-sub { font-size: 15px; color: rgba(255,255,255,.65); }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-m); }
.breadcrumb-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-m); transition: color .15s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--border-s); }
.breadcrumb .current { color: var(--text-s); font-weight: 500; }

/* ============================================================
   CATEGORY PAGE — Layout
   ============================================================ */
.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: flex-start; max-width: var(--container); margin: 0 auto; padding: 32px 24px 80px; }
@media (max-width: 900px) { .cat-layout { grid-template-columns: 1fr; } .filter-sidebar { display: none; } }

/* Filter sidebar */
.filter-sidebar { position: sticky; top: 120px; }
.filter-box { border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.filter-box-head { padding: 14px 18px; background: var(--bg-s); border-bottom: 1px solid var(--border); font-weight: 600; font-size: 13.5px; color: var(--navy); display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.filter-box-body { padding: 16px 18px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 7px 0; cursor: pointer; font-size: 13.5px; color: var(--text-s); transition: color .15s; }
.filter-option:hover { color: var(--orange); }
.filter-option input[type=checkbox] { accent-color: var(--orange); width: 15px; height: 15px; flex-shrink: 0; }
.filter-option-count { margin-left: auto; color: var(--text-m); font-size: 12px; }
.filter-clear { width: 100%; margin-top: 12px; }
.price-range-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--text-m); font-family: 'JetBrains Mono', monospace; }

/* Product area header */
.cat-main-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.cat-count { font-size: 14px; color: var(--text-s); }
.cat-count strong { color: var(--text); }
.cat-sort {
  padding: 9px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--text-s); background: var(--bg);
  outline: none; cursor: pointer;
}
.cat-sort:focus { border-color: var(--orange); }

/* Active filters */
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-pill {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--orange-lt); border: 1px solid var(--orange-md);
  font-size: 12px; color: var(--orange); font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.filter-pill:hover { background: var(--orange-md); }
.filter-pill-x { font-size: 14px; line-height: 1; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; max-width: var(--container); margin: 0 auto; padding: 40px 24px 80px; }
@media (max-width: 860px) { .detail-layout { grid-template-columns: 1fr; gap: 24px; } }
.detail-gallery { position: sticky; top: 100px; }
@media (max-width: 860px) { .detail-gallery { position: static; } }
.detail-main-img {
  aspect-ratio: 1; border-radius: var(--radius-xl);
  overflow: hidden; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-s); margin-bottom: 16px;
}
.detail-main-img img { width: 80%; height: 80%; object-fit: contain; }
.detail-thumbs { display: flex; gap: 10px; }
.detail-thumb {
  width: 72px; height: 72px; border-radius: var(--radius-md);
  border: 1.5px solid var(--border); overflow: hidden;
  cursor: pointer; transition: border-color .15s;
  background: var(--bg-s); display: flex; align-items: center; justify-content: center;
}
.detail-thumb:hover, .detail-thumb.active { border-color: var(--orange); }
.detail-thumb img { width: 80%; height: 80%; object-fit: contain; }
.detail-info { padding-top: 8px; }
.detail-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.detail-brand-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 800; font-size: 22px; color: var(--orange); letter-spacing: -.02em; }
.detail-name { font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px,3vw,30px); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 12px; }
.detail-stock-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.detail-stock { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #16A34A; }
.detail-stock .dot { width: 7px; height: 7px; border-radius: 50%; background: #22C55E; }
.detail-stock.out { color: var(--text-m); }
.detail-stock.out .dot { background: var(--text-m); }
.detail-stock.pedido { color: #D97706; }
.detail-stock.pedido .dot { background: #F59E0B; }
.detail-sku { font-size: 12px; color: var(--text-m); font-family: 'JetBrains Mono', monospace; }
.detail-desc { font-size: 15px; color: var(--text-s); line-height: 1.7; margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 28px; }
.detail-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-qty-label { font-size: 14px; font-weight: 500; color: var(--text-s); }
.detail-qty-ctrl { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.detail-qty-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-s); transition: all .15s; background: var(--bg-s); }
.detail-qty-btn:hover { background: var(--orange-lt); color: var(--orange); }
.detail-qty-num { padding: 0 16px; font-weight: 600; font-size: 15px; min-width: 40px; text-align: center; border-left: 1px solid var(--border); border-right: 1px solid var(--border); line-height: 38px; }
.detail-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.detail-ctas .btn { flex: 1; justify-content: center; }
.detail-specs { border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.detail-specs-title { padding: 14px 20px; background: var(--bg-s); border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14px; color: var(--navy); }
.detail-specs table { width: 100%; border-collapse: collapse; }
.detail-specs tr:not(:last-child) td { border-bottom: 1px solid var(--border); }
.detail-specs td { padding: 11px 20px; font-size: 13.5px; }
.detail-specs td:first-child { color: var(--text-m); width: 45%; }
.detail-specs td:last-child { color: var(--text); font-weight: 500; }

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header { padding: 48px 0 32px; border-bottom: 1px solid var(--border); }
.search-header-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.search-title { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.search-subtitle { font-size: 15px; color: var(--text-s); }
.search-highlight { color: var(--orange); font-weight: 700; }
.search-results { max-width: var(--container); margin: 0 auto; padding: 32px 24px 80px; }
.search-empty { text-align: center; padding: 80px 24px; }
.search-empty-icon { font-size: 56px; margin-bottom: 16px; }
.search-empty-title { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.search-empty-sub { font-size: 15px; color: var(--text-s); max-width: 380px; margin: 0 auto 28px; }

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands-section { background: var(--bg-s); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.brands-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-m); margin-bottom: 32px; }
.brands-row { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.brand-pill {
  padding: 10px 24px; border: 1.5px solid var(--border); border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--text-s); background: var(--bg);
  transition: all .2s ease; cursor: pointer;
}
.brand-pill:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-lt); }

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 900; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 95vw;
  background: var(--bg); box-shadow: -8px 0 40px rgba(0,0,0,.12);
  z-index: 901; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.cart-header-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--navy); }
.cart-close { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-s); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--text-s); cursor: pointer; transition: all .15s; }
.cart-close:hover { background: #FEE2E2; color: #DC2626; border-color: #FECACA; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--text-m); }
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; }
.cart-empty-text { font-size: 14px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item-img { width: 72px; height: 72px; border-radius: var(--radius-md); background: var(--bg-s); border: 1px solid var(--border); overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 80%; height: 80%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-brand { font-size: 11px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.cart-item-name { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.3; margin: 4px 0 10px; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; }
.cart-item-qty-btn { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-s); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; color: var(--text-s); transition: all .15s; }
.cart-item-qty-btn:hover { background: var(--orange-lt); color: var(--orange); border-color: var(--orange-md); }
.cart-item-qty-num { font-weight: 600; font-size: 14px; min-width: 20px; text-align: center; }
.cart-item-remove { margin-left: auto; color: var(--text-m); cursor: pointer; font-size: 15px; transition: color .15s; }
.cart-item-remove:hover { color: #DC2626; }
.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-subtotal { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; font-size: 15px; }
.cart-subtotal-label { color: var(--text-s); font-weight: 500; }
.cart-subtotal-val { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); }
.cart-note { font-size: 12px; color: var(--text-m); text-align: center; margin-top: 10px; }
.cart-footer .btn { width: 100%; justify-content: center; }

/* ============================================================
   RELATED PRODUCTS
   ============================================================ */
.related-section { border-top: 1px solid var(--border); padding: 56px 0 80px; }
.related-inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 24px; }
.foot-logo img { height: 100px; width: auto; object-fit: contain; }
.foot-logo-name { display: none; }
.foot-logo-name small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .2em; color: var(--orange); text-transform: uppercase; }
.foot-desc { font-size: 13.5px; color: rgba(255,255,255,.55); line-height: 1.65; max-width: 280px; margin-bottom: 24px; }
.foot-socials { display: flex; gap: 8px; }
.foot-social { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); transition: all .2s; }
.foot-social:hover { border-color: var(--orange); color: var(--orange); background: rgba(242,107,31,.12); }
.foot-col h5 { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: .02em; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .15s; }
.foot-col ul li a:hover { color: var(--orange); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.35);
}
.foot-bottom-brand { font-family: 'JetBrains Mono', monospace; letter-spacing: .1em; }
.foot-mega {
  font-family: 'Space Grotesk', sans-serif; font-weight: 900;
  font-size: clamp(60px,12vw,140px); color: rgba(255,255,255,.03);
  text-align: center; letter-spacing: -.05em; line-height: 1;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.04);
  overflow: hidden; user-select: none;
}

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .25s; font-size: 0;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.whatsapp-btn svg { flex-shrink: 0; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   MISC
   ============================================================ */
.no-products { text-align: center; padding: 60px 24px; color: var(--text-m); font-size: 15px; }
.loading { text-align: center; padding: 60px; color: var(--text-m); }

/* ============================================================
   MOBILE RESPONSIVE — comprehensive fixes
   ============================================================ */

/* ── Nav cats bar mobile ── */
@media (max-width: 640px) {
  .nav-cats-inner { padding: 0 12px; }
  .nav-cat-link { padding: 10px 12px; font-size: 12.5px; gap: 5px; }
}

/* ── Hero: better mobile ── */
@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero-inner { gap: 0; }
  .hero-eyebrow { font-size: 14px; margin-bottom: 14px; }
  .hero-title { font-size: clamp(28px, 8vw, 42px); margin-bottom: 14px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-btns { margin-bottom: 32px; }
  .hero-stats { gap: 20px; padding-top: 24px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 28px; }
}

/* ── Sections: reduce padding on mobile ── */
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .section-sm { padding: 36px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 28px; gap: 16px; }
  .section-sub { font-size: 14px; }
}

/* ── Categories grid: override inline 4-col on mobile ── */
@media (max-width: 900px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .cats-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .cat-card { padding: 18px 14px; }
  .cat-card-icon { width: 48px; height: 48px; margin-bottom: 12px; }
  .cat-card-name { font-size: 13.5px; }
  .cat-card-arrow { display: none; }
}

/* ── Products grid ── */
@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-footer { gap: 6px; }
  .product-footer .btn { font-size: 12px; padding: 8px 8px; }
}

/* ── Category banner ── */
@media (max-width: 640px) {
  .cat-banner { padding: 32px 0; }
  .cat-banner-title { font-size: clamp(22px, 7vw, 34px); }
}

/* ── Category layout on mobile ── */
@media (max-width: 640px) {
  .cat-layout { padding: 20px 16px 48px; gap: 20px; }
  .cat-main-head { gap: 10px; }
  .cat-sort { font-size: 12.5px; padding: 8px 12px; }
}

/* ── Product detail ── */
@media (max-width: 640px) {
  .detail-layout { padding: 20px 16px 48px; gap: 20px; }
  .detail-name { font-size: clamp(20px, 5vw, 26px); }
  .detail-ctas { gap: 8px; }
  .detail-ctas .btn { font-size: 13px; padding: 11px 14px; }
}

/* ── Footer ── */
@media (max-width: 640px) {
  .foot-mega { font-size: clamp(48px, 18vw, 90px); }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
}

/* ── WhatsApp button: move up on mobile ── */
@media (max-width: 640px) {
  .whatsapp-btn { bottom: 20px; right: 18px; width: 50px; height: 50px; }
}
