/* PROBIEL Premium Shop — self-contained public and admin styles. */
:root {
  --ink: #171c19;
  --ink-soft: #222a25;
  --pine: #202b25;
  --pine-light: #304036;
  --paper: #fbfaf6;
  --cream: #f3efe6;
  --bone: #e9e3d7;
  --muted: #626861;
  --brass: #c6a467;
  --brass-dark: #75551f;
  --brass-light: #ead7ad;
  --line: rgba(23, 28, 25, .14);
  --line-light: rgba(255, 255, 255, .16);
  --shadow: 0 24px 70px rgba(20, 26, 22, .12);
  --shadow-deep: 0 34px 90px rgba(7, 12, 9, .28);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--brass-light); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button, a, input, textarea, select { touch-action: manipulation; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3rem, 5vw, 5rem); line-height: .99; margin-bottom: 28px; }
h2 { font-size: clamp(2.25rem, 3.6vw, 3.65rem); line-height: 1.04; margin-bottom: 26px; }
h3 { font-size: 1.55rem; line-height: 1.2; }
em { color: var(--brass-light); font-family: var(--serif); font-weight: 400; }
ul { padding-left: 21px; }
li { margin: 10px 0; }
li::marker { color: var(--brass-dark); }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.eyebrow {
  margin-bottom: 22px;
  color: var(--brass-dark);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .19em;
  line-height: 1.55;
  text-transform: uppercase;
}
.lead { color: #545c56; font-size: 1.08rem; line-height: 1.78; }
.quiet { color: var(--muted); font-size: .8rem; line-height: 1.65; }
.skip {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: -90px;
  background: var(--paper);
  border: 1px solid var(--brass);
  padding: 12px 16px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #b58a42; outline-offset: 4px; }

/* Header */
.shop-header {
  position: sticky;
  z-index: 80;
  top: 0;
  min-height: 88px;
  padding: 0 max(32px, calc((100vw - 1380px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(198, 164, 103, .28);
  background: rgba(23, 28, 25, .965);
  color: #f5f0e5;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.shop-brand-lockup { display: flex; align-items: center; gap: 27px; }
.shop-brand {
  color: inherit;
  font-size: 1.62rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.shop-brand span {
  display: block;
  margin-top: 9px;
  color: var(--brass-light);
  font-size: .48rem;
  font-weight: 650;
  letter-spacing: .23em;
}
.shop-section-label {
  padding-left: 27px;
  border-left: 1px solid rgba(234, 215, 173, .25);
  color: #aeb5ad;
  font-size: .69rem;
  letter-spacing: .15em;
}
.shop-header nav { display: flex; align-items: center; gap: 6px; }
.shop-header nav a {
  min-height: 44px;
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  color: #c9cec8;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.shop-header nav a:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.shop-header nav .active {
  margin-left: 5px;
  background: var(--brass);
  color: #171b18;
}
.shop-header nav .active:hover { background: #d5b77b; color: #171b18; }
.shop-menu-toggle {
  display: none;
  min-height: 46px;
  padding: 11px 14px;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .26);
  background: transparent;
  color: #fff;
  font-size: .8rem;
}
.preview-notice {
  padding: 10px 20px;
  background: var(--brass-light);
  color: #43361f;
  text-align: center;
  font-size: .78rem;
  font-weight: 650;
}

/* Actions */
.button {
  min-height: 54px;
  padding: 15px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.4;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button span { margin-left: auto; font-size: 1.1rem; line-height: 1; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.dark, .button.primary { background: var(--ink); color: #fff; }
.button.dark:hover, .button.primary:hover { background: var(--pine-light); box-shadow: 0 13px 30px rgba(18, 24, 20, .16); }
.button.gold { background: var(--brass); color: #181b18; box-shadow: 0 12px 28px rgba(9, 13, 10, .19); }
.button.gold:hover { background: #d7b979; box-shadow: 0 17px 34px rgba(9, 13, 10, .25); }
.button.outline { border-color: rgba(23, 28, 25, .34); background: transparent; color: var(--ink); }
.button.outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.button.full { width: 100%; }
.button:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; font-size: .8rem; font-weight: 750; white-space: nowrap; }
.text-link.light { color: #f5f1e7; }

/* Hero */
.shop-hero {
  width: min(1380px, calc(100% - 48px));
  min-height: 690px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-deep);
  color: #f8f4e9;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 84px 72px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy::before {
  position: absolute;
  top: 84px;
  bottom: 70px;
  left: 0;
  width: 3px;
  background: linear-gradient(var(--brass), rgba(198, 164, 103, .08));
  content: "";
}
.hero-copy .eyebrow { color: var(--brass-light); }
.shop-hero h1 { max-width: 780px; color: #fffdf8; font-size: clamp(3.2rem, 5.3vw, 5.3rem); }
.shop-hero h1 em { display: inline-block; color: var(--brass-light); }
.hero-copy .lead { max-width: 650px; color: #c6ccc5; font-size: 1.05rem; }
.hero-actions { margin: 34px 0 31px; display: flex; align-items: center; gap: 27px; flex-wrap: wrap; }
.hero-credentials { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 17px; }
.hero-credentials span {
  padding: 7px 10px;
  border: 1px solid rgba(234, 215, 173, .24);
  color: #d5d9d3;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .105em;
}
.hero-copy .quiet { margin-bottom: 0; color: #929a92; }
.hero-art {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(23, 28, 25, .88) 0, rgba(23, 28, 25, .18) 35%, rgba(23, 28, 25, .24) 100%),
    linear-gradient(0deg, rgba(11, 16, 12, .68), transparent 58%),
    url('/assets/shop-hero-premium.webp');
  background-position: center;
  background-size: cover;
}
.hero-art::before {
  position: absolute;
  inset: 22px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .22);
  content: "";
  pointer-events: none;
}
.hero-art .book-scene { z-index: 2; margin: 25px 0 0 45px; transform: scale(.96); }
.art-caption {
  position: absolute;
  z-index: 3;
  right: 38px;
  bottom: 33px;
  color: var(--brass-light);
  font-size: .66rem;
  letter-spacing: .16em;
  line-height: 1.85;
  text-align: right;
}
.art-caption b { color: #f3f0e7; font-size: .76rem; font-weight: 500; letter-spacing: .035em; }
.shop-strip {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #e8e1d3;
  border: 1px solid var(--line);
  border-top: 0;
}
.shop-strip > span {
  min-height: 88px;
  padding: 22px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-left: 1px solid var(--line);
  color: #414741;
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .025em;
}
.shop-strip > span:first-child { border-left: 0; }
.shop-strip small { color: var(--brass-dark); font-size: .68rem; letter-spacing: .1em; }

/* Editorial book objects */
.book-scene { position: relative; width: 300px; height: 390px; perspective: 1300px; isolation: isolate; }
.book {
  position: absolute;
  z-index: 2;
  left: 9px;
  top: 11px;
  width: 246px;
  height: 345px;
  padding: 29px 25px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-left: 8px solid #152019;
  background: #273229;
  box-shadow: 7px 9px 0 #e2dbc9, 12px 12px 0 #676856, 28px 42px 58px rgba(10, 16, 12, .36);
  color: #efdcae;
  transform: rotate(-5deg) rotateY(-8deg);
}
.book::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(234, 215, 173, .13);
  content: "";
}
.book::after {
  position: absolute;
  right: 21px;
  bottom: 50px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(198, 164, 103, .36);
  border-radius: 50%;
  content: "";
}
.book-brand { position: relative; z-index: 1; font-size: .95rem; font-weight: 750; letter-spacing: .2em; }
.book-brand span { display: block; margin-top: 5px; font-size: .34rem; letter-spacing: .21em; }
.book-title {
  position: relative;
  z-index: 1;
  max-height: 154px;
  margin-top: 52px;
  overflow: hidden;
  color: #fff7e3;
  font: 2.1rem/1.06 var(--serif);
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.book-rule { width: 33px; height: 1px; margin-top: 23px; background: var(--brass); }
.book small { margin-top: 11px; font-size: .38rem; letter-spacing: .17em; }
.book-number { position: absolute; right: 23px; bottom: 20px; font-size: .42rem; letter-spacing: .16em; }
.paper-sheet {
  position: absolute;
  z-index: 1;
  left: 58px;
  top: 41px;
  width: 238px;
  height: 306px;
  padding: 27px 20px;
  border: 1px solid #ded6c4;
  background: #fffef9;
  box-shadow: 11px 24px 34px rgba(18, 23, 18, .24);
  color: #30372f;
  font-size: .43rem;
  letter-spacing: .11em;
  transform: rotate(8deg);
}
.paper-sheet span { font-weight: 800; }
.sheet-lines {
  height: 170px;
  margin: 22px 0;
  border-top: 15px solid #d8ccb0;
  background: repeating-linear-gradient(0deg, transparent 0 20px, #e1dccf 20px 21px), repeating-linear-gradient(90deg, transparent 0 47px, #e1dccf 47px 48px);
}
.paper-sheet b { font-size: .43rem; font-weight: 500; }
.single-book .paper-sheet { display: none; }
.cover-budzet .book { border-left-color: #a99569; background: #d7c9a8; color: #354035; }
.cover-budzet .book-title { color: #233027; }
.cover-budzet .book::before, .cover-budzet .book::after { border-color: rgba(65, 70, 54, .22); }
.cover-plan .book { background: #405143; }
.cover-decyzje .book { border-left-color: #1b221d; background: #333b36; }
.cover-szkoda .book { border-left-color: #342722; background: #633f35; color: #f0cca1; }
.cover-szkoda .book-title { max-height: 168px; margin-top: 38px; color: #fff2dc; font-size: 1.87rem; line-height: 1.04; }
.cover-szkoda .book-rule { margin-top: 18px; background: #d8a06b; }
.cover-library .book { background: #1f2a23; }
.cover-library .paper-sheet { border-color: #878a78; background: #9b9d8c; color: #202b22; }
.cover-library .sheet-lines { border-top: 1px solid #c9c5a9; border-bottom: 1px solid #c9c5a9; background: none; }
.cover-library .book-title { font-size: 2.12rem; }

/* Catalogue */
.catalog { padding-top: 118px; padding-bottom: 110px; }
.section-heading { margin-bottom: 52px; display: flex; align-items: end; justify-content: space-between; gap: 65px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading > p { max-width: 360px; margin-bottom: 5px; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.single-products-heading {
  margin: 100px 0 35px;
  padding-bottom: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  border-bottom: 1px solid var(--line);
}
.single-products-heading .eyebrow { margin-bottom: 0; }
.single-products-heading h3 { max-width: 520px; margin: 0; font-size: 1.85rem; text-align: right; }
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(20, 26, 22, .055);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.product-card:hover { border-color: rgba(135, 101, 46, .48); box-shadow: var(--shadow); transform: translateY(-5px); }
.product-art {
  position: relative;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), transparent 48%), #e7e1d5;
}
.product-art::after {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(23, 28, 25, .1);
  content: "";
  pointer-events: none;
}
.product-art .book-scene { flex-shrink: 0; margin-top: 52px; transform: scale(.72); transform-origin: center; }
.product-number { position: absolute; z-index: 4; top: 28px; left: 30px; color: var(--brass-dark); font: 1.15rem/1 var(--serif); pointer-events: none; }
.bonus-badge {
  position: absolute;
  z-index: 4;
  top: 24px;
  right: 25px;
  padding: 8px 10px;
  background: var(--ink);
  color: #f7f1e5;
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .1em;
  pointer-events: none;
}
.product-info { flex: 1; padding: 35px 36px 33px; display: flex; flex-direction: column; }
.product-topline { min-height: 38px; display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.product-topline .eyebrow { max-width: 70%; margin-bottom: 14px; font-size: .67rem; }
.product-topline > span { flex-shrink: 0; color: #626862; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.product-info h3 { margin-bottom: 12px; font-size: clamp(1.9rem, 3vw, 2.55rem); }
.product-info h3 a { text-decoration: none; }
.product-info h3 a::after { position: absolute; inset: 0; content: ""; }
.product-meta { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.product-format { margin-bottom: 20px; color: #656c65; font-size: .75rem; letter-spacing: .02em; }
.product-meta > span { flex-shrink: 0; color: var(--brass-dark); font-size: .62rem; font-weight: 750; letter-spacing: .1em; }
.product-copy { min-height: 58px; color: var(--muted); font-size: .88rem; line-height: 1.75; }
.product-info ul { margin: 6px 0 28px; padding-left: 17px; color: #4c534d; font-size: .8rem; line-height: 1.65; }
.product-info li { margin: 9px 0; }
.product-bottom { position: relative; z-index: 2; margin-top: auto; }
.price { margin-bottom: 21px; padding-top: 21px; border-top: 1px solid var(--line); font: 2.5rem/1.1 var(--serif); }
.price > span { display: block; margin-top: 8px; color: var(--muted); font: .7rem/1.5 var(--sans); letter-spacing: .03em; }
.price .tax-note { font-size: .7rem; margin-top: 5px; }
.proposed-price { margin: -8px 0 18px; color: #755f36; font-size: .7rem; line-height: 1.55; }
.product-bottom .button { width: 100%; }
.featured { border-color: rgba(135, 101, 46, .65); }
.overlap-note { margin: 25px 0 0; color: var(--muted); font-size: .8rem; text-align: center; }

/* Flagship library */
.library-feature {
  position: relative;
  margin-top: 5px;
  padding: 63px;
  display: grid;
  grid-template-columns: 1.35fr .72fr;
  gap: 78px;
  overflow: hidden;
  border: 1px solid rgba(198, 164, 103, .46);
  background: radial-gradient(circle at 85% 18%, rgba(198, 164, 103, .12), transparent 31%), var(--pine);
  box-shadow: var(--shadow-deep);
  color: #f5f0e4;
}
.library-feature::before { position: absolute; inset: 18px; border: 1px solid rgba(255, 255, 255, .09); content: ""; pointer-events: none; }
.library-copy, .library-buy { position: relative; z-index: 2; }
.library-kicker { margin-bottom: 43px; display: flex; align-items: center; gap: 16px; }
.library-kicker span {
  padding: 8px 10px;
  border: 1px solid rgba(234, 215, 173, .27);
  color: #d1d8cf;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .115em;
}
.library-kicker span:first-child { border-color: var(--brass); background: var(--brass); color: var(--ink); }
.library-feature .eyebrow { margin-bottom: 16px; color: var(--brass-light); }
.library-feature h2 { max-width: 720px; color: #fffdf7; font-size: clamp(2.7rem, 4vw, 4.25rem); }
.library-feature .lead { max-width: 720px; color: #c6cec5; font-size: 1rem; }
.library-books { margin: 31px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.library-books li { margin: 0; padding: 18px 19px; border-top: 1px solid #526057; border-bottom: 1px solid #526057; border-left: 1px solid #526057; }
.library-books li:first-child { border-left: 0; padding-left: 0; }
.library-books span { display: block; margin-bottom: 7px; color: var(--brass); font-size: .61rem; letter-spacing: .14em; }
.library-books strong { font-family: var(--serif); font-size: 1.04rem; font-weight: 400; line-height: 1.25; }
.library-overlap { max-width: 680px; margin-bottom: 0; color: #b7c0b6; font-size: .79rem; line-height: 1.72; }
.library-buy { width: 100%; max-width: 365px; align-self: center; justify-self: end; }
.library-art { height: 272px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.library-art .book-scene { flex-shrink: 0; margin-top: 42px; transform: scale(.69); transform-origin: center; }
.library-buy .product-format { margin: 5px 0 0; color: #bac4ba; }
.library-buy .price { margin-bottom: 10px; border-color: #59675d; color: #fff8e8; font-size: 3rem; }
.library-buy .price > span, .library-buy .tax-note { color: #bcc6bc; }
.library-saving { margin: 0 0 20px; padding: 10px 12px; border-left: 2px solid var(--brass); background: rgba(198, 164, 103, .1); color: var(--brass-light); font-size: .75rem; font-weight: 700; }
.library-buy .proposed-price { color: #ddc99f; }

/* Author */
.author-section { padding: 112px 0; overflow: hidden; background: var(--bone); }
.author-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 94px; align-items: center; }
/* Autorska wizytówka: architektoniczny detal i czytelny podpis. */
.author-card { min-width:0; padding:30px; background:#f5f0e6; color:#292d27; border:1px solid #cfc2a8; box-shadow:0 18px 40px rgba(50,42,28,.08); }
.author-card-top { display:flex; justify-content:space-between; gap:16px; align-items:center; padding-bottom:18px; border-bottom:1px solid #d5c9b4; font-size:.62rem; font-weight:700; letter-spacing:.14em; color:#77613a; }
.author-card-top span:first-child { font-size:.92rem; letter-spacing:.2em; color:#292d27; }
.author-card-art { margin:12px -8px 6px; }
.author-card-art svg { display:block; width:100%; height:auto; }
.author-card-caption { font-size:.56rem; line-height:1.8; letter-spacing:.13em; color:#77613a; }
.author-card-name { margin-top:14px; font:italic clamp(2rem,3.2vw,3rem)/1.15 var(--serif); }
.author-card-name span { display:block; margin-top:10px; font:400 .7rem/1.6 var(--sans); color:#5b5c52; }
.author-card-bottom { display:flex; justify-content:space-between; gap:12px; margin-top:24px; padding-top:16px; border-top:1px solid #d5c9b4; font-size:.7rem; color:#77613a; }
@media(max-width:980px) { .author-card { width:100%; max-width:520px; } }
@media(max-width:600px) { .author-card { padding:24px; } .author-card-art { max-width:285px; margin:4px auto; } .author-card-name { font-size:2.15rem; } .author-card-top { font-size:.55rem; gap:8px; } .author-card-caption { font-size:.52rem; } }
.author-copy { max-width: 680px; }
.author-copy h2 em { color: var(--brass-dark); }
.author-copy blockquote {
  margin: 31px 0 26px;
  padding-left: 24px;
  border-left: 2px solid var(--brass);
  color: #2d352f;
  font: 1.34rem/1.55 var(--serif);
}
.author-copy .lead { max-width: 650px; font-size: 1.04rem; }
.author-signature { margin: 35px 0 30px; }
.author-signature strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.author-signature span { display: block; margin-top: 5px; color: var(--muted); font-size: .75rem; letter-spacing: .04em; }
.author-values { display: flex; flex-wrap: wrap; gap: 9px; }
.author-values span { padding: 8px 10px; border: 1px solid rgba(23, 28, 25, .19); color: #4c534d; font-size: .68rem; font-weight: 700; letter-spacing: .05em; }

/* Comparison */
.comparison-section { padding: 102px 0 108px; background: #ece7dc; }
.comparison-section h2 { max-width: 760px; }
.comparison-intro { max-width: 760px; margin-bottom: 34px; color: var(--muted); font-size: .9rem; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid rgba(23, 28, 25, .18); box-shadow: 0 15px 45px rgba(20, 26, 22, .07); }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .82rem; }
th, td { padding: 19px 20px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
thead { background: var(--ink); color: #f7f1e5; }
thead th { color: #e8e6de; font-size: .72rem; letter-spacing: .035em; }
tbody th { font-weight: 600; }
tr:last-child td, tr:last-child th { border-bottom: 0; }
.comparison { min-width: 700px; }
.comparison th:not(:first-child), .comparison td { text-align: center; }
.comparison th:first-child { position: sticky; left: 0; z-index: 2; width: 27%; box-shadow: 1px 0 rgba(23, 28, 25, .08); }
.comparison thead th:first-child { background: var(--ink); }
.comparison tbody tr:nth-child(odd) th:first-child { background: var(--paper); }
.comparison tbody tr:nth-child(even) th:first-child { background: #f5f2eb; }
.comparison tbody tr:nth-child(even) { background: #f5f2eb; }
.comparison .bundle-column { background: rgba(198, 164, 103, .17); }
.comparison thead .bundle-column { background: #715930; }
.comparison th small { display: block; margin-top: 6px; color: #747a74; font-size: .66rem; font-weight: 400; line-height: 1.45; }
.comparison-prices th, .comparison-prices td { font-weight: 750; white-space: nowrap; }
.comparison-prices .tax-note { white-space: normal; }
.comparison-wide { min-width: 980px; }

/* How-to, FAQ and sample */
.use-section { padding: 112px 0; display: grid; grid-template-columns: .95fr 1.05fr; gap: 110px; }
.use-section .lead { max-width: 475px; font-size: .95rem; }
.use-steps article { padding: 27px 0; display: flex; gap: 25px; border-bottom: 1px solid var(--line); }
.use-steps article:first-child { padding-top: 0; }
.use-steps article > span { color: var(--brass-dark); font: 1rem/1.5 var(--serif); }
.use-steps h3 { margin-bottom: 8px; font-size: 1.28rem; }
.use-steps p { margin: 0; color: var(--muted); font-size: .84rem; }
.faq-section { max-width: 930px; padding: 8px 0 112px; }
.faq-section h2 { margin-bottom: 40px; }
details { padding: 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 23px 54px 23px 0; cursor: pointer; list-style: none; font-size: .92rem; font-weight: 650; line-height: 1.55; }
summary::-webkit-details-marker { display: none; }
summary::after { position: absolute; right: 3px; top: 19px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--brass-dark); content: "+"; font: 1.2rem/1 var(--serif); }
details[open] summary { color: var(--brass-dark); }
details[open] summary::after { content: "−"; }
details p { max-width: 820px; padding: 0 54px 23px 0; color: var(--muted); font-size: .88rem; }
.sample-section { padding: 84px 0; overflow: hidden; background: radial-gradient(circle at 82% 50%, rgba(198, 164, 103, .13), transparent 26%), var(--ink); color: #f6f2e7; }
.sample-inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.sample-inner > div { max-width: 760px; }
.sample-inner h2 { margin-bottom: 17px; font-size: clamp(2.15rem, 3vw, 3.2rem); }
.sample-inner .eyebrow { margin-bottom: 16px; color: var(--brass); }
.sample-inner p { margin: 0; color: #bdc5bc; font-size: .88rem; }
.sample-inner .button { flex-shrink: 0; }

/* Footer */
.shop-footer { padding: 72px max(32px, calc((100vw - 1240px) / 2)) 26px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 52px; background: #111612; color: #d8d9d1; }
.shop-footer > div { display: flex; flex-direction: column; align-items: start; gap: 11px; }
.shop-footer .shop-brand { color: #f0e8d6; font-size: 1.5rem; }
.shop-footer p, .shop-footer a:not(.shop-brand) { color: #aeb5ad; font-size: .76rem; text-decoration: none; }
.shop-footer p { margin: 6px 0; }
.shop-footer a:not(.shop-brand):hover { color: #fff; }
.shop-footer strong { margin-bottom: 9px; color: #f0eee6; font-size: .78rem; }
.footer-edition { margin-top: 10px; color: var(--brass); font-size: .61rem; font-weight: 700; letter-spacing: .14em; }
.shop-footer .seller-line { grid-column: 1 / -1; margin-top: 14px; padding-top: 22px; border-top: 1px solid #343b35; color: #899188; font-size: .68rem; }

/* Product detail */
.breadcrumbs { margin-bottom: 42px; padding-top: 38px; display: flex; gap: 10px; color: var(--muted); font-size: .76rem; }
.breadcrumbs a { font-weight: 650; }
.breadcrumbs span { color: var(--brass-dark); }
.product-detail { padding-bottom: 86px; display: grid; grid-template-columns: .96fr 1.04fr; gap: 84px; align-items: center; }
.detail-art { position: relative; min-height: 610px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: radial-gradient(circle at 62% 38%, rgba(198, 164, 103, .19), transparent 33%), var(--pine); box-shadow: var(--shadow-deep); }
.detail-art::before { position: absolute; inset: 20px; border: 1px solid rgba(255, 255, 255, .12); content: ""; }
.detail-art .book-scene { transform: scale(1.12); }
.detail-art-label, .detail-art-caption { position: absolute; z-index: 4; color: #bdc6bc; font-size: .64rem; font-weight: 700; letter-spacing: .13em; }
.detail-art-label { top: 36px; left: 38px; }
.detail-art-caption { right: 38px; bottom: 34px; color: var(--brass-light); }
.detail-buy { padding-right: 20px; }
.detail-labels { margin-bottom: 27px; display: flex; flex-wrap: wrap; gap: 9px; }
.detail-labels span { padding: 7px 9px; border: 1px solid var(--line); color: #5c625d; font-size: .65rem; font-weight: 750; letter-spacing: .105em; }
.detail-labels .accent { border-color: var(--ink); background: var(--ink); color: #fff; }
.product-detail h1 { font-size: clamp(2.8rem, 4.25vw, 4.35rem); }
.product-detail .lead { max-width: 640px; font-size: 1rem; }
.product-subtitle { margin: -10px 0 24px; color: #555d56; font-size: 1.05rem; line-height: 1.65; }
.detail-price { margin: 31px 0 26px; display: flex; align-items: center; gap: 24px; }
.detail-price strong { font: 3.15rem/1 var(--serif); font-weight: 400; }
.detail-price > span { color: var(--muted); font-size: .76rem; line-height: 1.65; }
.detail-price .tax-note { font-size: .7rem; }
.product-detail .proposed-price { margin-top: -17px; font-size: .75rem; }
.detail-assurance { margin: 18px 0 22px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.detail-assurance span { min-height: 76px; padding: 15px 13px; border-left: 1px solid var(--line); }
.detail-assurance span:first-child { border-left: 0; }
.detail-assurance b, .detail-assurance small { display: block; }
.detail-assurance b { font-size: .72rem; }
.detail-assurance small { margin-top: 3px; color: var(--muted); font-size: .65rem; line-height: 1.4; }
.detail-content { padding: 78px 0 82px; display: grid; grid-template-columns: 1.35fr .75fr; gap: 85px; border-top: 1px solid var(--line); }
.detail-content h2 { margin-top: 48px; font-size: 2.25rem; }
.detail-content h2:first-of-type { margin-top: 0; }
.detail-content ul { color: #4e554f; font-size: .91rem; line-height: 1.8; }
.detail-description { color: #525a53; font-size: .94rem; line-height: 1.85; }
.included-titles { margin: 38px 0; padding: 30px; background: var(--cream); border-left: 3px solid var(--brass); }
.included-titles h2 { margin-top: 0; font-size: 1.75rem; }
.included-titles p { margin-bottom: 0; color: var(--muted); font-size: .78rem; }
.scope-card { position: sticky; top: 118px; align-self: start; padding: 37px 34px; border-top: 3px solid var(--brass); background: var(--cream); box-shadow: 0 14px 45px rgba(20, 26, 22, .07); }
.scope-number { margin-bottom: 30px; color: var(--brass-dark); font: 1.2rem/1 var(--serif); }
.scope-card h3 { margin: 30px 0 13px; font-size: 1.55rem; }
.scope-card h3:first-of-type { margin-top: 0; }
.scope-card p { color: #5a625b; font-size: .8rem; line-height: 1.75; }
.scope-card .button { margin-bottom: 15px; }
.scope-card details p { padding: 0; }
.requirements { padding: 46px 0; display: grid; grid-template-columns: 70px 1fr; gap: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.requirements-number { color: var(--brass-dark); font: 1.2rem/1.2 var(--serif); }
.requirements h2 { margin-bottom: 13px; font-size: 1.85rem; }
.requirements p { max-width: 950px; margin: 0; color: var(--muted); font-size: .84rem; }
.product-faq { padding-top: 85px; }

/* Checkout */
.checkout { padding-bottom: 110px; }
.checkout-head { margin: 0 0 53px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; }
.checkout-head .eyebrow { grid-column: 1 / -1; margin-bottom: -25px; }
.checkout h1 { margin-bottom: 0; font-size: clamp(2.8rem, 4.2vw, 4.4rem); }
.checkout h1 em { color: var(--brass-dark); }
.checkout-progress { display: flex; align-items: center; border: 1px solid var(--line); }
.checkout-progress span { min-width: 104px; padding: 14px 15px; display: grid; gap: 3px; border-left: 1px solid var(--line); color: #646a64; font-size: .68rem; letter-spacing: .07em; }
.checkout-progress span:first-child { border-left: 0; }
.checkout-progress b { color: #5f655f; font-size: .68rem; }
.checkout-progress .active { background: var(--ink); color: #fff; }
.checkout-progress .active b { color: var(--brass-light); }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.04fr; gap: 62px; align-items: start; }
.checkout-form { padding: 39px; border: 1px solid var(--line); background: var(--cream); }
.checkout h2 { font-size: 2rem; }
.field { display: block; margin: 0 0 22px; }
.field > span { display: block; margin-bottom: 9px; color: #3c433e; font-size: .78rem; font-weight: 700; }
input:not([type=checkbox]), textarea, select { width: 100%; min-height: 51px; padding: 13px 14px; border: 1px solid #bfc3ba; border-radius: 0; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--brass-dark); box-shadow: 0 0 0 3px rgba(198, 164, 103, .15); outline: 0; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #9a742e; outline-offset: 2px; }
.check { margin: 22px 0; display: flex; align-items: flex-start; gap: 12px; font-size: .82rem; line-height: 1.65; }
.check input { width: 19px; height: 19px; margin: 3px 0 0; flex: 0 0 19px; accent-color: var(--brass-dark); }
.check a { font-weight: 700; }
.invoice-check { padding: 14px 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .58); }
fieldset { margin: 27px 0 34px; padding: 25px; border: 1px solid var(--line); }
legend { padding: 0 8px; font-size: .85rem; font-weight: 750; }
fieldset[hidden] { display: none; }
.order-summary { position: sticky; top: 119px; padding: 43px 41px; border: 1px solid rgba(198, 164, 103, .43); background: var(--pine); box-shadow: var(--shadow-deep); color: #f6f1e6; }
.summary-kicker { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.summary-kicker .eyebrow { margin-bottom: 17px; color: var(--brass); }
.summary-kicker > span { color: #aab5aa; font-size: .61rem; font-weight: 700; letter-spacing: .1em; }
.order-summary h2 { margin-bottom: 8px; color: #fff; }
.order-summary > p { color: #c7cfc6; font-size: .82rem; }
.order-summary ul { padding-left: 17px; color: #d4d9d2; font-size: .76rem; }
.order-summary li::marker { color: var(--brass); }
.scope-note { margin: 0; padding: 16px 0; border-bottom: 1px solid #526057; color: #aeb9ae !important; font-size: .7rem !important; }
.order-summary dl { margin: 25px 0 16px; }
.order-summary dl > div { margin: 10px 0; display: flex; justify-content: space-between; gap: 30px; color: #d4dad3; font-size: .8rem; }
.order-summary dd { margin: 0; white-space: nowrap; }
.order-summary .total { margin-top: 18px; padding-top: 19px; border-top: 1px solid #68746b; color: #fff5df; font: 1.55rem/1.25 var(--serif); }
.order-summary .tax-note { color: #aeb8ae; }
.order-summary .consent { font-size: .77rem; }
.order-summary a { color: #f1d79f; }
.payment-note { margin: 22px 0 !important; padding: 17px; border: 1px solid #536057; background: rgba(255, 255, 255, .035); }
.payment-note strong, .payment-note span { display: block; }
.payment-note strong { color: #f1e9d8; font-size: .76rem; }
.payment-note span { margin-top: 5px; color: #aeb8ae; font-size: .7rem; line-height: 1.55; }
.delivery-note { margin: 14px 0 0 !important; color: #aeb8ae !important; font-size: .68rem !important; text-align: center; }
.info, .error { margin: 25px 0; padding: 20px 24px; border-left: 3px solid var(--brass); background: #eee8d8; font-size: .86rem; }
.error { border-color: #a63f2d; background: #f4e6de; }

/* Status and legal views */
.status-card { min-height: 650px; padding-top: 92px; padding-bottom: 115px; }
.status-card h1 { max-width: 820px; font-size: 3.6rem; }
.status-card > p { max-width: 720px; }
.status-links { margin-top: 55px; padding-top: 28px; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); font-size: .8rem; }
.legal { max-width: 940px; min-height: 650px; padding-top: 78px; padding-bottom: 105px; }
.legal > .eyebrow { margin-bottom: 16px; }
.legal h1 { max-width: 820px; font-size: 3.35rem; }
.legal h2 { margin-top: 44px; font-size: 2rem; }
.legal p { color: #505851; }
.legal-text { padding: 45px; border: 1px solid var(--line); background: var(--cream); font-size: .85rem; line-height: 1.9; overflow-wrap: anywhere; white-space: normal; }
.legal form { max-width: 650px; margin: 37px 0; }
.legal-text + form { margin-top: 37px; }

/* Private shop admin — kept functional and visually aligned. */
.admin { padding: 45px 0 90px; }
.admin h1 { margin: 0; font-size: 2.7rem; }
.admin-tabs { margin-bottom: 32px; padding: 0 0 20px; display: flex; flex-wrap: wrap; gap: 14px 25px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.admin-tabs a { font-weight: 650; }
.admin h2 { font-size: 2rem; }
.admin table small { display: block; margin-top: 6px; color: var(--muted); font-size: .68rem; }
.admin table td, .admin table th { overflow-wrap: anywhere; }
.admin-metrics { margin: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.admin-metrics article { padding: 22px; background: var(--cream); }
.admin-metrics span, .admin-metrics small { display: block; color: var(--muted); font-size: .7rem; }
.admin-metrics strong { display: block; margin-top: 12px; font: 2rem/1.5 var(--serif); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 25px; }
.settings-form { max-width: 1000px; }
.settings-form fieldset { padding: 28px; }
.settings-form p { color: var(--muted); font-size: .8rem; }
.settings-form .table-scroll input, .settings-form .table-scroll select { min-width: 120px; }
.settings-form input[type=checkbox] { width: 18px; height: 18px; }
.wrap-code { font-size: .75rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.order-dates { font-size: .8rem; }
.order-dates > div { padding: 10px 0; display: flex; justify-content: space-between; gap: 25px; border-bottom: 1px solid var(--line); }
.order-dates dd { margin: 0; }
.request-card { margin: 25px 0; padding: 30px; border: 1px solid var(--line); background: var(--paper); }
.request-card .legal-text { margin-bottom: 30px; }
.pager { margin: 25px 0; display: flex; gap: 25px; }
.search-form { max-width: 600px; margin-bottom: 25px; display: flex; align-items: end; gap: 15px; }
.search-form .field { flex: 1; margin: 0; }
.admin .scope-card details { margin-top: 20px; }

@media (max-width: 1180px) {
  .wrap { width: calc(100% - 52px); }
  .shop-section-label { display: none; }
  .shop-header { padding-inline: 26px; }
  .shop-hero { width: calc(100% - 32px); grid-template-columns: 1fr .84fr; }
  .hero-copy { padding: 68px 48px 62px; }
  .hero-copy::before { top: 68px; bottom: 62px; }
  .shop-hero h1 { font-size: clamp(3rem, 5.8vw, 4.5rem); }
  .hero-art .book-scene { margin-left: 18px; transform: scale(.86); }
  .shop-strip { width: calc(100% - 32px); padding-inline: 10px; }
  .shop-strip > span { padding-inline: 15px; }
  .library-feature { gap: 42px; padding: 52px 46px; }
  .library-books { grid-template-columns: 1fr; }
  .library-books li { border-left: 0; border-bottom: 0; padding-left: 0; }
  .library-books li:last-child { border-bottom: 1px solid #526057; }
  .author-inner { gap: 65px; }
  .product-detail { gap: 53px; }
  .detail-art { min-height: 535px; }
  .detail-art .book-scene { transform: scale(.98); }
  .checkout-grid { gap: 38px; }
  .checkout-form, .order-summary { padding: 32px 29px; }
  .shop-footer { padding-inline: 26px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 86px; }
  .shop-header { min-height: 78px; }
  .shop-brand { font-size: 1.45rem; }
  .shop-menu-toggle { display: inline-flex; }
  .shop-header nav { position: absolute; top: 78px; right: 0; left: 0; display: none; padding: 18px 20px 23px; border-top: 1px solid #333b35; border-bottom: 1px solid rgba(198, 164, 103, .32); background: #171c19; box-shadow: 0 22px 36px rgba(0, 0, 0, .25); }
  .shop-header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .shop-header nav a { padding: 13px 15px; font-size: .9rem; }
  .shop-header nav .active { margin-left: 0; }
  .shop-hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { min-height: 590px; }
  .hero-art { min-height: 520px; }
  .hero-art .book-scene { transform: scale(.98); }
  .shop-strip { grid-template-columns: 1fr 1fr; }
  .shop-strip > span:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .shop-strip > span:nth-child(4) { border-top: 1px solid var(--line); }
  .section-heading { display: block; }
  .section-heading > p { max-width: 660px; margin-top: 22px; }
  .product-grid, .product-grid-four { grid-template-columns: 1fr; }
  .product-art { height: 350px; }
  .library-feature { grid-template-columns: 1fr; }
  .library-buy { max-width: none; justify-self: stretch; display: grid; grid-template-columns: 270px 1fr; column-gap: 30px; align-items: center; }
  .library-art { grid-row: 1 / 5; height: 300px; }
  .author-inner { grid-template-columns: 1fr; }


  .comparison-section { padding-block: 80px; }
  .use-section { grid-template-columns: 1fr; gap: 45px; padding-block: 86px; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-art { min-height: 540px; }
  .detail-buy { padding: 0 20px 0 0; }
  .detail-content { grid-template-columns: 1fr; gap: 45px; }
  .scope-card { position: static; }
  .checkout-head { grid-template-columns: 1fr; }
  .checkout-head .eyebrow { margin-bottom: -28px; }
  .checkout-progress { width: fit-content; }
  .checkout-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .shop-footer { grid-template-columns: 1fr 1fr; }
  .shop-footer > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .library-buy { display: block; }
  .library-art { height: 275px; }
  .library-art .book-scene { transform: scale(.65); }
}

@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .shop-header { padding-inline: 18px; }
  .shop-brand { font-size: 1.3rem; }
  .shop-hero { width: 100%; margin-top: 0; }
  .hero-copy { min-height: auto; padding: 53px 25px 43px; }
  .hero-copy::before { top: 53px; bottom: 43px; }
  .shop-hero h1 { font-size: clamp(2.7rem, 12.4vw, 4rem); line-height: 1.01; }
  .hero-copy .lead { font-size: .94rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { text-align: center; }
  .hero-credentials { gap: 7px; }
  .hero-credentials span { font-size: .6rem; }
  .hero-art { min-height: 445px; }
  .hero-art::before { inset: 14px; }
  .hero-art .book-scene { margin: 22px 0 0; transform: scale(.79); }
  .art-caption { right: 25px; bottom: 23px; }
  .shop-strip { width: 100%; grid-template-columns: 1fr; padding-inline: 18px; }
  .shop-strip > span { min-height: 66px; padding: 15px 6px; border-top: 1px solid var(--line); border-left: 0; }
  .shop-strip > span:first-child { border-top: 0; }
  .catalog { padding-block: 75px; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { font-size: 2.5rem; }
  .single-products-heading { margin-top: 70px; display: block; }
  .single-products-heading h3 { margin-top: 14px; font-size: 1.55rem; text-align: left; }
  .product-art { height: 285px; }
  .product-art .book-scene { transform: scale(.62); }
  .product-number { top: 23px; left: 22px; }
  .bonus-badge { top: 19px; right: 19px; font-size: .58rem; }
  .product-info { padding: 29px 25px; }
  .product-topline { display: block; }
  .product-topline .eyebrow { max-width: none; }
  .product-topline > span { display: none; }
  .product-info h3 { font-size: 2rem; }
  .product-meta { display: block; }
  .product-meta > span { display: none; }
  .library-feature { padding: 38px 25px; }
  .library-feature::before { inset: 10px; }
  .library-kicker { margin-bottom: 32px; align-items: stretch; flex-direction: column; gap: 7px; }
  .library-kicker span { text-align: center; }
  .library-feature h2 { font-size: 2.7rem; }
  .library-buy { display: block; }
  .library-art { height: 260px; }
  .library-art .book-scene { transform: scale(.62); }
  .library-buy .price { font-size: 2.65rem; }
  .author-section { padding-block: 78px; }
  .author-inner { gap: 52px; }




  .author-copy h2 { font-size: 2.55rem; }
  .author-copy blockquote { font-size: 1.18rem; }
  .comparison-section { padding-block: 68px; }
  .comparison-section h2 { font-size: 2.45rem; }
  .use-section { padding-block: 72px; }
  .use-section h2 { font-size: 2.55rem; }
  .faq-section { padding-bottom: 78px; }
  .faq-section h2 { font-size: 2.55rem; }
  summary { padding-right: 46px; font-size: .88rem; }
  details p { padding-right: 15px; }
  .sample-section { padding-block: 62px; }
  .sample-inner { display: block; }
  .sample-inner .button { width: 100%; margin-top: 28px; }
  .shop-footer { padding: 55px 18px 23px; grid-template-columns: 1fr; gap: 35px; }
  .shop-footer > div:first-child { grid-column: auto; }
  .breadcrumbs { margin-bottom: 28px; padding-top: 26px; flex-wrap: wrap; }
  .detail-art { min-height: 430px; }
  .detail-art::before { inset: 13px; }
  .detail-art .book-scene { transform: scale(.8); }
  .detail-art-label { top: 25px; left: 25px; }
  .detail-art-caption { right: 25px; bottom: 23px; }
  .detail-buy { padding-right: 0; }
  .product-detail h1 { font-size: 2.75rem; }
  .detail-assurance { grid-template-columns: 1fr; }
  .detail-assurance span { min-height: 0; border-top: 1px solid var(--line); border-left: 0; }
  .detail-assurance span:first-child { border-top: 0; }
  .detail-content { padding-block: 55px; }
  .scope-card { padding: 29px 25px; }
  .requirements { grid-template-columns: 40px 1fr; gap: 15px; }
  .product-faq { padding-top: 65px; }
  .checkout { padding-bottom: 70px; }
  .checkout-head { margin-bottom: 37px; gap: 30px; }
  .checkout-head .eyebrow { margin-bottom: -12px; }
  .checkout h1 { font-size: 2.7rem; }
  .checkout-progress { width: 100%; }
  .checkout-progress span { min-width: 0; flex: 1; padding-inline: 10px; }
  .checkout-form, .order-summary { padding: 27px 22px; }
  .order-summary .summary-kicker { display: block; }
  .summary-kicker > span { display: block; margin-bottom: 16px; }
  .legal { padding-block: 52px 70px; }
  .legal h1 { font-size: 2.65rem; }
  .legal-text { padding: 26px 21px; font-size: .82rem; }
  .status-card { padding-block: 58px 80px; }
  .status-card h1 { font-size: 2.75rem; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .settings-form fieldset { padding: 20px 16px; }
  .admin .table-scroll table { min-width: 680px; }
  .order-dates > div { display: block; }
  .order-dates dt { font-weight: 650; }
  .request-card { padding: 22px; }
  .search-form { align-items: end; }
}

@media (max-width: 380px) {
  .shop-brand { font-size: 1.12rem; }
  .shop-menu-toggle { padding-inline: 11px; }
  .hero-copy { padding-inline: 21px; }
  .shop-hero h1 { font-size: 2.65rem; }
  .product-info { padding-inline: 21px; }
  .bonus-badge { max-width: 150px; text-align: center; }
  .library-feature { padding-inline: 21px; }
  .checkout-progress span { padding: 11px 7px; }
  .checkout-form, .order-summary { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .shop-header, .shop-footer, .preview-notice, .shop-menu-toggle, .button, .admin-tabs, .hero-art { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { width: 100%; max-width: none; }
  .legal { padding: 0; }
  .legal-text { border: 0; background: #fff; font-size: 10pt; }
  a { color: #000; }
  .book-scene { display: none; }
}
