@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-latin-wght-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f3ebdd;
  --ink: #2b221b;
  --quiet: #5f5348;
  --wine: #742e32;
  --line: #d9ccb8;
  --field: #fffaf2;
  --selected: #efe0d4;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --width: 1120px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
::selection { background: var(--wine); color: var(--field); }
.wrap { width: min(var(--width), 100% - var(--gutter) * 2); margin-inline: auto; }

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  min-height: 72px;
  padding-block: 10px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand {
  font: 500 1.75rem/1 var(--serif);
  font-variant-caps: all-small-caps;
  letter-spacing: .075em;
  text-decoration: none;
  padding-block: 8px;
}
.ship { font-size: .85rem; color: var(--quiet); max-width: 62ch; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "copy img";
  column-gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: min(var(--width), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: clamp(36px, 5vw, 72px);
}
.hero-img {
  grid-area: img;
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 690 / 1215;
  justify-self: center;
  margin: 0;
  overflow: clip;
  filter: drop-shadow(4px 13px 14px rgb(43 34 27 / .17));
}
.hero-clip { position: absolute; }
.hero-img img {
  position: absolute;
  /* Fit the traced cloth, rather than the original wall, inside the figure. */
  inset: -19.34% auto auto -18.41%;
  width: 130.43%;
  max-width: none;
  height: auto;
  clip-path: url(#hero-towel-outline);
}
.hero-copy { grid-area: copy; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; line-height: 1; margin: 0; }
h1 { font-size: clamp(1.9rem, 4.8vw, 4.4rem); line-height: 1.05; max-width: 16ch; }
.hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4.55vw, 4.25rem);
  letter-spacing: -.015em;
  line-height: .99;
  text-wrap: balance;
}
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--wine); font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.4vw, 4rem); }
.lede { color: var(--quiet); font: 1.3rem/1.3 var(--serif); max-width: 35ch; margin: 20px 0 18px; }
.lede::before { content: ""; display: block; width: 2.75rem; margin-bottom: 15px; border-top: 1px solid var(--line); }
.price { margin: 0; font: 500 1.25rem/1.3 var(--serif); font-variant-numeric: tabular-nums; }
.price strong { font-weight: 600; }
.price-pair { margin: 4px 0 0; color: var(--quiet); font-size: .9rem; }
.hero-action { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 20px; }
.hero-action .spec { margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  background: var(--wine);
  color: var(--field);
  border: 1px solid transparent;
  border-radius: 5px;
  font: 600 .95rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.btn:not(:disabled):hover { background: #63262a; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.quiet:not(:disabled):hover { color: var(--wine); background: var(--field); border-color: var(--wine); }

.storefront :is(.gallery, .foot, .zoom) { font-family: var(--serif); line-height: 1.4; }
.storefront .make { font: 1.125rem/1.4 var(--serif); }
.storefront :is(.make .note, .gallery-note, .trust, .foot, .zoom .note) { font-size: 1rem; }
.storefront :is(.make, .zoom) :is(.btn, .pair-tab, .cleanup span) { font: 600 1.0625rem/1.35 var(--serif); }

.make { border-top: 1px solid var(--line); padding: clamp(40px, 7vw, 96px) 0; }
.make-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: clamp(32px, 5vw, 56px) clamp(36px, 7vw, 108px);
}
.purchase { grid-column: 1; min-width: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.purchase h3 { margin: 0 0 20px; font: 500 clamp(1.7rem, 4vw, 2.3rem)/1.05 var(--serif); letter-spacing: -.02em; }
.make-grid .preview { grid-column: 2; grid-row: 1 / 3; width: 100%; max-width: 420px; justify-self: end; }
.make h2 { margin-bottom: 10px; }
#make-title { scroll-margin-block-start: 16px; }
.make-intro { margin: 0 0 6px; color: var(--quiet); }
.make-offer { margin: 0 0 16px; font-variant-numeric: lining-nums tabular-nums; }
.recipe-example { max-width: 360px; margin: 0 0 16px; }
.recipe-example-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.recipe-example img { width: 100%; height: auto; background: var(--line); }
.recipe-example figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  padding-top: 4px;
  font: 500 1.05rem/1.2 var(--serif);
}
.storefront .make .recipe-example .note { font-size: .9375rem; }
.sample-preview { margin-top: 4px; width: fit-content; max-width: 100%; }
.sample-preview summary { min-height: 44px; padding-block: 10px; color: var(--wine); cursor: pointer; }
.sample-preview figure { max-width: 270px; margin: 0; }
.sample-preview img { height: auto; border: 1px solid var(--line); }
.sample-preview figcaption { margin-top: 6px; }
.steps { padding-left: 1.3em; color: var(--quiet); margin: 18px 0 22px; max-width: 46ch; }
.steps li + li { margin-top: 4px; }
.steps li::marker { color: var(--wine); font-variant-numeric: tabular-nums; }

.file{position:relative}.file input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.file:focus-within,.towel:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.file:has(input:disabled){opacity:.45}
.status{margin:14px 0 0;font-weight:600;max-width:46ch}.status:empty{display:none}
.note{color:var(--quiet);font-size:.88rem;max-width:52ch}.check{display:flex;gap:12px;align-items:flex-start;margin:0 0 6px;font-weight:600;cursor:pointer}
.check input{width:24px;height:24px;flex-shrink:0;margin:0;accent-color:var(--wine)}
.check-note{margin:0 0 20px;padding-left:36px}
.sets { border: 0; min-width: 0; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.sets legend { padding: 0; margin-bottom: 8px; color: var(--quiet); font-weight: 600; }
.set {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.set input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--wine); }
.set span { flex: 1; min-width: 0; }
.set small { display: block; color: var(--quiet); font-size: .85rem; }
.set strong { font: 600 1.1rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.set:has(input:checked) { background: var(--selected); border-color: var(--wine); }
.set:hover { border-color: var(--quiet); }
.set:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.sets:disabled .set { opacity: .55; cursor: default; }
.sets .note { margin: 8px 0 0; }
.pay { display: grid; gap: 14px; padding: 18px; background: var(--field); border: 1px solid var(--line); border-radius: 10px; }
.delivery-note { margin: 0; font-size: .9rem; }
.delivery-note strong, .delivery-note span { display: block; }
.delivery-note span { margin-top: 4px; color: var(--quiet); }
.pay .btn { width: 100%; min-height: 52px; }
.pay .btn:disabled { opacity: 1; color: var(--quiet); background: var(--selected); border-color: var(--line); }
.pay .status, .pay-security { margin: 0; }
.pay-security { max-width: none; text-align: center; }
.order-details { margin-top: 16px; border-top: 1px solid var(--line); }
.order-details summary { padding-block: 12px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.order-details p { margin: 0 0 12px; overflow-wrap: anywhere; }
.preview{margin:0}.towel{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.towel:disabled{cursor:default}
#towel{display:block;width:100%;height:auto;aspect-ratio:16/25;border:1px solid var(--line);background:#fbfaf7}
#turn{width:100%;min-height:48px;margin-top:16px}
.cleanup{border:0;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cleanup legend{padding:0;margin-bottom:8px;font-weight:600}
.cleanup label{position:relative;display:flex}.cleanup input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.cleanup span{flex:1;display:flex;align-items:center;justify-content:center;min-height:48px;background:var(--field);border:1px solid var(--line);border-radius:5px;font:600 .95rem/1.25 var(--sans);text-align:center}
.cleanup input:checked+span{border-color:var(--wine);background:var(--selected)}.cleanup input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.cleanup:disabled span{opacity:.55}.cleanup .note{grid-column:1/-1;margin:0}
/* loss check: the ways forward, the marked areas, the compare view (shop.js LOSS CHECK and COMPARE) */
.warn{margin:8px 0 0;max-width:46ch}.warn p{margin:0 0 10px}.warn-ways{display:grid;grid-template-columns:1fr 1fr;gap:8px}.warn-ways .btn{min-height:48px;padding:0 12px}
.warn-ways #way-photo{grid-column:1/-1}.link{grid-column:1/-1;justify-self:start;min-height:44px;padding:0;border:0;background:none;color:var(--quiet);font:inherit;text-decoration:underline;cursor:pointer}
.link:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.help-line{margin:10px 0 0;max-width:52ch}.help-line p{margin:0 0 4px}.help-line .link{display:inline;min-height:44px;color:var(--ink);font-weight:600}
/* hand cleanup mode in the order panel (shop.js HAND CLEANUP) */
.hand-on{margin:0 0 14px;padding:12px 14px;background:var(--field);border:1px solid var(--line);border-radius:3px;max-width:52ch}.hand-on .link{display:block;margin-top:6px}
.cleanup .wide{grid-column:1/-1}
.zoom-art{position:relative;margin:auto;line-height:0}.zoom-art canvas{width:100%}.zoom-mark{position:absolute;border:2px solid var(--wine);pointer-events:none}
.zoom-bar{flex-wrap:wrap}.zoom-side{display:inline-flex;gap:0}.zoom-side .btn{min-height:44px;padding:0 16px;border-radius:0}.zoom-side .btn:first-child{border-radius:3px 0 0 3px}.zoom-side .btn:last-child{border-radius:0 3px 3px 0;margin-left:-1px}
.zoom-side .btn[aria-pressed=true]{border-color:var(--wine);box-shadow:inset 0 0 0 1px var(--wine);position:relative}
.trust { list-style: none; padding: 0; margin: 16px auto 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--quiet); font-size: .85rem; }
.trust li { padding-left: 14px; position: relative; }
.trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); opacity: .55; }
/* photo advice: the reason lines and the light "better photo" block (shop.js PHOTO ADVICE) */
.advice{margin:8px 0 0;padding-left:1.2em;max-width:46ch}.advice li+li{margin-top:4px}
.better{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px;margin-top:10px}.better .btn{min-height:48px}.better .link{grid-column:auto}
/* Reserve the full towel shape once a photo is available. */
.make-grid:not(:has(#crop:not([hidden]))) .preview .towel { display: none; }
.make-grid:not(:has(#crop:not([hidden]))) .preview figcaption {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
}
.preview figcaption{font-size:.85rem;color:var(--quiet);margin-top:10px}.preview figcaption span{display:block}.preview figcaption span+span{margin-top:6px}
.crop{margin-top:22px}.crop-label{margin:0 0 4px;font-weight:600}
.crop-stage{position:relative;display:inline-block;line-height:0;margin:12px;max-width:calc(100% - 24px);touch-action:pan-y}
#crop-photo{display:block;max-width:100%;max-height:420px;width:auto;height:auto}
.crop-handle{position:absolute;width:48px;height:48px;margin:-24px 0 0 -24px;padding:0;border:0;background:none;cursor:grab;touch-action:none}
.crop-handle::after{content:"";position:absolute;inset:15px;background:var(--field);border:2px solid var(--ink);border-radius:3px}
.crop-handle:focus-visible{outline:none}.crop-handle:focus-visible::after{outline:2px solid var(--ink);outline-offset:3px}
.crop-handle:disabled{opacity:.45;cursor:default}
#crop-reset{display:flex;min-height:44px;margin-top:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.line{display:grid;gap:6px;margin-top:18px;font-weight:600}.line .note{font-weight:400;margin:0}
.line input{width:100%;min-height:48px;padding:10px 12px;background:var(--field);border:1px solid var(--line);border-radius:3px;font:1rem var(--serif);color:var(--ink)}
.line input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.line-echo{margin-bottom:6px;font-family:var(--serif);overflow-wrap:anywhere}
.zoom-line{margin:0 auto;text-align:center;white-space:nowrap}
.zoom{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#fbfaf7;color:var(--ink)}
.zoom[open]{display:flex;flex-direction:column}
.zoom-pan{flex:1;overflow:auto;padding:24px;cursor:grab;overscroll-behavior:contain;user-select:none;-webkit-user-select:none}
.zoom-pan canvas{display:block;margin:auto;max-width:none;height:auto}
.zoom-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;border-top:1px solid var(--line);background:var(--paper)}.zoom-bar .note{margin:0}
.gallery { padding: 0 0 clamp(28px, 5vw, 48px); }
.gallery h2 { margin-bottom: clamp(16px, 2.5vw, 28px); font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.gallery-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.gallery-pair { margin: 0; min-width: 0; }
.gallery-pair-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gallery-pair img { width: 100%; height: auto; }
.gallery-pair figcaption { margin-top: 8px; font-size: 1.125rem; font-style: italic; }
.gallery-note { margin-top: 10px; margin-bottom: 0; font-size: .8rem; max-width: none; }
.foot { padding-block: 22px 28px; color: var(--quiet); font-size: .85rem; border-top: 1px solid var(--line); }
.foot #share-shop { padding: 0; min-height: 44px; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; column-gap: 22px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 760px) {
  .bar { min-height: 52px; padding-block: 6px; }
  .brand { font-size: 1.5rem; padding-block: 4px; }
  .make-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { display: block; padding-block: 18px 42px; }
  .hero-img { width: min(58vw, 240px, 28vh); width: min(58vw, 240px, 28svh); margin-inline: auto; }
  .hero-copy { margin-top: 20px; }
  .hero h1 { font-size: clamp(1.875rem, 8.6vw, 2.125rem); }
  .lede { font-size: 1.2rem; margin: 14px 0 12px; }
  .lede::before { margin-bottom: 10px; }
  .hero-action .btn { flex: 1 1 100%; }
  .make-grid { grid-template-rows: none; }
  .make-grid .preview { grid-column: auto; grid-row: auto; justify-self: center; max-width: 320px; }
  .gallery-row { grid-template-columns: minmax(0, 1fr); }
  .trust { flex-direction: column; gap: 4px; }
  .foot nav { flex-direction: column; align-items: flex-start; margin-top: 6px; }
}

@media (max-width: 360px) {
  .make h2 { font-size: 2.2rem; margin-bottom: 8px; }
  .make-offer, .recipe-example { margin-bottom: 10px; }
  /* The taller card and towel pair still leaves "Choose a photo" in view at 320 × 568. */
  #make-title { scroll-margin-block-start: 8px; }
  .storefront :is(#photo-notice, #photo-what) { margin-block: 8px; font-size: .9375rem; }
}

.page{padding-block:48px;max-width:640px}.policy{max-width:720px}.policy h1{margin-bottom:24px}
.policy-heading { margin-top: 32px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
#photo-privacy { scroll-margin-top: 20px; }
#photo-notice a { white-space: nowrap; }
.form{display:grid;gap:16px;margin:24px 0}.form label{display:grid;gap:6px;font-weight:600}
.form input,.form select,.form textarea{width:100%;padding:12px;background:var(--field);border:1px solid var(--line);border-radius:3px;font:1rem var(--sans);color:var(--ink)}
.form .btn{justify-self:start}[hidden]{display:none!important}
.answer{background:var(--field);border:1px solid var(--line);padding:14px 16px;margin:0 0 12px}.answer p{margin:0 0 4px}
.approve .preview{max-width:360px;margin:18px 0}.approve .towel img{display:block;width:100%;height:auto;border:1px solid var(--line);background:#fbfaf7}
.choices{display:grid;gap:10px;max-width:360px;margin:18px 0}.choices p{margin:0}.choices .link{grid-column:auto}.zoom-pan img{display:block;margin:auto}

/* TWO PRINTS: the towel switcher above the photo button, and both approved prints above Checkout */
.pair-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; max-width: 46ch; }
.pair-tab { display: grid; gap: 2px; min-height: 56px; padding: 8px 12px; text-align: left; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; font: 600 1rem/1.2 var(--sans); cursor: pointer; }
.pair-tab[aria-pressed="true"] { background: var(--selected); border-color: var(--wine); }
.pair-tab:not(:disabled):hover { background: var(--field); }
.pair-tab:disabled { opacity: .55; cursor: default; }
.pair-state { color: var(--quiet); font-weight: 400; font-size: .85rem; }
.pair-review { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.pair-title { grid-column: 1 / -1; margin: 0; font: 500 1.3rem/1.1 var(--serif); }
.pair-proof { margin: 0; display: grid; gap: 6px; align-content: start; }
.pair-proof img { width: 100%; height: auto; aspect-ratio: 16 / 25; border: 1px solid var(--line); background: #fbfaf7; }
.pair-proof figcaption { display: grid; gap: 2px; }
.pair-proof .link { min-height: 44px; }
.form label .note { font-weight: 400; }

.products { border: 0; margin: 0 0 1.25rem; padding: 0; min-inline-size: 0; }
.products legend { margin-bottom: .5rem; font-size: 1.15rem; }
.product-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.product-card { display: grid; grid-template-rows: 1fr auto; position: relative; border: 1px solid #b9a99b; padding: .55rem .3rem; cursor: pointer; text-align: center; line-height: 1.2; }
.product-card:has(:checked) { border-color: #742e32; box-shadow: inset 0 0 0 1px #742e32; }
.product-card:has(:focus-visible) { outline: 2px solid #742e32; outline-offset: 3px; }
.product-card input { position: absolute; top: .35rem; left: .35rem; accent-color: #742e32; }
.product-card strong { display: block; font-weight: 600; }
.tea-art { width: 48%; }
.frame-art { width: 62%; border: .3rem solid #302a28; }
.towel.frame-preview { padding: .45rem; background: #302a28; }
.towel.frame-preview #towel { aspect-ratio: 2398 / 3000; }
.extra-preview { margin: .75rem 0; }
.extra-preview .towel { max-width: 11rem; }
#extra-art { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.extra-preview figcaption { margin-top: .25rem; }

.board-art { max-width: 68%; border-radius: .32rem; box-shadow: 0 2px 4px #5c413850; }
.board-options, .glass-options { border: 0; padding: 0; min-inline-size: 0; }
.board-options { margin: 0 0 1rem; }
.board-options legend { font-weight: 600; }
.material-options { display: flex; flex-wrap: wrap; gap: .35rem; }
.material-options label, .glass-options label { cursor: pointer; padding: .4rem .55rem; border: 1px solid var(--line); }
.board-options input, #board-waffle { accent-color: var(--wine); }
.material-options label:has(:checked), .glass-options label:has(:checked) { border-color: var(--wine); }
.glass-options { margin-top: .55rem; }
.glass-options label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: .4rem; margin-top: .3rem; }
.glass-options strong { white-space: nowrap; }
.towel.board-preview { max-width: min(100%, 22rem); margin-inline: auto; }
.towel.board-preview #towel { aspect-ratio: auto; border-radius: .65rem; box-shadow: 0 .24rem .45rem #49352145; }
#board-advice { display: block; color: var(--wine); margin: .3rem 0; }
.towel.bamboo-preview #towel, .bamboo-art { background: transparent; border: 0; box-shadow: none; filter: drop-shadow(0 .16rem .22rem #49352145); }
.board-approval { border-radius: .55rem; overflow: hidden; }
.board-approval.maple { background: #e4ba8b; }
.board-approval.bamboo { background: #c59762; }
.board-approval canvas { display: block; width: 100%; height: auto; }

.product-tile { display: block; margin-bottom: .4rem; background: #e8dfd3; }
.product-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.picker-disclosure { margin: .5rem 0 0; }
.waffle-choice { float: left; width: 3rem; height: 3rem; object-fit: cover; margin-right: .5rem; }

#write { margin-block: 2rem; }
#write summary { min-height: 44px; cursor: pointer; color: var(--wine); }
#review-form label:has(input[type="checkbox"]) { display: flex; align-items: baseline; gap: .65rem; }
#review-form input[type="checkbox"] { width: 1.1rem; min-height: 1.1rem; flex: none; }

.store-rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .45rem; color: var(--wine); font: .95rem/1.4 var(--sans); }
a.store-rating { min-height: 44px; text-decoration: none; }
a.store-rating .rating-value { text-decoration: underline; text-underline-offset: .18em; }
.rating-stars { position: relative; color: #b6aaa0; font: 1.1rem/1.2 system-ui, sans-serif; white-space: nowrap; }
.star-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--wine); }

.recovery-choice { width: 100%; }
.recovery-choice .check { margin-inline: 0; }
#recovery-address, #redeem-code { max-width: 100%; }
#recovery-email, #redeem-code, #gift-selection { width: 100%; max-width: 28rem; padding: .55rem; font: inherit; }
#previews img { display: block; max-width: min(100%, 34rem); margin: 1rem auto; }
.gift-actions { display: flex; align-items: center; gap: .75rem; margin-block: 1rem; flex-wrap: wrap; }
.gift-redeem { margin-block: .75rem; }
.gift-redeem form { margin-top: .75rem; }
#gift-code-print { font: 600 1.1rem ui-monospace, monospace; overflow-wrap: anywhere; }
@media print {
  body:has(.gift-page) .bar, .gift-page .gift-actions, .gift-page #gift-form { display: none; }
  .gift-page { color: black; padding: 1cm; }
}
