:root {
  --berry: #7a1524;
  --berry-deep: #4a0b15;
  --gold: #c9a063;
  --snow: #fbf8f6;
  --ink: #2b1b1e;
  --muted: #74656a;
  --line: #eadfdc;
  --card: #ffffff;
  --display: "Lora", Georgia, "Times New Roman", serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--snow); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--berry); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.bar { background: var(--berry-deep); color: #f6ebe3; position: sticky; top: 0; z-index: 20; }
.bar .wrap { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.brand b { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 30px; letter-spacing: .3px; }
.brand span { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.nav { display: flex; gap: 4px; font-size: 15px; }
.nav a { color: #f6ebe3; text-decoration: none; padding: 8px 12px; border-radius: 8px; opacity: .88; }
.nav a:hover { opacity: 1; background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: #f6ebe3; text-decoration: none; }
.cart-link:hover { background: rgba(255,255,255,.08); }
.cart-link svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--gold); color: var(--berry-deep); font-size: 12px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.menu-btn { display: none; background: none; border: 0; color: #f6ebe3; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.menu-btn svg { width: 24px; height: 24px; }
.notice { background: var(--berry); color: #fbefe7; text-align: center; font-size: 13.5px; padding: 8px 16px; letter-spacing: .2px; }
@media (max-width: 820px) {
  .menu-btn { display: grid; place-items: center; order: 3; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--berry-deep); flex-direction: column; padding: 8px 16px 16px; gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold); }
  .brand span { display: none; }
}

/* ---------- buttons ---------- */
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 17px; background: var(--berry); color: #fff; border-radius: 12px; padding: 15px 22px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; text-decoration: none; transition: background .15s; }
.btn:hover { background: var(--berry-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.full { width: 100%; }
.btn.ghost { background: transparent; color: var(--berry); border: 1.5px solid var(--berry); }
.btn.ghost:hover { background: #f6ecea; }
.btn.light { background: #fff; color: var(--berry-deep); }
.btn.light:hover { background: #f6ecea; }

/* ---------- home ---------- */
.hero { background: linear-gradient(180deg, #f6ecea 0%, var(--snow) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 48px 0 56px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 10px 0 14px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 0 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(74, 11, 21, .55); aspect-ratio: 4 / 3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.perks { display: flex; gap: 10px 22px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--ink); padding: 0; list-style: none; }
.perks li { display: flex; gap: 8px; align-items: center; }
.perks li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--berry); font-weight: 500; }
.colours-band { background: var(--berry-deep); color: #f6ebe3; }
.colours-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; flex-wrap: wrap; }
.colours-band h2 { font-size: clamp(22px, 2.6vw, 28px); color: #fff; }
.colours-band p { margin: 4px 0 0; color: #e9dcd6; font-size: 15px; }
.dots { display: flex; gap: 10px; }
.dots span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }

/* ---------- sections & cards ---------- */
section.band { padding: 56px 0; border-top: 1px solid var(--line); }
section.band.first { border-top: 0; padding-top: 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h1, .sec-head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.sec-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--berry); }
a.card:hover .ph img { transform: scale(1.03); }
.card .ph { aspect-ratio: 1; background: #f4ecea; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card .body { padding: 14px 16px 16px; display: grid; gap: 2px; }
.card h3 { font-size: 18px; }
.card .meta { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.card .meta b { color: var(--berry); }
.card.soon { border-style: dashed; background: transparent; }
.card.soon .ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #f6efed 0 12px, #f1e7e4 12px 24px); }
.card.soon .ph span { font-family: var(--display); font-style: italic; color: var(--berry); font-size: 18px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; background: var(--berry); color: #fff; border-radius: 99px; padding: 2px 10px; width: max-content; margin-bottom: 4px; }
.card.soon .tag { background: #b9a7a3; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chips button { font: inherit; font-size: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 99px; padding: 7px 16px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.empty { color: var(--muted); padding: 30px 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--berry); color: #fff; font-weight: 600; margin-bottom: 12px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 10px; max-width: 780px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
summary { cursor: pointer; font-weight: 500; }
details p { margin: 8px 0 0; color: var(--muted); }
.prose { max-width: 680px; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }

/* ---------- product ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding-top: 22px; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 18px 0 56px; align-items: start; }
.gallery { display: grid; gap: 12px; }
.stage { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--card); cursor: pointer; aspect-ratio: 1; }
.thumbs button[aria-pressed="true"] { border-color: var(--berry); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .t-preview { display: grid; place-items: center; font-size: 12px; font-weight: 500; color: var(--berry); background: #f6ecea; text-align: center; line-height: 1.3; padding: 6px; }
.photo-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.photo-stage { position: absolute; inset: 0; overflow: hidden; background: #2f3f5c; }
.photo-stage .bg { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(22px) brightness(.85); }
.photo-stage .fg { position: relative; width: 100%; height: 100%; object-fit: contain; }
.preview-stage { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, #fff 0%, #f3ebe8 100%); display: grid; place-items: center; }
.mug { position: relative; width: 72%; aspect-ratio: 0.86; background: linear-gradient(90deg, #e9e6e4 0%, #fff 18%, #fff 70%, #e6e2e0 100%); border-radius: 6px 6px 22px 22px; box-shadow: 0 24px 40px -18px rgba(74, 11, 21, .35); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 7% 10% 6%; }
.mug::after { content: ""; position: absolute; right: -19%; top: 18%; width: 24%; height: 48%; border: 14px solid var(--handle, #f1eeec); border-left: 0; border-radius: 0 50% 50% 0 / 0 40% 40% 0; }
.mug::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; border-radius: 6px 6px 0 0; background: var(--rim, transparent); }
.mug img { width: 58%; height: auto; flex: none; }
.mug .the, .mug .fam { font-family: "Dancing Script", cursive; color: #222; line-height: 1; }
.mug .the { font-size: clamp(18px, 2.6vw, 28px); margin-top: 2%; }
.mug .name { font-family: "Amatic SC", "Arial Narrow", sans-serif; font-weight: 700; color: #1d1d1d; font-size: clamp(34px, 6vw, 66px); line-height: .95; letter-spacing: 3px; max-width: 100%; overflow-wrap: anywhere; text-align: center; position: relative; }
.mug .name::before, .mug .name::after { content: "\2665"; color: #d8232a; font-size: .32em; position: absolute; top: -10%; }
.mug .name::before { left: -18%; } .mug .name::after { right: -18%; }
.mug .fam { font-size: clamp(16px, 2.2vw, 24px); }
.mug .yr { font-family: var(--body); font-weight: 600; font-size: clamp(11px, 1.3vw, 14px); color: #222; }
.mug .yr::before { content: "\2665"; display: block; text-align: center; color: #d8232a; font-size: 10px; line-height: 1.2; }
.buy h1 { font-size: clamp(30px, 4vw, 42px); margin: 8px 0 10px; }
.price { display: flex; align-items: baseline; gap: 10px; font-size: 28px; font-weight: 600; color: var(--berry); }
.price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.deal { margin-top: 10px; background: #f6ecea; border: 1px dashed #d9b9b3; border-radius: 10px; padding: 9px 13px; font-size: 14px; color: var(--ink); }
.deal b { color: var(--berry); }
.deal span { color: var(--muted); font-size: 13px; }
.summary .save { color: #24502a; font-weight: 500; }
.lead { color: var(--muted); max-width: 52ch; margin: 14px 0 22px; }
.form { display: grid; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.row { display: grid; grid-template-columns: 1fr 140px; gap: 14px; }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; display: flex; justify-content: space-between; gap: 8px; }
input, select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #d8cbc7; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus { border-color: var(--berry); outline: none; box-shadow: 0 0 0 3px rgba(122, 21, 36, .15); }
input[aria-invalid="true"] { border-color: #c0262d; }
.err { color: #b3141c; font-size: 13px; }
.err:empty { display: none; }
.qty { display: flex; align-items: end; gap: 14px; }
.qty select { width: 96px; }
.qty .btn { flex: 1; }
.secure { text-align: center; font-size: 12.5px; color: var(--muted); }
.added { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f1f7ef; border: 1px solid #cfe3c8; color: #24502a; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; }
.added[hidden] { display: none; }
.added a { font-weight: 600; color: #24502a; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 14px; }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; transform: translateY(-2px); }

/* ---------- cart ---------- */
.cart { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.lines { display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; align-items: center; }
.line img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; }
.line h3 { font-size: 18px; }
.line dl { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; margin: 4px 0 0; font-size: 14px; }
.line dt { color: var(--muted); }
.line dd { margin: 0; font-weight: 500; }
.line .side { display: grid; gap: 8px; justify-items: end; }
.line .side b { color: var(--berry); }
.line select { width: 76px; padding: 8px 10px; }
.linkbtn { background: none; border: 0; padding: 4px 0; color: var(--muted); font: inherit; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--berry); }
.summary { position: sticky; top: 90px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 16px; }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { font-size: 20px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 10px; }
.summary p { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- footer ---------- */
footer { background: var(--berry-deep); color: #e9dcd6; padding: 36px 0; margin-top: 30px; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px 30px; flex-wrap: wrap; align-items: center; }
footer b { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 26px; color: #fff; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: #f0d9a6; }

@media (max-width: 900px) {
  .hero .wrap, .product, .two, .cart { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 28px; gap: 26px; }
  .product { gap: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 440px) {
  .row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .line { grid-template-columns: 72px 1fr; }
  .line img { width: 72px; height: 72px; }
  .line .side { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; justify-items: start; }
  .line .side b { justify-self: end; }
}
