:root {
  color-scheme: light;
  --azul: #252c3b;
  --tinta: #302d31;
  --fondo: #f8f5f0;
  --borde: #d9d3ca;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--tinta);
  background: var(--fondo);
}
@font-face {
  font-family: Montserrat;
  src: url('/marca/montserrat.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.interior { width: min(1120px, 100% - 48px); margin-inline: auto; }
header { background: var(--azul); color: #fff; }
.cabecera { min-height: 78px; display: flex; gap: 20px; align-items: center; justify-content: space-between; }
.marca { color: inherit; text-align: center; line-height: 1; text-decoration: none; font: 24px/1 Georgia, serif; }
.marca span { display: block; font-size: 15px; margin-top: 4px; }
.estado { font-size: 0.875rem; }
.introduccion { max-width: 630px; margin: 36px 0 20px; }
h1, h2 { color: var(--azul); font-family: Georgia, serif; font-weight: 500; line-height: 1.16; }
h1 { font-size: clamp(2.25rem, 5vw, 3.65rem); margin: 0; }
h2 { font-size: 1.45rem; margin: 0; }
p { margin: 8px 0 14px; }
.aviso { background: #efe8dd; padding: 12px 16px; font-size: 0.9rem; margin: 0 0 24px; }
.catalogo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-bottom: 32px; }
.bono { background: #fff; border: 1px solid var(--borde); border-radius: 8px; min-width: 0; overflow: hidden; display: flex; flex-direction: column; }
.bono img { display: block; width: 100%; aspect-ratio: 5/4; object-fit: contain; background: #f0ebe4; padding: 14px; }
.bono-info { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.bono-info > p { font-size: 0.9rem; }
.personalizacion label { display: block; font-weight: 600; margin-bottom: 5px; }
.personalizacion label span { font-weight: 400; }
.personalizacion input { width: 100%; padding: 9px 10px; border: 1px solid #867f75; border-radius: 4px; font: inherit; }
.importe { margin-top: auto; display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.importe strong { font-size: 1.2rem; }
button, .boton {
  display: inline-block;
  color: #fff;
  background: var(--azul);
  border: 1px solid var(--azul);
  border-radius: 4px;
  text-decoration: none;
  padding: 10px 13px;
  font: 600 0.9rem/1.4 system-ui, sans-serif;
}
button:disabled { background: #e9e6e1; border-color: #ded8cf; color: #57535a; }
button:not(:disabled), .boton { cursor: pointer; }
:focus-visible { outline: 3px solid #7e4e68; outline-offset: 3px; }
.recibo { display: grid; grid-template-columns: minmax(160px, 240px) 1fr; align-items: start; gap: 24px; max-width: 790px; padding: 22px; background: #fff; border: 1px solid var(--borde); }
.recibo img { display: block; max-width: 100%; height: auto; }
.recibo dl { display: grid; gap: 6px 16px; grid-template-columns: max-content 1fr; }
.recibo dt { font-weight: 650; }
.recibo dd { margin: 0; }
.descargas { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; }
.descargas a:not(.boton) { color: var(--azul); font-size: 0.9rem; }
.enlace-canje a { color: var(--azul); }
.canje { max-width: 630px; margin-bottom: 32px; }
.consulta-canje, .saldo-canje { background: #fff; border: 1px solid var(--borde); padding: 22px; }
.consulta-canje { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.consulta-canje div { flex: 1; min-width: min(100%, 235px); }
.consulta-canje label { display: block; font-weight: 600; margin-bottom: 5px; }
.consulta-canje input { width: 100%; padding: 9px 10px; border: 1px solid #867f75; border-radius: 4px; font: inherit; }
.saldo-canje, .estado-canje { margin-top: 14px; }
.estado-canje { margin-bottom: 0; }
.saldo { color: var(--azul); font: 500 clamp(1.65rem, 4vw, 2.25rem)/1.2 Georgia, serif; }
.saldo-canje dl { display: grid; gap: 5px 16px; grid-template-columns: max-content 1fr; }
.saldo-canje dd { margin: 0; }
.nota { font-size: 0.875rem; }
.compra-web { font-family: Montserrat, sans-serif; background: #fff; color: #252c3b; }
.compra-web .interior { max-width: 1140px; }
.compra-cabecera {
  position: relative;
  min-height: 265px;
  padding: 145px 0 83px;
  background: linear-gradient(-137deg, rgba(118, 74, 255, .9), rgba(255, 87, 87, .9)), url('/marca/cabecera.jpg') center / cover;
}
.compra-cabecera h1 { color: #fff; text-align: center; font: 500 50px/1.2 Montserrat, sans-serif; }
.compra-barra { position: absolute; inset: 0 0 auto; background: transparent; }
.compra-navegacion { min-height: 90px; width: 100%; padding-inline: 12px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.compra-navegacion > a { transform: translateY(18px); }
.compra-navegacion img { display: block; width: 200px; height: auto; max-width: 100%; }
.compra-nav { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.6rem); transform: translateY(8px); }
.compra-navegacion nav a, .compra-clases summary { color: inherit; font-size: .875rem; font-weight: 650; text-decoration: none; }
.compra-navegacion nav a:hover { text-decoration: underline; }
.compra-clases { position: relative; }
.compra-clases summary { cursor: pointer; }
.compra-nav-movil { display: none; position: relative; transform: translateY(15px); }
.compra-nav-movil summary { cursor: pointer; list-style: none; font-weight: 700; line-height: 1.25; white-space: nowrap; }
.compra-nav-movil nav, .compra-nav .compra-clases > div {
  position: absolute;
  z-index: 1;
  right: 0;
  top: calc(100% + 12px);
  width: 14rem;
  display: grid;
  gap: .25rem;
  padding: .65rem 1rem;
  border: 1px solid #e7e4ee;
  border-radius: .4rem;
  color: #252c3b;
  background: #fff;
  box-shadow: 0 6px 18px #252c3b20;
}
.compra-nav-movil nav, .compra-nav .compra-clases > div { max-height: 60vh; overflow: auto; }
.compra-nav-movil nav a, .compra-nav-movil .compra-clases summary { padding: .4rem 0; }
.compra-nav-movil .compra-clases a { display: block; padding-left: .65rem; }
.compra-web main { padding: 40px 0 64px; }
.compra-web h2 { color: inherit; font: 700 1.55rem/1.25 Montserrat, sans-serif; }
.compra-web .aviso, .compra-web .recibo { max-width: none; border-radius: .5rem; }
.compra-web .aviso { background: #f8f7fb; }
.compra-web .recibo { border-color: #e7e4ee; }
.compra-web .recibo img { width: 100%; border-radius: .4rem; }
.compra-web .compra-importe { display: flex; align-items: baseline; gap: .75rem; margin-bottom: .3rem; }
.compra-importe strong { font-size: 1.45rem; }
.compra-web .personalizacion { max-width: 30rem; margin-top: 1.25rem; }
.compra-web .personalizacion input { border-color: #bbb4c5; }
.compra-web button, .compra-web .boton { font-family: inherit; }
.compra-web button:not(:disabled), .compra-web .boton { background: #cc246b; border-color: #cc246b; }
.compra-web button:not(:disabled):hover, .compra-web .boton:hover { background: #aa1f5a; border-color: #aa1f5a; }
.compra-web main a:not(.boton) { color: #a11954; text-underline-offset: .18em; }
.compra-entrega { max-width: 32rem; }
.compra-ayuda { margin: 1.25rem 0 0; font-size: .9rem; }
.compra-pago-integrado { border: 1px solid #e7e4ee; border-radius: .5rem; padding: clamp(1rem, 3vw, 2rem); }
.compra-pago-integrado > p { margin-top: 0; }
#stripe-checkout:not(:empty) { margin-top: 1.25rem; }
.borrador-regalo > img { height: auto; }
.borrador-regalo fieldset { min-width: 0; border: 0; margin: 1.4rem 0 0; padding: 0; }
.borrador-regalo legend { padding: 0; margin-bottom: .65rem; font-weight: 700; }
.borrador-opciones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.borrador-opcion {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  min-width: 0;
  border: 1px solid #e7e4ee;
  border-radius: .45rem;
  padding: .65rem .75rem;
  cursor: pointer;
}
.borrador-opcion:has(:checked) { background: #fbf2f7; border-color: #cc246b; }
.borrador-opcion input { flex: none; margin: .28rem 0 0; accent-color: #cc246b; }
.borrador-opcion small { display: block; margin-top: .2rem; color: #57535a; }
.borrador-precio { display: block; margin-top: .23rem; font-size: 1.12rem; font-weight: 700; }
.borrador-datos-entrega label:not(:first-child) { margin-top: .75rem; }
.borrador-datos-entrega textarea {
  display: block;
  width: 100%;
  min-height: 5rem;
  resize: vertical;
  padding: 9px 10px;
  border: 1px solid #bbb4c5;
  border-radius: 4px;
  font: inherit;
  color: inherit;
}
.borrador-resumen { border-top: 1px solid #e7e4ee; margin-top: 1.2rem; padding-top: .75rem; }
.borrador-resumen p { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; max-width: 30rem; }
.borrador-resumen output { font-size: 1.25rem; font-weight: 700; }
.borrador-resumen button { margin: 0 .4rem .4rem 0; }
.borrador-resumen button[hidden] { display: none; }
.borrador-correo { margin-top: 1.5rem; border: 1px solid #e7e4ee; border-radius: .5rem; background: #f8f7fb; padding: clamp(1rem, 3vw, 2rem); overflow-wrap: anywhere; }
.borrador-correo dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .3rem 1rem; }
.borrador-correo dt { font-weight: 650; }
.borrador-correo dd { margin: 0; }
.borrador-tarjeta { margin: 1rem 0; }
.borrador-tarjeta img { display: block; width: min(100%, 180px); height: auto; border-radius: .4rem; }
.borrador-tarjeta figcaption { margin-top: .5rem; }
.borrador-correo blockquote { background: #fff; margin: 1rem 0; border-inline-start: 3px solid #cc246b; padding: .7rem 1rem; white-space: pre-wrap; }
.borrador-adjunto { font-weight: 650; }
.compra-pie { background: #424554; color: #d9d9dc; }
.compra-pie-columnas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 100px 0;
}
.compra-pie img { display: block; max-width: 100%; height: auto; }
.compra-web .compra-pie h2 { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; }
.compra-pie address { margin: 0 0 .65rem; font-style: normal; }
.compra-pie ul { list-style: none; margin: 0; padding: 0; }
.compra-pie li + li { margin-top: .45rem; }
.compra-pie a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.compra-pie a:hover, .compra-pie a:focus-visible { color: #fff; text-decoration: underline; }
.compra-pie .compra-redes { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .65rem; font-size: .85rem; }
.compra-pie .compra-redes li { margin: 0; }
.compra-derechos { margin: 0 auto; padding: 20px 0; text-align: center; font-size: .875rem; }
.compra-pie .compra-derechos a { color: #f1a9d4; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 992px) and (max-width: 1199px) { .compra-web .interior { max-width: 960px; } }
@media (min-width: 992px) { .compra-navegacion img { width: clamp(205px, 18vw, 261px); } }
@media (max-width: 991px) {
  .compra-web .interior { max-width: 720px; }
  .compra-nav { display: none; }
  .compra-nav-movil { display: block; }
  .compra-pie-columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 64px 0; }
}
@media (max-width: 870px) {
  .catalogo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .interior { width: calc(100% - 28px); }
  .catalogo, .recibo { grid-template-columns: minmax(0, 1fr); }
  .recibo img { width: min(100%, 180px); }
  .compra-web .recibo img { width: min(100%, 180px); }
  .compra-web main { padding-top: 24px; }
  .compra-web .compra-seleccion { grid-template-columns: 85px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
  .compra-ficha { display: contents; }
  .compra-ficha > form, .compra-ficha > p { grid-column: 1 / -1; }
  .compra-web .compra-ficha h2 { font-size: 1.15rem; }
  .compra-web .compra-ficha .personalizacion { margin-top: 0; }
  .compra-web .borrador-regalo .personalizacion { margin-top: 1.25rem; }
  .borrador-opciones { grid-template-columns: minmax(0, 1fr); }
  .compra-ficha > p { margin: 0; }
  .compra-pie-columnas { grid-template-columns: minmax(0, 1fr); padding: 40px 0; }
}
