:root {
  --navy: #101d3b;
  --gold: #b18a2c;
  --cream: #f5e8d2;
  --ivory: #fff9ef;
  --beige: #dcc7a5;
  --ink: #292522;
  --muted: #746b61;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --content: 1120px;
  --gutter: clamp(14px, 4vw, 36px);
  --section-space: clamp(48px, 7vw, 96px);
  --grid-gap: clamp(12px, 2vw, 24px);
  --header-height: 72px;
  --size-heading: clamp(2.05rem, 1.4rem + 2.6vw, 3.65rem);
  --focus-color: var(--navy);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; color: var(--ink); background: var(--cream); font: 1rem/1.6 var(--sans); }
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--focus-color); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

h1, h2, h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.07;
  text-wrap: balance;
}
h2 { font-size: var(--size-heading); letter-spacing: -.035em; }
.section-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.section-kicker::before { width: 1.7em; height: 1px; background: var(--gold); content: ""; }
.section-number { color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .08em; }

/* Navegación y acciones */
.skip-link {
  position: fixed;
  z-index: 40;
  inset: 8px auto auto var(--gutter);
  padding: 10px 14px;
  background: var(--ivory);
  color: var(--navy);
  font-weight: 750;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 20;
  inset-block-start: 0;
  border-bottom: 1px solid var(--beige);
  background: rgba(255,249,239,.97);
}
.nav-bar { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand, .footer-brand { color: var(--navy); font: 700 clamp(1.3rem, 2.5vw, 1.65rem)/1.1 var(--serif); text-decoration: none; letter-spacing: -.035em; }
.brand span, .footer-brand span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 2.3vw, 30px); }
.main-nav > a:not(.button) { display: inline-flex; min-block-size: 44px; align-items: center; text-decoration: none; font-size: .88rem; font-weight: 650; }
.main-nav > a:not(.button):hover, .text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.nav-toggle { display: none; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .65rem 1.25rem;
  border: 1px solid var(--navy);
  border-radius: 2px;
  background: var(--navy);
  color: var(--ivory);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover { border-color: var(--gold); background: var(--gold); color: var(--navy); }
.button-small { min-height: 44px; padding-inline: .9rem; font-size: .86rem; }
.button-full { width: 100%; }
.button-outline { background: transparent; color: var(--navy); }
.button:disabled { opacity: .58; cursor: not-allowed; }
.button:disabled:hover { border-color: var(--navy); background: var(--navy); color: var(--ivory); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-underline-offset: .25em; }

/* Portada: texto y fotografías de agendas en un pliego. */
.hero {
  --focus-color: var(--ivory);
  padding-block: var(--section-space) clamp(34px, 5vw, 68px);
  border-bottom: 1px solid rgba(220,199,165,.65);
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(10,18,36,.90) 0%, rgba(16,29,59,.78) 46%, rgba(16,29,59,.48) 100%),
    url("../images/20062026-_DSC3434-02.jpeg");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  color: var(--ivory);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(26px, 5vw, 72px); }
.hero-copy { min-width: 0; }
.eyebrow { color: #e0bd70; }
.eyebrow::before { width: 2em; height: 1px; background: var(--gold); content: ""; }
.overline { margin: 18px 0 8px; color: #e8d9c1; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 13ch; color: var(--ivory); font-size: clamp(2.85rem, 1.6rem + 4.2vw, 5.8rem); letter-spacing: -.05em; line-height: .98; }
h1 em, .story-content h2 em { color: #e0bd70; font-weight: 500; }
.hero-lead { max-width: 45ch; margin: clamp(16px, 3vw, 26px) 0 20px; color: #fff7eb; font-size: clamp(1rem, .94rem + .35vw, 1.15rem); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.hero .button { border-color: var(--ivory); background: var(--ivory); color: var(--navy); }
.hero .button:hover { border-color: var(--gold); background: var(--gold); }
.hero .text-link { color: var(--ivory); }
.hero-note, .hero-index { color: #e8d9c1; font-size: .82rem; }
.hero-note { margin: 16px 0 0; }
.hero-index { margin-block: clamp(26px, 4vw, 48px) 0; padding-top: 12px; border-top: 1px solid rgba(220,199,165,.65); letter-spacing: .12em; text-transform: uppercase; }
.hero-art {
  --focus-color: var(--navy);
  min-width: 0;
  padding: clamp(9px, 1.5vw, 18px);
  border: 1px solid var(--gold);
  background: var(--ivory);
  box-shadow: 7px 7px 0 rgba(177,138,44,.10);
}
.hero-art-heading, .hero-art-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--navy); font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-art-heading { padding: 2px 2px 10px; }
.hero-art-footer { padding: 11px 2px 0; }
.hero-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: clamp(5px, .9vw, 12px);
  padding: clamp(10px, 1.8vw, 24px);
  border: 1px solid var(--beige);
  background: linear-gradient(145deg, #f8efdf, #eee0c8);
}
.hero-loading { grid-column: 1 / -1; padding: 12px; color: var(--navy); text-align: center; }
.hero-product {
  position: relative;
  display: grid;
  aspect-ratio: 7 / 8;
  place-items: center;
  border: 1px solid rgba(16,29,59,.16);
  background: var(--card-color);
  box-shadow: 0 8px 15px rgba(41,37,34,.12);
  text-decoration: none;
}
.hero-product img, .product-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-product img { position: absolute; inset: 0; }
a.hero-product:hover:not(:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.hero-fallback { display: grid; place-items: center; padding: 3px; color: var(--ivory); font: 600 .9rem/1.15 var(--serif); text-align: center; overflow-wrap: anywhere; }

.shop-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--grid-gap);
  margin-block: 0;
  padding-block: 19px;
  list-style: none;
  color: var(--navy);
}
.shop-steps:not(.container) { padding-inline: 0; }
.shop-steps li { display: flex; align-items: baseline; gap: .6rem; font-weight: 650; }
.shop-steps li > span:first-child { font: 700 1.15rem var(--serif); }

/* Proyecto: columna de título y columna de lectura; misma fotografía. */
.story-section {
  --focus-color: var(--ivory);
  display: grid;
  align-items: center;
  padding-block: var(--section-space);
  border-bottom: 1px solid rgba(220,199,165,.55);
  background-color: var(--navy);
  background-image:
    linear-gradient(100deg, rgba(9,16,31,.83), rgba(16,29,59,.69) 52%, rgba(16,29,59,.57)),
    url("../images/20062026-_DSC3466-01.jpeg");
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
  color: #fff7eb;
}
.story-content {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(18px, 4vw, 55px);
  padding: clamp(16px, 3vw, 36px);
  border: 1px solid rgba(220,199,165,.48);
  background: rgba(12,22,43,.34);
}
.story-content .section-kicker { color: #e0bd70; }
.story-content h2 { margin-block: 10px 0; color: var(--ivory); }
.story-divider { display: flex; align-items: center; gap: 10px; margin-block: 18px 0; color: #e0bd70; }
.story-divider::after { width: 54px; height: 1px; background: #e0bd70; content: ""; }
.story-body { max-width: 62ch; }
.story-body p, .story-content > p { margin: 0 0 .8em; font-size: clamp(.98rem, .94rem + .22vw, 1.1rem); text-wrap: pretty; }
.story-body p:last-child, .story-content > p:last-child { margin-bottom: 0; }
.story-content:not(:has(.story-body)) > * { grid-column: 1 / -1; max-width: 62ch; }

/* Catálogos: encabezados de capítulo y formatos comparables. */
.products-section, .stickers-section, .order-section { padding-block: var(--section-space); }
.products-section {
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(245,232,210,.88), rgba(245,232,210,.91)),
    /* %23 representa el # literal que forma parte del nombre del archivo. */
    url("../images/Concierto Did%23U00e1ctico para liceo y escuelas 4.jpg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr);
  align-items: end;
  gap: 8px var(--grid-gap);
  padding-bottom: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--gold);
  text-align: start;
}
.section-heading h2 { text-wrap: pretty; }
.heading-copy h2 { margin-top: 8px; }
.section-heading > .section-kicker { grid-column: 1 / -1; }
.section-heading > p { max-width: 48ch; margin: 0; color: var(--muted); text-wrap: pretty; }
.section-heading p strong, .order-notice strong, .sticker-gallery-heading p strong { color: var(--navy); }
.product-grid, .sticker-pack-grid, .order-grid { display: grid; gap: var(--grid-gap); margin-top: clamp(18px, 3vw, 32px); }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card, .sticker-pack-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(9px, 1.5vw, 17px);
  border: 1px solid var(--beige);
  background: var(--ivory);
  transition: box-shadow .16s ease, border-color .16s ease;
}
.product-card.is-selected, .sticker-pack-card.is-selected { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 9px 24px rgba(16,29,59,.07); }
:where(.product-card.is-selected, .sticker-pack-card.is-selected) .quantity-control input:not([aria-invalid="true"]) { background: var(--cream); color: var(--navy); }
.product-photo {
  position: relative;
  display: grid;
  aspect-ratio: 3 / 4;
  place-items: center;
  overflow: hidden;
  margin-bottom: 13px;
  border: 1px solid var(--beige);
  background: linear-gradient(145deg, #f8efdf, #eee0c8);
}
.product-photo img { position: absolute; inset: 0; }
.product-photo.is-missing::before { position: absolute; inset: 9% 17%; border: 1px solid rgba(255,249,239,.55); background: var(--card-color); content: ""; box-shadow: 0 8px 20px rgba(41,37,34,.12); }
.product-photo.is-missing::after { position: absolute; content: "2027"; color: #e0bd70; font: 600 1.5rem var(--serif); }
.product-photo.is-missing img { display: none; }
.product-card h3 { display: flex; align-items: center; gap: 8px; font-size: clamp(1.35rem, 1.18rem + .6vw, 1.75rem); }
.color-dot { width: 12px; height: 12px; flex: 0 0 12px; border: 1px solid var(--gold); border-radius: 50%; background: var(--card-color); }
.product-price { margin: 5px 0 12px; color: var(--muted); font-size: .86rem; }
.quantity-control { display: flex; width: min(100%, 11rem); align-items: stretch; margin-top: auto; border: 1px solid var(--navy); }
.quantity-control button { min-inline-size: 44px; min-block-size: 44px; flex: none; padding: 0; border: 0; background: var(--ivory); color: var(--navy); font-size: 1.25rem; cursor: pointer; }
.quantity-control button:enabled:hover { background: var(--navy); color: var(--ivory); }
.quantity-control button:disabled { opacity: .58; cursor: not-allowed; }
.quantity-control :focus-visible { position: relative; z-index: 1; outline-offset: -3px; }
.quantity-control button:enabled:hover:focus-visible { outline-color: var(--ivory); }
.quantity-control input { width: 0; min-width: 0; flex: 1; border: 0; border-inline: 1px solid var(--navy); border-radius: 0; background: #fff; color: var(--ink); text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.quantity-label { display: block; margin-top: 7px; color: var(--muted); font-size: .79rem; }
.selection-label { align-self: flex-start; margin: 8px 0 0; padding: 2px 7px; border: 1px solid var(--gold); color: var(--navy); background: var(--cream); font-size: .74rem; font-weight: 750; }
.order-notice { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; padding: 14px clamp(12px, 2vw, 22px); border-block: 1px solid var(--gold); background: var(--ivory); }
.order-notice p { margin: 0; font-size: .92rem; text-wrap: pretty; }
.notice-mark { color: var(--gold); font-size: 1.1rem; }

.stickers-section {
  border-top: 1px solid var(--beige);
  background:
    radial-gradient(circle at 10% 18%, rgba(177,138,44,.09), transparent 28%),
    radial-gradient(circle at 92% 82%, rgba(16,29,59,.07), transparent 30%),
    var(--ivory);
}
.sticker-pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sticker-pack-card { background: #fffdf8; }
.sticker-pack-art {
  position: relative;
  display: grid;
  min-height: clamp(96px, 13vw, 150px);
  place-items: center;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid rgba(177,138,44,.45);
  background: linear-gradient(145deg, #f5e8d2, #e6d6ba);
  color: var(--navy);
}
.sticker-pack-card:nth-child(2) .sticker-pack-art { background: linear-gradient(145deg, #e7e9ef, #cbd2e0); }
.sticker-pack-card:nth-child(3) .sticker-pack-art { background: linear-gradient(145deg, #efe3e9, #dbc2d0); }
.sticker-art-note { position: absolute; font: 500 clamp(3.3rem, 6vw, 5.2rem)/1 var(--serif); color: rgba(16,29,59,.82); }
.sticker-art-note.note-one { left: 12%; top: 3%; transform: rotate(-12deg); }
.sticker-art-note.note-two { right: 10%; bottom: -4%; transform: rotate(9deg); }
.sticker-art-center { position: relative; padding: 5px 8px; border: 1px solid rgba(16,29,59,.5); background: rgba(255,249,239,.82); color: var(--navy); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-align: center; }
.sticker-pack-card h3 { font-size: clamp(1.4rem, 1.2rem + .85vw, 1.9rem); text-wrap: pretty; }
.sticker-pack-description { margin: 6px 0 9px; color: var(--muted); font-size: .88rem; text-wrap: pretty; }
.sticker-pack-price { margin: 0; color: var(--navy); font: 700 2rem/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.sticker-pack-unit { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.sticker-pack-saving { margin-block: 5px 12px; color: #47634f; font-size: .79rem; font-weight: 700; }
.sticker-notice { margin-top: clamp(18px, 3vw, 32px); }

.sticker-gallery-heading { max-width: 70ch; margin: clamp(34px, 6vw, 68px) 0 18px; }
.sticker-gallery-heading h3 { margin: 7px 0 10px; font-size: clamp(1.65rem, 3vw, 2.3rem); text-wrap: pretty; }
.sticker-gallery-heading p { margin: 0; color: var(--muted); text-wrap: pretty; }
.sticker-gallery-count { display: inline-block; margin-top: 10px; padding: 4px 9px; border: 1px solid rgba(177,138,44,.35); color: var(--navy); background: rgba(255,253,248,.8); font-size: .78rem; font-weight: 750; }
.sticker-gallery-shell {
  position: relative;
  isolation: isolate;
  padding: clamp(12px, 2.5vw, 26px);
  border: 1px solid rgba(177,138,44,.3);
  background:
    radial-gradient(circle at 15% 20%, rgba(177,138,44,.09) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 70%, rgba(16,29,59,.07) 0 2px, transparent 3px),
    #fffdf8;
  background-size: 29px 31px, 37px 41px, auto;
  box-shadow: 0 12px 30px rgba(16,29,59,.06);
}
.sticker-scatter { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, clamp(68px, 10vw, 110px)), 1fr)); gap: clamp(9px, 1.3vw, 16px); }
.sticker-float { position: relative; display: grid; aspect-ratio: 1; min-width: 0; place-items: center; margin: 0; transform: rotate(var(--sticker-angle, 0deg)); transition: transform .18s ease; }
.sticker-float img { position: absolute; display: block; width: 92%; height: 92%; object-fit: contain; filter: drop-shadow(0 7px 5px rgba(20,25,38,.11)); }
@media (hover: hover) and (pointer: fine) {
  .sticker-float:hover { z-index: 1; transform: rotate(0deg) scale(1.08); filter: drop-shadow(0 8px 8px rgba(16,29,59,.15)); }
}
.sticker-gallery-decoration { position: absolute; z-index: -1; color: rgba(177,138,44,.17); font: 700 3.2rem/1 var(--serif); pointer-events: none; }
.decoration-note-one { inset: 6px auto auto 12px; }
.decoration-note-two { inset: auto 12px 6px auto; }
.gallery-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; }
#galleryProgress { margin: 0; color: var(--muted); font-size: .86rem; }

/* Pedido: formulario, total y próximos pasos. */
.order-section { border-block: 1px solid var(--beige); background: rgba(255,249,239,.78); }
.order-grid { grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: start; }
.order-panel { min-width: 0; padding: clamp(14px, 2.5vw, 30px); border: 1px solid var(--beige); background: var(--cream); }
.summary-panel { border-top: 3px solid var(--gold); background: var(--ivory); }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(14px, 2vw, 23px); }
.panel-number, .steps-list li > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border: 1px solid var(--gold); color: var(--navy); font: 700 1.1rem var(--serif); }
.panel-heading h3 { font-size: clamp(1.45rem, 1.2rem + .85vw, 1.9rem); text-wrap: pretty; }
.form-field + .form-field { margin-top: 13px; }
.form-field label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .93rem; font-weight: 700; }
.form-field label span { color: #9b1c1c; }
.form-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8d806e; border-radius: 2px; background: var(--ivory); color: var(--ink); }
input[aria-invalid="true"] { border-color: #9b1c1c; background: #fff6f6; }
.quantity-control input[aria-invalid="true"] { background: #fff6f6; color: #9b1c1c; }
.quantity-control:has(input[aria-invalid="true"]) { border-color: #9b1c1c; }
.field-help, .privacy-note, .checkout-note { margin: 6px 0 0; color: var(--muted); font-size: .84rem; }
.customer-panel .field-help, .customer-panel .privacy-note { color: var(--ink); }
.field-error, .status-message.is-error { color: #9b1c1c; }
.field-error { margin: 5px 0 0; font-size: .83rem; overflow-wrap: anywhere; }
.quantity-error { font-size: .79rem; }
.quantity-global-error { margin-top: 12px; }
.field-error:empty, .status-message:empty { margin: 0; }
.privacy-note { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--beige); }
.summary-list { margin: 0; }
.summary-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--beige); font-size: .93rem; }
.summary-row dt { color: var(--muted); overflow-wrap: anywhere; }
.summary-row dd { overflow-wrap: anywhere; margin: 0; color: var(--navy); font-weight: 700; text-align: end; }
.summary-empty { margin-block: 10px 0; color: var(--muted); font-size: .89rem; }
.summary-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 12px; margin: 14px 0 4px; padding-block: 12px; border-block: 1px solid var(--gold); color: var(--navy); }
.summary-total span { font: 600 1.4rem var(--serif); }
.summary-total strong { max-width: 100%; font: 700 clamp(2rem, 1.65rem + 1vw, 2.65rem)/1.1 var(--serif); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.unit-price-note { margin: 0 0 13px; color: var(--muted); font-size: .8rem; text-align: end; }
.checkout-note { margin-top: 12px; }
.status-message { margin: 8px 0 0; color: var(--navy); font-size: .85rem; }
.order-receipt { margin-top: 12px; padding: 12px; border: 1px solid var(--beige); background: var(--cream); color: var(--navy); overflow-wrap: anywhere; }
#whatsappResume { width: 100%; margin-top: 10px; }
.next-steps { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: var(--grid-gap); margin-top: clamp(32px, 6vw, 66px); padding-top: 20px; border-top: 1px solid var(--beige); }
.next-steps-title h3 { margin-top: 7px; font-size: clamp(1.55rem, 3vw, 2.1rem); text-wrap: pretty; }
.steps-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--grid-gap); margin: 0; padding: 0; list-style: none; }
.steps-list li { display: flex; align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--beige); }
.steps-list p { margin: 3px 0 0; font-size: .88rem; line-height: 1.5; }
.after-payment-note { max-width: 72ch; margin: 14px 0 0; color: var(--muted); font-size: .86rem; }
.site-footer { --focus-color: var(--ivory); padding-block: clamp(26px, 4.5vw, 54px); background: var(--navy); color: var(--beige); }
.footer-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 8px var(--grid-gap); }
.footer-content > * { margin: 0; }
.footer-brand { justify-self: start; color: var(--ivory); }
.footer-contact { font-size: .9rem; overflow-wrap: anywhere; text-underline-offset: .25em; }
.footer-thanks { color: var(--ivory); font: italic 1.15rem/1.4 var(--serif); }

/* Pedido a mano sin cubrir el final de la página ni el foco por teclado. */
body.has-cart { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
html:has(body.has-cart) { scroll-padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.cart-dock {
  --focus-color: var(--ivory);
  position: fixed;
  z-index: 15;
  inset-inline-end: max(var(--gutter), env(safe-area-inset-right));
  inset-block-end: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  max-width: calc(100% - var(--gutter) * 2);
  padding: 8px;
  border: 1px solid var(--gold);
  background: var(--navy);
  color: var(--ivory);
  box-shadow: 0 9px 24px rgba(16,29,59,.15);
}
.cart-dock-copy { display: flex; min-width: 0; flex-direction: column; padding-inline: 4px; line-height: 1.3; overflow-wrap: anywhere; }
#cartCount { color: var(--beige); font-size: .78rem; }
#cartTotal { font-weight: 750; font-variant-numeric: tabular-nums; }
.cart-dock .button { border-color: var(--ivory); background: var(--ivory); color: var(--navy); }
.cart-dock .button:hover { border-color: var(--gold); background: var(--gold); }

/* Ajuste de composición por ancho disponible. */
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-photo { aspect-ratio: 1; }
}
@media (max-width: 760px) {
  :root { --header-height: 60px; }
  .site-header:not(.nav-ready) { position: static; }
  .nav-bar { flex-wrap: wrap; gap: 6px 12px; padding-block: 8px; }
  .nav-ready .nav-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .main-nav { flex: 0 0 100%; flex-wrap: wrap; gap: 3px 14px; }
  .nav-ready .main-nav:not(.is-open) { display: none; }
  .nav-ready .main-nav.is-open {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 8px var(--gutter) 16px;
    border-bottom: 1px solid var(--beige);
    background: var(--ivory);
  }
  .nav-ready .main-nav .button { justify-self: start; }
  .nav-ready .nav-toggle {
    display: inline-flex;
    min-block-size: 44px;
    align-items: center;
    gap: 8px;
    padding: 6px 9px;
    border: 1px solid var(--navy);
    border-radius: 2px;
    background: var(--ivory);
    color: var(--navy);
    font-size: .84rem;
    font-weight: 700;
    cursor: pointer;
  }
  .menu-icon { display: grid; width: 14px; gap: 4px; }
  .menu-icon span { height: 1px; background: currentColor; }
  .nav-toggle[aria-expanded="true"] .menu-icon span:first-child { transform: translateY(2.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .menu-icon span:last-child { transform: translateY(-2.5px) rotate(-45deg); }
  .hero-grid, .story-content, .section-heading, .order-grid, .next-steps { grid-template-columns: minmax(0, 1fr); }
  .section-heading > p { max-width: 62ch; }
  .hero { padding-top: clamp(30px, 7vw, 50px); background-position: 62% center; }
  .hero h1 { font-size: clamp(2.35rem, 9vw, 4.75rem); }
  .hero-art { width: min(100%, 510px); }
  .story-section { background-position: 55% 16%; }
  .story-content { background: rgba(12,22,43,.48); }
}
@media (max-width: 540px) {
  .shop-steps { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .sticker-pack-grid, .steps-list, .footer-content { grid-template-columns: minmax(0, 1fr); }
  .sticker-pack-art { min-height: 84px; }
  .cart-dock { inset-inline: var(--gutter); max-width: none; }
}
@media (max-width: 350px) {
  .brand { font-size: 1.16rem; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-photo { aspect-ratio: 6 / 5; }
  .hero-art-footer { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .product-card, .sticker-pack-card, .sticker-float { transition: none; }
  .sticker-float, .sticker-float:hover { transform: none; }
}
