:root {
  --cream: #fbf6ee;
  --paper: #fffdf9;
  --ink: #2f2630;
  --muted: #6b5f68;
  --line: #e8ddd0;
  --rose: #b4505a;
  --rose-dark: #933d47;
  --blush: #f6e3df;
  --sage: #dfe7d6;
  --butter: #f7ecc8;
  --destructive: #a3242f;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-control: 9999px;
  --display: "Fraunces", Georgia, serif;
  --body: "Nunito Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { padding: 0 clamp(18px, 5vw, 64px); }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--rose); margin-bottom: .8em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 99; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 700 1rem var(--body); padding: .85em 1.6em; border-radius: var(--radius-control); border: 2px solid var(--rose); background: var(--rose); color: #fff; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-dark); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.chip { font: 600 .9rem var(--body); padding: .45em 1em; border-radius: var(--radius-control); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.icon-btn { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px; font: inherit; display: inline-flex; align-items: center; gap: 6px; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(251, 246, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.05; }
.brand svg { flex: none; }
.nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); font-weight: 700; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--rose-dark); }
.cart-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--rose); color: #fff; font-size: .75rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.cart-count:empty { display: none; }
@media (max-width: 560px) { .nav .hide-sm { display: none; } .brand span small { display: none; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(36px, 6vw, 88px); padding-bottom: clamp(48px, 7vw, 100px); }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }
.hero-art { position: relative; aspect-ratio: 1 / 1; }
.hero-art .tile { position: absolute; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px -18px rgba(47, 38, 48, .35); background: var(--blush); }
.hero-art .tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .t1 { left: 0; top: 4%; width: 62%; aspect-ratio: 4/3; transform: rotate(-3deg); }
.hero-art .t2 { right: 0; top: 30%; width: 58%; aspect-ratio: 4/3; transform: rotate(4deg); background: var(--sage); }
.hero-art .t3 { left: 10%; bottom: 0; width: 54%; aspect-ratio: 4/3; transform: rotate(-1deg); background: var(--butter); }
.hero-art .blob { position: absolute; inset: 12% 8%; border-radius: 48% 52% 44% 56%; background: var(--blush); z-index: -1; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; } .hero-art { max-width: 520px; width: 100%; margin: 0 auto; } }

/* sections */
.band { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.band-paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 36px); counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: counter(s); font-family: var(--display); font-size: 3rem; color: var(--rose); line-height: 1; display: block; margin-bottom: 10px; }
.step p { color: var(--muted); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.trust blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }
.coming { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.coming span { background: var(--paper); border: 1px dashed var(--line); padding: .4em 1em; border-radius: var(--radius-control); font-weight: 600; font-size: .92rem; color: var(--muted); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(18px, 2.5vw, 32px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(47, 38, 48, .45); }
.card .media { aspect-ratio: 4 / 3; background: var(--blush); overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .media img { transform: scale(1.03); }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 1.12rem; margin: 0; }
.card .price { font-weight: 800; }
.card .price s { color: var(--muted); font-weight: 600; margin-left: 6px; }
.card .actions { margin-top: auto; padding-top: 10px; }
.ribbon { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--cream); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .35em .8em; border-radius: var(--radius-control); z-index: 1; }
.mini-add { font: 700 .9rem var(--body); padding: .55em 1.1em; border-radius: var(--radius-control); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.mini-add:hover { background: var(--ink); color: var(--cream); }
.mini-add[disabled] { opacity: .5; cursor: wait; }
.skeleton { background: linear-gradient(90deg, var(--blush), #fbefe9, var(--blush)); background-size: 200% 100%; animation: sh 1.4s infinite; border-radius: var(--radius-lg); aspect-ratio: 4 / 4.4; }
@keyframes sh { to { background-position: -200% 0; } }
.state { padding: 40px 0; color: var(--muted); }
.state .btn { margin-top: 12px; }

/* shop controls */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.toolbar .left { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search { font: inherit; padding: .6em 1.1em; border-radius: var(--radius-control); border: 1.5px solid var(--line); background: var(--paper); min-width: 220px; }
select { font: 600 .95rem var(--body); padding: .55em 1em; border-radius: var(--radius-control); border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.count { color: var(--muted); font-weight: 600; }
.dim { opacity: .55; transition: opacity .2s; }

/* product page */
.crumbs { font-size: .9rem; color: var(--muted); padding-top: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); padding-top: 20px; padding-bottom: 72px; align-items: start; }
.gallery .main { border-radius: var(--radius-lg); overflow: hidden; background: var(--blush); aspect-ratio: 4 / 3; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 76px; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--blush); }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buy { position: sticky; top: 92px; }
.buy h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.buy .price { font-size: 1.6rem; font-weight: 800; margin: 4px 0 18px; }
.buy .price s { font-size: 1.1rem; color: var(--muted); margin-left: 8px; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.badges span { background: var(--sage); padding: .3em .9em; border-radius: var(--radius-control); font-size: .85rem; font-weight: 700; }
.desc { color: var(--ink); }
.desc p { margin-bottom: .9em; }
details.info { border-top: 1px solid var(--line); padding: 14px 0; }
details.info:last-of-type { border-bottom: 1px solid var(--line); }
details.info summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; }
details.info summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
details.info[open] summary::after { content: "–"; }
details.info .content { padding-top: 10px; color: var(--muted); }
.note { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.error { color: var(--destructive); font-weight: 700; }
.option-group { border: 0; padding: 0; margin: 0 0 16px; }
.option-group legend { font-weight: 800; margin-bottom: 8px; }
.option-group .chips { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; } .buy { position: static; } }

/* cart drawer */
.backdrop { position: fixed; inset: 0; background: rgba(47, 38, 48, .45); z-index: 50; display: flex; justify-content: flex-end; }
.backdrop[hidden] { display: none; }
.drawer { width: min(440px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0, 0, 0, .15); }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 1.5rem; margin: 0; }
.drawer .lines { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img, .line .ph { width: 76px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); background: var(--blush); }
.line .name { font-weight: 700; line-height: 1.3; }
.line .meta { font-size: .85rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-control); margin-top: 6px; }
.stepper button { background: none; border: 0; width: 30px; height: 30px; font: 700 1rem var(--body); cursor: pointer; color: var(--ink); }
.stepper span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.line .right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; align-items: end; }
.drawer footer { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 14px; }
.totals .grand { font-weight: 800; font-size: 1.15rem; }
.coupon { display: flex; gap: 8px; margin-bottom: 14px; }
.coupon input { flex: 1; font: inherit; padding: .5em .9em; border-radius: var(--radius-control); border: 1.5px solid var(--line); background: var(--cream); min-width: 0; }
.coupon button { font: 700 .9rem var(--body); padding: .5em 1em; border-radius: var(--radius-control); border: 1.5px solid var(--ink); background: transparent; cursor: pointer; }
.empty-cart { padding: 40px 0; text-align: center; color: var(--muted); }

/* footer */
.site-footer { background: var(--ink); color: #eadfe3; padding-top: 56px; padding-bottom: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #fff; }
.site-footer p { color: #d9ccd2; font-size: .95rem; }
.site-footer .small { margin-top: 36px; font-size: .82rem; color: #b9aab2; border-top: 1px solid #4a3f4a; padding-top: 18px; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }