:root {
  color-scheme: light;
  --paper: #fff;
  --white: #fff;
  --ink: #171717;
  --muted: #505050;
  --accent: #aa1f27;
  --dark: #202020;
  --line: #dedede;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.52 var(--sans); }
img { display: block; width: 100%; height: auto; }
p, figure, dl, dd { margin: 0; }
h1, h2, h3 { margin: 0; font: 720 2rem/1.12 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 1.42rem; line-height: 1.18; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .65; }
:focus-visible { outline: 3px solid #aa1f27; outline-offset: 4px; }
main[id], section[id], #oferta { scroll-margin-top: 5rem; }
.wrap { width: min(100% - 7.8rem, 1240px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: .5rem; left: .5rem; transform: translateY(-200%); padding: .65rem 1rem; background: white; }
.skip:focus { transform: none; }
.preview-note { padding: .35rem 1rem; text-align: center; background: #fff; font-size: .88rem; color: var(--muted); }
.footer-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer nav { display: flex; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; color: var(--dark); text-decoration: none; font: 690 1.2rem/1.1 var(--sans); }
.brand em { font-style: normal; }
.site-header { position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); background: var(--paper); }
.site-nav, .nav-actions { display: flex; align-items: center; gap: .65rem 1.05rem; }
.site-nav { justify-content: space-between; min-height: 62px; }
.nav-actions a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; }
.nav-actions a:hover { text-decoration: underline; text-underline-offset: .25em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .62rem 1.13rem; border: 1px solid transparent; border-radius: 6px; text-align: center; text-decoration: none; font-size: 1rem; font-weight: 650; line-height: 1.25; }
.button-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button-primary:hover:enabled, a.button-primary:hover { background: #841820; }
.button-outline { background: transparent; border-color: #9b9b9b; color: var(--dark); }
.button-outline:hover:enabled, a.button-outline:hover { background: #f4f4f4; }
.bag { white-space: nowrap; }
.bag span { display: inline-grid; place-items: center; padding-inline: .25rem; min-width: 1.42rem; min-height: 1.38rem; border-radius: 1rem; background: #f2f2f2; font-size: .82rem; }
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) 2.35rem; text-align: center; }
.hero h1 {
  max-width: 21ch;
  margin-inline: auto;
  color: var(--accent);
  font-size: clamp(2.35rem, 5.6vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.046em;
}
.hero-film {
  width: min(100%, 400px);
  margin-inline: auto;
}
.hero-film > vturb-smartplayer {
  display: block;
  width: 100%;
}
.hero-film .vturb-player-placeholder {
  position: relative;
  width: 100%;
  padding-top: 177.7777777778%;
  z-index: 0;
  border-radius: 12px;
  background: #000;
}
#film-error { margin-top: .6rem; }
.hero-offer { max-width: 356px; margin: 1.28rem auto 0; }
.offer-label { font-size: .97rem; font-weight: 650; }
.offer-numbers { display: flex; align-items: baseline; justify-content: center; gap: .7rem; line-height: 1.15; margin: .18rem 0 .36rem; }
.offer-before { font-size: 1.9rem; color: var(--muted); white-space: nowrap; }
.offer-numbers strong { font-size: 1.45rem; white-space: nowrap; }
.hero-offer .button { font-size: 1.075rem; }
#collection-offer:not([hidden]) + #catalogue-button { margin-top: .6rem; }
.offer-delivery { margin-top: .58rem; color: var(--muted); font-size: .84rem; }
.sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.section { padding-block: clamp(2.6rem, 6.4vw, 5.6rem); }
.section-heading { margin-bottom: 1.7rem; }
.section-heading > p { margin-top: .65rem; color: var(--muted); }
.byline { color: var(--muted); font-size: .89rem; font-weight: 650; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.price { color: var(--dark); font-weight: 700; font-size: 1.37rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--dark); font-weight: 650; font-size: .98rem; text-underline-offset: .22em; }
.edition-copy { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: .96rem; }
#savings-row { color: var(--dark); font-weight: 600; }
.help { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem 3rem; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; cursor: pointer; list-style: none; font-weight: 650; color: var(--dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 1rem; color: var(--muted); }
.footer { background: #fff; border-top: 1px solid var(--line); padding-block: 1rem; }
.footer-row { align-items: flex-start; min-height: 57px; }
.footer nav { flex-wrap: wrap; gap: 0 1.1rem; }
.footer-link, .footer nav a { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 0; color: var(--dark); font-size: .95rem; }
.footer-link { text-decoration: underline; }
#seller, .seller-data { font-size: .92rem; margin-top: .65rem; max-width: 56ch; }
.seller-data { margin-bottom: 1rem; padding: .75rem; border: 1px solid var(--line); }
.dialog { max-height: min(92dvh, 100% - 2rem); width: min(100% - 1.2rem, 760px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.dialog::backdrop { background: #111b; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-inner { padding: clamp(1rem, 3.6vw, 2.3rem); }
.dialog h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 5vw, 2.7rem); }
.dialog .close { display: block; min-height: 44px; background: transparent; color: var(--dark); border: 0; margin: -.35rem -.2rem .55rem auto; padding: .45rem; font-weight: 650; text-decoration: underline; text-underline-offset: .2rem; }
.detail-grid { display: grid; align-items: start; gap: 1.35rem; grid-template-columns: .8fr 1.2fr; }
.specs { display: grid; margin: 1rem 0; grid-template-columns: auto 1fr; gap: .3rem 1rem; font-size: .94rem; }
.specs dt { font-weight: 650; }
.detail-grid .price { margin-bottom: .75rem; }
.checkout-dialog { max-width: 605px; }
#bag-lines { border-block: 1px solid var(--line); }
.bag-line { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; align-items: center; padding: .68rem 0; }
.bag-line + .bag-line { border-top: 1px solid var(--line); }
.bag-line strong { font-size: 1rem; }
.bag-line > div { display: flex; flex-direction: column; }
.bag-line small { font-size: .91rem; color: var(--muted); }
.qty { display: flex; align-items: center; gap: .25rem; }
.qty button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--dark); font-weight: 650; }
.qty output { min-width: 1.2rem; text-align: center; }
.shipping-form, .delivery-form { margin-top: 1.15rem; }
.shipping-form label, .fields label { display: flex; flex-direction: column; gap: .32rem; font-weight: 650; font-size: .95rem; }
.zip-row { display: flex; gap: .55rem; margin-top: .35rem; }
input, select { color: var(--ink); background: #fff; border: 1px solid #aaa; min-width: 0; border-radius: 5px; min-height: 48px; padding: .56rem .68rem; font-size: 1rem; }
.zip-row input { width: min(100%, 11rem); }
.feedback { font-size: .95rem; color: #4e3739; margin-top: .45rem; }
.feedback:empty { display: none; }
.totals { padding: .85rem 0; display: grid; gap: .25rem; }
.totals > div { display: flex; justify-content: space-between; gap: .75rem; }
.totals > div:last-child { font-size: 1.13rem; font-weight: 700; }
.totals dd { font-variant-numeric: tabular-nums; white-space: nowrap; }
.full { width: 100%; margin-top: .4rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: .85rem 0; }
.fields .wide { grid-column: 1 / -1; }
.optional, .checkout-caption { color: var(--muted); font-weight: 400; font-size: .91rem; }
.optional { display: contents; }
.checkout-caption { margin-top: .6rem; text-align: center; }
.back-books { margin-top: .65rem; }
.notice, .demo-complete { padding: .78rem; margin-block: .75rem; background: #f4f4f4; border-radius: 5px; }
.demo-complete h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.demo-complete button { margin-top: .65rem; }
#policy-copy p + p { margin-top: .8rem; }
.status-card { max-width: 660px; margin: 3rem auto; }
.status-card > * + * { margin-top: 1rem; }
@media (max-width: 940px) {
  .wrap { width: min(100% - 4rem, 1240px); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2.15rem); }
  .brand { font-size: 1.25rem; gap: .37rem; }
  .bag { min-height: 44px; font-size: .92rem; padding: .44rem .55rem; }
  .hero { padding: 1.75rem 0 2rem; }
  .hero-offer { margin-top: 1rem; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 3.1rem); }
  h2 { font-size: 1.8rem; }
  .help { grid-template-columns: 1fr; }
  .help { gap: 0; }
  .footer-row { align-items: flex-start; flex-direction: column; justify-content: center; gap: .45rem; }
}
@media (max-width: 520px) {
  .detail-grid { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .site-nav .brand { font-size: 1.05rem; }
  .nav-actions { gap: .45rem; }
  .nav-actions .nav-help { display: none; }
  .zip-row { flex-wrap: wrap; }
  .zip-row input { flex: 1 1 7rem; }
}

.hero-offer { max-width: 458px; }
.offer-display { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .8rem; align-items: center; text-align: left; margin-bottom: .62rem; }
.offer-books { display: flex; gap: .28rem; }
.offer-books img { width: clamp(41px, 12vw, 68px); height: auto; aspect-ratio: 5 / 7; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; }
.offer-display .offer-numbers { justify-content: flex-start; flex-wrap: wrap; gap: .22rem .55rem; }
@media (max-width: 380px) {
  .offer-before { font-size: 1.6rem; }
  .offer-numbers strong { font-size: 1.25rem; }
}

.has-angles .gallery-frame { touch-action: pan-y pinch-zoom; }
.gallery-frame { position: relative; }
.has-angles .gallery-outgoing { position: absolute; inset: 0; pointer-events: none; }

.gallery-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  padding: .25rem .5rem;
  background: #fff;
  border-block-end: 1px solid var(--line);
}
.gallery-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}
.gallery-controls button:hover { background: #f4f4f4; }
.gallery-position { margin: 0; padding-inline: .25rem; text-align: center; font-size: .88rem; }

/* Editorial storefront */
:root {
  --ink: #292422;
  --muted: #60554f;
  --accent: #802c38;
  --dark: #302827;
  --line: #e6ddd7;
  --wash: #faf6f2;
  --serif: Georgia, "Times New Roman", serif;
}
:focus-visible { outline-color: var(--accent); }
h1, h2 { font-family: var(--serif); font-weight: 600; }
.site-header { z-index: 4; }
.site-nav { min-height: 67px; }
.site-nav .brand { gap: .58rem; font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.site-nav .brand img { width: 34px; height: 34px; }
.nav-secondary { display: flex; gap: 1.15rem; }
.nav-mobile { display: none; position: relative; z-index: 1; }
.nav-mobile summary { display: grid; align-items: center; min-height: 44px; cursor: pointer; list-style: none; font-size: .91rem; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile > div { position: absolute; inset: calc(100% + .55rem) 0 auto auto; min-width: 12.5rem; padding: .35rem .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 26px #37281c1a; }
.nav-mobile a { display: flex; }
.hero { padding-block: clamp(1.7rem, 4vw, 3.8rem) 1.35rem; }
.hero-heading { margin: 0 auto 1.4rem; }
.hero-heading h1 { max-width: 28ch; color: #aa1f27; font-size: clamp(2.2rem, 5.6vw, 4.55rem); }
.hero-grid { display: grid; max-width: 688px; grid-template-columns: minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.6rem); margin-inline: auto; }
.hero-book-photos { display: grid; gap: clamp(.8rem, 2.6vw, 1.45rem); width: min(100%, 430px); margin-inline: auto; }
.hero-book-photos img { border-radius: 10px; }
.hero-offer { max-width: none; width: 100%; margin: 0; padding: 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); text-align: center; }
.offer-display { gap: .8rem; }
.offer-books img { width: clamp(42px, 10vw, 68px); }
.offer-label { font-size: clamp(1.24rem, 2.5vw, 1.7rem); }
.offer-saving { margin: .25rem 0 .4rem; color: var(--accent); font-weight: 650; }
.offer-numbers strong { color: var(--accent); }
.offer-delivery { font-size: .9rem; line-height: 1.45; }
.button-primary:hover:enabled, a.button-primary:hover { background: #65222d; border-color: #65222d; }
.button, .nav-actions a { transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
.detail-info .price { color: var(--accent); }
.author { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem 3rem; border-top: 1px solid var(--line); padding-block: clamp(1.5rem, 4vw, 3.4rem); }
.author p { color: var(--muted); }
.author details { margin-top: .85rem; }
.author summary { cursor: pointer; font-weight: 650; min-height: 44px; display: list-item; }
.help { border-top: 1px solid var(--line); padding-block: clamp(1.5rem, 4vw, 3.4rem); }
.help .section-heading .button { margin-top: .85rem; }
.faq details > :is(.footer-link, .text-link) { margin-bottom: .65rem; }
.footer { background: var(--wash); }
.print-credit { margin-top: .65rem; font-size: .92rem; color: var(--muted); }
.print-credit address { font-style: normal; }
.product-view { padding-block: .75rem 2.5rem; max-width: 1070px; }
.breadcrumb { margin-bottom: .8rem; }
.product-view .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.3rem, 5vw, 4rem); }
.detail-info h1 { font-size: clamp(2.05rem, 4.5vw, 3.5rem); margin-block: .5rem .65rem; }
.detail-info > p:not(.price) { color: var(--muted); }
.detail-info .price { font-size: 1.85rem; margin: .8rem 0 .35rem; }
#detail-sample { max-width: 435px; padding-bottom: .8rem; }
#detail-sample img { border: 1px solid var(--line); }
#detail-sample figcaption { font-size: .9rem; color: var(--muted); margin-top: .35rem; }
#kit-offer-slot { margin-top: 1rem; }
#kit-offer-slot .offer-books, #kit-offer-slot .offer-label { display: none; }
#kit-offer-slot .offer-display { display: block; }
#kit-offer-slot .offer-numbers { justify-content: center; }
.kit-covers { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.kit-covers img { border-radius: 8px; }
.kit-titles { margin: .9rem 0 0; padding-left: 1.2rem; }

@media (max-width: 740px) {
  .nav-secondary { display: none; }
  .nav-mobile { display: block; }
  .hero-grid { max-width: 480px; }
  .hero-heading h1 { font-size: clamp(2rem, 8.3vw, 3.25rem); }
  .hero-offer { padding: .85rem; }
  .author, .product-view .detail-grid { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .author .section-heading, .help .section-heading { margin-bottom: .65rem; }
  .detail-info { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .site-nav { width: calc(100% - 1.2rem); gap: .45rem; min-height: 59px; }
  .site-nav .brand { gap: .3rem; font-size: .96rem; }
  .site-nav .brand img { width: 23px; height: 23px; }
  .nav-actions { gap: .32rem; }
  .nav-actions .bag { font-size: .84rem; padding: .35rem; gap: .25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .dialog[open] { animation: modal-in .18s ease-out; }
  @keyframes modal-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
.bag-line > .bag-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: .55rem; }
.bag-item img { border-radius: 4px; }
.bag-item small { display: block; }
@media (max-width: 355px) {
  .site-nav .brand { font-size: .93rem; }
  .bag-line > .bag-item { grid-template-columns: minmax(0, 1fr); }
  .bag-item img { display: none; }
}
.nav-mobile .nav-books-small { display: none; }
@media (max-width: 355px) {
  .nav-actions .nav-books { display: none; }
  .nav-mobile .nav-books-small { display: flex; }
}

.sample-note { color: var(--muted); margin-top: .4rem; }
.author-story { border: 0; }
.publishing-dates { display: grid; gap: .45rem; padding: 0; margin: .95rem 0 .55rem; list-style: none; }
.publishing-dates li { display: grid; grid-template-columns: 3.6rem 1fr; align-items: baseline; gap: .5rem; }
.publishing-dates li span { color: var(--accent); font: 650 1.3rem/1.15 var(--serif); }
.delivery-section { border-block: 1px solid var(--line); background: var(--wash); }
.delivery-section .section { padding-block: clamp(1.7rem, 4vw, 3.2rem); }
.delivery-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin: 0 0 .65rem; padding: 0; list-style: none; }
.delivery-steps li { display: flex; gap: .7rem; align-items: flex-start; }
.step-number { display: grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-weight: 650; background: var(--paper); }
.delivery-steps h3 { font-size: 1.13rem; margin-bottom: .3rem; }
.delivery-steps p { color: var(--muted); }
.final-offer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .9rem 1.5rem; margin-block: 0 2.25rem; padding: clamp(1rem, 3vw, 2rem); background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.final-offer h2 { font-size: clamp(1.8rem, 3.6vw, 2.55rem); }
.final-offer p { margin-top: .45rem; color: var(--muted); }
.final-offer-actions { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
@media (max-width: 680px) {
  .delivery-steps, .final-offer { grid-template-columns: 1fr; }
  .final-offer-actions { align-items: stretch; }
  .final-offer-actions .text-link { justify-content: center; }
}

.vsl {
  background: var(--paper);
  text-align: center;
}
.vsl-brand {
  display: flex;
  width: fit-content;
  gap: .55rem;
  margin: clamp(1rem, 3vw, 1.75rem) auto 0;
  font-family: var(--serif);
}
.vsl-brand .brand { gap: inherit; font: inherit; color: inherit; }
.vsl-brand img { width: 32px; }
.vsl-main {
  width: min(100% - 2rem, 720px);
  margin-inline: auto;
  padding-block: clamp(1rem, 2.6vw, 2rem) 2rem;
}
.vsl-main h1 {
  max-width: 26ch;
  margin: 0 auto clamp(1rem, 3vw, 1.6rem);
  color: var(--accent);
  font-size: clamp(1.9rem, 5.6vw, 3.5rem);
}

@media (max-width: 600px) {
  .vsl-brand {
    margin-top: .625rem;
    font-size: 1.05rem;
  }
  .vsl-brand img { width: 26px; }
  .vsl-main {
    width: calc(100% - 1.25rem);
    padding-block: .625rem 1rem;
  }
  .vsl-main h1 {
    margin-bottom: .65rem;
    font-size: clamp(1.35rem, 5.8vw, 2rem);
    line-height: 1.08;
  }
  .vsl .hero-film {
    /* Reserve room for the heading and use the small viewport while browser bars are visible. */
    width: min(100%, 400px, max(9rem, calc((100svh - 8.5rem) * 0.5625)));
  }
}

.vsl-catalog-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block-start: .25rem;
  padding: .55rem 1.5rem;
  border: 1px solid #c8a75a;
  border-radius: 30px;
  background: #ebd9a6;
  color: #493714;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-copyright {
  padding-block: .75rem;
  text-align: center;
  color: var(--muted);
  font-size: .875rem;
}
