/* Crafty Bundles Studio storefront.
   Layout concept: a craft-table album. Full-bleed seasonal photo, then collections laid out
   like album pages (fanned prints, washi tape, handwritten tags) over warm kraft and linen.
   Single committed light look; every color comes from these tokens. */
:root {
  --espresso: #2a1d16;
  --espresso-2: #3d2a20;
  --oak: #a06d43;
  --kraft: #d9b88f;
  --kraft-soft: #efe2cf;
  --linen: #f7f1e8;
  --paper-white: #fffdf9;
  --line-warm: #e4d8c6;
  --muted-warm: #6d5a4c;
  --accent: #b2323b;        /* season accent: candy cane red for Holiday */
  --accent-deep: #8e2430;
  --accent-soft: #f6dfdc;
  --accent-2: #2f4c3e;      /* pine */
  --tape: rgba(178, 50, 59, .78);
  --tape-2: rgba(47, 76, 62, .72);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ink: var(--espresso);
  --paper: var(--linen);
  --line: var(--line-warm);
  --muted: var(--muted-warm);
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --hdr-h: 64px;
  color-scheme: light;
}
body[data-season="fall"] { --accent: #a4491c; --accent-deep: #7e3613; --accent-soft: #f6e2d4; --accent-2: #4f5a2c; --tape: rgba(164, 73, 28, .75); --tape-2: rgba(79, 90, 44, .7); }
body[data-season="spring"] { --accent: #a83d63; --accent-deep: #85304e; --accent-soft: #f7e0e8; --accent-2: #4e6e4f; --tape: rgba(168, 61, 99, .7); --tape-2: rgba(78, 110, 79, .7); }
body[data-season="nautical"] { --accent: #1f5576; --accent-deep: #173f58; --accent-soft: #dde9f0; --accent-2: #9a6b3e; --tape: rgba(31, 85, 118, .7); --tape-2: rgba(154, 107, 62, .7); }

body.store { background: var(--linen); color: var(--espresso); }
.store .wrap { max-width: 1280px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.store h1, .store h2, .store h3 { font-family: var(--display); font-weight: 560; letter-spacing: -.015em; text-wrap: balance; font-variation-settings: "SOFT" 60, "WONK" 0; }
.store .btn.primary { background: var(--espresso); }
.store .btn.accent { background: var(--accent); color: #fff; }
.store .btn.accent:hover { background: var(--accent-deep); }
.store .btn.ghost { border-color: var(--line-warm); }
.store :focus-visible { outline-color: var(--accent); }
.hand { font-family: var(--hand); font-weight: 600; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted-warm); }
.price { font-variant-numeric: tabular-nums; font-weight: 700; }
.price .was { text-decoration: line-through; color: var(--muted-warm); font-weight: 500; margin-left: 6px; font-size: .9em; }
.price.is-sale .now { color: var(--accent); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--espresso); color: var(--kraft-soft); font-size: 13.5px; text-align: center; padding-block: 8px; }
.announce .wrap { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.announce b { color: #fff; }
.announce .sep { opacity: .4; }
.hdr { position: sticky; top: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); z-index: 120; background: rgba(255, 253, 249, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-warm); }
.hdr-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; height: var(--hdr-h); }
.logo { display: flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--espresso); white-space: nowrap; }
.logo .w { font-family: var(--display); font-size: 25px; font-weight: 600; letter-spacing: -.02em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.logo .s { font-family: var(--hand); font-size: 24px; color: var(--accent); transform: rotate(-4deg); display: inline-block; }
.search { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1.5px solid var(--line-warm); background: var(--linen); padding: 0 44px 0 18px; font: inherit; font-size: 14.5px; color: var(--espresso); }
.search input:focus { outline: none; border-color: var(--oak); background: #fff; }
.search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--espresso); color: #fff; cursor: pointer; display: grid; place-items: center; }
.hdr-icons { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; text-decoration: none; color: var(--espresso); font-size: 14px; font-weight: 600; }
.icon-btn:hover { background: var(--kraft-soft); }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn .count { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 4px; }
.icon-btn .lbl { display: inline; }
.nav-toggle { display: none; }

/* ---------- Mega menu ---------- */
.mega { border-top: 1px solid var(--line-warm); position: relative; }
.mega-tabs { display: flex; justify-content: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.mega-tab > button, .mega-tab > a { display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; background: none; border: 0; border-bottom: 2.5px solid transparent; font-weight: 700; font-size: 14.5px; color: var(--espresso); cursor: pointer; text-decoration: none; }
.mega-tab > button svg { width: 12px; height: 12px; transition: transform .2s; }
.mega-tab.is-open > button, .mega-tab > button:hover, .mega-tab > a:hover { border-bottom-color: var(--accent); }
.mega-tab.is-open > button svg { transform: rotate(180deg); }
.mega-tab .tag { font-family: var(--hand); font-size: 17px; color: var(--accent); font-weight: 600; }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper-white); border-top: 1px solid var(--line-warm); border-bottom: 1px solid var(--line-warm); box-shadow: 0 24px 40px rgba(42, 29, 22, .14); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; }
.mega-tab.is-open .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 36px; padding-block: 28px 30px; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; align-content: start; }
.mega-col h4 { font-family: var(--sans); font-size: 15px; font-weight: 800; color: var(--accent-2); margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mega-col a { text-decoration: none; font-size: 14.5px; color: var(--espresso); display: flex; justify-content: space-between; gap: 10px; }
.mega-col a:hover { color: var(--accent); }
.mega-col a .n { color: var(--muted-warm); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mega-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mtile { text-decoration: none; color: var(--espresso); text-align: center; display: grid; gap: 10px; justify-items: center; }
.mtile .ring { width: 100%; max-width: 168px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--kraft-soft); box-shadow: 0 0 0 6px var(--linen), 0 0 0 7px var(--line-warm); transition: transform .25s var(--ease); }
.mtile .ring img { width: 100%; height: 100%; object-fit: cover; }
.mtile:hover .ring { transform: scale(1.04) rotate(-2deg); }
.mtile span { font-weight: 700; font-size: 14px; }
.mtile small { display: block; font-family: var(--hand); font-size: 17px; color: var(--accent); font-weight: 600; margin-top: -6px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(640px, 76vh); display: grid; align-items: center; overflow: hidden; background: var(--espresso-2); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 52%, rgba(42, 29, 22, .0), rgba(42, 29, 22, .28) 70%, rgba(42, 29, 22, .55)); }
.hero .wrap { position: relative; z-index: 1; width: 100%; display: flex; justify-content: center; padding-block: 56px; }
.hero-card { max-width: 560px; text-align: center; color: var(--espresso); background: rgba(239, 226, 207, .86); backdrop-filter: blur(2px); padding: 34px 38px 32px; border-radius: 4px; box-shadow: 0 30px 60px rgba(42, 29, 22, .28); position: relative; }
.hero-card::before, .hero-card::after { content: ""; position: absolute; width: 112px; height: 30px; background: var(--tape); top: -13px; transform: rotate(-4deg); left: 26px; box-shadow: 0 2px 4px rgba(0, 0, 0, .08); }
.hero-card::after { left: auto; right: 26px; transform: rotate(5deg); background: var(--tape-2); }
.hero-card .hand { color: var(--accent); font-size: 26px; display: block; margin-bottom: 4px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; }
.hero h1 em { font-style: italic; font-weight: 450; color: var(--accent-deep); }
.hero p { margin: 14px auto 22px; max-width: 44ch; font-size: 16.5px; color: var(--espresso-2); }
.hero .ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.trust { background: var(--paper-white); border-bottom: 1px solid var(--line-warm); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust div { padding-block: 16px; text-align: center; border-right: 1px solid var(--line-warm); }
.trust div:last-child { border-right: 0; }
.trust b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; }
.trust span { font-size: 12.5px; color: var(--muted-warm); }
.trust-note { text-align: center; font-size: 11.5px; color: var(--muted-warm); padding-block: 0 10px; background: var(--paper-white); border-bottom: 1px solid var(--line-warm); }

/* ---------- Sections ---------- */
.sec { padding-block: 72px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.sec-head p { margin: 8px 0 0; color: var(--muted-warm); max-width: 60ch; }
.sec-head .hand { color: var(--accent); font-size: 24px; display: block; }
.link-arrow { font-weight: 700; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* Album collections: fanned prints on a kraft page */
.albums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.album { position: relative; text-decoration: none; color: var(--espresso); background: var(--kraft-soft); border-radius: 6px; padding: 26px 18px 18px; display: grid; gap: 14px; box-shadow: inset 0 0 0 1px rgba(160, 109, 67, .18); transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.album:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(160, 109, 67, .3), 0 18px 34px rgba(42, 29, 22, .14); }
.album .fan { position: relative; aspect-ratio: 1 / .92; }
.album .fan img { position: absolute; width: 62%; aspect-ratio: 1; object-fit: cover; border: 6px solid #fff; box-shadow: 0 8px 18px rgba(42, 29, 22, .22); transition: transform .4s var(--ease); }
.album .fan img:nth-child(1) { left: 2%; top: 14%; transform: rotate(-9deg); }
.album .fan img:nth-child(2) { right: 2%; top: 10%; transform: rotate(8deg); }
.album .fan img:nth-child(3) { left: 19%; top: 2%; transform: rotate(-1deg); z-index: 2; }
.album:hover .fan img:nth-child(1) { transform: rotate(-14deg) translateX(-6px); }
.album:hover .fan img:nth-child(2) { transform: rotate(13deg) translateX(6px); }
.album .label { background: #fff; padding: 12px 14px; border-radius: 3px; display: flex; justify-content: space-between; align-items: center; gap: 10px; position: relative; z-index: 3; }
.album .label h3 { font-size: 20px; }
.album .label small { color: var(--muted-warm); font-size: 12.5px; font-weight: 600; }
.album .ribbon { position: absolute; top: 10px; left: -4px; z-index: 4; font-family: var(--hand); font-size: 19px; color: #fff; background: var(--accent); padding: 0 12px 0 14px; transform: rotate(-3deg); }

/* Product grid and cards */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.pcard { position: relative; display: grid; gap: 10px; align-content: start; }
.pcard .img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--kraft-soft); }
.pcard .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s var(--ease); }
.pcard .img img.alt { opacity: 0; }
.pcard:hover .img img.alt { opacity: 1; }
.pcard:hover .img img { transform: scale(1.03); }
.pcard .badges { position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 2; }
.badge { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; padding: 4px 8px; border-radius: 3px; background: #fff; color: var(--espresso); }
.badge.sale { background: var(--accent); color: #fff; }
.badge.new { background: var(--accent-2); color: #fff; }
.badge.low { background: #fff3d6; color: #7a5300; }
.badge.out { background: #eee; color: #555; }
.badge.free { background: #fff; color: var(--accent-2); }
.heart { position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; color: var(--espresso); }
.heart svg { width: 18px; height: 18px; }
.heart.on { color: var(--accent); }
.heart.on svg path { fill: currentColor; }
.pcard h3 { font-family: var(--sans); font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a:hover { color: var(--accent); }
.pcard .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pcard .add { border: 1.5px solid var(--espresso); background: transparent; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.pcard .add:hover { background: var(--espresso); color: #fff; }
.pcard .add[disabled] { opacity: .45; cursor: not-allowed; }
.pcard .sub { font-size: 12.5px; color: var(--muted-warm); }
.empty { text-align: center; padding: 60px 20px; background: var(--paper-white); border: 1.5px dashed var(--line-warm); border-radius: 10px; color: var(--muted-warm); }
.empty h3 { color: var(--espresso); margin-bottom: 6px; }

/* Shop the project */
.projects { background: var(--espresso); color: var(--kraft-soft); }
.projects .sec-head h2 { color: #fff; }
.projects .sec-head p { color: #d6c3ad; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.proj { background: var(--espresso-2); border-radius: 8px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.proj .ph { position: relative; aspect-ratio: 4 / 3; }
.proj .ph img { width: 100%; height: 100%; object-fit: cover; }
.proj .ph .hand { position: absolute; left: 14px; bottom: 10px; color: #fff; font-size: 26px; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); }
.proj .body { padding: 16px 18px 18px; display: grid; gap: 12px; align-content: start; }
.proj ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.proj li { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; }
.proj li img { width: 44px; height: 44px; object-fit: cover; border-radius: 4px; }
.proj li a { color: #fff; text-decoration: none; }
.proj .total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; gap: 10px; }
.proj .btn.light { background: var(--kraft); color: var(--espresso); }

/* Napkin builder band */
.napband { background: var(--kraft-soft); }
.napband .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 46px; align-items: center; }
.napband .stack { position: relative; aspect-ratio: 1.15; }
.napband .stack img { position: absolute; width: 58%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 14px 28px rgba(42, 29, 22, .22); }
.napband .stack img:nth-child(1) { left: 0; top: 12%; transform: rotate(-8deg); }
.napband .stack img:nth-child(2) { left: 22%; top: 0; transform: rotate(3deg); }
.napband .stack img:nth-child(3) { right: 0; top: 18%; transform: rotate(9deg); }
.meter { background: #fff; border-radius: 10px; padding: 18px 20px; margin-top: 18px; }
.meter .bar { height: 10px; border-radius: 6px; background: var(--kraft-soft); overflow: hidden; margin: 10px 0 6px; }
.meter .bar span { display: block; height: 100%; background: var(--accent-2); border-radius: 6px; transition: width .4s var(--ease); }
.meter small { color: var(--muted-warm); }

/* Gift studio band */
.giftband { position: relative; color: #fff; overflow: hidden; }
.giftband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.giftband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 29, 22, .92), rgba(42, 29, 22, .7) 55%, rgba(42, 29, 22, .25)); z-index: 1; }
.giftband .wrap { position: relative; z-index: 2; padding-block: 80px; }
.giftband h2 { font-size: clamp(30px, 3.6vw, 46px); max-width: 16ch; color: #fff; }
.giftband p { max-width: 52ch; color: #ead9c4; margin: 14px 0 26px; }
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 860px; margin-bottom: 28px; }
.steps4 div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 8px; padding: 14px; }
.steps4 b { display: block; font-family: var(--hand); font-size: 22px; color: var(--kraft); }
.steps4 span { font-size: 13.5px; color: #f0e4d4; }

/* Journal */
.notes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
.note { display: grid; gap: 10px; text-decoration: none; color: var(--espresso); }
.note .ph { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: var(--kraft-soft); }
.note .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.note:hover .ph img { transform: scale(1.03); }
.note .kind { font-family: var(--hand); color: var(--accent); font-size: 20px; }
.note h3 { font-size: 22px; }
.note p { color: var(--muted-warm); margin: 0; font-size: 14.5px; }
.notes-side { display: grid; gap: 18px; align-content: start; }
.notes-side .note { grid-template-columns: 140px 1fr; align-items: center; gap: 14px; }
.notes-side .note .ph { aspect-ratio: 1; }
.notes-side .note h3 { font-size: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { background: var(--paper-white); border: 1px solid var(--line-warm); border-radius: 8px; padding: 20px; }
.review .stars { color: var(--accent); letter-spacing: 2px; }
.review q { display: block; font-family: var(--display); font-size: 20px; margin: 8px 0 10px; quotes: "\201C" "\201D"; }
.review small { color: var(--muted-warm); }

/* Collection page */
.col-hero { position: relative; overflow: hidden; background: var(--espresso-2); color: #fff; }
.col-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.col-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42, 29, 22, .85), rgba(42, 29, 22, .3)); }
.col-hero .wrap { position: relative; z-index: 1; padding-block: 46px; }
.col-hero h1 { font-size: clamp(32px, 4vw, 50px); color: #fff; }
.col-hero p { max-width: 56ch; color: #f0e2d0; margin: 10px 0 0; }
.crumbs { font-size: 13px; color: #e2cfb8; margin-bottom: 8px; }
.crumbs a { color: inherit; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line-warm); background: var(--paper-white); padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; cursor: pointer; text-decoration: none; color: var(--espresso); display: inline-flex; gap: 6px; align-items: center; }
.chip:hover { border-color: var(--espresso); }
.chip.on { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.chip .n { opacity: .6; font-weight: 600; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding-block: 18px; border-bottom: 1px solid var(--line-warm); margin-bottom: 26px; }
.toolbar .filters { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 14px; }
.toolbar label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.toolbar select { font: inherit; font-size: 14px; padding: 8px 12px; border-radius: 8px; border: 1.5px solid var(--line-warm); background: #fff; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; padding-block: 34px 60px; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: start; }
.thumbs { display: grid; gap: 10px; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 1; }
.thumbs button.on { border-color: var(--espresso); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mainimg { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--kraft-soft); }
.mainimg img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.pdp .price { font-size: 26px; margin: 12px 0 4px; }
.pdp .savings { display: inline-block; font-family: var(--hand); color: var(--accent); font-size: 21px; }
.stock { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 7px; margin: 12px 0; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3e8a5a; }
.stock.low::before { background: #d39a1c; }
.stock.out::before { background: #9a9a9a; }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-warm); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty input { width: 44px; text-align: center; border: 0; font: inherit; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.shipnote { background: var(--paper-white); border: 1px solid var(--line-warm); border-radius: 8px; padding: 14px 16px; font-size: 14px; display: grid; gap: 6px; }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.specs th { text-align: left; color: var(--muted-warm); font-weight: 600; width: 38%; padding: 9px 0; border-bottom: 1px solid var(--line-warm); }
.specs td { padding: 9px 0; border-bottom: 1px solid var(--line-warm); }
.desc { white-space: pre-line; color: var(--espresso-2); font-size: 15px; }
.sample-note { font-size: 12.5px; color: var(--muted-warm); border-left: 3px solid var(--kraft); padding: 4px 10px; margin: 14px 0; }

/* Cart drawer and checkout */
.drawer { position: fixed; inset: 0; z-index: 380; pointer-events: none; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(42, 29, 22, .4); opacity: 0; transition: opacity .2s; }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper-white); transform: translateX(100%); transition: transform .28s var(--ease); display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom, 0px); padding-right: env(safe-area-inset-right, 0px); }
.drawer.open { pointer-events: auto; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line-warm); }
.drawer-head h2 { font-size: 24px; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 22px; display: grid; gap: 14px; align-content: start; }
.drawer-foot { padding: 16px 22px 20px; border-top: 1px solid var(--line-warm); display: grid; gap: 10px; }
.cline { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; }
.cline img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; }
.cline .t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.cline .m { font-size: 12.5px; color: var(--muted-warm); }
.cline .qty { transform: scale(.85); transform-origin: left; margin-top: 4px; }
.cline .rm { background: none; border: 0; color: var(--muted-warm); font-size: 12.5px; text-decoration: underline; cursor: pointer; padding: 0; }
.freebar { background: var(--kraft-soft); border-radius: 8px; padding: 12px 14px; font-size: 13.5px; }
.freebar .bar { height: 7px; background: #fff; border-radius: 4px; overflow: hidden; margin-top: 8px; }
.freebar .bar span { display: block; height: 100%; background: var(--accent-2); }
.sumrow { display: flex; justify-content: space-between; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.sumrow.total { font-size: 18px; font-weight: 800; }
.sumrow.disc { color: var(--accent-2); }
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding-block: 34px 70px; }
.co-box { background: var(--paper-white); border: 1px solid var(--line-warm); border-radius: 10px; padding: 22px; display: grid; gap: 14px; }
.co-box h2 { font-size: 22px; }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-weight: 700; font-size: 13.5px; }
.field input, .field textarea, .field select { font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--line-warm); background: #fff; color: var(--espresso); width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--oak); }
.field small { color: var(--muted-warm); font-size: 12.5px; }
.field .err { color: #a3261f; font-size: 12.5px; font-weight: 600; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio-card { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line-warm); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; }
.radio-card:has(input:checked) { border-color: var(--espresso); box-shadow: 0 0 0 1px var(--espresso); }
.radio-card .grow { flex: 1; }
.radio-card small { display: block; color: var(--muted-warm); }
.demo-flag { background: #fff6dc; border: 1px solid #ecd28a; color: #6b4e00; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.confirm-card { max-width: 640px; margin: 40px auto 80px; text-align: center; background: var(--paper-white); border: 1px solid var(--line-warm); border-radius: 12px; padding: 38px 30px; }
.confirm-card .hand { font-size: 30px; color: var(--accent); }

/* Gift studio */
.gs-hero { background: var(--kraft-soft); }
.gs-hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-block: 48px; }
.gs-hero h1 { font-size: clamp(32px, 4vw, 52px); }
.gs-hero img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: 0 20px 40px rgba(42, 29, 22, .2); }
.gs-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gs-pick label { cursor: pointer; border: 2px solid var(--line-warm); border-radius: 10px; overflow: hidden; background: #fff; display: grid; }
.gs-pick input { position: absolute; opacity: 0; }
.gs-pick label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.gs-pick label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.gs-pick img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gs-pick span { padding: 10px 12px; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; }
.drop { border: 2px dashed var(--oak); background: var(--linen); border-radius: 10px; padding: 22px; text-align: center; display: grid; gap: 10px; justify-items: center; }
.drop.over { background: var(--kraft-soft); }
.drop .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.files { display: flex; gap: 10px; flex-wrap: wrap; }
.files .f { position: relative; width: 86px; }
.files .f img { width: 86px; height: 86px; object-fit: cover; border-radius: 6px; }
.files .f span { font-size: 11px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-warm); }
.files .f button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--espresso); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.flow { display: flex; gap: 0; flex-wrap: wrap; margin: 10px 0 0; }
.flow span { font-size: 12.5px; font-weight: 700; padding: 6px 12px 6px 18px; background: #fff; border: 1px solid var(--line-warm); margin-left: -8px; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%); }
.flow span:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); padding-left: 12px; }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding-block: 40px 70px; }
.article h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 8px 0 18px; }
.article img { border-radius: 8px; margin-bottom: 22px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article .body { font-size: 17px; line-height: 1.7; }

.footer { background: var(--espresso); color: #d6c3ad; padding-block: 50px 30px; margin-top: 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 14px; margin: 0 0 12px; letter-spacing: .04em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; }
.footer .small { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 18px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer .signup { display: flex; gap: 8px; margin-top: 12px; }
.footer .signup input { flex: 1; min-width: 0; border-radius: 999px; border: 0; padding: 10px 14px; font: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .albums, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega-inner { grid-template-columns: 1fr; }
  .mega-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mtile .ring { max-width: 120px; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 58px; }
  .hdr-row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-bottom: 10px; }
  .hdr-row { height: auto; padding-top: 8px; }
  .icon-btn .lbl { display: none; }
  .nav-toggle { display: inline-flex; }
  .mega { display: none; border-top: 0; }
  .mega.open { display: block; max-height: calc(100vh - 160px); overflow: auto; border-top: 1px solid var(--line-warm); }
  .mega-tabs { flex-direction: column; padding-block: 6px 14px; }
  .mega-tab > button, .mega-tab > a { width: 100%; justify-content: space-between; border-bottom: 1px solid var(--line-warm); height: 50px; padding: 0 4px; }
  .mega-panel { position: static; display: none; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; background: var(--linen); }
  .mega-tab.is-open .mega-panel { display: block; }
  .mega-inner { padding-block: 16px; gap: 18px; }
  .mega-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; order: -1; }
  .mtile span { font-size: 12px; }
  .mtile small { display: none; }
  .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust div:nth-child(2) { border-right: 0; }
  .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--line-warm); }
  .albums, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .proj-grid, .reviews { grid-template-columns: 1fr; }
  .napband .wrap, .notes, .gs-hero .wrap, .pdp, .checkout { grid-template-columns: 1fr; gap: 28px; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .sec { padding-block: 50px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(5, 64px); order: 2; }
}
@media (max-width: 520px) {
  .hero { min-height: 560px; }
  .hero-card { padding: 28px 20px 24px; }
  .hero-card::before, .hero-card::after { width: 80px; }
  .album { padding: 18px 12px 12px; }
  .album .label { padding: 9px 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .album .label h3 { font-size: 17px; }
  .notes-side .note { grid-template-columns: 96px 1fr; }
  .two { grid-template-columns: 1fr; }
  .pcard .row { flex-direction: column; align-items: flex-start; }
  .logo .w { font-size: 21px; }
  .logo .s { font-size: 20px; }
  .icon-btn { padding: 8px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .store *, .store *::before, .store *::after { transition: none !important; animation: none !important; }
}
.pdp-price { margin: 12px 0 4px; }
.pdp-price .price { font-size: 26px; }
.gs-pick label { position: relative; }
.gs-pick input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
@media (max-width: 900px) {
  .footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer .cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .announce .sep, .announce span:nth-of-type(n+3) { display: none; }
  .announce .wrap { gap: 2px 12px; font-size: 12.5px; }
}
.gs-pick span { flex-direction: column; gap: 2px; }
.gs-pick span em { font-weight: 600; color: var(--muted-warm); font-size: 13px; }

/* ---------- Quick-link bar under the menu ---------- */
.quickbar { border-top: 1px solid var(--line-warm); background: var(--paper-white); }
.quickbar ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.quickbar li + li::before { content: "|"; color: var(--line-warm); margin: 0 4px; }
.quickbar a { display: inline-block; padding: 9px 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--espresso-2); }
.quickbar a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.quickbar a.hot { color: var(--accent); }

/* ---------- Left "Browse the shop" sidebar ---------- */
.shop-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 34px; align-items: start; }
.shop-main { min-width: 0; }
.sidebar { position: sticky; top: calc(var(--bar-h) + 168px); padding-top: 22px; max-height: calc(100vh - var(--bar-h) - 180px); overflow: auto; }
.sb-toggle { display: none; }
.sb-title { background: var(--espresso); color: var(--kraft-soft); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; padding: 11px 14px; border-radius: 8px 8px 0 0; }
.sb-body { border: 1px solid var(--line-warm); border-radius: 8px; background: var(--paper-white); overflow: hidden; }
.sb-grp { border-top: 1px solid var(--line-warm); }
.sb-grp summary { cursor: pointer; list-style: none; padding: 10px 14px; background: var(--kraft-soft); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--espresso-2); display: flex; justify-content: space-between; }
.sb-grp summary::-webkit-details-marker { display: none; }
.sb-grp summary::after { content: "\2013"; font-weight: 700; }
.sb-grp:not([open]) summary::after { content: "+"; }
.sb-grp ul { list-style: none; margin: 0; padding: 6px 0 8px; }
.sb-grp a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 14px; font-size: 14.5px; text-decoration: none; color: var(--espresso); }
.sb-grp a:hover { color: var(--accent); background: var(--linen); }
.sb-grp a.on { color: var(--accent); font-weight: 800; box-shadow: inset 3px 0 0 var(--accent); }
.sb-grp a .n { color: var(--muted-warm); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.sb-grp li.sub a { padding-left: 28px; font-size: 13.5px; }
.sb-cta { display: grid; gap: 2px; margin: 0; padding: 14px; border-top: 1px solid var(--line-warm); text-decoration: none; background: var(--accent-soft); color: var(--accent-deep); font-size: 13.5px; }
.sb-cta b { font-family: var(--hand); font-size: 21px; }
.shop-layout .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 1200px) { .shop-layout .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .quickbar ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .quickbar li { flex: 0 0 auto; }
  .shop-layout { grid-template-columns: 1fr; gap: 0; }
  .sidebar { position: static; max-height: none; padding-top: 14px; overflow: visible; }
  .sb-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 16px; border: 1.5px solid var(--espresso); border-radius: 999px; background: var(--paper-white); font-weight: 800; font-size: 14.5px; cursor: pointer; color: var(--espresso); }
  .sb-toggle::after { content: "+"; font-size: 18px; }
  .sidebar.open .sb-toggle::after { content: "\2013"; }
  .sb-body { display: none; margin-top: 10px; }
  .sidebar.open .sb-body { display: block; }
  .sb-title { display: none; }
  .shop-layout .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.napband { overflow: hidden; } .napband .stack { max-width: 520px; width: 100%; margin: 0 auto; }
