:root {
  --cream: #f9ede8;
  --paper: #fcf5f1;
  --blush: #ddb9a6;
  --tan: #d3b29b;
  --bronze: #a0694a;
  --ink: #5b3a2a;
  --red: #9c1c24;
  --burgundy: #6a161c;
  --green: #2c7557;
  --serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --script: 'Great Vibes', 'Snell Roundhand', cursive;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.script { font-family: var(--script); font-weight: 400; line-height: 1.05; margin: 0; text-align: center; }
.caps { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; margin: 0; }
.tiny { font-size: .7rem; }
.big { font-size: 1.15rem; letter-spacing: .2em; }
.center { text-align: center; }
.muted { opacity: .75; }
.red { color: var(--red); } .bronze { color: var(--bronze); } .tan { color: var(--tan); } .green { color: var(--green); }
.light { font-weight: 400; }
.blend { mix-blend-mode: normal; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #8f1a22 0%, var(--burgundy) 70%);
  color: #fbeee6; text-align: center;
  transition: opacity .9s ease, visibility .9s;
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-script {
  font-family: var(--script); font-size: clamp(3.4rem, 17vw, 7rem); margin: 0; line-height: 1;
  opacity: 0; transform: translateY(10px) scale(.97);
  animation: introIn 1.2s .15s ease forwards;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.intro-sub {
  margin: 1.1rem 0 0; text-transform: uppercase; letter-spacing: .35em; font-size: .72rem;
  opacity: 0; animation: introIn 1s .9s ease forwards;
}
@keyframes introIn { to { opacity: 1; transform: none; } }

#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 110; }

/* ---------- Header ---------- */
.strip {
  background: var(--burgundy); color: #f7e9e0; text-align: center;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; padding: .45rem .75rem;
}
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  padding: .45rem 1rem; min-height: 64px;
  background: var(--cream);
  border-bottom: 1px solid rgba(160,105,74,.25);
}
.logo img { width: 124px; }
.bag-btn {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; background: none; color: var(--bronze);
  display: grid; place-items: center;
}
.bag-count {
  position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--red); color: #fff; font-size: .68rem; line-height: 18px; text-align: center;
  font-family: system-ui, sans-serif;
}

/* ---------- Frames ---------- */
main { max-width: 1040px; margin: 0 auto; }
.section { padding: 2.25rem 1rem; scroll-margin-top: 64px; }
.frame {
  border: 6px solid var(--blush); outline: 1px solid var(--bronze); outline-offset: -11px;
  padding: 2rem 1.25rem; background: var(--cream);
}
.frame-red { border-color: var(--red); outline-color: var(--red); }
.frame-green { border-color: #c9d6cc; outline-color: var(--green); }

/* ---------- Hero ---------- */
.hero { padding: 1rem; }
.hero .frame { text-align: center; padding-top: 2.25rem; }
.hero-title { margin: 0; font-weight: 400; }
.hero-title .script { display: block; font-size: clamp(4rem, 21vw, 7.5rem); }
.hero-title .caps { display: block; font-size: clamp(.8rem, 3.6vw, 1.15rem); font-weight: 600; letter-spacing: .2em; }
.hero-title .caps.light { font-weight: 400; margin-top: .2rem; }
.hero-img { margin: .5rem auto 0; width: min(100%, 560px); }
.hero-foot { color: var(--bronze); margin-top: 1.25rem; font-size: .7rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .7rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  font-family: var(--serif); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s ease, background .2s;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--burgundy); }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { border-color: var(--bronze); color: var(--bronze); background: transparent; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.wide { width: 100%; }

/* ---------- Collections ---------- */
.collection { padding: 1.5rem 1rem 2rem; scroll-margin-top: 70px; }
.collection h2 { font-size: clamp(2.9rem, 13vw, 4.6rem); color: var(--bronze); }
.collection .caps { text-align: center; color: var(--tan); font-weight: 600; margin-top: .15rem; }
.collection-img { width: min(100%, 520px); margin: 1rem auto .5rem; }
.tagline { text-align: center; color: var(--bronze); font-size: 1.02rem; max-width: 26ch; margin: .25rem auto 1.5rem; letter-spacing: .03em; }

.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem .75rem; list-style: none; padding: 0; margin: 0; }
.grid li { width: calc(50% - .375rem); }
.card {
  display: block; width: 100%; padding: 0; border: 0; background: none; text-align: center;
}
.card-img { aspect-ratio: 5 / 4; width: 100%; object-fit: cover; border: 1px solid rgba(160,105,74,.25); background: #fff; }
.card-name { display: block; margin-top: .45rem; color: var(--bronze); font-size: .9rem; line-height: 1.3; }
.card-no { color: var(--tan); }
.card-price { display: block; font-size: .72rem; letter-spacing: .08em; color: var(--ink); opacity: .7; margin-top: .1rem; }

/* ---------- Black Friday ---------- */
.bf .frame { border-color: #2b2420; outline-color: #2b2420; }
.bf h2 { font-size: 3rem; color: #2b2420; }
.was { text-decoration: line-through; opacity: .55; margin-right: .35rem; }
.now { color: var(--red); font-weight: 600; }

/* ---------- Price list ---------- */
#prices h2 { font-size: 3.4rem; }
.specs { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 0; margin: 1.25rem 0; text-align: center; font-size: .78rem; color: var(--bronze); }
.specs strong { display: block; font-weight: 600; }
.table-wrap { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; text-align: center; color: var(--bronze); font-size: .88rem; }
.prices caption { background: var(--bronze); color: #fff; padding: .4rem 1rem; border-radius: 999px; margin: 0 auto .75rem; width: max-content; font-size: .7rem; }
.prices th, .prices td { border: 1.5px solid var(--bronze); padding: .6rem .35rem; }
.prices th { background: var(--blush); text-transform: uppercase; font-size: .7rem; letter-spacing: .06em; }
.prices th.dark { background: var(--bronze); color: #fff; }
.prices small { font-weight: 400; text-transform: none; letter-spacing: 0; }
.prices td b { display: block; font-size: 1rem; }
.small-version { margin-top: 1.5rem; text-align: center; color: var(--bronze); }
.small-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--bronze); border-radius: 10px; margin-top: .6rem; }
.small-grid div { padding: .6rem .25rem; }
.small-grid div + div { border-left: 1px solid var(--blush); }
.small-grid span { display: block; font-size: .72rem; opacity: .7; }
.small-grid b { font-size: 1rem; }

/* ---------- How to order ---------- */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; color: var(--bronze); }
.steps li { display: flex; align-items: center; gap: .9rem; }
.steps span {
  flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--burgundy); color: #fff;
  display: grid; place-items: center; font-weight: 600; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--bronze);
}

/* ---------- Bespoke ---------- */
#bespoke h2 { font-size: 3.2rem; }
.lead { text-align: center; color: var(--ink); max-width: 44ch; margin: 1rem auto 1.5rem; }
.contact-btns { display: grid; gap: .6rem; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 2rem 1rem calc(2.5rem + var(--safe-b)); color: var(--bronze); font-size: .85rem; border-top: 1px solid rgba(160,105,74,.25); }
.footer img { width: 140px; margin: 0 auto 1rem; }
.footer p { margin: .35rem 0; }

/* ---------- Sheets ---------- */
.overlay { position: fixed; inset: 0; background: rgba(60,30,20,.45); z-index: 40; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-height: 92dvh; display: flex; flex-direction: column;
  background: var(--cream); border-radius: 18px 18px 0 0; border-top: 5px solid var(--blush);
  box-shadow: 0 -10px 40px rgba(60,30,20,.25);
  animation: sheetUp .28s ease;
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
.sheet-img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; border-radius: 13px 13px 0 0; flex: none; }
.sheet-body { overflow-y: auto; padding: 1rem 1.1rem .5rem; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: .75rem 1.1rem calc(.9rem + var(--safe-b)); border-top: 1px solid rgba(160,105,74,.2); display: grid; gap: .5rem; background: var(--cream); }
.sheet-title { margin: .1rem 0 .75rem; font-weight: 500; font-size: 1.35rem; color: var(--bronze); }
.close {
  position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(249,237,232,.92); font-size: 1.6rem; line-height: 1; color: var(--bronze);
}
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { padding: 0; margin-bottom: .45rem; color: var(--bronze); }
.opts { display: grid; gap: .45rem; }
.opts.packs { grid-template-columns: repeat(2, 1fr); }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  min-height: 52px; padding: .55rem .85rem; border: 1.5px solid var(--blush); border-radius: 12px; background: var(--paper);
}
.opt b { font-weight: 500; font-size: .92rem; }
.opt i { font-style: normal; font-size: .78rem; opacity: .8; text-align: right; white-space: nowrap; }
.opt small { display: block; font-size: .7rem; opacity: .7; font-weight: 400; }
.opt input:checked + span { border-color: var(--red); background: #fff; box-shadow: inset 0 0 0 1px var(--red); }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; color: var(--bronze); }
.field input {
  width: 100%; min-height: 50px; padding: .6rem .85rem; border: 1.5px solid var(--blush); border-radius: 12px;
  background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--red); }
.field input.invalid { border-color: var(--red); background: #fff5f5; }
.field p { margin: .35rem 0 0; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .5rem; color: var(--bronze); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--blush); border-radius: 999px; background: var(--paper); }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; color: var(--bronze); }
.stepper output { min-width: 2ch; text-align: center; }

/* ---------- Bag ---------- */
.bag-title { font-size: 2.6rem; margin-bottom: .75rem; }
.bag-lines { list-style: none; padding: 0; margin: 0 0 1rem; }
.bag-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: .75rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid rgba(160,105,74,.2); }
.bag-lines img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.bag-lines h4 { margin: 0; font-weight: 500; font-size: .92rem; color: var(--bronze); }
.bag-lines p { margin: .1rem 0 0; font-size: .74rem; opacity: .8; }
.bag-lines .line-price { text-align: right; font-size: .92rem; }
.remove { display: block; margin-left: auto; padding: .4rem 0 .4rem .6rem; border: 0; background: none; font-size: .7rem; text-decoration: underline; color: var(--bronze); min-height: 32px; }
.empty { text-align: center; padding: 2rem 0 3rem; opacity: .7; }
.totals { margin: 0 0 .5rem; }
.totals div { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .9rem; }
.totals dd { margin: 0; }
.totals .grand { border-top: 1px solid var(--bronze); margin-top: .35rem; padding-top: .6rem; font-size: 1.1rem; font-weight: 600; color: var(--bronze); }
.notice { margin: 0; padding: .6rem .8rem; border-radius: 10px; background: #fff3ef; border: 1px solid var(--blush); font-size: .8rem; }

.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + var(--safe-b)); transform: translate(-50%, 20px);
  background: var(--burgundy); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-size: .82rem;
  opacity: 0; pointer-events: none; transition: .3s; z-index: 60; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Larger screens ---------- */
@media (min-width: 700px) {
  .grid { gap: 1.5rem 1.25rem; }
  .grid li { width: calc(33.333% - .84rem); }
  .steps { grid-template-columns: repeat(4, 1fr); text-align: center; max-width: none; }
  .steps li { flex-direction: column; }
  .contact-btns { grid-template-columns: repeat(2, max-content); justify-content: center; }
  .chips { justify-content: center; flex-wrap: wrap; }
  .sheet { left: 50%; right: auto; bottom: 50%; transform: translate(-50%, 50%); width: 520px; border-radius: 18px; border: 5px solid var(--blush); animation: none; max-height: 88vh; }
  .sheet-img { border-radius: 12px 12px 0 0; }
  .sheet.bag { left: auto; right: 0; top: 0; bottom: 0; transform: none; width: 420px; max-height: none; border-radius: 0; border-width: 0 0 0 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro, .intro-script, .intro-sub, .sheet { animation: none; transition: none; opacity: 1; transform: none; }
  .intro.done { opacity: 0; }
  #snow { display: none; }
}

/* ================= v2: site frame, menu, sections ================= */
:root { --frame: 11px; }
body { padding: var(--frame); }

/* The red double border now frames the whole site */
.site-frame {
  position: fixed; inset: 0; z-index: 30; pointer-events: none;
  border: 6px solid var(--red);
  box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5px var(--red);
}

.header { top: var(--frame); justify-content: center; }
.icon-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border: 0; background: none; color: var(--bronze);
  display: grid; place-items: center;
}
.menu-btn { left: .35rem; }
.bag-btn { right: .35rem; }

main { padding: 0 .75rem; }
.hero { padding: 0; }
.hero-inner { text-align: center; padding: 1.75rem .25rem 2rem; }

/* Every section is its own card */
.block, .collection {
  margin: 0 0 2.25rem; padding: 2.25rem 1rem 2.5rem;
  background: var(--paper);
  border: 5px solid var(--blush); outline: 1px solid var(--bronze); outline-offset: -10px;
  scroll-margin-top: 92px;
  text-align: center;
}
.block-green { border-color: #c9d6cc; outline-color: var(--green); }
.bf.block { border-color: #2b2420; outline-color: #2b2420; }
.eyebrow { color: var(--bronze); font-size: .68rem; letter-spacing: .28em; margin-bottom: .6rem; }
.eyebrow::before, .eyebrow::after { content: ''; display: inline-block; width: 22px; height: 1px; background: var(--tan); vertical-align: middle; margin: 0 .6rem; }
.block h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
.collection h2 { font-size: clamp(2.7rem, 12.5vw, 4.4rem); }
.collection-img { width: min(100%, 480px); }
.designs-label { color: var(--tan); font-weight: 600; margin: 0 0 1rem; }
.card-img { border-radius: 2px; }
.steps { max-width: 20rem; margin-left: auto; margin-right: auto; text-align: left; }
.note { font-size: .82rem; color: var(--bronze); margin: 1.25rem auto 0; max-width: 34ch; }
.footer { border-top: 0; }
.sheet-spec { margin: -.5rem 0 1rem; }

/* Menu drawer */
.sheet.menu {
  top: 0; bottom: 0; left: 0; right: auto; width: min(86vw, 340px); max-height: none;
  transform: none; border: 0; border-right: 5px solid var(--blush); border-radius: 0;
  animation: menuIn .25s ease;
}
@keyframes menuIn { from { transform: translateX(-30px); opacity: 0; } }
.menu .sheet-body { padding: 1.5rem 1.25rem calc(1.5rem + var(--safe-b)); }
.menu-logo { width: 130px; margin: .25rem auto 1.25rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a {
  display: flex; align-items: baseline; gap: .6rem; min-height: 48px; padding: .7rem .25rem;
  text-decoration: none; color: var(--bronze); border-bottom: 1px solid rgba(160,105,74,.18);
}
.menu-list a small { color: var(--tan); font-size: .7rem; letter-spacing: .1em; min-width: 1.5rem; }
.menu-list .menu-head { padding: 1.1rem .25rem .3rem; color: var(--tan); font-weight: 600; }
.menu-list .sub a { padding-left: .75rem; }
.menu-note { margin-top: 1.5rem; }

@media (min-width: 700px) {
  main { padding: 0 1.5rem; }
  .block, .collection { padding: 3rem 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { .sheet.menu { animation: none; } }

/* ================= v3: sliding panels, wallpaper, hover photo ================= */

/* Warm, light wallpaper behind the cards */
body {
  background-color: #f3e3d9;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255,250,246,.75), rgba(255,250,246,0) 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0 56 28 28 56 0 28Z' fill='none' stroke='%23a0694a' stroke-opacity='.13'/%3E%3Cpath d='M28 22v12M22 28h12' stroke='%23a0694a' stroke-opacity='.16' stroke-linecap='round'/%3E%3Ccircle cx='0' cy='0' r='1.5' fill='%23a0694a' fill-opacity='.16'/%3E%3Ccircle cx='56' cy='0' r='1.5' fill='%23a0694a' fill-opacity='.16'/%3E%3Ccircle cx='0' cy='56' r='1.5' fill='%23a0694a' fill-opacity='.16'/%3E%3Ccircle cx='56' cy='56' r='1.5' fill='%23a0694a' fill-opacity='.16'/%3E%3C/svg%3E");
  background-attachment: fixed, scroll;
}
.block, .collection { background: var(--cream); box-shadow: 0 10px 30px -18px rgba(90, 50, 30, .45); }
.hero { margin: 1rem 0 2.25rem; }
.hero-inner {
  background: var(--cream); padding: 2.25rem .75rem 2.25rem;
  border: 5px solid var(--blush); outline: 1px solid var(--bronze); outline-offset: -10px;
  box-shadow: 0 10px 30px -18px rgba(90, 50, 30, .45);
}
.footer { background: var(--cream); margin: 0 .75rem .75rem; border: 1px solid rgba(160,105,74,.3); }
.site-frame { box-shadow: inset 0 0 0 4px #f3e3d9, inset 0 0 0 5px var(--red); }

/* Panels slide in and back out */
.overlay { opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s .4s; }
.overlay.open { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.sheet {
  animation: none; visibility: hidden; transform: translateY(105%);
  transition: transform .45s cubic-bezier(.22, .8, .26, 1), visibility 0s .45s; will-change: transform;
}
.sheet.open { visibility: visible; transform: none; transition: transform .45s cubic-bezier(.22, .8, .26, 1); }
.sheet.menu { animation: none; transform: translateX(-105%); }
.sheet.menu.open { transform: none; }
.sheet.bag {
  top: 0; bottom: 0; left: auto; right: 0; width: min(92vw, 420px); max-height: none;
  border: 0; border-left: 5px solid var(--blush); border-radius: 0; transform: translateX(105%);
}
.sheet.bag.open { transform: none; }
@media (min-width: 700px) {
  .sheet:not(.menu):not(.bag) { transform: translate(-50%, calc(50% + 28px)); opacity: 0; transition: transform .35s ease, opacity .3s ease, visibility 0s .35s; }
  .sheet.open:not(.menu):not(.bag) { transform: translate(-50%, 50%); opacity: 1; transition: transform .35s ease, opacity .3s ease; }
}

/* Pattern fades to a wrapped-gift photo on hover */
.card-media { position: relative; display: block; overflow: hidden; }
.card-wrapped { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .55s ease; }
.card:hover .card-wrapped, .card:focus-visible .card-wrapped { opacity: 1; }
.card-img { transition: transform .6s ease; }
@media (hover: hover) { .card:hover .card-img { transform: scale(1.03); } }

@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet.open, .overlay, .overlay.open, .card-img, .card-wrapped { transition: none; }
}

.sheet.bag .sheet-body { flex: 1; }

/* ================= v4: velvet bow, sharper artwork ================= */
.hero { margin-top: 3.4rem; }
.hero-inner { position: relative; padding-top: 4.2rem; }
.bow {
  position: absolute; left: 50%; top: 0; width: min(62%, 250px); height: auto;
  transform: translate(-50%, -52%); pointer-events: none;
  filter: drop-shadow(0 8px 10px rgba(70, 10, 15, .35));
}
.intro-bow {
  width: min(46vw, 210px); height: auto; margin: 0 auto .4rem;
  opacity: 0; animation: introIn 1s ease forwards;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}
.sheet-img { aspect-ratio: 16 / 10; }
.card-img { aspect-ratio: 1; }
.collection-img { height: auto; }

/* ================= v5: tidier photos, hover steps, wrapped-gift preview ================= */
.collection-img { width: auto; max-width: min(100%, 440px); max-height: 340px; object-fit: contain; margin: 1.25rem auto .75rem; }

/* How to order: the block changes colour as you point at each step */
#how { transition: background-color .5s ease; }
#how:has(.steps li:nth-child(1):hover) { background-color: #f7e0d4; }
#how:has(.steps li:nth-child(2):hover) { background-color: #e7efe3; }
#how:has(.steps li:nth-child(3):hover) { background-color: #f6ead0; }
#how:has(.steps li:nth-child(4):hover) { background-color: #f4d9da; }
.steps li { padding: .55rem .75rem; border-radius: 14px; cursor: default; transition: background-color .3s ease, transform .3s ease; }
.steps li:hover { background-color: rgba(255, 255, 255, .6); transform: translateY(-3px); }
.steps span { transition: transform .3s ease; }
.steps li:hover span { transform: scale(1.08); }

/* Wrapped-gift preview: the pattern as table paper, a box in the same paper, velvet ribbon and bow */
.gift {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--paper) center / 100%;
  opacity: 0; transition: opacity .55s ease; pointer-events: none;
}
.gift::before { content: ''; position: absolute; inset: 0; background: rgba(70, 40, 25, .05); }
.gift-box {
  position: relative; width: 74%; aspect-ratio: 1; border-radius: 3px;
  background: var(--paper) 30% 65% / 132%;
  box-shadow: 0 16px 22px -8px rgba(40, 15, 10, .6), 0 3px 7px rgba(40, 15, 10, .3),
              inset 0 0 0 1px rgba(255, 255, 255, .4), inset 0 -8px 12px -8px rgba(0, 0, 0, .18);
}
.gift-ribbon { position: absolute; box-shadow: 0 1px 4px rgba(30, 0, 5, .45); }
.gift-ribbon.v { top: 0; bottom: 0; left: 50%; width: 11%; transform: translateX(-50%);
  background: linear-gradient(90deg, #4a080e, #8c1620 22%, #a6212d 50%, #871520 78%, #46070d); }
.gift-ribbon.h { left: 0; right: 0; top: 50%; height: 11%; transform: translateY(-50%);
  background: linear-gradient(180deg, #4a080e, #8c1620 22%, #a6212d 50%, #871520 78%, #46070d); }
.gift-bow { position: absolute; left: 50%; top: 50%; width: 72%; max-width: none; height: auto;
  transform: translate(-50%, -46%); filter: drop-shadow(0 6px 6px rgba(40, 5, 10, .5)); }
.card:hover .gift, .card:focus-visible .gift { opacity: 1; }

.sheet-media { position: relative; flex: none; overflow: hidden; border-radius: 13px 13px 0 0; }
.sheet-media .sheet-img { display: block; border-radius: 0; }
.sheet-media.wrapped .gift { opacity: 1; }
.sheet-media .gift-box { width: auto; height: 82%; }
.wrap-toggle {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 2; min-height: 40px; padding: .4rem 1rem;
  border: 0; border-radius: 999px; background: rgba(249, 237, 232, .94); color: var(--bronze);
  font-family: var(--serif); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(60, 30, 20, .25);
}
@media (prefers-reduced-motion: reduce) { .gift, #how, .steps li, .steps span { transition: none; } }

/* ================= v6: collection packs ================= */
.pack-card {
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  width: 100%; max-width: 420px; margin: 0 auto 2rem; padding: 1.1rem 1rem 1.2rem;
  background: #fffaf7; border: 1.5px solid var(--blush); border-radius: 18px;
  box-shadow: 0 10px 24px -16px rgba(90, 50, 30, .5);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
@media (hover: hover) { .pack-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 16px 28px -16px rgba(90, 50, 30, .6); } }
.pack-thumbs { display: flex; justify-content: center; padding-left: 12px; }
.pack-thumbs img, .pack-more {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; margin-left: -12px;
  border: 2.5px solid #fffaf7; box-shadow: 0 2px 5px rgba(60, 30, 20, .25);
}
.pack-more { display: grid; place-items: center; background: var(--blush); color: var(--ink); font-size: .78rem; }
.pack-text b { display: block; font-weight: 500; font-size: 1.05rem; color: var(--bronze); }
.pack-text small { display: block; font-size: .78rem; color: var(--ink); opacity: .8; margin-top: .15rem; }
.pack-cta {
  padding: .55rem 1.4rem; border-radius: 999px; background: var(--red); color: #fff;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}
.pack-contents { list-style: none; display: flex; gap: .6rem; overflow-x: auto; margin: 0 -1.1rem 1rem; padding: 0 1.1rem .25rem; scrollbar-width: none; }
.pack-contents::-webkit-scrollbar { display: none; }
.pack-contents li { flex: none; width: 72px; text-align: center; }
.pack-contents img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(160, 105, 74, .25); }
.pack-contents span { display: block; font-size: .62rem; line-height: 1.25; margin-top: .25rem; color: var(--bronze); }
.wrap-toggle[hidden] { display: none; }

/* ================= v7: Black Friday ================= */
.bf.block { border-color: #2b2420; outline-color: #2b2420; background: #fbf3ee; }
.bf.block h2 { color: #2b2420; }
.bf .eyebrow { color: var(--red); }
.badge {
  position: absolute; top: .5rem; left: .5rem; z-index: 1; padding: .2rem .6rem; border-radius: 999px;
  background: #2b2420; color: #fff; font-size: .72rem; letter-spacing: .06em; font-family: system-ui, sans-serif;
}
.card-price .was { text-decoration: line-through; opacity: .55; margin: 0 .3rem 0 .1rem; }
.card-price .now { color: var(--red); font-weight: 600; }
.opt i s { opacity: .5; margin-right: .4rem; }

/* ================= v8: no red frame on phones (less crowded) ================= */
@media (max-width: 699px) {
  :root { --frame: 0px; }
  .site-frame { display: none; }
  .block, .collection { scroll-margin-top: 80px; }
}
