@import url("tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font-family: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

/* —— Age gate —— */
.gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(22, 18, 15, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
}

.gate[hidden] {
  display: none;
}

.gate__card {
  width: min(440px, 100%);
  background: #111;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.gate__card h2 {
  font-family: var(--display);
  font-size: 2rem;
  margin: 12px 0 8px;
  color: var(--gold-soft);
}

.gate__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.gate__actions .btn {
  flex: 1;
}

/* —— Announcement —— */
.announce {
  background: var(--burgundy-deep);
  color: #f6ead6;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.announce__social {
  display: flex;
  gap: 10px;
}

.announce__social a {
  color: var(--icon);
  opacity: 0.9;
}

.announce__social a:hover {
  opacity: 1;
  color: #ff3b4d;
}

.announce__text {
  min-height: 1.2em;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 40;
}

/* —— Header sticky (va junto a la barra de anuncios) —— */
.site-header {
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 0 10px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.logo__img {
  display: block;
  height: 132px;
  width: 132px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.logo__img--gate {
  height: 128px;
  margin: 0 auto 8px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.search:focus-within {
  border-color: var(--gold-soft);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.search input {
  border: 0;
  background: transparent;
  width: 100%;
  outline: none;
  font-size: 0.92rem;
  color: var(--ink);
}

.search input::placeholder {
  color: var(--muted);
}

.search svg,
.search i {
  color: var(--icon);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  color: var(--icon);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--cream);
  color: #ff3b4d;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--burgundy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 0 0 10px;
  flex-wrap: wrap;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav__link:hover,
.nav__item:focus-within > .nav__link {
  background: var(--cream);
  color: var(--gold-soft);
}

.nav__link.is-accent {
  color: var(--gold);
}

.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.22s var(--ease);
  z-index: 20;
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.dropdown a:hover {
  background: var(--cream);
  color: var(--ink);
}

.burger {
  display: none;
}

.search-toggle {
  display: none;
}

/* —— Banner principal (un solo carrusel) —— */
.promo-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #0b0b0b;
}

.banner {
  height: 420px;
  background: #000;
}

.banner__stage {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.banner__track {
  display: flex;
  height: 100%;
  transition: transform 0.65s var(--ease);
}

.banner__slide {
  min-width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.banner__slide::after {
  content: "";
  position: absolute;
  inset: 0 168px 0 0;
  background: linear-gradient(90deg, rgba(8, 6, 5, 0.58) 0%, rgba(8, 6, 5, 0.12) 48%, transparent 70%);
}

.banner__copy {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 96px));
  margin-left: 72px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.banner__copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 6px 0 8px;
}

.banner__copy p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.95rem;
}

.kicker {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.banner__nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.banner__nav .prev {
  left: 10px;
}

.banner__nav .next {
  right: 180px;
}

.banner--warn-in-image {
  /* Proporción cercana a las creatividades (~1024×341) y un poco más alto */
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  height: auto;
  aspect-ratio: 3 / 1;
  min-height: 360px;
  background: #000;
}

.banner--warn-in-image .banner__stage {
  height: 100%;
}

.banner--warn-in-image .banner__nav .next {
  right: 10px;
}

.banner--warn-in-image .banner__slide::after {
  display: none;
}

.banner__slide--photo {
  background: none;
  padding: 0;
}

.banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Evita que el navegador reescale con baja calidad */
  image-rendering: auto;
}

.banner__dots {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 7px;
  align-items: center;
  background: #fff;
  border-radius: 0 16px 0 0;
  padding: 10px 16px 10px 14px;
}

.banner__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #cfc8be;
  cursor: pointer;
}

.banner__dots button.is-on {
  background: var(--burgundy);
}

.sag-warn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 168px;
  z-index: 1;
  pointer-events: none;
  background: #0a0a0a;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 12px;
  gap: 10px;
}

.sag-warn__shield {
  width: 72px;
  height: 86px;
  border-radius: 8px 8px 36px 36px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr 1fr;
  box-shadow: 0 0 0 2px #fff;
}

.sag-warn__shield span:first-child {
  background: #0b3d91;
}

.sag-warn__shield span:last-child {
  background: #d52b1e;
}

.sag-warn__gov {
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.sag-warn strong {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.sag-warn p {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.35;
  max-width: 14ch;
  font-weight: 600;
}

/* —— Sections —— */
.section {
  padding: 72px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

#inicio,
#regalos,
#ofertas,
#catalogo,
#categorias,
#nosotros {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 16px;
}

.section__head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  margin: 0;
  color: var(--gold-soft);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--burgundy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--cream);
}

.btn.is-added {
  background: var(--ok);
  color: #fff;
}

/* Categorías horizontales */
.cat-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 28px 12px 28px;
  background: transparent;
  scroll-margin-top: calc(var(--header-h) + 12px);
  overflow: visible;
}

.cat-strip__track {
  display: flex;
  flex: 1;
  justify-content: space-around;
  align-items: flex-end;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 6px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.cat-strip__track::-webkit-scrollbar {
  display: none;
}

.cat-item {
  flex: 1 0 110px;
  max-width: 160px;
  text-align: center;
  overflow: visible;
  color: #ffffff;
  text-decoration: none;
}

.cat-item img {
  display: block;
  height: 148px;
  width: 140px;
  max-width: 140px;
  margin: 0 auto 10px;
  background: #000;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s var(--ease);
}

.cat-item__name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.cat-item__label {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--gold-soft);
}

.cat-item:hover {
  color: #ffffff;
}

.cat-item:hover .cat-item__name {
  color: var(--gold-soft);
}

.cat-item:hover img {
  transform: translateY(-6px);
}

/* Product rail */
.rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rail[data-section="ofertas"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rail[data-section="regalos"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.product:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product__media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  min-height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
}

.rail[data-section="ofertas"] .product__media {
  aspect-ratio: 1672 / 941;
  min-height: 280px;
}

.rail[data-section="regalos"] .product__media {
  aspect-ratio: 3 / 2;
  min-height: 240px;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--sale);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.product h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 14px 0 8px;
  min-height: 2.8em;
  color: var(--ink);
}

.price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 12px;
}

.price__now {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
}

.price__was {
  color: #d0d0d0;
  text-decoration: line-through;
  font-size: 0.85rem;
}

.qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  height: 38px;
}

.qty button {
  width: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: #ffffff;
}

.qty input {
  width: 36px;
  border: 0;
  text-align: center;
  background: transparent;
  outline: none;
  color: #ffffff;
}

.product__buy {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.product__buy .btn {
  flex: 1;
  padding: 10px 12px;
}

/* Brand + newsletter */
.about {
  max-width: 820px;
  margin: 0 auto 8px;
  text-align: center;
}

.about h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin: 8px 0 22px;
  line-height: 1.15;
  color: var(--gold-soft);
}

.about__body {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.about__body p {
  margin: 0 0 1.1em;
}

.about__closing {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0 !important;
}

.about__cta {
  margin: 28px 0 0;
}

.about__cta .btn {
  display: inline-flex;
}

.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
  max-width: 820px;
  margin-inline: auto;
}

.perk {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.perk i,
.perk svg {
  color: var(--icon);
  flex-shrink: 0;
}

.perk h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--gold-soft);
}

.perk p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: #14110e;
  color: #e8dfd4;
  padding: 56px 0 20px;
  margin-top: 20px;
}

.footer a:hover {
  color: var(--gold-soft);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 14px;
}

.footer__logo {
  display: inline-block;
  margin: 0 0 8px;
  line-height: 0;
  padding: 0;
  background: transparent;
}

.footer__logo img {
  width: 160px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.footer__social h4 {
  margin-top: 22px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li,
.footer p {
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: #cfc4b6;
}

.social-circles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.social-circles a {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--icon);
  color: var(--icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  line-height: 0;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.social-circles a:hover {
  background: rgba(225, 29, 46, 0.18);
  color: #ff3b4d;
  transform: translateY(-1px);
}

.social-circles a[hidden] {
  display: none !important;
}

.social-circles svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.footer__base {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #9a9086;
}

.pay {
  display: flex;
  gap: 8px;
}

.pay span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}

.legal-note {
  font-size: 0.75rem;
  color: #8a8076;
  margin-top: 16px;
}

/* Drawers */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 12, 10, 0.45);
  z-index: 50;
}

.overlay[hidden],
.drawer[hidden],
.account-pop[hidden],
.search-panel[hidden],
.toast[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--white);
  z-index: 55;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.drawer-left {
  right: auto;
  left: 0;
}

.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.drawer__body {
  overflow: auto;
  padding: 16px;
  flex: 1;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  margin-bottom: 14px;
}

.cart-line img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 10px;
}

.drawer__foot {
  padding: 16px;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 12px;
}

.account-pop {
  position: absolute;
  top: 52px;
  right: 0;
  width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px;
  z-index: 30;
}

.header-actions {
  position: relative;
}

.account-pop a,
.account-pop button.linkish {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.account-pop a:hover,
.account-pop button.linkish:hover {
  background: var(--cream);
}

.search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-height: 360px;
  overflow: auto;
  z-index: 25;
}

.search-wrap {
  position: relative;
}

.search-hit {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  align-items: center;
}

.search-hit:hover {
  background: var(--cream);
}

.search-hit img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 70;
  font-size: 0.88rem;
  box-shadow: var(--shadow-md);
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  z-index: 35;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.subcats {
  padding: 0 0 10px 12px;
}

.subcats a {
  font-size: 0.88rem;
  color: var(--muted);
  border: 0;
  padding: 6px 0;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chip {
  border: 1px solid var(--line);
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.82rem;
}

.chip.is-on {
  background: var(--burgundy);
  color: #ffffff;
  border-color: var(--burgundy);
}

/* Legal pages */
.legal {
  padding: 48px 0 80px;
  max-width: 820px;
}

.legal h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin: 8px 0 28px;
  color: var(--ink);
}

.legal__body {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal__body h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
  font-weight: 600;
}

.legal__body p {
  margin: 0 0 1em;
}

.legal__body ul,
.legal__body ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

.legal__body li {
  margin-bottom: 0.45em;
}

.legal__body strong {
  color: var(--ink);
}

.legal__closing {
  margin-top: 2rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

/* Responsive */
@media (max-width: 1100px) {
  .rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .rail[data-section="ofertas"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rail[data-section="regalos"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .logo__img {
    height: 100px;
    width: 100px;
  }

  .footer__grid,
  .perks {
    grid-template-columns: 1fr;
  }

  .announce__social {
    display: none;
  }

  .banner {
    height: 280px;
  }

  .banner--warn-in-image {
    height: auto;
    max-width: 100%;
    aspect-ratio: 3 / 1;
    min-height: 220px;
  }

  .banner__copy {
    width: calc(100% - 120px);
    margin-left: 18px;
  }

  .banner__nav {
    display: none;
  }

  .banner__slide::after {
    inset: 0 88px 0 0;
  }

  .sag-warn {
    width: 88px;
    padding: 8px 6px;
    gap: 6px;
  }

  .sag-warn__shield {
    width: 36px;
    height: 44px;
  }

  .sag-warn strong {
    font-size: 0.62rem;
  }

  .sag-warn p,
  .sag-warn__gov {
    font-size: 0.5rem;
  }
}

@media (max-width: 720px) {
  .rail,
  .rail[data-section="ofertas"],
  .rail[data-section="regalos"] {
    grid-template-columns: 1fr;
  }

  .rail[data-section="ofertas"] .product__media {
    min-height: 200px;
  }

  .search-wrap {
    display: none;
    grid-column: 1 / -1;
  }

  .search-wrap.is-open {
    display: block;
  }

  .search-toggle {
    display: grid;
  }

  .header-main {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    justify-self: end;
  }

  .drawer {
    width: 100%;
  }

  .product__buy {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .rail,
  .rail[data-section="ofertas"],
  .rail[data-section="regalos"] {
    grid-template-columns: 1fr;
  }

  .product__media {
    height: auto;
    min-height: 180px;
  }
}
