/* Shared styling for the multi-page Poker Life site.
   Loaded last so it can refine the existing single-page rules. */

/* --- Accessibility helpers --- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  background: var(--gold);
  color: #191204;
  font: 700 11px Inter, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

:target { scroll-margin-top: 92px; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #4c97ef;
  outline-offset: 3px;
}

/* --- Header controls are real links now --- */
.header-actions a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  color: #dce3ec;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.header-actions a:hover { color: var(--gold); }
.main-nav a:hover { color: var(--gold); }
.main-nav .is-current { font-weight: 600; }

/* --- Sub-page hero --- */
.page-hero {
  padding: 46px clamp(18px, 5vw, 72px) 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% -45%, rgba(45, 106, 184, .42), transparent 68%),
    linear-gradient(180deg, #04101f, #020810);
}

.page-hero h1 {
  max-width: 900px;
  margin: 8px auto 12px;
  font: 600 clamp(29px, 3.6vw, 48px)/1.06 Cinzel, Georgia, serif;
  letter-spacing: -.03em;
}

.page-hero h1 span { color: var(--gold); }

.page-hero > p {
  max-width: 660px;
  margin: 0 auto;
  color: #cad4e3;
  font-size: 13px;
  line-height: 1.65;
}

.page-hero .hero-actions { margin-bottom: 0; }

/* --- Generic content blocks --- */
.section-left { text-align: left; }
.section-left .section-subtitle { max-width: 640px; }

.section-head { margin-bottom: 22px; }
.section-head p.section-subtitle { margin-bottom: 0; }

.prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  color: #c8d2e1;
  font-size: 13px;
  line-height: 1.75;
}

.prose h3 {
  margin: 26px 0 8px;
  color: var(--gold);
  font: 600 18px Cinzel, Georgia, serif;
}

.prose h3:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #eef3fa; }

.pull-quote {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 18px 24px;
  border: 0;
  border-left: 2px solid var(--gold);
  color: var(--gold);
  font: 600 clamp(16px, 1.7vw, 21px)/1.45 Cinzel, Georgia, serif;
  text-align: left;
}

.pull-quote small {
  display: block;
  margin-top: 10px;
  color: #c0c8d4;
  font: 400 11px Inter, sans-serif;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
  text-align: left;
}

.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid #1c4b83;
  border-radius: 12px;
  background: linear-gradient(180deg, #071a34, #040b18);
  box-shadow: 0 13px 24px rgba(0, 0, 0, .32);
}

.panel .eyebrow {
  display: block;
  margin: 0 0 8px;
  color: #7fa9e4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.panel h3 {
  margin: 0 0 9px;
  color: var(--gold);
  font: 600 17px/1.25 Cinzel, Georgia, serif;
}

.panel h4 {
  margin: 14px 0 6px;
  color: #eef3fa;
  font-size: 12px;
  letter-spacing: .01em;
}

.panel p {
  margin: 0 0 11px;
  color: #bfc9d8;
  font-size: 12px;
  line-height: 1.65;
}

.panel p:last-child { margin-bottom: 0; }

.panel ul {
  margin: 0;
  padding-left: 18px;
  color: #bfc9d8;
  font-size: 12px;
  line-height: 1.7;
}

.panel ul li + li { margin-top: 4px; }

.panel .button { margin-top: 14px; }

/* Honest disclosure callout. */
.notice {
  max-width: 860px;
  margin: 20px auto 0;
  padding: 13px 17px;
  border: 1px solid rgba(228, 184, 82, .42);
  border-radius: 10px;
  background: rgba(228, 184, 82, .07);
  color: #e4dac3;
  font-size: 11.5px;
  line-height: 1.65;
  text-align: left;
}

.notice strong { color: var(--gold); }
.notice a { color: #ffd984; }

/* --- Shop --- */
.shop-block {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
  gap: 26px;
  align-items: center;
  text-align: left;
}

.shop-divider {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.shop-intro { max-width: 720px; margin: 0 0 26px; }

.shop-block h2,
.shop-intro h2 { margin: 6px 0 9px; font: 600 clamp(26px, 2.7vw, 35px) Cinzel, Georgia, serif; }

.shop-block p,
.shop-intro p:not(.section-kicker) { margin: 0 0 12px; color: #c0cad8; font-size: 12px; line-height: 1.6; }

.shop-block .gear-list { margin-bottom: 14px; }

.gear-gallery {
  display: block;
}

.gear-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(62, 126, 205, .65);
  border-radius: 11px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}

.gear-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gear-list li {
  padding: 6px 13px;
  border: 1px solid #23568e;
  border-radius: 999px;
  background: rgba(7, 26, 52, .8);
  color: #d7e2f1;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* --- Books catalog --- */
.catalog-note {
  margin: 0 auto 24px;
  max-width: 640px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* --- FAQ --- */
.faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.faq-list details {
  border: 1px solid #1c4b83;
  border-radius: 10px;
  background: linear-gradient(180deg, #071a34, #040b18);
  overflow: hidden;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  color: #eef3fa;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  flex: 0 0 auto;
  color: var(--gold);
  font: 400 19px/1 Inter, sans-serif;
}

.faq-list details[open] summary::after { content: '\2013'; }

.faq-list .answer {
  padding: 0 18px 16px;
  color: #bcc7d7;
  font-size: 12px;
  line-height: 1.7;
}

.faq-list .answer p { margin: 0 0 10px; }
.faq-list .answer p:last-child { margin-bottom: 0; }
.faq-list .answer a { color: #9dc6ff; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  text-align: left;
}

.contact-grid > div { min-width: 0; }
.contact-grid h2 { font: 600 clamp(24px, 2.5vw, 32px) Cinzel, Georgia, serif; }

.contact-form { display: grid; gap: 13px; }

.field { display: grid; gap: 6px; }

.field label {
  color: #9fb0c8;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(140, 176, 226, .35);
  border-radius: 8px;
  background: rgba(3, 12, 26, .85);
  color: var(--cream);
  font: 400 13px Inter, Arial, sans-serif;
}

.field textarea { min-height: 132px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #4c97ef;
  outline-offset: 1px;
  border-color: #4c97ef;
}

.form-status {
  margin: 0;
  color: #c5d3e5;
  font-size: 11px;
  line-height: 1.6;
}

.contact-form .button { justify-self: start; }

.contact-grid aside {
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-grid h2 { margin-top: 0; }
.contact-grid .section-subtitle { margin-bottom: 18px; }
.panel a:not(.button) { color: #9dc6ff; }
.page-hero > p a { color: #9dc6ff; }

/* Button rows wrap instead of pushing the layout wide. */
.hero-actions { flex-wrap: wrap; }

/* --- Home: "Buy Direct" copy column, balanced now the button is gone --- */
.direct .direct-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
}

.direct .direct-copy > * { margin: 0; }
.direct .direct-copy p:not(.section-kicker) { max-width: 330px; margin: 0; }
.direct .direct-copy .section-kicker { margin: 0 0 2px; }
.direct .direct-copy h2 { margin: 0; }

/* --- Book details and branded checkout --- */
.book-details {
  width: 100%;
  min-height: 29px;
  margin-top: 5px;
  border: 1px solid #6689bd;
  border-radius: 5px;
  background: transparent;
  color: #e5efff;
  cursor: pointer;
  font: 800 8px/1.1 Arial, sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.book-details:hover,
.book-details:focus-visible { border-color: #e7b434; color: #ffd76b; }

.book-details + .button { margin-top: 8px; }

.book-modal {
  width: min(860px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 0;
  border: 1px solid #3978c9;
  border-radius: 16px;
  background: #040b18;
  color: #edf4ff;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .72), 0 0 42px rgba(34, 118, 222, .2);
}

.book-modal::backdrop { background: rgba(0, 4, 12, .82); backdrop-filter: blur(5px); }

.book-modal-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(0, 1.4fr);
  gap: 26px;
  padding: 32px;
}

.book-modal-cover {
  align-self: start;
  overflow: hidden;
  border: 1px solid #2b6eb9;
  border-radius: 10px;
  background: #020714;
  box-shadow: 0 0 22px rgba(38, 112, 215, .23);
}

.book-modal-cover img,
.checkout-cover img { display: block; width: 100%; aspect-ratio: .67; object-fit: cover; }

.book-modal-copy h2,
.checkout-copy h2 {
  max-width: 14ch;
  margin: 7px 0 12px;
  color: #fffaf0;
  font: 700 clamp(30px, 4vw, 50px)/.98 Georgia, serif;
}

.book-modal-copy > p,
.checkout-copy > p {
  max-width: 58ch;
  margin: 0 0 19px;
  color: #c4d0e2;
  font-size: 15px;
  line-height: 1.6;
}

.book-modal-price,
.checkout-price { margin: 0 0 16px; color: #f5c23e; font: 800 24px/1 Arial, sans-serif; }

.book-modal-actions,
.checkout-actions { display: grid; gap: 9px; max-width: 410px; }

.book-modal-actions .button,
.checkout-actions .button { width: 100%; justify-content: center; }

.book-modal-note { margin: 12px 0 0; color: #9daec8; font-size: 11px; line-height: 1.45; }

.book-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid #5d7da9;
  border-radius: 50%;
  background: #071426;
  color: #fff;
  cursor: pointer;
  font: 400 24px/1 Arial, sans-serif;
}

.book-modal-close:hover,
.book-modal-close:focus-visible { border-color: #f3bd35; color: #f8c843; }

.checkout-section { padding-top: 16px; }

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(200px, .68fr) minmax(0, 1.4fr);
  gap: clamp(26px, 5vw, 64px);
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid #235790;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7, 29, 57, .9), rgba(2, 8, 20, .96));
  box-shadow: 0 0 34px rgba(23, 93, 187, .13);
}

.checkout-cover {
  align-self: start;
  overflow: hidden;
  border: 1px solid #2b6eb9;
  border-radius: 11px;
  background: #020714;
  box-shadow: 0 0 26px rgba(38, 112, 215, .24);
}

.checkout-trust {
  display: flex;
  gap: 10px;
  margin: 18px 0;
  padding: 13px 14px;
  border: 1px solid #294f80;
  border-radius: 8px;
  background: rgba(3, 15, 33, .62);
  color: #b9c8dd;
  font-size: 12px;
  line-height: 1.45;
}

.checkout-trust strong { display: block; margin-bottom: 2px; color: #f3c650; font-size: 12px; }

.checkout-back { display: inline-block; margin-top: 17px; color: #d7e6ff; font-size: 13px; }
.checkout-back:hover,
.checkout-back:focus-visible { color: #f6c846; }

/* --- Site search and cart --- */
.site-search {
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(18px, 5vw, 72px);
  z-index: 15;
  display: flex;
  gap: 8px;
  width: min(480px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid #2a609e;
  border-radius: 10px;
  background: #06172e;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .45);
}

/* Keep the search panel closed until the header search icon opens it. */
.site-search[hidden] { display: none; }

.header-actions {
  align-items: center;
}

.header-actions > a[data-cart-link] {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 25px;
  color: #fff;
}

.header-actions > a[data-cart-link] svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-search input,
.catalog-search input {
  min-width: 0;
  flex: 1;
  border: 1px solid #547cae;
  border-radius: 6px;
  padding: 0 12px;
  background: #030c1b;
  color: #fff;
  font: 400 13px Inter, Arial, sans-serif;
}
.site-search .button { min-height: 38px; padding: 0 16px; }

.catalog-search {
  display: grid;
  grid-template-columns: minmax(0, 460px) auto;
  align-items: center;
  justify-content: center;
  gap: 9px 12px;
  margin: 0 auto 22px;
}
.catalog-search label { grid-column: 1 / -1; color: #a9bad2; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.catalog-search input { height: 42px; }
.catalog-search span { color: #9ec4f5; font-size: 11px; text-align: left; }

.header-actions [data-cart-link] { position: relative; }
.header-actions [data-cart-count] { display: grid; place-items: center; }
.header-actions > button[data-search-toggle] { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; color: #e7eef9; font-size: 36px; line-height: 1; }

.merch-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin-top: 26px;
}
.merch-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid #1c4b83;
  border-radius: 10px;
  background: linear-gradient(180deg, #071a34, #040b18);
  box-shadow: 0 13px 24px rgba(0, 0, 0, .32);
}
.merch-card-image { overflow: hidden; height: 135px; border: 1px solid #285b99; border-radius: 7px; background: #020714; }
.merch-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.merch-card .section-kicker { margin: 11px 0 5px; color: #9ec5f7; font-size: 8px; }
.merch-card h3 { min-height: 32px; margin: 0 0 5px; color: #f4f6fa; font: 600 13px/1.2 Cinzel, Georgia, serif; }
.merch-card p:not(.section-kicker) { min-height: 43px; margin: 0; color: #aebdd0; font-size: 10px; line-height: 1.45; }
.merch-card .price { min-height: 17px; margin: 8px 0; font-size: 12px; }
.merch-card .button { width: 100%; min-height: 31px; padding: 0 8px; border-radius: 6px; font-size: 8px; }

.checkout-empty {
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid #235790;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(7, 29, 57, .9), rgba(2, 8, 20, .96));
}
.checkout-empty h2 { margin: 7px 0 12px; font: 600 clamp(30px, 4vw, 46px)/1 Cinzel, Georgia, serif; }
.checkout-empty p:not(.section-kicker) { margin: 0 0 20px; color: #c7d3e4; line-height: 1.6; }

.cart-checkout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .8fr); gap: 24px; max-width: 1040px; margin: 0 auto; text-align: left; }
.cart-items,
.cart-summary { padding: clamp(20px, 3vw, 30px); border: 1px solid #235790; border-radius: 14px; background: linear-gradient(180deg, #071a34, #040b18); }
.cart-items > h2,
.cart-summary h2 { margin: 6px 0 20px; color: #fffaf0; font: 600 clamp(24px, 3vw, 34px)/1.1 Cinzel, Georgia, serif; }
.cart-line { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto auto; align-items: center; gap: 13px; padding: 14px 0; border-top: 1px solid rgba(108, 151, 208, .25); }
.cart-line img { width: 62px; height: 76px; object-fit: cover; border: 1px solid #3164a3; border-radius: 6px; }
.cart-line .section-kicker { margin: 0 0 4px; color: #9ec5f7; font-size: 8px; }
.cart-line h3 { margin: 0 0 4px; color: #f3f6fb; font-size: 13px; line-height: 1.25; }
.cart-line p:not(.section-kicker) { margin: 0; color: #c2cee0; font-size: 11px; }
.cart-line > strong { color: #f5c23e; font-size: 13px; white-space: nowrap; }
.cart-line-controls { display: grid; justify-items: center; gap: 6px; }
.quantity-controls { display: inline-grid; grid-template-columns: 27px 25px 27px; align-items: center; border: 1px solid #315f9a; border-radius: 6px; overflow: hidden; }
.quantity-controls button { height: 27px; border: 0; background: #0a2345; color: #fff; cursor: pointer; font-size: 17px; }
.quantity-controls span { text-align: center; color: #e6effd; font-size: 11px; }
.cart-remove { border: 0; background: transparent; color: #a9c5eb; cursor: pointer; font-size: 10px; text-decoration: underline; }
.cart-summary { align-self: start; position: sticky; top: 86px; }
.cart-total { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(108, 151, 208, .35); border-bottom: 1px solid rgba(108, 151, 208, .35); color: #d8e2ef; }
.cart-total strong { color: #f5c23e; font-size: 20px; }
.cart-summary-note { color: #b7c4d5; font-size: 11px; line-height: 1.55; }
.checkout-status { margin: 16px 0; padding: 13px; border: 1px solid rgba(229, 179, 54, .55); border-radius: 8px; background: rgba(229, 179, 54, .08); color: #e5e9ef; font-size: 11px; line-height: 1.5; }
.checkout-status strong { color: #f4c84a; }
.checkout-status p { margin: 5px 0 0; }
.checkout-primary { width: 100%; margin: 0 0 10px; }
.checkout-primary:disabled { cursor: wait; opacity: .72; transform: none; filter: none; }
.checkout-error { min-height: 17px; margin: 0 0 12px; color: #ffbf8a; font-size: 11px; line-height: 1.45; }

/* --- Responsive --- */
@media (max-width: 980px) {
  /* Show the nav as a wrapped row instead of hiding it entirely. */
  .site-header {
    height: auto;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-top: 8px;
    padding-bottom: 2px;
  }

  .main-nav {
    display: flex;
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    margin: 0;
  }

  .main-nav a { padding: 7px 0 9px; }
  .header-actions { margin-left: auto; }
  :target { scroll-margin-top: 120px; }
  .shop-block { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .merch-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-checkout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 620px) {
  .site-header {
    gap: 3px 8px;
    padding: 5px 12px 0;
  }

  .brand { height: 42px; gap: 5px; }
  .brand-mark { width: 29px; height: 35px; }
  .brand-wordmark { width: 108px; height: 34px; }
  .header-actions { gap: 5px; }
  .header-actions a { min-width: 22px; height: 26px; font-size: 16px; }

  .main-nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    overflow: hidden;
  }

  .main-nav a {
    padding: 6px 0 8px;
    font-size: 9px;
    letter-spacing: -.01em;
    white-space: nowrap;
  }

  .site-search { right: 12px; width: calc(100vw - 24px); }
  .site-search .button { padding: 0 12px; font-size: 9px; }
  .catalog-search { grid-template-columns: 1fr; justify-items: stretch; }
  .catalog-search span { min-height: 13px; }

  .hero { min-height: 0; }
  .hero-content { padding: 18px 12px 22px; }
  .hero-logo { margin-bottom: 2px; }
  .hero-logo-mark { width: 116px; height: 123px; }
  .hero-logo-wordmark { width: min(290px, 88%); height: 66px; }
  .kicker { margin: 12px 0 7px; padding: 5px 11px; font-size: 8px; }
  .hero h1 { margin: 3px 0 9px; font-size: clamp(30px, 9vw, 36px); }
  .hero-intro { max-width: 330px; font-size: 12px; line-height: 1.4; }
  .hero-actions { gap: 9px; margin: 16px 0 12px; }
  .hero-actions .button { min-height: 38px; padding: 0 14px; font-size: 9px; }
  .hero-links { margin: 0; font-size: 8px; white-space: nowrap; }
  .hero-links b { margin: 0 5px; }

  .stats-bar { padding: 7px 8px; }
  .stats-bar div { min-height: 52px; padding: 5px 7px; }
  .stats-bar strong { font-size: 17px; }
  .stats-bar small { font-size: 9px; }

  .section { width: min(100% - 24px, 560px); padding: 32px 0; }
  .section h2 { font-size: clamp(25px, 7vw, 31px); }
  .section-subtitle { margin-bottom: 18px; }

  .book-grid { gap: 9px; }
  .book-card { padding: 6px; border-radius: 8px; }
  .book-cover,
  .book-cover img { min-height: 194px; height: 194px; }
  .book-cover .type { top: 6px; left: 6px; padding: 3px 5px; font-size: 7px; }
  .book-copy h4 { min-height: 0; margin: 7px 0 4px; font-size: 10px; line-height: 1.25; }
  .book-copy p { min-height: 32px; font-size: 8px; line-height: 1.35; }
  .price { margin: 7px 0; font-size: 12px; }
  .book-card .button { min-height: 28px; font-size: 8px; }
  .book-details { min-height: 28px; font-size: 7px; }
  .view-all { margin-top: 20px; min-width: 160px; }

  .book-modal { width: calc(100vw - 20px); max-height: calc(100vh - 20px); }
  .book-modal-shell { grid-template-columns: 1fr; gap: 17px; padding: 25px 18px; }
  .book-modal-cover { width: min(210px, 100%); margin: 0 auto; }
  .book-modal-copy h2,
  .checkout-copy h2 { max-width: none; font-size: 31px; }
  .book-modal-copy > p,
  .checkout-copy > p { font-size: 13px; }
  .book-modal-close { top: 9px; right: 9px; }

  .checkout-layout { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .checkout-cover { width: min(240px, 100%); margin: 0 auto; }
  .checkout-trust { font-size: 11px; }

  .merch-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .merch-card { padding: 7px; }
  .merch-card-image { height: 112px; }
  .merch-card h3 { min-height: 28px; font-size: 11px; }
  .merch-card p:not(.section-kicker) { min-height: 38px; font-size: 9px; }

  .cart-items,
  .cart-summary { padding: 18px 14px; }
  .cart-line { grid-template-columns: 47px minmax(0, 1fr) auto; gap: 9px; }
  .cart-line img { width: 47px; height: 62px; }
  .cart-line-controls { grid-column: 2 / 4; grid-template-columns: auto auto; justify-content: start; gap: 12px; }
  .cart-line > strong { font-size: 11px; }

  .direct { gap: 20px; }
  .direct .direct-copy { gap: 7px; }
  .benefit-panel {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 8px 5px;
  }
  .benefit-panel span { min-height: 76px; padding: 4px 2px; gap: 5px; }
  .benefit-panel i { font-size: 21px; }
  .benefit-panel b { font-size: 8px; line-height: 1.2; }
  .benefit-panel small { font-size: 7px; }

  .merch { gap: 18px; }
  .merch h2 { font-size: 29px; }
  .merch-copy .button { width: 100%; }
  .merch-strip { min-height: 0; }

  .newsletter { gap: 11px; min-height: 0; padding: 25px 22px; }
  .newsletter h2 { font-size: 25px; }
  .newsletter p { font-size: 10px; }
  .signup-form .button { width: 100%; }

  footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 28px 20px 20px;
  }
  .footer-brand { max-width: none; }
  .footer-mark { flex-basis: 52px; width: 52px; height: 62px; }
  .footer-wordmark { flex-basis: 160px; width: min(160px, calc(100% - 64px)); height: 52px; }
  footer h3 { margin: 0 0 7px; font-size: 10px; }
  footer a { margin: 5px 0; font-size: 9px; line-height: 1.25; }
  footer blockquote { grid-column: 1 / -1; padding-left: 14px; font-size: 12px; }
  footer blockquote small { margin-top: 7px; font-size: 9px; }
  .copyright { font-size: 8px; }

  .page-hero { padding: 28px 18px 24px; }
  .page-hero .hero-actions .button { flex: 1 1 130px; }
  .faq-list summary { font-size: 12px; padding: 13px 15px; }
  .faq-list .answer { padding: 0 15px 14px; }
  .card-grid { grid-template-columns: 1fr; }
  .panel { padding: 17px; }
  .notice { padding: 12px 14px; }
  .direct .direct-copy p:not(.section-kicker) { max-width: none; }
  .contact-form .button { justify-self: stretch; }
}
