/* General Product storefront template */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

:root {
  --bg: #FFFFFF;
  --bg2: #F7F7F7;
  --bg3: #EFEFEF;
  --ink: #111111;
  --ink2: #333333;
  --ink3: #777777;
  --mu: #AAAAAA;
  --bo: rgba(0, 0, 0, .08);
  --bo2: rgba(0, 0, 0, .04);
  --ac: #1C1C1C;
  --wa: #25D366;
  --r: 0px;
  --fd: 'Archivo', sans-serif;
  --fs: 'Spectral', Georgia, serif;
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fd);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* ── ANIMACIONES ── */
@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* ════════════════════════════════════
   BANNER ANUNCIO — franja superior
════════════════════════════════════ */
.announcement {
  background: var(--ac);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .5px;
  overflow: hidden;
  position: relative;
}

.announcement-inner {
  display: inline-flex;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  gap: 80px;
}

.ann-item {
  display: inline-block
}

/* ════════════════════════════════════
   HEADER — dos estados: expandido y colapsado
════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bo);
  transition: all .25s;
  animation: fadeIn .3s ease both;
}

/* Estado expandido */
.header-top {
  padding: 18px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .25s;
}

.logo {
  font-family: var(--fs);
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.5px;
  line-height: 1;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  max-width: 210px;
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.header-top-r {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.social-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  text-decoration: none;
  transition: color .15s;
  letter-spacing: .3px;
}

.social-link:hover {
  color: var(--ink)
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  padding: 9px 18px;
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .15s;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.cart-btn:hover {
  background: var(--ac)
}

.cart-count {
  background: rgba(255, 255, 255, .2);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav de categorías — siempre visible */
.header-nav {
  padding: 10px 40px;
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--bo2);
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
  display: none
}

.nav-link {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}

.nav-link:hover {
  color: var(--ink)
}

.nav-link.active {
  color: var(--ink);
  border-bottom-color: var(--ink)
}

/* Header colapsado — al hacer scroll */
header.collapsed .header-top {
  padding: 12px 40px
}

header.collapsed .logo {
  font-size: 18px
}

header.collapsed .logo-img {
  max-height: 24px;
}

header.collapsed .header-social {
  display: none
}

@media(max-width:768px) {
  .header-top {
    padding: 14px 20px 0
  }

  .header-nav {
    padding: 8px 20px
  }

  .header-social {
    display: none
  }
}

/* ════════════════════════════════════
   CARRITO LATERAL
════════════════════════════════════ */
.cart-ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s
}

.cart-ov.open {
  opacity: 1;
  pointer-events: all
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 100vw;
  background: #fff;
  z-index: 300;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0)
}

.cart-hd {
  padding: 20px 24px;
  border-bottom: 1px solid var(--bo);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-hd-title {
  font-family: var(--fs);
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.3px;
}

.cart-x {
  width: 28px;
  height: 28px;
  background: var(--bg2);
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.cart-x:hover {
  background: var(--bg3)
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px
}

.cart-empty {
  text-align: center;
  padding: 48px 0;
  font-family: var(--fs);
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
  color: var(--mu);
}

.ci {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--bo2);
}

.ci-img {
  width: 64px;
  height: 64px;
  background: var(--bg2);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ci-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.ci-info {
  flex: 1
}

.ci-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3
}

.ci-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink)
}

.ci-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px
}

.qbtn {
  width: 22px;
  height: 22px;
  border: 1px solid var(--bo);
  background: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .13s;
}

.qbtn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.qval {
  font-size: 13px;
  font-weight: 700;
  min-width: 18px;
  text-align: center
}

.cart-ft {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--bo);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.cart-total-lbl {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--ink3)
}

.cart-total-val {
  font-family: var(--fs);
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

.cart-wa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  padding: 13px;
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: filter .15s;
}

.cart-wa-btn:hover {
  filter: brightness(1.08)
}

/* ════════════════════════════════════
   HERO / BANNER OPCIONAL
   Si el negocio tiene imagen de banner la muestra,
   si no, muestra solo el nombre grande
════════════════════════════════════ */
.hero {
  border-bottom: 1px solid var(--bo);
  animation: fadeUp .5s ease both;
}

.hero-text-only {
  padding: 64px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-store-name {
  font-family: var(--fs);
  font-size: clamp(48px, 8vw, 96px);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -3px;
  line-height: .9;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-cats-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-cat-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink3);
  padding: 6px 16px;
  border: 1px solid var(--bo);
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
}

.hero-cat-pill:hover,
.hero-cat-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

@media(max-width:768px) {
  .hero-text-only {
    padding: 48px 20px
  }
}

/* ════════════════════════════════════
   TOOLBAR — filtros + contador
════════════════════════════════════ */
.toolbar {
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bo);
  background: var(--bg);
  position: sticky;
  top: var(--header-h, 104px);
  z-index: 100;
  gap: 12px;
  flex-wrap: wrap;
}

@media(max-width:768px) {
  .toolbar {
    padding: 10px 20px
  }
}

.filter-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}

.filter-scroll::-webkit-scrollbar {
  display: none
}

.filter-btn {
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink3);
  background: transparent;
  border: 1px solid var(--bo);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--ink3);
  color: var(--ink)
}

.filter-btn.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.toolbar-r {
  font-size: 12px;
  font-weight: 400;
  color: var(--mu);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ════════════════════════════════════
   GRID DE PRODUCTOS
   El primer producto destacado es 2x más grande
════════════════════════════════════ */
.products-grid {
  padding: 32px 40px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bo2);
}

@media(max-width:1100px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 0 80px;
    gap: 1px
  }
}

@media(max-width:400px) {
  .products-grid {
    display: flex;
    flex-direction: column;
  }
}

.pcard {
  background: var(--bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: fadeUp .4s ease both;
}

.pcard.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.pcard:hover .pcard-img-main {
  transform: scale(1.04)
}

.pcard:hover .pcard-img-hover {
  opacity: 1
}

.pcard:hover .pcard-wa {
  opacity: 1;
  transform: translateY(0)
}

/* Imagen */
.pcard-img-wrap {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--bg2);
}

.pcard.featured .pcard-img-wrap {
  aspect-ratio: 1
}

.pcard-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.pcard-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}

/* Placeholder cuando no hay imagen */
.pcard-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  font-family: var(--fs);
  font-size: clamp(24px, 4vw, 48px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, .7);
}

/* Badges */
.pcard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  background: #fff;
  color: var(--ink);
}

.pcard-badge-agotado {
  background: var(--ink);
  color: #fff
}

/* Botón WhatsApp — aparece en hover */
.pcard-wa {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--wa);
  color: #fff;
  padding: 10px;
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
}

.pcard-wa:hover {
  filter: brightness(1.08)
}

.pcard-wa-agotado {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  padding: 10px;
  text-align: center;
  background: rgba(255, 255, 255, .85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mu);
}

/* Info del producto */
.pcard-info {
  padding: 12px 14px 16px;
  border-top: 1px solid var(--bo2);
}

.pcard-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: 4px;
}

.pcard-name {
  font-family: var(--fs);
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 6px;
}

.pcard.featured .pcard-name {
  font-size: 20px
}

.pcard-price {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
}

.pcard-price-agotado {
  color: var(--mu);
  font-weight: 400
}

/* Botón agregar al carrito en info */
.pcard-add {
  margin-top: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  padding: 9px;
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .15s;
  opacity: 0;
  height: 0;
  overflow: hidden;
  padding: 0;
  transition: all .2s;
}

.pcard:hover .pcard-add:not(.disabled) {
  opacity: 1;
  height: 36px;
  padding: 9px;
}

.pcard-add:hover {
  background: var(--ac)
}

.pcard-add.disabled {
  cursor: not-allowed;
  background: var(--bg3);
  color: var(--mu)
}

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 36px 40px;
}

@media(max-width:768px) {
  footer {
    padding: 28px 20px
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

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

.footer-brand {
  font-family: var(--fs);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, .85);
  letter-spacing: -.5px;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, .3);
  line-height: 1.5
}

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .25);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.footer-link {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, .4);
  text-decoration: none;
  transition: color .15s;
}

.footer-link:hover {
  color: rgba(255, 255, 255, .8)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, .15);
}

.footer-bottom a {
  color: rgba(255, 255, 255, .3);
  text-decoration: none
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .6)
}

/* ════════════════════════════════════
   DETALLE DE PRODUCTO
════════════════════════════════════ */
.detail-view {
  display: none;
  min-height: 100vh;
  background: var(--bg);
  animation: fadeIn .25s ease both;
}

.detail-view.active {
  display: block
}

.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 40px;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bo);
}

.detail-store {
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}

.detail-store-logo {
  display: block;
  max-width: 180px;
  max-height: 30px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.detail-store-name {
  font-family: var(--fs);
  font-size: 21px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.4px;
}

.detail-cart-btn {
  padding: 8px 16px;
}

.detail-back {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--bo);
  background: var(--bg);
  color: var(--ink3);
  text-align: left;
  padding: 14px 40px;
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .15s;
}

.detail-back:hover {
  color: var(--ink)
}

.detail-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 54px);
}

.detail-media {
  background: var(--bg2);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.detail-main {
  flex: 1;
  min-height: 380px;
  background: var(--bg3);
}

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

.detail-main-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fs);
  font-size: clamp(56px, 8vw, 120px);
  font-style: italic;
  color: rgba(255, 255, 255, .75);
}

.detail-thumbs {
  display: flex;
  gap: 1px;
}

.detail-thumb {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: .5;
  transition: opacity .15s;
  border: none;
}

.detail-thumb:hover,
.detail-thumb.active {
  opacity: 1;
}

.detail-content {
  padding: 44px 40px 64px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--mu);
}

.detail-name {
  font-family: var(--fs);
  font-size: clamp(32px, 4vw, 52px);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -1px;
  line-height: .95;
  color: var(--ink);
}

.detail-price {
  font-family: var(--fd);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.5px;
}

.detail-stock {
  font-size: 12px;
  color: var(--ink3);
}

.detail-desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.85;
  max-width: 560px;
}

.detail-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mu);
  margin-bottom: 8px;
}

.detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-chip {
  border: 1px solid var(--bo);
  padding: 6px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ink3);
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 560px;
  margin-top: 4px;
}

.detail-wa-btn,
.detail-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: filter .15s, background .15s;
}

.detail-wa-btn {
  background: var(--wa);
  color: #fff;
}

.detail-wa-btn:hover {
  filter: brightness(1.06)
}

.detail-add-btn {
  background: var(--ink);
  color: #fff;
}

.detail-add-btn:hover {
  background: var(--ac);
}

.detail-unavailable {
  max-width: 560px;
  border: 1px solid var(--bo);
  padding: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--mu);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-related {
  border-top: 1px solid var(--bo);
  margin-top: 10px;
  padding-top: 16px;
  max-width: 560px;
}

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

.detail-related-item {
  border: 1px solid var(--bo);
  background: var(--bg);
  text-align: left;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color .15s, background .15s;
  color: var(--ink);
}

.detail-related-item:hover {
  border-color: var(--ink3);
  background: var(--bg2);
}

.detail-related-item span {
  font-size: 12px;
  line-height: 1.3;
}

.detail-related-item strong {
  font-size: 12px;
  font-weight: 700;
}

@media(max-width:900px) {
  .detail-topbar {
    padding: 10px 20px;
  }

  .detail-back {
    padding: 14px 20px;
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }

  .detail-content {
    padding: 28px 20px 56px;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }
}

/* Load more sentinel */
.load-sentinel {
  height: 1px;
  width: 100%
}

.load-spinner {
  display: none;
  text-align: center;
  padding: 28px 0 48px;
  font-family: var(--fd);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mu);
}

.load-spinner.visible {
  display: block
}

.load-spinner::after {
  content: 'Cargando...'
}

/* Botón WA flotante mobile */
.wa-fab {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 400;
  background: var(--wa);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, .35);
  transition: transform .2s;
}

.wa-fab:hover {
  transform: scale(1.08)
}

@media(max-width:768px) {
  .wa-fab {
    display: flex
  }
}