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

:root {
  --bg: #F5F0EB;
  --bg2: #EDE6DC;
  --bg3: #E0D8CC;
  --ink: #1A1714;
  --ink2: #2E2926;
  --ink3: #6B6255;
  --mu: #A89880;
  --bo: rgba(26, 23, 20, .07);
  --bo2: rgba(26, 23, 20, .035);
  --ac: #3D6B55;
  --acl: rgba(61, 107, 85, .1);
  --wa: #25D366;
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'Jost', sans-serif;
}

html {
  scroll-behavior: smooth
}

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

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

  to {
    opacity: 1
  }
}

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

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

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

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

@keyframes ribbonIn {
  from {
    opacity: 0;
    transform: translateX(8px)
  }

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

/* ════════════════════════════════════
   ANNOUNCEMENT
════════════════════════════════════ */
.announcement {
  background: var(--ac);
  overflow: hidden;
  padding: 8px 0;
}

.ann-track {
  display: inline-flex;
  animation: marquee 26s linear infinite;
  white-space: nowrap;
  gap: 60px;
}

.ann-item {
  font-family: var(--fd);
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .8);
}

.ann-sep {
  color: rgba(255, 255, 255, .3);
  margin: 0 6px
}

/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 240, 235, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bo);
  animation: fadeIn .3s ease both;
}

.header-main {
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo {
  font-family: var(--fd);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

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

/* Búsqueda de categoría en el centro */
.header-cats {
  display: flex;
  gap: 0;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  justify-content: center;
}

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

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

.hcat:hover {
  color: var(--ink)
}

.hcat.active {
  color: var(--ink);
  border-bottom-color: var(--ac)
}

@media(max-width:700px) {
  .header-cats {
    display: none
  }
}

.header-r {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0
}

.header-ig {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  text-decoration: none;
  letter-spacing: .5px;
  transition: color .15s;
}

.header-ig:hover {
  color: var(--ink)
}

@media(max-width:500px) {
  .header-ig {
    display: none
  }
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--ink);
  color: var(--bg);
  padding: 9px 18px;
  font-family: var(--fd);
  font-size: 14px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: background .15s;
}

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

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

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

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

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

.cart-panel.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-lbl {
  font-family: var(--fd);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--ink)
}

.cart-x {
  width: 28px;
  height: 28px;
  border: 1px solid var(--bo);
  background: 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(--bg2)
}

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

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

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

.ci-img {
  width: 60px;
  height: 60px;
  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-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.3
}

.ci-price {
  font-family: var(--fd);
  font-size: 17px;
  letter-spacing: .5px;
  color: var(--ac)
}

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

.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: var(--bg);
  border-color: var(--ink)
}

.qval {
  font-size: 13px;
  font-weight: 500;
  min-width: 16px;
  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: baseline;
  margin-bottom: 12px
}

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

.cart-total-num {
  font-family: var(--fd);
  font-size: 28px;
  letter-spacing: .5px;
  color: var(--ink)
}

.cart-wa {
  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: 16px;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: filter .15s;
}

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

/* ════════════════════════════════════
   HERO — nombre grande + sobre
════════════════════════════════════ */
.hero {
  padding: 56px 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  border-bottom: 1px solid var(--bo);
  animation: fadeUp .5s ease both;
}

@media(max-width:800px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 24px
  }
}

.hero-l {}

.hero-nombre {
  font-family: var(--fd);
  font-size: clamp(56px, 9vw, 110px);
  letter-spacing: -2px;
  line-height: .88;
  color: var(--ink);
  margin-bottom: 12px;
}

.hero-nombre span {
  color: var(--ac)
}

.hero-tagline {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink3);
  line-height: 1.6;
}

.hero-r {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.hero-sobre {
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  color: var(--ink3);
  line-height: 1.7;
  border-left: 2px solid var(--ac);
  padding-left: 16px;
}

.hero-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  padding: 11px 22px;
  font-family: var(--fd);
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter .15s, transform .15s;
}

.hero-wa-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px)
}

.hero-cats-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-cat-chip {
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--bo);
  cursor: pointer;
  color: var(--ink3);
  background: transparent;
  transition: all .15s;
  text-decoration: none;
}

.hero-cat-chip:hover,
.hero-cat-chip.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

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

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

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

.filters::-webkit-scrollbar {
  display: none
}

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

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

.fbtn.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink)
}

.toolbar-count {
  font-family: var(--fb);
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--mu);
  white-space: nowrap;
}

/* ════════════════════════════════════
   CATÁLOGO — masonry estilo BigCartel
   Alternating sizes: 1x1 y 1x2
   Primer producto siempre grande
════════════════════════════════════ */
.catalog {
  padding: 24px 40px 80px;
  columns: 4;
  column-gap: 12px;
}

@media(max-width:1100px) {
  .catalog {
    columns: 3
  }
}

@media(max-width:768px) {
  .catalog {
    columns: 2;
    padding: 16px 12px 80px
  }
}

@media(max-width:420px) {
  .catalog {
    columns: 2;
    padding: 12px 8px 80px
  }
}

.pcard {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  background: var(--bg2);
  overflow: hidden;
  cursor: pointer;
  display: block;
  animation: fadeUp .4s ease both;
}

/* Primer producto: imagen más alta */
.pcard:first-child .pcard-img-wrap {
  padding-bottom: 140%
}

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

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

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

/* Imagen */
.pcard-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  /* ratio 4:5 por defecto */
  overflow: hidden;
  background: var(--bg2);
}

.pcard-img-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}

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

/* Placeholder */
.pcard-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.pcard-ph-initials {
  font-family: var(--fd);
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .65);
  line-height: 1;
}

.pcard-ph-cat {
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

/* Overlay oscuro en hover con botón */
.pcard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, .42);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.pcard-wa-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--wa);
  color: #fff;
  padding: 10px;
  font-family: var(--fd);
  font-size: 13px;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter .15s;
}

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

/* Ribbon de categoría — diagonal */
.pcard-ribbon {
  position: absolute;
  top: 14px;
  right: -28px;
  z-index: 3;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  font-family: var(--fb);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(45deg);
  transform-origin: center;
  animation: ribbonIn .3s ease both;
}

.pcard-ribbon-nuevo {
  background: var(--ac);
  color: #fff
}

.pcard-ribbon-agotado {
  background: rgba(26, 23, 20, .7)
}

/* Info inferior */
.pcard-info {
  padding: 10px 12px 12px;
}

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

.pcard-name {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 5px;
}

.pcard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pcard-price {
  font-family: var(--fd);
  font-size: 18px;
  letter-spacing: .3px;
  color: var(--ink);
}

.pcard-price-agotado {
  color: var(--mu)
}

.pcard-add-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--ink);
  color: var(--bg);
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  font-family: var(--fd);
  font-size: 12px;
  letter-spacing: .5px;
  transition: background .15s;
  flex-shrink: 0;
}

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

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
footer {
  background: var(--ink);
  padding: 40px;
  border-top: 4px solid var(--ac);
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(245, 240, 235, .07);
}

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

.footer-logo {
  font-family: var(--fd);
  font-size: 32px;
  letter-spacing: 1px;
  color: rgba(245, 240, 235, .8);
  margin-bottom: 6px;
}

.footer-sobre {
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 235, .3);
  line-height: 1.6;
}

.footer-col-h {
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(245, 240, 235, .2);
  margin-bottom: 12px;
}

.footer-link {
  display: block;
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 235, .4);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color .15s;
}

.footer-link:hover {
  color: rgba(245, 240, 235, .8)
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 300;
  color: rgba(245, 240, 235, .15);
}

.footer-bottom a {
  color: rgba(61, 107, 85, .7);
  text-decoration: none
}

.footer-bottom a:hover {
  color: rgba(61, 107, 85, 1)
}

/* ════════════════════════════════════
   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(245, 240, 235, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bo);
}

.detail-topbar-two {
  background: rgba(245, 240, 235, .97);
}

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

.detail-store-two:hover .detail-store-name-two {
  color: var(--ac);
}

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

.detail-store-name {
  font-family: var(--fb);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.2px;
}

.detail-store-name-two {
  font-family: var(--fd);
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
  transition: color .15s;
}

.detail-cart-btn-two {
  padding: 8px 16px;
  font-size: 13px;
  letter-spacing: 1px;
}

.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(--fb);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.3px;
  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: 420px;
  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(--fd);
  font-size: clamp(54px, 8vw, 112px);
  letter-spacing: 2px;
  color: rgba(245, 240, 235, .75);
}

.detail-main-ph-two {
  color: rgba(245, 240, 235, .85);
}

.detail-thumbs {
  display: flex;
  gap: 1px;
  background: var(--bo2);
}

.detail-thumb {
  width: 100%;
  max-width: 120px;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  opacity: .55;
  transition: opacity .15s, filter .15s;
}

.detail-thumb:hover,
.detail-thumb.active {
  opacity: 1;
  filter: saturate(1.08);
}

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

.detail-content-two {
  background: var(--bg);
}

.detail-cat {
  font-family: var(--fb);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mu);
}

.detail-name {
  font-family: var(--fb);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.7px;
}

.detail-name-two {
  font-family: var(--fd);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.detail-price {
  font-family: var(--fd);
  font-size: 34px;
  letter-spacing: 1px;
  color: var(--ink);
  line-height: 1;
}

.detail-price-two {
  color: var(--ac);
}

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

.detail-desc {
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink2);
  max-width: 520px;
}

.detail-desc-two {
  font-style: italic;
}

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

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: 520px;
}

.detail-wa-btn,
.detail-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 600;
  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.07)
}

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

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

.detail-add-btn-two {
  font-family: var(--fd);
  font-size: 14px;
  letter-spacing: 1.2px;
}

.detail-unavailable {
  max-width: 520px;
  border: 1px solid var(--bo);
  background: var(--bg2);
  padding: 12px;
  text-align: center;
  font-family: var(--fb);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mu);
}

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

.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);
  color: var(--ink);
  text-align: left;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: border-color .15s, background .15s;
}

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

.detail-related-item-two strong {
  color: var(--ac);
}

.detail-related-item span {
  font-family: var(--fb);
  font-size: 12px;
  line-height: 1.3;
}

.detail-related-item strong {
  font-family: var(--fd);
  font-size: 15px;
  letter-spacing: .5px;
  color: var(--ink);
}

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

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

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

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

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

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

.load-spinner {
  display: none;
  text-align: center;
  padding: 24px 0 48px;
  font-family: var(--fd);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--mu);
}

.load-spinner.visible {
  display: block
}

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

/* 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
  }
}