:root {
  --aubergine: #2a1b47;
  --aubergine-soft: #3d2b63;
  --gold: #c6a04a;
  --gold-soft: #e7d6a8;
  --gold-ink: #7d5f22;
  --ivory: #faf6ec;
  --card: #ffffff;
  --ink: #241c33;
  --muted: #625a6f;
  --line: #e6dfd0;
  --whatsapp: #128c4a;
  --serif: "Noto Serif Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  padding-bottom: 84px;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); margin: 0; }
.small { font-size: 13.5px; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 30; background: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--aubergine); color: #fff;
  padding: 10px 18px; border-bottom: 3px solid var(--gold);
}
.brand { font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 4.6vw, 20px); color: #fff; text-decoration: none; }
.cart-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; flex-shrink: 0;
  border: 1px solid rgba(231, 214, 168, .55); border-radius: 999px; padding: 6px 14px;
}
.count {
  background: var(--gold); color: var(--aubergine); border-radius: 999px;
  min-width: 24px; height: 24px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}

.hero { position: relative; overflow: hidden; background: var(--aubergine); color: #fff; padding: 44px 0 48px; }
.hero .star { position: absolute; right: -60px; top: -50px; width: 300px; height: 300px; color: var(--gold); opacity: .22; }
.hero .wrap { position: relative; }
.eyebrow { margin: 0 0 8px; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 8vw, 58px); line-height: 1.05; margin: 0 0 12px; text-wrap: balance; }
.lede { margin: 0 0 24px; max-width: 34em; color: #ddd4ee; font-size: 17px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 12px 22px; border: 0; border-radius: 999px;
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.button.gold { background: var(--gold); color: var(--aubergine); }
.button.whatsapp { background: var(--whatsapp); color: #fff; width: 100%; font-size: 17px; }
.button.plain { background: none; color: var(--muted); width: 100%; font-weight: 600; text-decoration: underline; min-height: 44px; }

section { margin: 40px 0; }
main > .hero { margin: 0; }
.kicker { margin: 0 0 4px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; }
h2 { font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1.15; margin: 0 0 16px; color: var(--aubergine); }
h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; color: var(--aubergine); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.split { display: grid; gap: 18px; padding: 16px; }
.split img { width: 100%; border-radius: 10px; }
.featured .main-photo { aspect-ratio: 4 / 5; object-fit: contain; background: #f4dfca; }
.thumbs { display: flex; gap: 10px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; background: none; cursor: pointer; overflow: hidden; width: 72px; height: 72px; }
.thumbs button[aria-pressed="true"] { border-color: var(--aubergine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.featured h3 { font-size: 30px; }
.featured .price strong { font-size: 46px; }
.featured .qty { margin-top: 16px; }
.featured .add, .featured .stepper { width: 100%; max-width: 320px; }

.price { margin: 6px 0; color: var(--aubergine); white-space: nowrap; }
.price strong { font-family: var(--serif); font-size: 30px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price span { font-size: 14px; color: var(--muted); }

.varieties { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; max-width: 320px; }
.varieties li { position: relative; padding-left: 18px; font-weight: 600; }
.varieties li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.pack { overflow: hidden; display: flex; flex-direction: column; }
.pack img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pack-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 2px; }
.pack-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px; }
.pack-foot .price { margin: 0; }

.rows .row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows .row:last-child { border-bottom: 0; }
.rows .row h3 { font-size: 19px; }
.rows .row .price { margin: 0; grid-column: 1; grid-row: 2; }
.rows .row .price strong { font-size: 24px; }
.rows .row .qty { grid-column: 2; grid-row: 1 / span 2; }
.rows .row.has-thumb { grid-template-columns: 60px 1fr; }
.rows .row .thumb { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; }
.rows .row.has-thumb .pack-foot { padding-top: 4px; }
.rows.card { padding: 2px 16px; }

.qty { flex-shrink: 0; }
.add {
  min-width: 112px; min-height: 46px; padding: 0 20px;
  border: 2px solid var(--aubergine); border-radius: 999px;
  background: var(--aubergine); color: #fff; font: 700 15.5px var(--sans); cursor: pointer;
}
.stepper {
  display: inline-grid; grid-template-columns: 46px minmax(44px, 1fr) 46px; align-items: center;
  min-width: 136px; border: 2px solid var(--aubergine); border-radius: 999px; background: #fff; overflow: hidden;
}
.stepper button { height: 44px; border: 0; background: none; color: var(--aubergine); font: 700 22px/1 var(--sans); cursor: pointer; }
.stepper button:active { background: var(--gold-soft); }
.stepper input {
  width: 100%; height: 44px; border: 0; background: none; text-align: center; padding: 0;
  font: 700 17px var(--sans); color: var(--ink); font-variant-numeric: tabular-nums;
  appearance: textfield; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }

.steps { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 16px 14px 60px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--aubergine); color: var(--gold-soft); display: grid; place-items: center; font: 700 16px var(--serif);
}

.order { background: var(--card); border: 2px solid var(--aubergine); border-radius: var(--radius); padding: 20px 16px; }
.order h2 { margin-bottom: 10px; }
.empty { margin: 0; color: var(--muted); }
.lines { list-style: none; margin: 0; padding: 0; }
.lines li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lines li > div:first-child { grid-column: 1 / -1; }
.line-total { font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 18px; font-size: 18px; }
.total strong { font-family: var(--serif); font-size: 34px; color: var(--aubergine); font-variant-numeric: lining-nums tabular-nums; }
form { display: grid; gap: 6px; }
label { font-weight: 600; font-size: 14.5px; margin-top: 8px; }
input[type="text"], textarea {
  width: 100%; padding: 12px; border: 1px solid #b9b0c6; border-radius: 10px; background: #fff;
  font: 16px/1.4 var(--sans); color: var(--ink);
}
form .whatsapp { margin-top: 14px; }
.order .small { margin-top: 10px; text-align: center; }

.footer { text-align: center; color: var(--muted); font-size: 13.5px; padding: 8px 18px 24px; }
.footer p { margin: 0; }
.noscript { text-align: center; padding: 16px; }

.sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 25;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  background: var(--aubergine); color: #fff; text-decoration: none;
  padding: 12px 16px; border-radius: 999px; border: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(36, 28, 51, .35);
}
.sticky strong { font-family: var(--serif); font-size: 21px; font-variant-numeric: lining-nums tabular-nums; }
.sticky .go { background: var(--gold); color: var(--aubergine); font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; }

@media (min-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .sticky { left: auto; right: 20px; bottom: 20px; }
}
@media (min-width: 820px) {
  .wrap { padding: 0 28px; }
  .hero { padding: 64px 0 68px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .split { grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px; align-items: center; }
  .order { padding: 26px 28px; max-width: 640px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
