/* ============================================
   PPPRS — SISTEMA NEOBRUTALIST
   Flux Commerce · 2026
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;700;800;900&family=Barlow:wght@400;500;700;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --y: #FFE500;
  --r: #D10000;
  --rd: #A30000;
  --k: #111111;
  --k2: #1A1A1A;
  --w: #FFFFFF;
  --p: #F4F0E8;
  --g: #6B6B6B;
  --sh: 6px 6px 0 #111111;
  --sh-sm: 3px 3px 0 #111111;
  --sh-lg: 10px 10px 0 #111111;
  --sh-red: 8px 8px 0 #D10000;
  --sh-yellow: 8px 8px 0 #FFE500;
  --b: 4px solid #111111;
  --b2: 2px solid #111111;
  --b6: 6px solid #111111;
  --cond: 'Barlow Condensed', sans-serif;
  --body: 'Barlow', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

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

body {
  font-family: var(--body);
  font-size: 16px;
  background: var(--p);
  color: var(--k);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { cursor: pointer; font-family: var(--body); border: none; background: none; touch-action: manipulation; }
ul { list-style: none; }

/* ============================================
   TIPOGRAFÍA
   ============================================ */

.t-display { font-family: var(--cond); font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: -0.01em; }
.t-h1 { font-size: clamp(64px, 10vw, 120px); }
.t-h2 { font-size: clamp(40px, 6vw, 72px); }
.t-h3 { font-size: clamp(28px, 4vw, 48px); }
.t-h4 { font-size: clamp(20px, 3vw, 32px); }
.t-label { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; }
.t-body { font-family: var(--body); font-size: 16px; font-weight: 400; line-height: 1.6; }
.t-bold { font-weight: 700; }

/* ============================================
   LAYOUT
   ============================================ */

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--dark { background: var(--k); color: var(--w); }
.section--yellow { background: var(--y); }
.section--red { background: var(--r); color: var(--w); }
.section--white { background: var(--w); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   COMPONENTES BASE
   ============================================ */

/* Botones */
.btn {
  display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; gap: 8px;
  font-family: var(--cond); font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 28px; border: var(--b); box-shadow: var(--sh);
  -webkit-transition: -webkit-transform .1s, box-shadow .1s; transition: transform .1s, box-shadow .1s;
  white-space: nowrap;
}
.btn:hover { -webkit-transform: translate(-2px,-2px); transform: translate(-2px,-2px); box-shadow: 8px 8px 0 #111; }
.btn:active { -webkit-transform: translate(4px,4px); transform: translate(4px,4px); box-shadow: 2px 2px 0 #111; }

.btn--yellow { background: var(--y); color: var(--k); }
.btn--black  { background: var(--k); color: var(--y); }
.btn--red    { background: var(--r); color: var(--w); }
.btn--white  { background: var(--w); color: var(--k); }
.btn--outline { background: transparent; color: var(--k); }
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 18px 40px; font-size: 20px; }
.btn--full { width: 100%; }

/* Cards */
.card {
  background: var(--w); border: var(--b); box-shadow: var(--sh);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 #111; }
.card--dark { background: var(--k); color: var(--w); }
.card--yellow { background: var(--y); }
.card--paper { background: var(--p); }

/* Tags/Badges */
.badge {
  display: inline-block; font-family: var(--cond); font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: 2px;
  padding: 4px 10px; border: var(--b2);
}
.badge--yellow { background: var(--y); color: var(--k); }
.badge--red    { background: var(--r); color: var(--y); }
.badge--black  { background: var(--k); color: var(--y); }
.badge--agotado {
  background: var(--r);
  color: var(--y);
  border: 2px solid var(--k);
  box-shadow: 3px 3px 0 var(--k);
  font-family: var(--cond);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 5px 12px;
  display: inline-block;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

/* Divider */
.divider { width: 100%; height: 4px; background: var(--k); margin: 0; }

/* Eyebrow */
.eyebrow { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--r); margin-bottom: 12px; }

/* Mono label */
.mono { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; }

/* ============================================
   GRID BACKGROUND (como en el manual de marca)
   ============================================ */

.grid-bg { position: relative; }
.grid-bg::before {
  content: "";
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right,  rgba(17,17,17,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,17,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at 30% 40%, black 30%, transparent 80%);
}
.grid-bg > * { position: relative; z-index: 1; }
.grid-bg.dark::before {
  background-image:
    linear-gradient(to right,  rgba(255,229,0,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,229,0,.06) 1px, transparent 1px);
}
.grid-bg.red::before {
  background-image:
    linear-gradient(to right,  rgba(209,0,0,.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(209,0,0,.12) 1px, transparent 1px);
}

/* ============================================
   SECCIÓN PAPER / CREMA
   ============================================ */

.section--paper { background: var(--p); }

/* ============================================
   MARQUEE / TICKER
   ============================================ */

.marquee-band {
  background: var(--k); color: var(--y);
  border-top: var(--b); border-bottom: var(--b);
  overflow: hidden;
  white-space: nowrap;
  /* GPU layer prevents Safari overflow:hidden animation bug */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}
.marquee-band--yellow { background: var(--y); color: var(--k); }
.marquee-band--red    { background: var(--r); color: var(--y); }

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
  -webkit-animation: ticker 30s linear infinite;
          animation: ticker 30s linear infinite;
}
.marquee-band--yellow .marquee-track { -webkit-animation-duration: 22s; animation-duration: 22s; }
.marquee-band--red    .marquee-track { -webkit-animation-duration: 18s; animation-duration: 18s; }
.marquee-band:hover   .marquee-track { -webkit-animation-play-state: paused; animation-play-state: paused; }
.marquee-track--reverse { -webkit-animation-direction: reverse; animation-direction: reverse; }

@-webkit-keyframes ticker {
  0%   { -webkit-transform: translateX(0);    transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--cond); font-weight: 900; font-size: 18px;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 16px 28px;
  white-space: nowrap;
}
.marquee-sep {
  display: inline-block;
  width: 7px; height: 7px;
  background: currentColor;
  opacity: .5;
  flex-shrink: 0;
  vertical-align: middle;
  margin: 0 4px;
}

/* ============================================
   STAMP / SELLO ROTADO (como en el manual)
   ============================================ */

.stamp {
  display: inline-block;
  font-family: var(--cond); font-weight: 900; font-size: 18px;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 14px 22px;
  border: var(--b6); box-shadow: var(--sh);
}
.stamp--black  { background: var(--k); color: var(--y); }
.stamp--yellow { background: var(--y); color: var(--k); }
.stamp--red    { background: var(--r); color: var(--y); }
.stamp small   { display: block; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-top: 5px; opacity: .7; }

/* ============================================
   SECCIÓN — SECTION PAPER
   ============================================ */

.section--paper { background: var(--p); }

/* ============================================
   NAVEGACIÓN
   ============================================ */

.nav {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 100;
  background: var(--k); border-bottom: var(--b);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 24px; max-width: 1280px; margin: 0 auto;
}
.nav__logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--cond); font-weight: 900; font-size: 28px; color: var(--y);
  text-transform: uppercase; letter-spacing: -0.02em;
}
.nav__logo svg { width: 28px; height: 37px; }
.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__link {
  font-family: var(--cond); font-weight: 700; font-size: 15px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--w); padding: 8px 14px;
  border: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
}
.nav__link:hover, .nav__link.active { color: var(--y); border-color: var(--y); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__cart {
  position: relative; display: flex; align-items: center; gap: 6px;
  font-family: var(--cond); font-weight: 900; font-size: 14px; text-transform: uppercase;
  color: var(--y); background: transparent; border: 2px solid var(--y);
  padding: 6px 14px; transition: background .15s, color .15s;
}
.nav__cart:hover { background: var(--y); color: var(--k); }
.nav__cart-count {
  position: absolute; top: -8px; right: -8px;
  background: var(--r); color: var(--w);
  font-family: var(--body); font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 0; border: 2px solid var(--k);
  display: flex; align-items: center; justify-content: center;
}
.nav__user { font-family: var(--cond); font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--w); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav__hamburger span { display: block; width: 24px; height: 3px; background: var(--y); }

@media (max-width: 768px) {
  /* Drawer: desliza de derecha a izquierda, cubre 2/3 de pantalla */
  .nav__links {
    display: -webkit-flex; display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; right: 0;
    width: 67vw;
    height: calc(100vh - 64px);
    background: var(--k);
    border-left: 4px solid var(--y);
    padding: 0;
    z-index: 200;
    overflow-y: auto;
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
    -webkit-transition: transform .28s cubic-bezier(.4,0,.2,1);
            transition: transform .28s cubic-bezier(.4,0,.2,1);
  }
  .nav__links.open {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .nav__hamburger { display: flex; }

  /* Items del menú — alineados a la izquierda */
  .nav__link {
    display: -webkit-flex; display: flex;
    align-items: center;
    height: 56px; padding: 0 24px;
    font-family: var(--cond); font-weight: 900; font-size: 20px;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--w);
    border: none;
    border-bottom: 2px solid rgba(255,229,0,.15);
    text-align: left;
  }
  .nav__link:hover, .nav__link.active {
    color: var(--y);
    border-color: rgba(255,229,0,.15);
    background: transparent;
  }
}

/* ============================================
   HERO — HOME
   ============================================ */

.hero {
  background: var(--k); color: var(--w);
  min-height: calc(100vh - 64px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  position: relative; overflow: hidden;
}
.hero__bolt {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  opacity: .07; pointer-events: none;
}
.hero__bolt svg { width: 600px; height: 900px; }
.hero__content { padding: 80px 24px 80px 0; max-width: 640px; margin-left: auto; }
.hero__eyebrow { color: var(--y); margin-bottom: 20px; }
.hero__title { color: var(--w); margin-bottom: 24px; }
.hero__title em { color: var(--y); font-style: normal; }
.hero__sub { font-size: 18px; color: rgba(255,255,255,.7); margin-bottom: 40px; max-width: 480px; line-height: 1.6; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual { padding: 80px 24px; display: flex; justify-content: center; align-items: center; }
.hero__manifesto-card {
  background: var(--y); border: var(--b); box-shadow: var(--sh-lg);
  padding: 40px; max-width: 380px; transform: rotate(-2deg);
}
.hero__manifesto-card p { font-family: var(--cond); font-size: 28px; font-weight: 900; text-transform: uppercase; color: var(--k); line-height: 1; }
.hero__manifesto-card small { display: block; margin-top: 16px; font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--k); opacity: .6; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 60px 0 32px; max-width: 100%; }
  .hero__visual { display: none; }
}

/* ============================================
   SECCIÓN — POR QUÉ PPPRS
   ============================================ */

.why__header { margin-bottom: 60px; }
.why__header h2 { margin-bottom: 16px; }
.why__pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.pillar {
  background: var(--w); border: var(--b);
  padding: 40px 32px;
}
.pillar:nth-child(2) { background: var(--y); }
.pillar__num { font-family: var(--cond); font-size: 64px; font-weight: 900; color: var(--k); opacity: .08; line-height: 1; margin-bottom: 8px; }
.pillar__title { font-family: var(--cond); font-size: 28px; font-weight: 900; text-transform: uppercase; margin-bottom: 12px; }
.pillar__body { font-size: 15px; line-height: 1.6; color: var(--g); }
.pillar:nth-child(2) .pillar__body { color: var(--k); }

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

/* ============================================
   SECCIÓN — CATEGORÍAS HOME
   ============================================ */

.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.cat {
  padding: 48px 40px; border: var(--b);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 280px;
}
.cat--import { background: var(--k); color: var(--w); }
.cat--national { background: var(--y); color: var(--k); }
.cat__label { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; opacity: .5; }
.cat__title { font-family: var(--cond); font-size: 52px; font-weight: 900; text-transform: uppercase; line-height: .92; }
.cat__brands { font-size: 14px; line-height: 1.8; opacity: .7; }
.cat__price { font-family: var(--cond); font-size: 24px; font-weight: 900; }

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

/* ============================================
   CATÁLOGO — PRODUCTOS
   ============================================ */

.catalog__header { margin-bottom: 48px; }
.catalog__header h1 { margin-bottom: 8px; }
.filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px; padding-bottom: 24px;
  border-bottom: var(--b2);
}
.filter-btn {
  font-family: var(--cond); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px;
  padding: 8px 20px; border: var(--b2); background: transparent;
  transition: background .15s, color .15s, box-shadow .15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--k); color: var(--y); box-shadow: var(--sh-sm);
}
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

@media (max-width: 1024px) { .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: 480px) { .products-grid { grid-template-columns: 1fr; } }

/* Tarjeta de producto */
.product-card {
  background: var(--w); border: var(--b); box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.product-card:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 #111; }
.product-card__img {
  aspect-ratio: 1/1;
  background: var(--p);
  border-bottom: var(--b);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
/* Safari < 15: aspect-ratio ignorada — usar min-height como fallback */
@supports not (aspect-ratio: 1) {
  .product-card__img { aspect-ratio: unset; min-height: 220px; }
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__img-placeholder {
  font-family: var(--cond); font-size: 48px; font-weight: 900; color: var(--k); opacity: .1;
  text-transform: uppercase;
}
.product-card__badge { position: absolute; top: 12px; left: 12px; }
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card__name { font-family: var(--cond); font-size: 18px; font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.product-card__tagline { font-size: 13px; color: var(--g); line-height: 1.4; }
.product-card__footer { padding: 12px 16px; border-top: var(--b2); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-card__price { font-family: var(--cond); font-size: 22px; font-weight: 900; }
.product-card__price-old { font-size: 13px; color: var(--g); text-decoration: line-through; }
.product-card__add {
  font-family: var(--cond); font-weight: 900; font-size: 13px; text-transform: uppercase;
  padding: 8px 14px; background: var(--k); color: var(--y); border: var(--b2);
  box-shadow: 3px 3px 0 #111;
  transition: transform .1s, box-shadow .1s;
}
.product-card__add:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 #111; }
.product-card__add:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #111; }

/* ============================================
   FICHA DE PRODUCTO
   ============================================ */

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Galería de imágenes */
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-gallery__main {
  background: var(--p); border: var(--b); box-shadow: var(--sh);
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Safari < 15 fallback — aspect-ratio ignorada, forzamos cuadrado con padding */
@supports not (aspect-ratio: 1) {
  .product-gallery__main { aspect-ratio: unset; padding-top: 100%; height: 0; position: relative; }
  .product-gallery__main img { position: absolute; top: 0; left: 0; }
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: contain;
  -webkit-transition: opacity .2s; transition: opacity .2s;
}
.product-gallery__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumb {
  width: 72px; height: 72px; padding: 0;
  border: 3px solid transparent; box-shadow: none;
  overflow: hidden; background: var(--p); cursor: pointer;
  -webkit-transition: border-color .15s, box-shadow .15s; transition: border-color .15s, box-shadow .15s;
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { border-color: var(--r); }
.gallery-thumb.active { border-color: var(--k); box-shadow: 3px 3px 0 var(--k); }

/* Mantiene compatibilidad con el placeholder */
.product-detail__placeholder { font-family: var(--cond); font-size: 120px; font-weight: 900; color: var(--k); opacity: .06; }
/* Selector de variantes */
.variant-selector { margin-bottom: 20px; }
.variant-selector__label {
  font-family: var(--body); font-size: 11px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase; color: var(--k);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.variant-selector__label::after { content: '→'; font-size: 15px; letter-spacing: 0; }
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 28px; border: var(--b);
  background: var(--w); box-shadow: var(--sh-sm);
  font-family: var(--cond); font-weight: 900; font-size: 20px; text-transform: uppercase;
  min-width: 110px;
  -webkit-transition: background .12s, box-shadow .12s, -webkit-transform .12s;
          transition: background .12s, box-shadow .12s, transform .12s;
  cursor: pointer; color: var(--k);
}
.variant-btn:hover {
  background: var(--y);
  box-shadow: 7px 7px 0 #111;
  -webkit-transform: translate(-3px,-3px); transform: translate(-3px,-3px);
}
.variant-btn.active {
  background: var(--k); color: var(--y);
  box-shadow: var(--sh); cursor: default;
}
.variant-btn.active:hover { -webkit-transform: none; transform: none; }
.variant-btn__price {
  font-family: var(--body); font-size: 13px; font-weight: 700;
  margin-top: 5px; opacity: .65;
}
.variant-btn.active .variant-btn__price { color: var(--y); opacity: .8; }

/* Mobile: botones de variante en grid 2 columnas, full width */
@media (max-width: 768px) {
  .variant-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .variant-btn {
    min-width: 0;
    width: 100%;
    padding: 16px 12px;
    font-size: 18px;
  }
  .product-detail__ctas { flex-direction: column; }
  .product-detail__ctas .btn { width: 100%; justify-content: center; }
}

/* Touch: desactivar transform en hover para evitar estado "pegado" en mobile */
@media (hover: none) {
  .variant-btn:hover {
    background: var(--w);
    box-shadow: var(--sh-sm);
    -webkit-transform: none; transform: none;
  }
  .variant-btn.active:hover,
  .variant-btn:active {
    background: var(--k); color: var(--y);
    -webkit-transform: none; transform: none;
  }
}

.product-detail__name { font-size: clamp(36px,5vw,64px); margin-bottom: 12px; }
.product-detail__tagline { font-size: 20px; color: var(--g); margin-bottom: 32px; }
.product-detail__price-block { display: flex; align-items: baseline; gap: 16px; margin-bottom: 32px; }
.product-detail__price { font-family: var(--cond); font-size: 48px; font-weight: 900; color: var(--k); }
.product-detail__price-old { font-size: 20px; color: var(--g); text-decoration: line-through; }
.product-detail__discount { background: var(--r); color: var(--w); padding: 4px 10px; font-family: var(--cond); font-weight: 900; font-size: 16px; }
.product-detail__qty { display: flex; align-items: center; gap: 0; margin-bottom: 20px; border: var(--b); width: fit-content; }
.qty-btn { width: 44px; height: 44px; font-family: var(--cond); font-size: 24px; font-weight: 900; background: var(--p); border: none; }
.qty-btn:hover { background: var(--y); }
.qty-input { width: 60px; height: 44px; text-align: center; font-family: var(--cond); font-size: 20px; font-weight: 900; border: none; border-left: var(--b); border-right: var(--b); background: var(--w); }
.product-detail__ctas { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.product-detail__specs { border: var(--b); }
.spec-row { display: flex; border-bottom: var(--b2); }
.spec-row:last-child { border-bottom: none; }
.spec-row__label { width: 140px; padding: 14px 16px; font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; background: var(--p); border-right: var(--b2); flex-shrink: 0; }
.spec-row__val { padding: 14px 16px; font-size: 15px; }

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

/* ============================================
   CARRITO
   ============================================ */

.cart { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-items { border: var(--b); }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding: 20px; border-bottom: var(--b2); }
.cart-item:last-child { border-bottom: none; }
.cart-item__img { width: 80px; height: 80px; background: var(--p); border: var(--b2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--cond); font-size: 18px; font-weight: 900; text-transform: uppercase; }
.cart-item__price { font-family: var(--cond); font-size: 16px; font-weight: 700; }
.cart-item__total { font-family: var(--cond); font-size: 22px; font-weight: 900; text-align: right; }
.cart-item__remove { font-size: 20px; color: var(--r); cursor: pointer; margin-top: 4px; }
.cart-summary { background: var(--k); color: var(--w); border: var(--b); box-shadow: var(--sh); padding: 32px; position: sticky; top: 84px; }
.cart-summary__title { font-family: var(--cond); font-size: 28px; font-weight: 900; text-transform: uppercase; margin-bottom: 24px; color: var(--y); }
.cart-summary__row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.cart-summary__total { display: flex; justify-content: space-between; padding: 20px 0 24px; font-family: var(--cond); font-size: 32px; font-weight: 900; }
.cart-summary__total span:last-child { color: var(--y); }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty__icon { font-size: 80px; margin-bottom: 20px; opacity: .3; }

@media (max-width: 768px) {
  .cart { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ============================================
   FAQ
   ============================================ */

.faq-list { border: var(--b); }
.faq-item { border-bottom: var(--b2); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; cursor: pointer;
  font-family: var(--cond); font-size: 22px; font-weight: 900; text-transform: uppercase;
  gap: 16px;
}
.faq-q:hover { background: var(--y); }
.faq-q__icon { font-size: 28px; font-weight: 900; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-q { background: var(--k); color: var(--y); }
.faq-item.open .faq-q__icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 24px 28px; font-size: 16px; line-height: 1.7; background: var(--w); border-top: var(--b2); }
.faq-item.open .faq-a { display: block; }

/* ============================================
   CONTACTO
   ============================================ */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-channels { display: flex; flex-direction: column; gap: 4px; }
.contact-channel {
  padding: 28px 32px; border: var(--b);
  display: flex; align-items: flex-start; gap: 20px;
}
.contact-channel:nth-child(1) { background: var(--k); color: var(--w); }
.contact-channel:nth-child(2) { background: var(--y); }
.contact-channel:nth-child(3) { background: var(--p); }
.contact-channel__icon { font-size: 32px; flex-shrink: 0; }
.contact-channel__label { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 4px; opacity: .6; }
.contact-channel__title { font-family: var(--cond); font-size: 24px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.contact-channel__desc { font-size: 14px; opacity: .7; }
.contact-form { background: var(--w); border: var(--b); box-shadow: var(--sh); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 8px; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 14px 16px;
  font-family: var(--body); font-size: 16px;
  border: var(--b); background: var(--p);
  outline: none;
  transition: background .15s, box-shadow .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { background: var(--w); box-shadow: var(--sh-sm); }
.form-textarea { min-height: 140px; resize: vertical; }

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

/* ============================================
   FORO
   ============================================ */

.forum { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
@media (max-width: 768px) { .forum { grid-template-columns: 1fr; } }
.forum-cats { display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.forum-cat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border: var(--b);
  transition: transform .15s, box-shadow .15s;
}
.forum-cat:hover { transform: translate(-3px,-3px); box-shadow: var(--sh); }
.forum-cat:nth-child(1) { background: var(--k); color: var(--w); }
.forum-cat:nth-child(2) { background: var(--y); }
.forum-cat:nth-child(3) { background: var(--p); }
.forum-cat:nth-child(4) { background: var(--r); color: var(--w); }
.forum-cat__info { display: flex; align-items: center; gap: 16px; }
.forum-cat__icon { font-size: 28px; }
.forum-cat__name { font-family: var(--cond); font-size: 22px; font-weight: 900; text-transform: uppercase; }
.forum-cat__desc { font-size: 13px; opacity: .7; margin-top: 2px; }
.forum-cat__count { font-family: var(--cond); font-size: 18px; font-weight: 700; opacity: .5; }
.thread-list { border: var(--b); }
.thread-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 24px; border-bottom: var(--b2); transition: background .15s; }
.thread-item:last-child { border-bottom: none; }
.thread-item:hover { background: var(--p); }
.thread-item__cat { font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--r); margin-bottom: 4px; }
.thread-item__title { font-family: var(--cond); font-size: 20px; font-weight: 900; text-transform: uppercase; margin-bottom: 6px; }
.thread-item__meta { font-size: 13px; color: var(--g); }
.thread-item__stats { text-align: right; font-family: var(--cond); font-size: 16px; font-weight: 700; }
.thread-item__stats small { display: block; font-family: var(--body); font-size: 11px; color: var(--g); }
.forum-sidebar { display: flex; flex-direction: column; gap: 4px; }
.forum-sidebar-block { background: var(--k); color: var(--w); border: var(--b); padding: 24px; }
.forum-sidebar-block h3 { font-family: var(--cond); font-size: 20px; font-weight: 900; text-transform: uppercase; color: var(--y); margin-bottom: 16px; }

/* ============================================
   AUTH — Login / Registro
   ============================================ */

.auth-wrap { min-height: calc(100vh - 64px); display: flex; align-items: center; justify-content: center; background: var(--k); padding: 40px 24px; }
.auth-card { background: var(--w); border: var(--b); box-shadow: var(--sh-lg); padding: 48px; width: 100%; max-width: 460px; }
.auth-card__logo { text-align: center; margin-bottom: 32px; }
.auth-card__logo svg { width: 48px; height: 63px; }
.auth-card__title { font-family: var(--cond); font-size: 36px; font-weight: 900; text-transform: uppercase; text-align: center; margin-bottom: 8px; }
.auth-card__sub { font-size: 14px; color: var(--g); text-align: center; margin-bottom: 32px; }
.auth-card__footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--g); }
.auth-card__footer a { color: var(--k); font-weight: 700; text-decoration: underline; }

/* ============================================
   PERFIL DE USUARIO
   ============================================ */

.profile-header { background: var(--k); color: var(--w); padding: 48px 0; }
.profile-header__inner { display: flex; align-items: center; gap: 32px; }
.profile-avatar { width: 100px; height: 100px; background: var(--y); border: var(--b); display: flex; align-items: center; justify-content: center; font-family: var(--cond); font-size: 40px; font-weight: 900; color: var(--k); flex-shrink: 0; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-username { font-family: var(--cond); font-size: 48px; font-weight: 900; text-transform: uppercase; color: var(--y); }
.profile-meta { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }
.profile-stats { display: flex; gap: 32px; margin-top: 16px; }
.profile-stat { text-align: center; }
.profile-stat__n { font-family: var(--cond); font-size: 28px; font-weight: 900; color: var(--y); }
.profile-stat__l { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* ============================================
   CHECKOUT / PAGO
   ============================================ */

.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.checkout-form { background: var(--w); border: var(--b); box-shadow: var(--sh); padding: 40px; }
.checkout-form h2 { font-family: var(--cond); font-size: 28px; font-weight: 900; text-transform: uppercase; margin-bottom: 28px; }
.checkout-summary { background: var(--k); color: var(--w); border: var(--b); box-shadow: var(--sh); padding: 32px; position: sticky; top: 84px; }

@media (max-width: 768px) {
  .checkout { grid-template-columns: 1fr; gap: 20px; }
  .checkout-form { padding: 20px 16px; }
  .checkout-form h2 { font-size: 22px; margin-bottom: 20px; }
  .checkout-summary { padding: 20px 16px; position: static; order: -1; }
}

/* ============================================
   FOOTER
   ============================================ */

.footer { background: var(--k); color: var(--w); border-top: var(--b); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__logo { font-family: var(--cond); font-size: 40px; font-weight: 900; text-transform: uppercase; color: var(--y); margin-bottom: 16px; }
.footer__tagline { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.6; }
.footer__title { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--y); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
.footer__link:hover { color: var(--y); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.footer__legal { font-size: 12px; color: rgba(255,255,255,.3); }
.footer__whatsapp { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-size: 14px; font-weight: 700; text-transform: uppercase; color: #25D366; }

@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============================================
   ALERTAS / FLASH MESSAGES
   ============================================ */

.alert { padding: 16px 20px; border: var(--b); font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.alert--success { background: #d4f5e2; border-color: #111; }
.alert--error   { background: #ffe4e4; border-color: #D10000; color: #D10000; }
.alert--info    { background: var(--y); color: var(--k); }

/* ============================================
   UTILIDADES
   ============================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   ANIMACIONES Y MOVIMIENTO
   ============================================ */

/* Keyframes base */
@-webkit-keyframes fadeIn    { from { opacity:0; -webkit-transform:translateY(20px); } to { opacity:1; -webkit-transform:translateY(0); } }
@keyframes fadeIn    { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@-webkit-keyframes stampDrop { from { opacity:0; -webkit-transform:rotate(5deg) scale(.7); } to { opacity:1; -webkit-transform:rotate(5deg) scale(1); } }
@keyframes stampDrop { from { opacity:0; transform:rotate(5deg) scale(.7); } to { opacity:1; transform:rotate(5deg) scale(1); } }
@-webkit-keyframes pulse     { 0%,100% { opacity:.04; } 50% { opacity:.09; } }
@keyframes pulse     { 0%,100% { opacity:.04; } 50% { opacity:.09; } }

.fade-in    { -webkit-animation: fadeIn .4s ease forwards; animation: fadeIn .4s ease forwards; }

/* Scroll-reveal — aplicado via JS con IntersectionObserver */
.reveal {
  opacity: 0;
  -webkit-transform: translateY(32px); transform: translateY(32px);
  -webkit-transition: opacity .6s cubic-bezier(.16,1,.3,1), -webkit-transform .6s cubic-bezier(.16,1,.3,1);
          transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1);
}
.reveal.revealed       { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
.reveal-left           { opacity:0; -webkit-transform:translateX(-40px); transform:translateX(-40px); -webkit-transition: opacity .6s cubic-bezier(.16,1,.3,1), -webkit-transform .6s cubic-bezier(.16,1,.3,1); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal-left.revealed  { opacity:1; -webkit-transform:translateX(0); transform:translateX(0); }
.reveal-right          { opacity:0; -webkit-transform:translateX(40px);  transform:translateX(40px);  -webkit-transition: opacity .6s cubic-bezier(.16,1,.3,1), -webkit-transform .6s cubic-bezier(.16,1,.3,1); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal-right.revealed { opacity:1; -webkit-transform:translateX(0); transform:translateX(0); }
.reveal-scale          { opacity:0; -webkit-transform:scale(.94); transform:scale(.94); -webkit-transition: opacity .5s cubic-bezier(.16,1,.3,1), -webkit-transform .5s cubic-bezier(.16,1,.3,1); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.reveal-scale.revealed { opacity:1; -webkit-transform:scale(1); transform:scale(1); }

/* Stagger delays */
.delay-1 { -webkit-transition-delay: .1s !important; transition-delay: .1s !important; }
.delay-2 { -webkit-transition-delay: .2s !important; transition-delay: .2s !important; }
.delay-3 { -webkit-transition-delay: .3s !important; transition-delay: .3s !important; }
.delay-4 { -webkit-transition-delay: .4s !important; transition-delay: .4s !important; }

/* Hover en cards de categoría */
.cat-block {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 360px; padding: 72px 56px;
  position: relative; overflow: hidden;
  transition: filter .25s ease;
}
.cat-block::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255,255,255,.06);
  opacity: 0;
  -webkit-transition: opacity .25s;
          transition: opacity .25s;
}
.cat-block:hover::after { opacity: 1; }
.cat-block:hover { -webkit-filter: brightness(1.06); filter: brightness(1.06); }

/* Hover en product card — overlay + scale imagen */
.product-card { transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s; }
.product-card:hover { transform: translate(-4px,-4px); box-shadow: 10px 10px 0 #111; }
.product-card__img img { transition: transform .4s cubic-bezier(.16,1,.3,1); }
.product-card:hover .product-card__img img { transform: scale(1.06); }

/* Sello entrada */
.stamp-anim { -webkit-animation: stampDrop .7s cubic-bezier(.16,1,.3,1) .4s both; animation: stampDrop .7s cubic-bezier(.16,1,.3,1) .4s both; }

/* Bolt watermark pulsante */
.bolt-pulse { -webkit-animation: pulse 4s ease-in-out infinite; animation: pulse 4s ease-in-out infinite; }

/* Número fantasma */
.ghost-num {
  font-family: var(--cond); font-weight: 900; font-size: 380px; line-height: .8;
  color: var(--k); opacity: .04; pointer-events: none; user-select: none;
  letter-spacing: -.04em; position: absolute;
}

/* Línea decorativa animada */
.deco-line {
  height: 4px; background: var(--k);
  -webkit-transform-origin: left; transform-origin: left;
  -webkit-transform: scaleX(0); transform: scaleX(0);
  -webkit-transition: -webkit-transform .8s cubic-bezier(.16,1,.3,1); transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.revealed .deco-line, .deco-line.revealed { -webkit-transform: scaleX(1); transform: scaleX(1); }

/* Btn focus */
.btn:focus-visible {
  outline: 3px solid var(--y);
  outline-offset: 3px;
}

/* ============================================
   HOME PAGE SECTION LAYOUTS
   Replaces fragile [style*=] attribute selectors
   ============================================ */

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 68px);
  /* iOS Safari: 100vh includes browser chrome — override via JS --vh variable */
  min-height: calc(var(--vh, 1vh) * 100 - 68px);
}
@media (max-width: 768px) {
  .home-hero-grid { display: block; min-height: auto; }
  .home-hero-grid > div:last-child { display: none; }
}

.home-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 72px;
}
@media (max-width: 768px) {
  .home-why-grid { display: block; }
  .home-why-grid > * + * { margin-top: 40px; }
}

.home-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 768px) {
  .home-pillars-grid { grid-template-columns: 1fr; }
}

.home-cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .home-cats-grid { display: block; }
}

.home-forum-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .home-forum-grid { display: block; }
  .home-forum-grid > * + * { margin-top: 40px; }
}

/* Ghost number — scale down on mobile to prevent overflow */
@media (max-width: 768px) {
  .ghost-num { font-size: 160px; }
}

/* Hero bolt — reduce size on mobile */
@media (max-width: 768px) {
  .home-hero-grid .bolt-pulse { width: 220px !important; }
}

/* Filters — horizontal scroll on narrow screens */
@media (max-width: 600px) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-bottom: 24px;
    border-bottom: none;
    /* hide scrollbar visually */
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }
}

/* Gallery thumbs — horizontal scroll on mobile */
@media (max-width: 480px) {
  .product-gallery__thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-gallery__thumbs::-webkit-scrollbar { display: none; }
}

/* Spec rows — stack vertically on small screens */
@media (max-width: 480px) {
  .spec-row { flex-direction: column; }
  .spec-row__label {
    width: 100%;
    border-right: none;
    border-bottom: var(--b2);
  }
}

/* Footer bottom bar — single column on very narrow screens */
@media (max-width: 360px) {
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none; transition: none;
  }
  .marquee-track { animation: none; }
  .bolt-pulse    { animation: none; }
  .stamp-anim    { animation: none; }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */

/* Sticky WhatsApp button */
.wa-sticky {
  position: fixed; bottom: 24px; right: 24px; z-index: 998;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  border: 3px solid #111; box-shadow: 4px 4px 0 #111;
  padding: 12px 18px 12px 14px;
  text-decoration: none; font-family: var(--cond); font-weight: 900;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .15s, box-shadow .15s;
}
.wa-sticky:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 #111; }
.wa-sticky:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 #111; }
.wa-sticky__label { white-space: nowrap; }
@media (max-width: 480px) {
  .wa-sticky { padding: 12px; border-radius: 0; }
  .wa-sticky__label { display: none; }
}

.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  background: var(--k); color: var(--y);
  font-family: var(--cond); font-size: 16px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 24px; border: var(--b); box-shadow: var(--sh);
  pointer-events: auto;
  animation: fadeIn .25s ease;
}
.toast--success { background: var(--k); color: var(--y); }
.toast--error   { background: var(--r); color: var(--w); }

/* ============================================
   NAV DROPDOWN — Productos submenu
   Neobrutalist: borde duro, sombra amarilla
   ============================================ */

.nav__item--has-dropdown { position: relative; }

.nav__dropdown-toggle {
  display: -webkit-inline-flex; display: inline-flex;
  align-items: center; gap: 6px;
  font-family: var(--cond); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 1px; color: var(--w);
  padding: 8px 14px; border: 2px solid transparent;
  background: none; cursor: pointer;
  -webkit-transition: color .15s, border-color .15s, background .15s;
          transition: color .15s, border-color .15s, background .15s;
}
.nav__dropdown-toggle:hover,
.nav__dropdown-toggle.active { color: var(--y); border-color: var(--y); }

.nav__dropdown-caret {
  -webkit-transition: -webkit-transform .18s ease;
          transition: transform .18s ease;
  flex-shrink: 0;
}
.nav__item--has-dropdown:hover .nav__dropdown-caret,
.nav__item--has-dropdown.open  .nav__dropdown-caret {
  -webkit-transform: rotate(180deg); transform: rotate(180deg);
}

/* Dropdown panel */
.nav__dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 230px; list-style: none;
  background: var(--k);
  border: var(--b);
  box-shadow: 5px 5px 0 var(--y);
  opacity: 0; visibility: hidden;
  -webkit-transform: translateY(-6px); transform: translateY(-6px);
  -webkit-transition: opacity .15s, -webkit-transform .15s, visibility .15s;
          transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 300;
}
/* Mostrar en hover (desktop) */
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown,
.nav__item--has-dropdown.open .nav__dropdown {
  opacity: 1; visibility: visible;
  -webkit-transform: translateY(0); transform: translateY(0);
}

.nav__dropdown-item {
  display: -webkit-flex; display: flex;
  align-items: center; gap: 10px;
  padding: 14px 20px;
  font-family: var(--cond); font-weight: 900; font-size: 15px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--w);
  border-bottom: 2px solid rgba(255,229,0,.12);
  -webkit-transition: background .1s, color .1s;
          transition: background .1s, color .1s;
}
.nav__dropdown-item:last-child { border-bottom: none; }
.nav__dropdown-item:hover { background: var(--y); color: var(--k); }
.nav__dropdown-item.active { background: var(--r); color: var(--y); }

.nav__item-icon {
  display: block; flex-shrink: 0;
  color: var(--r);
  -webkit-transition: color .1s; transition: color .1s;
}
.nav__dropdown-item:hover .nav__item-icon { color: var(--k); }
.nav__dropdown-item.active .nav__item-icon { color: var(--y); }

/* Separador de categoría dentro del dropdown */
.nav__dropdown-divider {
  height: 2px; background: rgba(255,229,0,.12); margin: 0;
}

/* ── Móvil: dropdown dentro del menú hamburguesa — exacto al diseño Pencil ── */
@media (max-width: 768px) {
  .nav__item--has-dropdown { position: static; }

  /* Toggle "Productos" — texto izquierda, caret derecha */
  .nav__dropdown-toggle {
    display: -webkit-flex; display: flex;
    width: 100%; height: 56px; padding: 0 24px; border: none;
    font-family: var(--cond); font-weight: 900; font-size: 20px;
    letter-spacing: 1px; text-transform: uppercase;
    color: var(--w);
    justify-content: space-between; align-items: center;
    text-align: left;
    border-bottom: 2px solid rgba(255,229,0,.15);
    background: transparent;
  }
  .nav__dropdown-toggle:hover,
  .nav__dropdown-toggle.active {
    color: var(--y);
    border-color: rgba(255,229,0,.15);
    border-top: none; border-right: none; border-left: none;
    background: transparent;
  }
  /* Estado abierto: fondo #1A1A1A + texto amarillo + sin separador inferior */
  .nav__item--has-dropdown.open .nav__dropdown-toggle {
    background: #1A1A1A;
    color: var(--y);
    border-bottom: none;
  }

  /* Submenú — bg #0A0A0A + borde izquierdo amarillo 4px */
  .nav__dropdown {
    position: static;
    opacity: 1; visibility: visible;
    -webkit-transform: none; transform: none;
    box-shadow: none; border: none;
    border-left: 4px solid var(--y);
    background: #0A0A0A;
    display: none;
    -webkit-transition: none; transition: none;
  }
  .nav__item--has-dropdown.open .nav__dropdown { display: block; }

  /* Subitems — Barlow Condensed 700 16px, height 48px, padding 0 40px */
  .nav__dropdown-item {
    height: 48px; padding: 0 40px;
    font-family: var(--cond); font-weight: 700; font-size: 16px;
    letter-spacing: 1px;
    gap: 10px;
    border-bottom: 1px solid rgba(255,229,0,.08);
    color: var(--w);
  }
  .nav__dropdown-item:last-child { border-bottom: none; }
  .nav__dropdown-item:hover { background: rgba(255,229,0,.06); color: var(--w); }
  .nav__dropdown-item.active { background: transparent; color: var(--y); }
  .nav__dropdown-item.active .nav__item-icon { color: var(--r); }
}

/* ============================================
   BLOG EDITORIAL
   ============================================ */

/* Hero */
.blog-hero {
  background: var(--k); color: var(--w);
  border-bottom: var(--b); position: relative; overflow: hidden;
}
.blog-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,229,0,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,229,0,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.blog-hero__inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; padding-top: 72px; padding-bottom: 0; position: relative; z-index: 1;
  flex-wrap: wrap;
}
.blog-hero__eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--y); opacity: .6; margin-bottom: 16px;
}
.blog-hero__title {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(72px, 12vw, 160px); line-height: .84;
  color: var(--w); margin-bottom: 20px;
}
.blog-hero__sub {
  font-size: 16px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 360px;
}
.blog-hero__stamp {
  flex-shrink: 0; background: var(--y); color: var(--k);
  border: var(--b); padding: 24px 28px; text-align: center;
  box-shadow: var(--sh); align-self: flex-end; margin-bottom: 0;
}
.blog-hero__stamp span:first-child {
  font-family: var(--cond); font-weight: 900; font-size: 56px; line-height: 1; display: block;
}
.blog-hero__stamp span:last-child {
  font-family: var(--cond); font-weight: 900; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
}

/* Category tab bar */
.blog-cats-bar {
  border-top: 2px solid rgba(255,229,0,.18); margin-top: 40px;
  position: relative; z-index: 1;
}
.blog-tab {
  font-family: var(--cond); font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,229,0,.55); text-decoration: none;
  padding: 14px 20px; white-space: nowrap; display: inline-block;
  border-right: 1px solid rgba(255,229,0,.12);
  transition: color .15s, background .15s;
}
.blog-tab:hover { color: var(--y); background: rgba(255,229,0,.06); }
.blog-tab.active { color: var(--k); background: var(--y); }

/* Featured post */
.blog-featured-wrap { background: var(--p); border-bottom: var(--b); padding: 56px 0; }
.blog-featured {
  display: grid; grid-template-columns: 1.1fr 1fr; border: var(--b);
  text-decoration: none; color: var(--k); background: var(--w);
  box-shadow: var(--sh); transition: transform .15s, box-shadow .15s;
}
.blog-featured:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 #111; }
.blog-featured__img { aspect-ratio: 4/3; overflow: hidden; border-right: var(--b); }
.blog-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-featured__img--placeholder {
  aspect-ratio: 4/3; background: var(--k);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 900; font-size: 64px;
  color: var(--y); opacity: .15;
}
.blog-featured__body { padding: 36px 40px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.blog-featured__title {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(24px, 3vw, 42px); line-height: 1.05;
}
.blog-featured__excerpt { font-size: 15px; color: var(--g); line-height: 1.7; }
.blog-featured__meta { font-size: 12px; color: var(--g); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blog-featured__cta {
  display: inline-block; font-family: var(--cond); font-weight: 900; font-size: 14px;
  text-transform: uppercase; letter-spacing: .1em;
  background: var(--k); color: var(--y);
  padding: 10px 20px; border: var(--b2); box-shadow: 3px 3px 0 #111;
  align-self: flex-start; margin-top: auto;
}

/* Post grid */
.blog-grid-wrap { background: var(--w); padding: 56px 0 100px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-card {
  display: flex; flex-direction: column;
  border: var(--b); text-decoration: none; color: var(--k); background: var(--p);
  transition: transform .15s, box-shadow .15s;
}
.blog-card:hover { transform: translate(-3px,-3px); box-shadow: var(--sh); }
.blog-card__img { aspect-ratio: 16/9; overflow: hidden; border-bottom: var(--b2); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.blog-card:hover .blog-card__img img { transform: scale(1.04); }
.blog-card__img--placeholder {
  aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center;
  border-bottom: var(--b2);
}
.blog-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card__title {
  font-family: var(--cond); font-weight: 900; font-size: 20px; line-height: 1.15;
}
.blog-card__excerpt { font-size: 13px; color: var(--g); line-height: 1.6; flex: 1; }
.blog-card__footer {
  font-size: 11px; color: var(--g); display: flex; align-items: center; gap: 6px;
  border-top: var(--b2); padding-top: 12px; margin-top: auto; flex-wrap: wrap;
}

/* Category tag (shared blog+foro) */
.blog-cat-tag {
  font-family: var(--cond); font-weight: 900; font-size: 10px;
  text-transform: uppercase; letter-spacing: .15em;
  padding: 3px 10px; border: 1px solid rgba(0,0,0,.2);
  display: inline-block; flex-shrink: 0;
}
.blog-meta-dot { opacity: .3; }

/* Empty state */
.blog-empty {
  text-align: center; padding: 80px 20px;
  border: var(--b2); border-style: dashed; color: var(--g);
}
.blog-empty__icon { font-size: 48px; margin-bottom: 16px; opacity: .4; display: block; }
.blog-empty h3 { font-family: var(--cond); font-weight: 900; font-size: 24px; margin-bottom: 8px; color: var(--k); }

/* ── Article page ── */
.art-hero {
  background: var(--k); color: var(--w);
  border-bottom: var(--b); position: relative; overflow: hidden;
}
.art-hero__cover {
  position: absolute; inset: 0;
}
.art-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-hero__cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,.65) 0%, rgba(17,17,17,.85) 100%);
}
.art-hero__inner {
  position: relative; z-index: 1;
  padding-top: 64px; padding-bottom: 56px;
  display: flex; flex-direction: column; gap: 16px; max-width: 780px;
}
.art-hero__inner--over { padding-top: 80px; padding-bottom: 72px; }
.art-back {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.5); text-decoration: none;
  display: inline-block; margin-bottom: 8px;
}
.art-back:hover { color: var(--y); }
.art-title {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(32px, 6vw, 72px); line-height: .95; color: var(--w);
}
.art-meta {
  font-size: 13px; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.art-meta__author { font-weight: 700; color: rgba(255,255,255,.75); }

/* Article body layout */
.art-body-wrap { background: var(--p); padding: 64px 0 100px; }
.art-body-layout {
  display: grid; grid-template-columns: 1fr 260px; gap: 48px; align-items: start;
}
.art-lead {
  font-family: var(--cond); font-weight: 700; font-size: 22px;
  line-height: 1.4; color: var(--k); border-left: 4px solid var(--y);
  padding-left: 20px; margin-bottom: 32px;
}
.art-content { font-size: 16px; line-height: 1.8; color: #2a2a2a; }
.art-content h2 { font-family: var(--cond); font-weight: 900; font-size: 32px; margin: 40px 0 16px; border-bottom: var(--b2); padding-bottom: 10px; }
.art-content h3 { font-family: var(--cond); font-weight: 900; font-size: 24px; margin: 32px 0 12px; }
.art-content p  { margin-bottom: 20px; }
.art-content ul, .art-content ol { margin: 0 0 20px 24px; }
.art-content li { margin-bottom: 8px; }
.art-content blockquote {
  border-left: 4px solid var(--y); padding: 16px 24px;
  background: var(--w); border-top: var(--b2); border-bottom: var(--b2);
  font-family: var(--cond); font-size: 20px; font-weight: 700;
  color: var(--k); margin: 32px 0;
}
.art-content img { max-width: 100%; border: var(--b2); display: block; margin: 24px auto; }
.art-content strong { font-weight: 700; }
.art-content a { color: var(--r); text-decoration: underline; }

/* Article sidebar */
.art-sidebar { display: flex; flex-direction: column; gap: 0; border: var(--b); background: var(--k); position: sticky; top: 72px; }
.art-sidebar-block { padding: 18px 20px; border-bottom: 2px solid rgba(255,229,0,.12); }
.art-sidebar-block:last-child { border-bottom: none; }
.art-sidebar-block__label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 8px; }
.art-sidebar-block__val   { font-family: var(--cond); font-weight: 900; font-size: 18px; color: var(--w); }
.art-share-btn {
  display: block; font-family: var(--cond); font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 8px 14px; border: var(--b2); text-decoration: none;
  color: var(--w); transition: background .12s, color .12s;
}
.art-share-btn:hover { background: var(--y); color: var(--k); }
.art-share-btn--wa { background: #25D366; border-color: #111; }

/* Related */
.blog-related-wrap { background: var(--k); padding: 64px 0; border-top: var(--b); }
.blog-related-title {
  font-family: var(--cond); font-weight: 900; font-size: clamp(32px,5vw,56px);
  color: var(--w); margin-bottom: 32px;
}

/* Responsive — blog */
@media (max-width: 960px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img { border-right: none; border-bottom: var(--b2); aspect-ratio: 16/9; }
  .art-body-layout { grid-template-columns: 1fr; }
  .art-sidebar { position: static; }
  .blog-grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-hero__inner { padding-top: 48px; }
  .blog-hero__title { font-size: 72px; }
  .blog-hero__stamp { display: none; }
  .blog-grid--3 { grid-template-columns: 1fr; }
  .blog-featured__body { padding: 20px; }
}

/* ============================================
   FORO — REDESIGN
   ============================================ */

/* Hero */
.foro-hero {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: end;
  padding-bottom: 48px;
}
.foro-hero__stats { display: flex; flex-direction: column; gap: 0; border: var(--b); border-color: rgba(255,229,0,.25); }
.foro-stat {
  padding: 20px 24px;
  border-bottom: 2px solid rgba(255,229,0,.15);
}
.foro-stat:last-child { border-bottom: none; }
.foro-stat--yellow { background: var(--y); }
.foro-stat--yellow .foro-stat__num  { color: var(--k); }
.foro-stat--yellow .foro-stat__label { color: rgba(17,17,17,.6); }
.foro-stat__num { font-family: var(--cond); font-weight: 900; font-size: 40px; color: var(--w); line-height: 1; }
.foro-stat__label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 4px; }

/* Category tab bar */
.foro-cats-bar {
  display: flex;
  gap: 0;
  border-top: var(--b);
  border-color: rgba(255,229,0,.2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.foro-cats-bar::-webkit-scrollbar { display: none; }
.foro-tab {
  font-family: var(--cond); font-weight: 900; font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,229,0,.55); text-decoration: none;
  padding: 14px 20px; white-space: nowrap;
  border-right: 1px solid rgba(255,229,0,.12);
  transition: color .15s, background .15s;
}
.foro-tab:hover { color: var(--y); background: rgba(255,229,0,.06); }
.foro-tab.active { color: var(--k); background: var(--y); border-right-color: var(--y); }

/* Featured / Blog grid */
.foro-featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.foro-featured-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--w); border: var(--b); padding: 28px;
  text-decoration: none; color: var(--k);
  transition: box-shadow .15s, transform .15s;
}
.foro-featured-card:hover { box-shadow: var(--sh); transform: translate(-2px,-2px); }
.foro-featured-card--big { grid-row: span 2; }
.foro-featured-card__cat {
  font-family: var(--cond); font-weight: 900; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 4px 10px; align-self: flex-start;
  border: 2px solid rgba(0,0,0,.12);
}
.foro-featured-card__title {
  font-family: var(--cond); font-weight: 900;
  font-size: clamp(18px,2.5vw,28px); line-height: 1.1;
}
.foro-featured-card--big .foro-featured-card__title { font-size: clamp(22px,3vw,38px); }
.foro-featured-card__excerpt { font-size: 13px; color: var(--g); line-height: 1.6; flex: 1; }
.foro-featured-card__footer {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--g); flex-wrap: wrap;
  border-top: var(--b2); padding-top: 14px; margin-top: auto;
}

/* Avatar */
.foro-avatar {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--k); color: var(--y);
  border: var(--b2); display: flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 900; font-size: 14px; line-height: 1;
}
.foro-avatar--sm { width: 28px; height: 28px; font-size: 10px; border-width: 1px; }

/* Main layout */
.foro-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }

/* Thread list */
.foro-thread-list { display: flex; flex-direction: column; }
.foro-thread-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: var(--b2);
  text-decoration: none; color: var(--k);
  transition: background .12s;
}
.foro-thread-card:last-child { border-bottom: none; }
.foro-thread-card:hover { background: #fafafa; }
.foro-thread-card--pinned { background: #fffdf0; }
.foro-thread-card--pinned:hover { background: #fff9d4; }
.foro-thread-card__body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.foro-thread-card__tags { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.foro-thread-card__title {
  font-family: var(--cond); font-weight: 900; font-size: 17px; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.foro-thread-card__meta { font-size: 11px; color: var(--g); }
.foro-thread-card__stats { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.foro-thread-card__stat { text-align: right; line-height: 1.2; }
.foro-thread-card__stat strong { font-family: var(--cond); font-weight: 900; font-size: 18px; display: block; }
.foro-thread-card__stat span  { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--g); }
.foro-thread-card__time { font-family: var(--mono); font-size: 11px; color: var(--g); white-space: nowrap; }

/* Category + status tags */
.foro-cat-tag {
  font-family: var(--cond); font-weight: 900; font-size: 10px;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 2px 8px; border: 1px solid rgba(0,0,0,.15);
}
.foro-tag-pin, .foro-tag-lock, .foro-tag-hot {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; padding: 2px 6px;
}
.foro-tag-pin  { background: #fffbe6; color: #7a6000; border: 1px solid #e6d000; }
.foro-tag-lock { background: #f5f5f5; color: #555; border: 1px solid #ccc; }
.foro-tag-hot  { background: #fff0f0; color: #c00; border: 1px solid #f00; }

/* Join banner */
.foro-join-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--k); color: var(--w);
  border: var(--b); padding: 20px 24px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.foro-join-banner__title { font-family: var(--cond); font-weight: 900; font-size: 20px; margin-bottom: 4px; }
.foro-join-banner__sub   { font-size: 13px; color: rgba(255,255,255,.55); }

/* Sidebar */
.foro-sidebar-new { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 72px; }
.foro-sidebar-block {
  border: var(--b); padding: 20px;
  background: var(--k); color: var(--w);
}
.foro-sidebar-block--yellow { background: var(--y); color: var(--k); }
.foro-sidebar-block--yellow .foro-sidebar-block__title { color: var(--k); }
.foro-sidebar-block__title {
  font-family: var(--cond); font-weight: 900; font-size: 14px;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--y); margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,229,0,.18);
  padding-bottom: 10px;
}
.foro-sidebar-cat {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none; color: var(--w);
  transition: opacity .12s;
}
.foro-sidebar-cat:last-child { border-bottom: none; }
.foro-sidebar-cat:hover { opacity: .7; }
.foro-sidebar-cat.active .foro-sidebar-cat__name { color: var(--y); }
.foro-sidebar-cat__icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; border: 1px solid rgba(0,0,0,.15);
}
.foro-sidebar-cat__name  { font-size: 13px; font-weight: 700; line-height: 1.2; }
.foro-sidebar-cat__count { font-size: 11px; color: rgba(255,255,255,.4); }

/* Empty state */
.foro-empty {
  text-align: center; padding: 80px 20px;
  border: var(--b2); border-style: dashed;
}
.foro-empty__icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.foro-empty h3 { font-family: var(--cond); font-weight: 900; font-size: 24px; margin-bottom: 8px; }
.foro-empty p  { font-size: 14px; color: var(--g); }

/* Utilities used in foro */
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }

/* Responsive — foro */
@media (max-width: 960px) {
  .foro-hero { grid-template-columns: 1fr; padding-bottom: 32px; }
  .foro-hero__stats { flex-direction: row; border: none; border-top: var(--b); border-color: rgba(255,229,0,.25); }
  .foro-stat { flex: 1; border-bottom: none; border-right: 1px solid rgba(255,229,0,.15); padding: 16px 12px; }
  .foro-stat:last-child { border-right: none; }
  .foro-layout { grid-template-columns: 1fr; }
  .foro-sidebar-new { position: static; order: -1; }
  .foro-featured-grid { grid-template-columns: 1fr; }
  .foro-featured-card--big { grid-row: auto; }
}
@media (max-width: 600px) {
  .foro-thread-card { grid-template-columns: 36px 1fr; }
  .foro-thread-card__stats { display: none; }
  .foro-thread-card__title { font-size: 15px; white-space: normal; }
  .foro-cats-bar { border-top: 1px solid rgba(255,229,0,.2); }
}
