/* The Happy Hooker Handmade Crafts demo - 30 Sept 2026. Warm yarn palette taken from her own photos. */
:root {
  --bg: #faf6ef;          /* cream wool */
  --panel: #f2eadc;       /* oatmeal */
  --card: #fffdf9;
  --ink: #2b2521;
  --ink-2: #6a5f57;
  --line: #e5dac8;
  --berry: #a3303c;       /* her Santa-hat red */
  --berry-dk: #86242f;
  --denim: #2f4a7a;
  --sage: #6f7f5f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 24px rgba(60, 40, 20, .08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--berry); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--berry); }
/* Fraunces italic draws & with a curl that reads like an @ (Ann, 1 Oct). Georgia italic has a plain & and keeps it italic with "their people" (upright read as part of "pets", Marc 1 Oct) */
.amp { font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-style: italic; font-weight: 400; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2.5px solid var(--denim); outline-offset: 2px; }

/* ---------- header ---------- */
/* TOP BAR v2 (2 Oct, as Good As Done): flat on the page at the very top; once scrolled, a floating
   dark-wool capsule that slips away going down (past the banner) and returns going up - topbar.js.
   Only the inner capsule changes, and by transform, so the bar's height never moves the page. */
.top { position: sticky; top: 0; z-index: 30; transition: transform .35s ease; }
.top.hide { transform: translateY(-130%); }
.top.solid { pointer-events: none; }
.top-in { border: 1px solid transparent; border-radius: 20px; transition: background .3s, box-shadow .3s, border-color .3s, transform .3s, width .3s; }
.top.solid .top-in { pointer-events: auto; width: calc(100% - 24px); transform: translateY(10px);
  background: rgba(43, 37, 33, .86); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-color: rgba(250, 246, 239, .1); box-shadow: 0 16px 40px rgba(43, 37, 33, .28); }
.top.solid .brand { color: var(--bg); }
.top.solid .brand-sub { color: #f2a6ac; }
.top.solid .nav a, .top.solid .back { color: rgba(250, 246, 239, .82); }
.top.solid .nav a::after { background: #f2a6ac; }
@media (hover: hover) { .top.solid .nav a:hover, .top.solid .back:hover { color: var(--bg); } }
.top.solid .basket-btn { border-color: transparent; }
/* phones: a slimmer margin and padding, or "The Happy Hooker" wraps beside "Back to the shop" */
@media (max-width: 700px) {
  .top.solid .top-in { width: calc(100% - 16px); padding: 10px 14px; gap: 14px; }
  .brand-name { white-space: nowrap; }
}
@media (max-width: 420px) { .back { font-size: 14px; } }
.top-in { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); margin: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.02em; }
.brand-sub { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--berry); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--berry); transform: scaleX(0); transition: transform .2s; }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.basket-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; transition: transform .15s; }
@media (hover: hover) { .basket-btn:hover { transform: translateY(-1px); } }
.basket-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linejoin: round; }
.basket-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.basket-count[hidden] { display: none; }
.basket-count.bump { animation: bump .4s; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- hero ---------- */
/* inset to the content width with rounded corners - a framed print, not raw edge-to-edge (Marc, 1 Oct).
   The image has its 3-4 px white outer border trimmed off, or the rounding looks like a cut corner. */
.banner { overflow: hidden; background: var(--panel); width: min(1192px, calc(100% - 48px)); margin: 20px auto 0; border-radius: 26px; box-shadow: var(--shadow); isolation: isolate; }
.banner img { width: 100%; height: auto; }
.intro { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: flex; gap: 28px; align-items: flex-end; }
.intro-icon { position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 5px solid var(--bg); margin-top: -46px; box-shadow: var(--shadow); flex: none; }
.intro > div { padding-top: 22px; }
.intro h1 { font-size: clamp(30px, 3.6vw, 46px); }
.intro-line { margin: 8px 0 4px; font-size: 18.5px; color: var(--ink-2); }
/* the people range gets a quieter mention than the pets (Marc, 1 Oct) */
.intro-line .aside { font-family: var(--serif); font-style: italic; font-size: .86em; color: #a3968b; }
.stats { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.stars { color: #d49a2a; letter-spacing: 1px; }
.dot { margin: 0 6px; color: var(--line); }

/* ---------- shop ---------- */
.shop { max-width: 1240px; margin: 0 auto; padding: 64px 24px 40px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2, .made h2, .about h2, .reviews h2 { font-size: clamp(28px, 3vw, 40px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 500; cursor: pointer; transition: all .15s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .chip:hover { border-color: var(--ink-2); } }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px 24px; }
.card { cursor: pointer; }
.card.hide { display: none; }
.card-pic { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.card-pic .pics { position: absolute; inset: 0; }
.card-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.card-pic .alt { opacity: 0; }
.card-pic .more, .dots { display: none; }
@media (hover: hover) {
  .card:hover .card-pic img { transform: scale(1.04); }
  .card:hover .card-pic .alt { opacity: 1; }
}
/* touch screens have no hover - swipe through the photos in the card instead */
@media (hover: none) {
  .card-pic .pics { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .card-pic .pics::-webkit-scrollbar { display: none; }
  .card-pic .pics img { position: static; flex: 0 0 100%; scroll-snap-align: start; opacity: 1; }
  .card-pic .more { display: block; }
  .dots { display: flex; position: absolute; left: 0; right: 0; bottom: 9px; z-index: 2; justify-content: center; gap: 5px; pointer-events: none; }
  .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .65); box-shadow: 0 0 3px rgba(0, 0, 0, .35); transition: width .2s, background .2s; }
  .dots i.on { width: 16px; background: #fff; }
}
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255, 253, 249, .94); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.badge.xmas { background: var(--berry); color: #fff; }
.card-body { padding: 14px 4px 0; }
.card h3 { font-size: 20px; }
.card h3 button { all: unset; cursor: pointer; }
.card h3 button:focus-visible { outline: 2.5px solid var(--denim); outline-offset: 3px; border-radius: 4px; }
.card-blurb { margin: 4px 0 8px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
/* the coat designer card: two cards wide, its picture fills whatever height the row's other cards set (16 Oct) */
.card-design { grid-column: span 2; display: flex; flex-direction: column; container-type: inline-size; }
/* beside other cards its picture ends level with theirs: a 4:5 card is (100cqw - gap) / 2 wide, so 62.5cqw - 15px tall */
.card-design .card-pic { aspect-ratio: auto; height: calc(62.5cqw - 15px); }
.card-design .looks img { opacity: 0; object-position: 50% 5%; transition: opacity 1.2s; }
.card-design .looks img.on { opacity: 1; }
.card-design h3 a { color: inherit; text-decoration: none; }
.card-design h3 a:focus-visible { outline: 2.5px solid var(--denim); outline-offset: 3px; border-radius: 4px; }
.design-go { position: absolute; right: 14px; bottom: 14px; z-index: 2; background: var(--berry); color: #fff; font-weight: 600; font-size: 15.5px; padding: 10px 18px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: background .15s; }
/* 4 columns only from 1180 (iPad landscape) up. Below that it can't sit centred between two cards, so it leads the
   shop at full width instead (3 columns from ~880, 2 below) */
@media (max-width: 1179px) {
  .card-design { grid-column: 1 / -1; order: -1; }
  .card-design .card-pic { height: min(65cqw, 520px); }
}
@media (hover: hover) { .card-design:hover .design-go { background: var(--berry-dk); } }
.price { font-weight: 600; font-size: 17px; }
.price small { font-weight: 400; color: var(--ink-2); font-size: 14px; }
.mini-swatches { display: flex; }
.mini-swatches i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -4px; }
.mini-swatches span { font-size: 12.5px; color: var(--ink-2); margin-left: 6px; }

/* ---------- made to order ---------- */
.design-band[hidden] { display: none; }
.design-band { max-width: 1100px; margin: 0 auto 96px; padding: 0 24px; display: grid; grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
.db-pic img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.db-text p:not(.kicker) { color: var(--ink-2); font-size: 17.5px; margin: 12px 0 22px; }
.made { background: var(--panel); margin-top: 40px; }
.made-in { max-width: 1240px; margin: 0 auto; padding: 80px 24px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 640px; margin: 12px 0 0; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--berry); color: #fff; font-family: var(--serif); font-size: 19px; margin-bottom: 14px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.custom { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1.5px dashed #cdbd9f; border-radius: var(--radius); padding: 26px 28px; }
.custom h3 { font-size: 21px; margin-bottom: 4px; }
.custom p { margin: 0; color: var(--ink-2); max-width: 640px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-berry { background: var(--berry); color: #fff; }
@media (hover: hover) { .btn-berry:hover { background: var(--berry-dk); } }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
@media (hover: hover) { .btn-ghost:hover { background: var(--ink); color: #fff; } }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- about ---------- */
.about { max-width: 1100px; margin: 0 auto; padding: 96px 24px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.about-pic { margin: 0; }
.about-pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: var(--shadow); }
.kicker { font-family: var(--serif); font-style: italic; color: var(--berry); font-size: 20px; margin: 0 0 4px; }
.about-text p { color: var(--ink-2); font-size: 17.5px; }
.about-text h2 { margin-bottom: 18px; }
.sign { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--ink) !important; margin-top: 24px; }
.sign span { font-size: 16px; color: var(--ink-2); font-style: normal; font-family: var(--sans); }

/* Facebook card - three of her makes fanned like snapshots; they spread on hover */
.fb-card { margin-top: 30px; display: flex; align-items: center; gap: 20px; padding: 18px 22px 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.fb-fan { position: relative; flex: none; width: 120px; height: 84px; }
.fb-fan img { position: absolute; top: 8px; left: 34px; width: 52px; height: 66px; object-fit: cover; border: 3px solid #fff; border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.fb-fan img:nth-child(1) { transform: translateX(-24px) rotate(-12deg); }
.fb-fan img:nth-child(2) { transform: translateX(24px) rotate(10deg); }
.fb-fan img:nth-child(3) { transform: translateY(-3px) rotate(-2deg); z-index: 1; }
.fb-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fb-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #1877f2; }
.fb-f { width: 18px; height: 18px; flex: none; }
.fb-f circle { fill: #1877f2; } .fb-f path { fill: #fff; }
.fb-text strong { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; }
.fb-sub { font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.fb-go { flex: none; background: #1877f2; color: #fff; font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; transition: background .15s; }
.fb-go span { display: inline-block; transition: transform .2s; }
.fb-link { display: inline-flex; align-items: center; gap: 8px; }
@media (hover: hover) {
  .fb-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(60, 40, 20, .08), 0 14px 32px rgba(60, 40, 20, .13); }
  .fb-card:hover .fb-fan img:nth-child(1) { transform: translate(-32px, 4px) rotate(-18deg); }
  .fb-card:hover .fb-fan img:nth-child(2) { transform: translate(32px, 4px) rotate(16deg); }
  .fb-card:hover .fb-fan img:nth-child(3) { transform: translateY(-9px) rotate(0); }
  .fb-card:hover .fb-go { background: #0d63d4; }
  .fb-card:hover .fb-go span { transform: translateX(3px); }
}
/* touch screens: the snapshots deal themselves out when the card scrolls into view (app.js adds .dealt) */
@media (hover: none) {
  .fb-card.dealt .fb-fan img:nth-child(1) { transform: translate(-32px, 4px) rotate(-18deg); transition-delay: .15s; }
  .fb-card.dealt .fb-fan img:nth-child(2) { transform: translate(32px, 4px) rotate(16deg); transition-delay: .3s; }
  .fb-card.dealt .fb-fan img:nth-child(3) { transform: translateY(-9px) rotate(0); }
  .fb-card:active { transform: scale(.98); }
  .fb-card:active .fb-go { background: #0d63d4; }
  /* a quick press-in instead of a hover */
  .chip:active, .pill:active, .basket-btn:active { transform: scale(.95); }
}

/* ---------- reviews ---------- */
.reviews { max-width: 1240px; margin: 0 auto; padding: 0 24px 96px; }
.review-row { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 18px; line-height: 1.5; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--ink-2); }
.review figcaption b { color: var(--ink); font-weight: 600; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #d9cfc3; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: 2fr 1.3fr 1.3fr; gap: 40px; }
.foot .brand-name { color: #fff; }
.foot .brand-sub { color: #e7a0a6; }
.foot h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 2; }
.foot a { color: #f0e6da; }
.foot p { font-size: 15px; }
.legal { max-width: 1240px; margin: 0 auto; padding: 20px 24px 32px; border-top: 1px solid #463d37; font-size: 13.5px !important; color: #a89c90; }

/* ---------- item sheet ---------- */
.sheet, .drawer { position: fixed; inset: 0; z-index: 50; }
.sheet[hidden], .drawer[hidden] { display: none; }
.sheet-back { position: absolute; inset: 0; background: rgba(35, 25, 18, .55); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
/* minmax(0, ...) - a plain fr column grows to fit the thumbnail strip, and on a phone the sheet scrolled every way */
.sheet-card { position: absolute; inset: 4vh 0 auto; margin: 0 auto; width: min(1120px, calc(100% - 48px)); max-height: 92vh; overflow: auto; overflow-x: hidden; background: var(--bg); border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); animation: rise .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .95); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.gallery { padding: 20px; position: sticky; top: 0; align-self: start; min-width: 0; }
/* photo + thumbnails must fit the sheet (92vh) - on a landscape iPad or a laptop a full-width 4:5 photo pushed the thumbnails off the bottom.
   118px = gallery padding, gap and thumbnail row. Width follows from the height so the photo keeps its shape. */
.g-main { position: relative; aspect-ratio: 4 / 5; width: min(100%, calc((92vh - 118px) * .8)); margin: 0 auto; border-radius: 16px; overflow: hidden; background: var(--panel); }
.g-main img { width: 100%; height: 100%; object-fit: cover; }
.g-main .contain { object-fit: contain; background: #fff; }
.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .9); cursor: pointer; font-size: 20px; box-shadow: var(--shadow); }
.g-arrow.prev { left: 12px; } .g-arrow.next { right: 12px; }
.g-count { position: absolute; bottom: 12px; right: 12px; background: rgba(35, 25, 18, .6); color: #fff; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.g-thumbs { display: flex; gap: 8px; margin: 10px auto 0; width: min(100%, calc((92vh - 118px) * .8)); overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.g-thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--panel); }
.g-thumbs button.on { border-color: var(--berry); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { padding: 40px 36px 36px 16px; min-width: 0; overflow-wrap: anywhere; }
.info h2 { font-size: clamp(26px, 2.6vw, 34px); padding-right: 40px; }
.info .price-big { font-size: 26px; font-weight: 600; margin: 10px 0 2px; }
.info .price-note { font-size: 14px; color: var(--ink-2); margin: 0 0 20px; }
.opt { border: 0; padding: 0; margin: 0 0 20px; }
.opt legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.opt legend span { font-weight: 400; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid var(--line); background: var(--card); border-radius: 12px; padding: 8px 13px; font-size: 14.5px; cursor: pointer; text-align: left; line-height: 1.3; }
.pill small { display: block; color: var(--ink-2); font-size: 12.5px; }
@media (hover: hover) { .pill:hover { border-color: var(--ink-2); } }
.pill.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill.on small { color: #d9cfc3; }
.swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2.5px var(--ink); }
.opt-note { margin: 0; font-size: 14.5px; color: var(--ink-2); background: var(--panel); border-radius: 12px; padding: 10px 14px; }
.buy { display: flex; gap: 12px; align-items: center; margin: 26px 0 8px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); }
.qty button { width: 40px; height: 48px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty output { min-width: 22px; text-align: center; font-weight: 600; }
.buy .btn { flex: 1; padding: 15px 20px; }
.buy-hint { font-size: 13.5px; color: var(--ink-2); margin: 0 0 22px; min-height: 1.3em; }
.buy-hint.warn { color: var(--berry); }
.made-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.made-note svg { flex: none; width: 20px; height: 20px; stroke: var(--sage); fill: none; stroke-width: 1.8; margin-top: 2px; }
.info .desc p { color: var(--ink-2); font-size: 16px; margin: 0 0 12px; }
/* demo-only questions for Ann - delete with the check fields */
.check { background: #fff3a8; color: #4a3d00; border-left: 4px solid #e0b400; border-radius: 8px; padding: 10px 14px; font-size: 15px; transform: rotate(-.6deg); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.guide { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.guide summary { cursor: pointer; padding: 13px 16px; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; }
.guide summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ink-2); }
.guide[open] summary::after { content: "–"; }
.guide img { padding: 0 16px 16px; }
.ask { display: inline-block; margin-top: 16px; font-size: 15px; }

/* ---------- basket drawer ---------- */
.drawer-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slide .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 26px; }
.drawer-head .x { position: static; box-shadow: none; background: var(--panel); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px 24px; display: flex; flex-direction: column; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 90px; object-fit: cover; border-radius: 10px; }
.line h3 { font-size: 17px; }
.line p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.line-right { text-align: right; font-weight: 600; }
.line-right button { display: block; margin: 8px 0 0 auto; border: 0; background: none; color: var(--ink-2); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.line-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; }
.line-qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; line-height: 1; }
.totals { margin-top: auto; padding-top: 20px; }
.totals .row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.totals .row.big { color: var(--ink); font-size: 19px; font-weight: 600; margin: 10px 0 18px; }
.totals .btn { width: 100%; }
.demo-note { font-size: 13px; color: var(--ink-2); text-align: center; margin: 12px 0 0; }
.gift { display: flex; gap: 10px; align-items: center; font-size: 15px; margin: 14px 0 6px; cursor: pointer; }
.gift input { width: 18px; height: 18px; accent-color: var(--berry); }
.notes-box { width: 100%; min-height: 70px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14.5px; background: var(--card); resize: vertical; margin-top: 6px; }
.empty { text-align: center; margin: auto 0; color: var(--ink-2); }
.empty h3 { color: var(--ink); font-size: 22px; margin-bottom: 6px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; z-index: 60; transition: transform .35s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- smaller screens ---------- */
@media (max-width: 1040px) { .nav { gap: 20px; } .top-in { gap: 18px; } }
@media (max-width: 900px) {
  .nav { display: none; }
  .basket-btn { margin-left: auto; }
  .steps, .review-row { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; padding: 72px 24px; }
  .about-pic { max-width: 420px; }
  .design-band { grid-template-columns: 1fr; gap: 24px; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .sheet-card { inset: 0; width: 100%; max-height: none; height: 100%; border-radius: 0; grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; padding: 0; }
  .g-main { border-radius: 0; aspect-ratio: 1 / 1; width: auto; }
  .g-thumbs { padding: 0 16px; width: auto; }
  .info { padding: 22px 20px 40px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .top-in { padding: 10px 16px; }
  /* the full name is too long for one line beside the basket - stack it */
  .brand { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.1; }
  .brand-name { font-size: 20px; } .brand-sub { font-size: 16px; }
  /* the banner is wide and would be small on a phone - show it taller and let it drift across */
  .banner { width: calc(100% - 32px); margin-top: 12px; height: 52vw; max-height: 260px; border-radius: 20px; }
  .banner img { width: auto; height: 100%; max-width: none; aspect-ratio: auto; animation: pan 38s ease-in-out infinite alternate; }
  @keyframes pan { to { transform: translateX(calc(-100% + 100vw - 32px)); } }
  .intro { padding: 0 16px; gap: 16px; flex-direction: column; align-items: flex-start; }
  .intro-icon { width: 88px; height: 88px; margin-top: -40px; }
  .intro > div { padding-top: 0; }
  .shop { padding: 44px 16px 24px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .card h3 { font-size: 16.5px; }
  .card-blurb { display: none; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 4px; }
  .badge { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .made-in { padding: 60px 16px; }
  .design-band { padding: 0 16px; }
  .design-band .btn { width: 100%; }
  .custom { padding: 22px 20px; }
  .fb-card { flex-wrap: wrap; gap: 14px 16px; padding: 16px; }
  .fb-fan { width: 104px; } .fb-fan img { left: 26px; }
  .fb-go { flex-basis: 100%; text-align: center; }
  /* iPhones zoom the whole page into any text box under 16px */
  .notes-box { font-size: 16px; }
  .about, .reviews { padding-left: 16px; padding-right: 16px; }
  .foot-in, .legal { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- privacy + delivery pages (1 Oct 2026) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 56px 24px 88px; }
.page h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 12px; }
.page h2 { font-size: 24px; margin: 38px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }
.page strong { color: var(--ink); }
.page .updated { margin-top: 40px; font-size: 14px; }
.legal a { color: #d9cfc3; }
@media (max-width: 700px) { .page { padding: 40px 16px 64px; } }
.back { margin-left: auto; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; white-space: nowrap; }
@media (hover: hover) { .back:hover { color: var(--berry); } }
.amp-up { font-style: normal; }

/* item view: link to the coat designer (13 Oct 2026) */
.design-link { margin-top: 10px; width: 100%; text-align: center; }

/* ---------- checkout form in the basket (7 Nov 2026) ---------- */
.co-back { align-self: flex-start; border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 14.5px; text-decoration: underline; cursor: pointer; padding: 12px 0 4px; }
.co-h { font-size: 22px; margin: 8px 0 4px; }
.co-p { font-size: 14.5px; color: var(--ink-2); margin: 0 0 12px; line-height: 1.45; }
.co-form { display: flex; flex-direction: column; flex: 1; }
.co-f { display: block; margin-bottom: 12px; }
.co-f span { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.co-f small { font-weight: 400; color: var(--ink-2); }
.co-f input, .co-f textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; background: var(--card); color: var(--ink); }
.co-f input:focus, .co-f textarea:focus { outline: 2px solid var(--berry); outline-offset: 1px; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.co-done p { margin: 0 0 10px; line-height: 1.5; }
.co-done .btn { margin-top: 8px; }
