:root {
  --primary: #111111;
  --on-primary: #ffffff;
  --accent: #e00000;
  --on-accent: #ffffff;
  --line: #e7e7e7;
  --soft: #f4f4f5;
  --text: #1a1a1a;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  margin: 0;
  color: var(--text);
  background: #fff;
}

body.no-scroll {
  overflow: hidden;
}

main {
  padding: 1rem;
  max-width: 1180px;
  margin: auto;
  min-height: 60vh;
}

h2 {
  margin: 1.8rem 0 .9rem;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* Barra de anuncio */
.anuncio {
  background: var(--bar, var(--primary));
  color: var(--bar-text, var(--on-bar, var(--on-primary)));
  text-align: center;
  padding: .55rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.anuncio.has-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 1rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--bar-text, #fff);
}

.anuncio.has-img:not(:empty)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--bar-dim, 0));
}

.anuncio span {
  position: relative;
}

.anuncio.sobre-fondo {
  background: transparent;
  color: var(--bar-text, var(--text));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
}

.anuncio.luz.has-img span,
.anuncio.luz.sobre-fondo span {
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}

.anuncio[hidden] {
  display: none;
}

/* Encabezado */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .6rem 1rem;
  box-sizing: border-box;
  min-height: var(--header-h, 76px);
  background-color: var(--header-bg, #fff);
  background-image: var(--header-img, none);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  color: var(--header-text, var(--primary));
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: var(--logo-h, 56px);
  width: auto;
  max-width: min(58vw, 360px);
  display: block;
  object-fit: contain;
}

.icon-btn {
  background: none;
  border: 0;
  padding: .3rem;
  cursor: pointer;
  line-height: 0;
  color: var(--primary);
}

.header .icon-btn {
  color: var(--header-text, var(--primary));
}

.drawer .icon-btn {
  color: var(--menu-text, var(--text));
}

.cart {
  position: relative;
  margin-left: auto;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: .75rem;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

.cart-count[hidden] {
  display: none;
}

/* Menú lateral */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 20;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(88vw, 380px);
  background: #fff;
  z-index: 30;
  overflow-y: auto;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .25s, visibility 0s .25s;
}

.drawer.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform .25s, visibility 0s;
}

.drawer-head {
  color: var(--menu-text, var(--text));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.m-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.1rem 1.2rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--menu-text, var(--text));
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.m-item.hl {
  color: #e00000;
}

.chev {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s;
}

.m-group.open .chev {
  transform: rotate(90deg);
}

.m-sub {
  display: none;
  background: #fafafa;
}

.m-group.open .m-sub {
  display: block;
}

.sub-item {
  display: block;
  padding: .9rem 1.2rem .9rem 2rem;
  color: var(--menu-text, var(--text));
  text-decoration: none;
  border-bottom: 1px solid #eee;
  text-transform: uppercase;
  font-size: .92rem;
}

.sub-empty {
  display: block;
  padding: .9rem 2rem;
  color: #888;
  font-size: .9rem;
}

/* Banner de bienvenida */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 250px;
  margin: 0 0 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--primary);
  color: var(--hero-text, var(--on-primary));
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, var(--hero-dim, .65)), rgba(0, 0, 0, calc(var(--hero-dim, .65) * .08)) 65%);
}

.hero-text {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.3rem;
  max-width: 680px;
}

.hero.has-img .hero-text {
  color: var(--hero-text, #fff);
}

.hero h1 {
  margin: 0 0 .4rem;
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.hero p {
  margin: 0;
  font-size: 1.02rem;
  opacity: .92;
  line-height: 1.4;
}

/* Cuadros de inicio */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .7rem;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 1rem;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}

.tile strong {
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
}

.tile span {
  position: relative;
  z-index: 1;
  font-size: .9rem;
  opacity: .9;
  margin-top: .25rem;
}

.tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.tile.has-img strong,
.tile.has-img span {
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

.tile.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .65), rgba(0, 0, 0, .02) 70%);
}

.tile:hover .tile-img {
  transform: scale(1.04);
}

.more {
  display: inline-block;
  margin-top: .5rem;
  font-weight: 700;
}

/* Productos */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 1.1rem .8rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.card h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.25;
}

.card .desc {
  color: #666;
  font-size: .85rem;
  margin: 0 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.old {
  text-decoration: line-through;
  color: #888;
  margin-left: .4rem;
  font-size: .9rem;
  font-weight: 400;
}

.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .12rem .5rem;
  border-radius: 4px;
  background: #fde68a;
  margin: 0 .3rem .4rem 0;
}

.badge.out {
  background: #fecaca;
}

.btn-add,
.btn-main {
  padding: .75rem 1rem;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
}

.btn-add:disabled,
.btn-main:disabled {
  background: #bbb;
  color: #fff;
  cursor: not-allowed;
}

.btn-main {
  width: 100%;
  font-size: 1.05rem;
  margin-top: .8rem;
}

.btn-link {
  display: block;
  text-align: center;
  text-decoration: none;
}

.thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--soft);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: .6rem;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}

.card:hover .thumb img {
  transform: scale(1.04);
}

.thumb .noimg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: .85rem;
}

.thumb .badge {
  position: absolute;
  top: .4rem;
  left: .4rem;
  margin: 0;
}

.thumb .badge+.badge {
  top: 1.9rem;
}

/* Ficha de producto */
.crumbs {
  font-size: .88rem;
  color: #666;
  margin: 0 0 .6rem;
}

.crumbs a {
  color: #666;
}

.detail {
  max-width: 640px;
}

.detail h1 {
  margin: .2rem 0 .6rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
}

.detail .price {
  font-size: 1.6rem;
  font-weight: 800;
}

.detail .price .old {
  font-size: 1.1rem;
}

.detail .desc {
  color: #444;
  line-height: 1.55;
  white-space: pre-line;
}

.stock-ok {
  color: #0a7a2f;
  font-weight: 600;
}

.stock-low {
  color: #b45309;
  font-weight: 600;
}

.stock-out {
  color: #b00;
  font-weight: 600;
}

@media (min-width: 820px) {
  .detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.4rem;
    max-width: 1020px;
    align-items: start;
  }

  .detail>.crumbs {
    grid-column: 1 / -1;
  }

  .detail>.gallery {
    grid-column: 1;
    grid-row: 2 / span 12;
    position: sticky;
    top: 5rem;
  }

  .detail> :not(.gallery):not(.crumbs) {
    grid-column: 2;
  }
}

.gallery {
  margin-bottom: 1rem;
}

.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--soft);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.gallery-thumbs {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  overflow-x: auto;
}

.gallery-thumb {
  flex: 0 0 66px;
  height: 66px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  cursor: pointer;
}

.gallery-thumb.on {
  border-color: var(--primary);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: zoom-out;
  padding: 1rem;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Carrito */
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem .8rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-row .name {
  font-weight: 700;
}

.cart-row .unit {
  color: #666;
  font-size: .9rem;
}

.cart-row .line {
  font-weight: 700;
  text-align: right;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.cart-img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
  flex: none;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
}

.qty button {
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--soft);
  font-size: 1.2rem;
  cursor: pointer;
}

.qty button:disabled {
  color: #bbb;
  cursor: not-allowed;
}

.qty span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
}

.link-del {
  background: none;
  border: 0;
  color: #b00;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  padding: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 1rem 0;
}

.cart-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: .6rem .8rem;
  font-size: .9rem;
  margin: .6rem 0;
}

/* Aviso flotante */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--primary);
  color: var(--on-primary);
  padding: .7rem 1.1rem;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 40;
  max-width: 90vw;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Pedido (checkout) */
.summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .6rem 1rem;
  margin: 0 0 1rem;
  max-width: 640px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.sum-row.total {
  border-bottom: 0;
  font-weight: 800;
  font-size: 1.15rem;
}

.form {
  max-width: 640px;
}

.form label {
  display: block;
  margin: .8rem 0 .25rem;
  font-weight: 600;
}

.form input,
.form textarea {
  width: 100%;
  padding: .75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.form-msg {
  color: #b00;
  min-height: 1.2rem;
  margin-top: .6rem;
  font-weight: 600;
}

.form-note {
  color: #666;
  font-size: .9rem;
}

/* Recibo */
.receipt {
  max-width: 640px;
}

.receipt h3 {
  margin: 1.2rem 0 .3rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1rem;
}

.receipt p {
  margin: .2rem 0;
}

.muted {
  color: #666;
  font-size: .9rem;
}

.code {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 .3rem;
}

.pay-state {
  display: inline-block;
  padding: .3rem .7rem;
  border-radius: 6px;
  font-weight: 700;
  margin: .6rem 0 .2rem;
}

.pay-state.pending {
  background: #fff7ed;
  color: #b45309;
  border: 1px solid #fed7aa;
}

.pay-state.paid {
  background: #ecfdf5;
  color: #0a7a2f;
  border: 1px solid #a7f3d0;
}

.receipt-note {
  background: var(--soft);
  border-radius: 8px;
  padding: .7rem .9rem;
  font-size: .9rem;
  margin-top: 1rem;
}

/* Opciones (variantes) */
.var-box {
  margin: 1rem 0;
}

.var-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .85rem;
  margin: 0 0 .4rem;
}

.var-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.var-chip {
  min-width: 48px;
  padding: .6rem .9rem;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.var-chip.on {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-primary);
}

.var-chip.out {
  color: #aaa;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #f6f6f6;
}

/* Tipografía */
h1,
h2,
h3,
.brand,
.tile strong,
.drawer-head,
.code {
  font-family: var(--font-head);
}

.card h3,
h1,
h2,
h3,
.tile strong,
.drawer-head strong {
  font-weight: var(--head-weight, 700);
}

.brand {
  font-weight: var(--head-weight, 900);
}

.code {
  font-weight: var(--head-weight, 800);
}

h2,
.tile strong,
.detail h1 {
  letter-spacing: .05em;
}

/* WhatsApp y pagos */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  z-index: 35;
}

.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  text-align: center;
  text-decoration: none;
  margin-top: .7rem;
  padding: .8rem 1rem;
  border-radius: 8px;
  background: #25d366;
  color: #04230f;
  font-weight: 700;
}

.pay-box {
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: .8rem 1rem;
  margin-top: 1rem;
}

.pay-box h3 {
  margin-top: 0;
}

.pay-ins {
  white-space: pre-line;
}

/* Iconos */
.wa-float {
  color: #fff;
}

.wa-float svg {
  width: 32px;
  height: 32px;
}

.btn-wa svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: .7rem;
  margin: .8rem 0;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--text);
  transition: background .2s, color .2s;
}

.social:hover {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.social svg {
  width: 20px;
  height: 20px;
}

/* Pie de página */
.pie-line {
  margin: .3rem 0;
}

.pie a {
  color: inherit;
}

.pie {
  text-align: center;
  padding: 1.6rem 1rem 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  color: #777;
  font-size: .85rem;
}

/* Fondo de toda la pantalla (imagen fija detrás de todo) */
body.has-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(255, 255, 255, var(--bg-veil, 0)), rgba(255, 255, 255, var(--bg-veil, 0))), var(--bg-img);
}

body.has-bg .pie {
  background: transparent;
  color: var(--text);
  border-top-color: rgba(128, 128, 128, .3);
}

/* Fondo del menú lateral */
.drawer.has-bg {
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(rgba(255, 255, 255, var(--menu-veil, .3)), rgba(255, 255, 255, var(--menu-veil, .3))), var(--menu-img);
}

.drawer.has-bg .drawer-head {
  background: rgba(255, 255, 255, .85);
}

.drawer.has-bg .m-sub {
  background: transparent;
}

.drawer.has-bg .m-item,
.drawer.has-bg .sub-item {
  border-bottom-color: rgba(128, 128, 128, .3);
}

@media print {
  body.has-bg::before {
    display: none;
  }

  .anuncio,
  .header,
  .drawer,
  .overlay,
  .toast,
  .no-print,
  .lightbox,
  .pie,
  .wa-float,
  .btn-wa {
    display: none !important;
  }

  main {
    padding: 0;
    max-width: none;
  }

  body {
    color: #000;
  }
}

/* Buscador y filtros */
.search-btn {
  margin-left: auto;
}

.search-btn+.cart {
  margin-left: 0;
}

.filtros {
  display: grid;
  gap: .6rem;
  margin: .4rem 0 1.1rem;
}

.filtros input[type="search"],
.filtros input[type="number"],
.filtros select {
  width: 100%;
  box-sizing: border-box;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #222;
}

.filtros-fila {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  align-items: center;
}

.filtros .chk {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .95rem;
  cursor: pointer;
}

.filtros-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .9rem;
  min-height: 1.4rem;
}

/* Páginas informativas */
.pagina {
  max-width: 680px;
}

.pagina p,
.pagina li {
  line-height: 1.65;
}

.pagina h3 {
  margin: 1.4rem 0 .4rem;
}

.pagina ul {
  padding-left: 1.3rem;
}

.pie-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1.1rem;
  margin: 0 0 .8rem;
}

.pie-links a {
  text-decoration: underline;
}

/* Botón volver y asa de los filtros */
.volver-bar {
  margin: 0 0 .7rem;
}

.volver-bar a {
  display: inline-block;
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
}

.filtros-handle {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: .5rem 0 .2rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  opacity: .6;
}

.filtros.plegado> :not(.filtros-handle) {
  display: none;
}

.filtros.plegado .filtros-handle {
  padding-bottom: .5rem;
}

.filtros.plegado .filtros-handle svg {
  transform: rotate(180deg);
}

.cerrar-zona {
  min-height: 35vh;
}

@media print {
  .volver-bar {
    display: none !important;
  }
}

.cf-box {
  margin: .8rem 0 .2rem;
  min-height: 65px;
}
/* Te puede interesar */
.related-box { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid #e7e7e7; max-width: 1180px; }
.related-box h2 { margin: 0 0 .9rem; }
.related-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.related-out { color: #b00; font-size: .85rem; font-weight: 600; margin: .2rem 0 0; }

/* Asesor de fragancias */
.asesor-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--primary); color: var(--on-primary); text-decoration: none; }
.asesor-banner-txt { display: flex; flex-direction: column; gap: .2rem; }
.asesor-banner-txt strong { font-family: var(--font-head); font-size: 1.15rem; }
.asesor-banner-txt span { font-size: .9rem; opacity: .9; }
.asesor-banner-go { white-space: nowrap; border: 1.5px solid currentColor; border-radius: 999px; padding: .4rem .9rem; font-size: .9rem; }
.asesor { max-width: 720px; margin: 0 auto; }
.asesor-paso { margin: 0; font-size: .85rem; color: #666; text-transform: uppercase; letter-spacing: .06em; }
.asesor-barra { height: 6px; background: #eee; border-radius: 3px; margin: .5rem 0 1rem; overflow: hidden; }
.asesor-barra span { display: block; height: 100%; background: var(--primary); transition: width .3s; }
.asesor-ayuda { color: #666; margin: .2rem 0 1rem; }
.asesor-opciones { display: grid; gap: .6rem; }
.asesor-op { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; width: 100%; padding: .9rem 1rem; border: 1.5px solid #d6d6d6; border-radius: 12px; background: #fff; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.asesor-op:hover, .asesor-op:focus-visible { border-color: var(--primary); background: var(--soft); }
.asesor-op strong { font-size: 1.02rem; }
.asesor-op span { color: #666; font-size: .88rem; }
.asesor-atras { margin-top: 1rem; padding: .6rem .9rem; border: 1px solid #ccc; border-radius: 8px; background: #fff; color: var(--text); font: inherit; cursor: pointer; }
.asesor-nota { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: .6rem .8rem; font-size: .92rem; }
.asesor-grid { margin-top: 1rem; }
.asesor-match { display: inline-block; margin-bottom: .3rem; padding: .1rem .5rem; border-radius: 4px; background: #bbf7d0; color: #166534; font-size: .75rem; font-weight: 700; }
.asesor-razones { margin: .4rem 0 0; padding-left: 1.1rem; color: #555; font-size: .82rem; line-height: 1.35; }
.asesor-fin { margin-top: 1.4rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.asesor-fin .asesor-atras { margin: 0; }
