:root {
  color-scheme: light;
  --navy: #142f47;
  --navy-deep: #0d2538;
  --ink: #1b2d38;
  --muted: #526371;
  --blue: #1c4f75;
  --gold: #b58339;
  --line: #d5dcd9;
  --paper: #fffdf8;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--sans); -webkit-text-size-adjust: 100%; }
a { color: var(--blue); text-underline-offset: .19em; }
a:hover { color: var(--navy-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid #a56a11; outline-offset: 4px; border-radius: 3px; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .25rem; z-index: 5; padding: .55rem 1rem; transform: translateY(-150%); background: var(--white); color: var(--navy); }
.skip:focus-visible { transform: none; }
.masthead { background: var(--white); border-bottom: 1px solid var(--line); }
.masthead-inner, .site-links, .footer-inner, .footer nav { display: flex; align-items: center; }
.masthead-inner { justify-content: space-between; min-height: 68px; }
.site-links { gap: clamp(.85rem, 3vw, 2rem); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 94px; height: 46px; object-fit: contain; }
.directory, .library-link { font-weight: 650; font-size: .9rem; color: var(--navy); text-decoration: none; }
.directory { padding: .55rem 0; }
.directory:hover, .footer nav a:hover { text-decoration: underline; }
.library-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 40px; padding: .45rem .7rem; border: 1px solid #acb9bf; border-radius: .32rem; }
.library-link:hover, .library-link[aria-current] { background: #edf2f2; border-color: #718590; }
.library-mark { display: flex; gap: 2px; width: 14px; height: 15px; align-items: end; }
.library-mark i { width: 3px; height: 12px; display: block; background: currentColor; border-radius: 1px; }
.library-mark i:first-child { height: 14px; }
.library-mark i:last-child { transform: rotate(-13deg); transform-origin: bottom; }
main { flex: 1; padding-block: 1.45rem 4.5rem; }
.shop-heading { margin-bottom: 1.12rem; }
.shop-heading h1 { margin: 0; color: var(--navy); font: 600 clamp(2.25rem, 5.5vw, 4.6rem)/1.05 var(--serif); letter-spacing: -.045em; }
.shop-heading p { margin: .35rem 0 0; color: var(--muted); font-size: 1rem; }
.shop-nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); align-items: stretch; border-bottom: 1px solid #bcc8cd; }
.shop-nav a { display: inline-flex; align-items: center; min-height: 45px; padding: .5rem .05rem .57rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: .9rem; font-weight: 700; }
.shop-nav a:hover, .shop-nav a[aria-current="page"] { color: var(--navy); }
.shop-nav a[aria-current="page"] { border-bottom-color: #b07c27; }
.feature { min-height: 246px; display: grid; grid-template-columns: minmax(0,1fr) 32%; background: var(--navy); color: white; margin-block: 1rem 1.8rem; border-radius: .35rem; overflow: hidden; }
.feature-copy { min-width: 0; align-self: center; padding: 1.05rem .85rem 1.15rem 1rem; }
.overline { margin: 0 0 .5rem; color: #efd4a0; font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.feature h2 { margin: 0 0 .6rem; font: 500 clamp(1.65rem, 4vw, 3.5rem)/1.07 var(--serif); letter-spacing: -.035em; }
.feature-copy > p:not(.overline) { max-width: 51ch; margin: 0 0 .9rem; color: #e6edf0; font-size: 1rem; line-height: 1.45; }
.feature-art { display: grid; place-items: center; background: #f0ddbc; background-image: linear-gradient(125deg, #f7e9d0 0%, #f0ddbc 55%, #dfc29a 100%); padding: .75rem .58rem; }
.feature-art img { display: block; width: min(100%, 188px); height: auto; box-shadow: 4px 7px 13px #47351c36; }
.action { border: 1px solid var(--navy); display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: .56rem .88rem; border-radius: .27rem; background: var(--navy); color: #fff; text-decoration: none; font-weight: 680; font-size: .91rem; line-height: 1.3; cursor: pointer; }
.action:hover { color: #fff; background: #23465e; border-color: #23465e; }
.action.light { color: var(--navy); background: #f8e9c9; border-color: #f8e9c9; }
.action.light:hover { color: var(--navy); background: #fff5df; }
.action.secondary { color: var(--navy); background: transparent; border-color: #aab8bd; }
.action.secondary:hover { background: #edf3f3; border-color: #65808c; }
.action:disabled { cursor: wait; opacity: .75; }
.section-start { margin-top: 1.7rem; }
.section-start h2, .empty h3 { margin: 0; color: var(--navy); font: 600 clamp(1.85rem, 3.4vw, 2.75rem)/1.15 var(--serif); letter-spacing: -.035em; }
.section-start p { color: var(--muted); max-width: 72ch; margin: .42rem 0 1rem; }
.section-start .availability { color: var(--ink); font-size: .95rem; padding-left: .68rem; border-left: 2px solid #c29a57; }
.subjects { display: flex; flex-wrap: wrap; gap: .34rem .5rem; margin: .95rem 0 .6rem; }
.subjects a { display: inline-flex; align-items: center; min-height: 36px; padding: .26rem .68rem; text-decoration: none; color: var(--navy); border: 1px solid #c3cdc9; border-radius: 1rem; font-size: .88rem; font-weight: 620; background: var(--white); }
.subjects a:hover { border-color: #788d92; background: #edf2ee; }
.category { margin-top: 1.85rem; padding-top: .85rem; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.category h3 { color: var(--navy); font: 600 clamp(1.40rem, 2.1vw, 2rem)/1.22 var(--serif); letter-spacing: -.025em; margin: 0 0 1rem; }
.book-grid { display: grid; gap: 1.2rem 1.5rem; }
.book-card { display: grid; grid-template-columns: clamp(78px, 25%, 112px) minmax(0, 1fr); align-items: start; column-gap: .95rem; min-width: 0; }
.cover { width: 100%; height: auto; max-height: 185px; aspect-ratio: 2/3; display: block; object-fit: contain; object-position: top; filter: drop-shadow(1px 2px 2px #302d2529); }
.card-copy { min-width: 0; }
.book-card.without-cover { grid-template-columns: 1fr; }
.cover-link { display:block; align-self:start; }
.book-card .inline-link { min-height:44px }
.initial-shelf {margin-top:1.3rem}
.rights-link {font-size:.9rem}
.book-card h4, .library-card h3, .goods-card h4 { margin: .05rem 0 .25rem; font: 600 1.24rem/1.18 var(--serif); letter-spacing: -.016em; color: var(--navy); overflow-wrap: anywhere; }
.book-card p, .goods-card p { margin: .26rem 0 0; font-size: 1rem; color: var(--muted); line-height: 1.45; }
.book-card .release, .goods-card .release { color: #665337; font-size: .875rem; margin-top: .55rem; }
.controls { display: flex; flex-wrap: wrap; gap: .42rem .65rem; align-items: center; margin-top: .7rem; }
.inline-link { font-weight: 660; font-size: .93rem; display: inline-flex; align-items: center; min-height: 37px; color: var(--blue); }
.empty { max-width: 55rem; padding: 1.5rem; border: 1px solid var(--line); background: #f3f1e9; border-radius: .35rem; margin-top: 1rem; }
.empty h3 { font-size: 1.6rem; }
.empty p { color: var(--muted); margin: .4rem 0 1rem; }
.loading, .notice, .noscript { margin: 1rem 0; }
.notice { border-left: 3px solid #b58339; background: #f7efdc; padding: .8rem .9rem; }
.notice button { margin-left: .6rem; }
.goods-section { border-bottom: 1px solid var(--line); }
.goods-section:first-of-type { border-top: 1px solid var(--line); }
.goods-section summary { padding: .8rem .2rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; color: var(--navy); }
.goods-section summary::-webkit-details-marker { display: none; }
.goods-section summary h3 { font: 600 1.28rem/1.25 var(--serif); margin: 0; }
.goods-section summary::after { content: "+"; font-size: 1.5rem; font-weight: 450; line-height: 1; }
.goods-section[open] summary::after { content: "−"; }
.goods-body { padding: 0 .2rem 1rem; }
.goods-body > p { color: var(--muted); margin: 0; }
.goods-card { padding-top: .4rem; }
.goods-card .cover { max-width: 112px; margin-bottom: .65rem; }
.formats { display:flex; gap:.45rem; margin:1.15rem 0 .25rem; }
.formats a { padding:.48rem .86rem; border:1px solid var(--line); border-radius:.27rem; color:var(--navy); text-decoration:none; font-weight:650; }
.formats a[aria-current] { background:var(--navy); color:white; border-color:var(--navy); }
.book-card .book-author { color:#645640; font-size:.88rem; }
.collection-image { display:block; width:100%; max-height:340px; object-fit:contain; background:#f6f0e6; border-radius:.3rem; }
.illustrated-range { display:grid; gap:1rem; align-items:start; }
@media(min-width:680px) { .illustrated-range {grid-template-columns:minmax(180px,29%) 1fr;} .illustrated-range .book-grid {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:420px) { .shop-nav {gap:.75rem; flex-wrap:wrap;} }
.library-grid { display: grid; gap: 1rem; margin-top: 1.25rem; }
.library-card { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 1rem; padding: .95rem; border: 1px solid var(--line); background: var(--white); border-radius: .35rem; }
.library-card.without-cover { grid-template-columns: minmax(0, 1fr); }
.library-card p { margin: .25rem 0; color: var(--muted); font-size: .93rem; }
.status-label { font-weight: 680; }
.print-stock-label { font-weight: 730; color: #745021; }
.print-product > .print-field + .print-field { margin-top: .7rem; }
.footer { background: var(--navy-deep); color: white; }
.footer-inner { min-height: 78px; gap: .55rem 1.2rem; padding-block: 1rem; justify-content: space-between; flex-wrap: wrap; }
.footer p { margin: 0; font-family: var(--serif); font-weight: 700; }
.footer p span { font: .88rem var(--sans); margin-left: .4rem; color: #dce5ea; }
.footer nav { gap: .9rem; flex-wrap: wrap; }
.footer nav a { color: #fff; font-size: .9rem; text-decoration: none; }
@media (min-width: 640px) {
  .shell { width: min(1180px, calc(100% - 64px)); }
  main { padding-top: 2.2rem; }
  .shop-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .shop-heading p { margin: 0; }
  .shop-nav a { font-size: 1rem; }
  .feature { grid-template-columns: 1fr 36%; min-height: 276px; margin-top: 1.25rem; }
  .feature-copy { padding: 1.7rem 1.85rem; }
  .feature-copy > p:not(.overline) { font-size: 1.06rem; }
  .feature-art { padding: 1.45rem; }
  .book-grid, .library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category { margin-top: 2.25rem; }
}
@media (min-width: 960px) {
  .masthead-inner { min-height: 76px; }
  .brand img { width: 109px; height: 52px; }
  .feature { min-height: 322px; grid-template-columns: 60% 40%; }
  .feature-copy { padding: 2.4rem 3rem; }
  .feature-art img { width: 180px; }
  .book-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 359px) {
  .shell { width: calc(100% - 24px); }
  .shop-nav { gap: .8rem; }
  .shop-nav a { font-size: .86rem; }
  .feature { grid-template-columns: minmax(0,1fr) 30%; }
  .feature-copy { padding: .9rem .55rem .9rem .75rem; }
  .feature-copy > p:not(.overline) { font-size: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  a, .action { transition: color .13s, border-color .13s, background-color .13s; }
}
.manage { max-width: 1010px; }
.manage h3 { color: var(--navy); font: 600 1.45rem/1.2 var(--serif); margin: .2rem 0 .8rem; }
.manage h2 { color: var(--navy); }
.manage .empty h2 { margin: 0; font: 600 1.6rem var(--serif); }
.product-picker { display: flex; gap: .65rem 1rem; align-items: end; flex-wrap: wrap; margin: 1rem 0; }
.product-picker > label { flex: 1 1 250px; }
.product-picker .controls { margin: 0; }
.manage-form, .asset-panel { margin: 1rem 0; background: #fff; border: 1px solid var(--line); border-radius: .35rem; padding: clamp(1rem, 3vw, 1.6rem); }
.manage label { display: grid; align-content: start; gap: .25rem; font-weight: 660; font-size: .92rem; }
.manage label small, .field-note, .asset-state { color: var(--muted); font-weight: 400; font-size: .88rem; }
.manage input:not([type=checkbox]), .manage select, .manage textarea { display: block; width: 100%; min-width: 0; border: 1px solid #9babb1; color: var(--ink); border-radius: .25rem; background: #fff; font: 1rem/1.4 var(--sans); min-height: 42px; padding: .47rem .55rem; }
.manage input:focus, .manage select:focus, .manage textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.manage input[readonly] { background: #eff2f0; }
.manage-form { display: grid; gap: .85rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,210px),1fr)); gap: .85rem; align-items: start; }
.manage .field-note { margin: -.3rem 0 0; }
.manage .check-label { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; }
.check-label input { width: 1.15rem; height: 1.15rem; accent-color: var(--navy); }
.asset-row { display: grid; gap: .55rem .75rem; padding: .85rem 0; border-top: 1px solid var(--line); align-items: center; }
.asset-row .action { justify-self: start; }
.asset-row strong { display: block; }
.asset-row .asset-help { display: block; margin-top: .13rem; font-size: .85rem; color: var(--muted); }
.manage input[type=file] { padding: .3rem; font-size: .9rem; }
.order-card { padding: .9rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; align-items: center; }
.order-card p, .order-card .controls { margin: .2rem 0; }
.order-meta { color: var(--muted); font-size: .9rem; }
.supplier-fields { border:1px solid var(--line); border-radius:.3rem; padding:1rem; display:grid; gap:.65rem; min-width:0; }
.supplier-fields legend { font-weight:660; padding:0 .35rem; }
#proof-review:not(:empty) { border-top:1px solid var(--line); margin-top:1rem; padding-top:1rem; }
#proof-review .action {margin-top:.5rem;}
.proof-reference { padding:.85rem 1rem; margin:.7rem 0 1rem; border-left:3px solid var(--gold); background:#f6f3e9; overflow-wrap:anywhere; }
.proof-reference p { margin:.35rem 0; }
.order-card .controls input { width: auto; max-width:100%; }
@media (min-width: 720px) {
  .asset-row { grid-template-columns: minmax(10rem,1fr) minmax(220px,1fr) auto; }
}

.formats { flex-wrap:wrap; }
.reading-help { margin:.5rem 0; color:var(--muted); }
.reading-help summary, .print-breaks summary { cursor:pointer; color:var(--blue); font-weight:650; padding-block:.45rem; }
.reading-help p { margin:.25rem 0 .55rem; }
.print-sheet { display:grid; gap:1.2rem; align-items:start; margin-top:1.25rem; }
.print-product, .print-pricing { min-width:0; padding:clamp(1rem,2.5vw,1.7rem); border:1px solid var(--line); border-radius:.4rem; }
.print-product { background:#f7f1e5; }
.print-pricing { background:var(--white); }
.print-field { display:grid; gap:.35rem; color:var(--navy); font-weight:700; }
.print-field select, .print-field input { min-width:0; width:100%; min-height:44px; background:white; color:var(--ink); border:1px solid #90a2a9; border-radius:.28rem; font:1rem/1.45 var(--sans); padding:.5rem .65rem; }
.print-field input { max-width:8rem; }
.print-field :focus-visible, .print-presets button:focus-visible { outline:3px solid #a56a11; outline-offset:2px; }
.print-presentation { margin-top:1rem; display:grid; grid-template-columns:minmax(66px,31%) minmax(0,1fr); align-items:center; gap:clamp(.75rem,2vw,1.5rem); }
.print-presentation > .print-details:only-child { grid-column:1 / -1; }
.print-art { display:block; width:100%; max-height:190px; object-fit:contain; filter:drop-shadow(2px 4px 5px #5b4b322e); }
.print-details h3 { margin:.25rem 0 .4rem; color:var(--navy); font:600 clamp(1.32rem,2.5vw,2rem)/1.12 var(--serif); }
.print-details p { margin:.2rem 0; line-height:1.42; }
.print-details .print-format { font-size:.89rem; color:#72562d; font-weight:700; }
.print-presets { display:flex; flex-wrap:wrap; gap:.35rem; margin:.65rem 0 1.15rem; }
.print-preset { cursor:pointer; flex:0 1 3.12rem; min-width:2.65rem; min-height:42px; border:1px solid #a5b4ba; border-radius:.28rem; background:white; color:var(--navy); font-weight:650; }
.print-preset[aria-pressed="true"] { color:white; background:var(--navy); border-color:var(--navy); }
.print-result { border-top:1px solid var(--line); padding-top:.7rem; }
.print-result p { margin:0; }
.print-total { color:var(--navy); font:600 2.4rem/1.25 var(--serif); }
.print-unit, .print-postage { color:var(--muted); }
.print-saving { font-weight:650; color:#285846; }
.print-postage { margin:.4rem 0 .8rem; font-size:.94rem; }
.print-breaks { margin-top:1rem; border-top:1px solid var(--line); }
.print-breaks table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; margin-top:.35rem; }
.print-breaks th, .print-breaks td { padding:.45rem .35rem; border-bottom:1px solid var(--line); text-align:right; }
.print-breaks th:first-child { text-align:left; }
.print-breaks tbody th { font-weight:500; }
.print-breaks tr.active { background:#eaf1ed; color:#193c30; font-weight:650; }
.sr-price { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.print-pricing [aria-disabled="true"] { opacity:.6; cursor:default; }
@media (min-width:760px) {
  .print-sheet { grid-template-columns:minmax(0,1.13fr) minmax(0,1fr); max-width:1030px; gap:1.5rem; }
  .print-presentation { margin-top:1.5rem; grid-template-columns:minmax(0,34%) minmax(0,1fr); }
  .print-art { max-height:250px; }
}

.shop-currency { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:.3rem .6rem; margin-top:.6rem; }
.shop-currency label { font-size:.93rem; font-weight:650; color:var(--navy); }
.shop-currency select { min-height:42px; max-width:100%; padding:.35rem .55rem; background:white; border:1px solid #92a3aa; border-radius:.26rem; font:1rem var(--sans); color:var(--ink); }
.shop-currency small { grid-column:1/-1; color:var(--muted); }
.shop-currency small:empty { display:none; }
.book-card .book-price { color:var(--navy); font-weight:680; }
@media(min-width:640px) { .shop-currency { margin:0; max-width:24rem; } .shop-heading { align-items:center; gap:1rem; } }

.sample-picker{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .65rem;margin:.75rem 0 .4rem;color:var(--navy);font-size:1rem;font-weight:650}
.sample-picker select{min-height:44px;max-width:100%;padding:.28rem .6rem;background:white;border:1px solid #92a3aa;border-radius:.26rem;color:var(--ink);font:1rem var(--sans)}
.reading-help.inline-link{display:inline-block;color:var(--blue);padding:.4rem 0}

.history-feature {margin:1.2rem 0 2rem;padding:clamp(1rem,3vw,1.8rem);background:var(--navy);color:white;border-radius:.35rem}
.history-feature h2 {font:500 clamp(1.6rem,3.3vw,2.65rem)/1.15 var(--serif);margin:0 0 1.2rem;color:white}
.history-titles {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:1.5rem}
.history-titles > a,.history-book-offer {display:grid;grid-template-columns:minmax(4rem,24%) 1fr;align-items:center;gap:1rem;color:white;text-decoration:none}
.history-titles img {width:100%;height:auto}
.history-titles a span span,.history-titles u {display:block;line-height:1.45;margin-top:.45rem}
.history-titles strong {font:600 1.26rem/1.15 var(--serif)}
.history-titles u {color:#ffebbe;text-underline-offset:.18em}
.history-book-offer p {margin:.45rem 0;line-height:1.45}
.history-book-offer a {display:block;width:fit-content;color:#ffebbe;text-underline-offset:.18em;padding:.3rem 0}

.cookbook-access-terms{font-size:.92rem;line-height:1.5;max-width:68ch}.cookbook-access-terms a{text-decoration:underline}.cookbook-access-terms summary{cursor:pointer}

/* Merchandise collections */
.merch-akiva { --collection-accent: #183c58; }
.merch-aviella { --collection-accent: #812549; }
.merch-brand-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .55rem;
  margin: 1rem 0 1.8rem;
}
.brand-shortcut {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.75rem;
  padding: .5rem .85rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--collection-accent);
  border-radius: .3rem;
  color: var(--collection-accent);
  font-weight: 700;
  text-decoration: none;
}
.brand-shortcut img { width: 4rem; height: 2.75rem; object-fit: contain; }
.brand-shortcut:hover span { text-decoration: underline; }
.merch-brand { margin: 2.1rem 0 2.65rem; scroll-margin-top: .8rem; }
.merch-brand > h3, .other-goods-heading {
  margin: 0 0 .8rem;
  color: var(--collection-accent, var(--navy));
  font: 600 clamp(1.65rem, 3.4vw, 2.6rem)/1.1 var(--serif);
  letter-spacing: -.035em;
}
.merch-group { border-top: 1px solid var(--line); scroll-margin-top: .7rem; }
.merch-group:last-child { border-bottom: 1px solid var(--line); }
.merch-group > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
  padding: .65rem .15rem;
  list-style: none;
  cursor: pointer;
  color: var(--collection-accent);
}
.merch-group > summary::-webkit-details-marker { display: none; }
.merch-group > summary::after { content: "+"; font: 1.55rem/1 var(--sans); }
.merch-group[open] > summary::after { content: "−"; }
.merch-group > summary h4 { margin: 0; font: 650 1.13rem/1.3 var(--sans); }
.merch-grid {
  display: grid;
  gap: 1.5rem 1.15rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr));
  padding: .45rem 0 1.6rem;
}
.merch-card { padding: 0; min-width: 0; scroll-margin-top: .8rem; }
.merch-card h5 {
  margin: .68rem 0 .25rem;
  color: var(--ink);
  font: 600 clamp(1.22rem, 1.8vw, 1.46rem)/1.18 var(--serif);
  overflow-wrap: anywhere;
}
.merch-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .27rem;
  border: 1px solid #dedbd4;
  background: #f4f0ea;
  cursor: zoom-in;
}
.merch-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.photo-enlarge {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  padding: .22rem .5rem;
  border-radius: .22rem;
  background: #fffefaeb;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 650;
}
.merch-card .book-price { color: var(--navy); font-weight: 700; }
.merch-image-viewer {
  width: fit-content;
  max-width: calc(100vw - 1rem);
  max-height: calc(100dvh - 1rem);
  padding: .7rem;
  border: 0;
  border-radius: .4rem;
  color: var(--ink);
  background: var(--paper);
}
.merch-image-viewer::backdrop { background: #0c1829d9; }
.merch-image-viewer header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  margin-bottom: .6rem;
}
.merch-image-viewer h2 { margin: 0; font: 600 clamp(1.15rem,3vw,1.65rem)/1.12 var(--serif); }
.merch-image-viewer button {
  min-height: 44px;
  padding: .3rem .78rem;
  border: 1px solid #809098;
  border-radius: .25rem;
  background: white;
  color: var(--navy);
  cursor: pointer;
}
.merch-image-viewer img { display: block; width: auto; max-width: 100%; max-height: calc(100dvh - 6.5rem); margin-inline: auto; object-fit: contain; }
