:root {
  --paper: #f7f1e8;
  --card: #fffdf9;
  --ink: #2b2420;
  --muted: #7a6d63;
  --line: #e6dccf;
  --accent: #b5543c;
  --accent-ink: #fff;
  --sage: #6f7f63;
  --radius: 14px;
  --serif: "Lora", Georgia, serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
.muted { color: var(--muted); }
.mt { margin-top: 22px; }

.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 5vw, 56px); background: rgba(247,241,232,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; text-decoration: none; }
.topbar nav { display: flex; gap: 18px; align-items: center; }
.topbar nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.topbar nav a:hover { color: var(--ink); }
.cart-btn { font: inherit; font-size: .95rem; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.badge { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--accent); color: #fff; font-size: .8rem; text-align: center; }

.hero { padding: clamp(48px, 9vw, 110px) clamp(16px, 5vw, 56px) 40px; max-width: 900px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--accent); margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 620px; }

.upcoming { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .9rem; }
.upcoming .lbl { color: var(--muted); }
.upcoming span.ev { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.upcoming b { color: var(--accent); font-weight: 600; }
.btn { display: inline-block; font: inherit; font-weight: 500; border: 0; border-radius: 999px; padding: 12px 22px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line);
  margin: 16px clamp(16px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.usp div { background: var(--card); padding: 18px 20px; }
.usp strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.usp span { color: var(--muted); font-size: .92rem; }

.catalog { padding: 48px clamp(16px, 5vw, 56px) 72px; }
.catalog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
.catalog-head h2 { font-size: 2rem; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: .9rem; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.chip[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.filters.occ { margin: -8px 0 22px; align-items: center; }
.filters.occ .lbl { color: var(--muted); font-size: .85rem; margin-right: 4px; }
.chip.small { font-size: .8rem; padding: 4px 11px; }
.hm { display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--sage); border-radius: 4px; padding: 1px 7px; margin-bottom: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; text-align: left; font: inherit; color: inherit; padding: 0; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(43,36,32,.08); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #efe6da; }
.card .body { padding: 14px 16px 18px; }
.card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.card .price { color: var(--accent); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: .75rem; color: var(--sage); border: 1px solid #cfd6c7; border-radius: 999px; padding: 1px 8px; }

.footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding: 40px clamp(16px, 5vw, 56px);
  border-top: 1px solid var(--line); background: #efe6da; font-size: .92rem; color: var(--muted); }
.footer strong { color: var(--ink); font-family: var(--serif); font-size: 1.05rem; }

/* Dialogs */
.sheet { border: 0; border-radius: 18px; padding: 0; width: min(560px, 94vw); max-height: 92vh; background: var(--card); color: var(--ink); }
.sheet.wide { width: min(760px, 96vw); }
.sheet::backdrop { background: rgba(43,36,32,.45); }
.sheet > div { padding: 24px clamp(18px, 4vw, 32px) 28px; }
.sheet-close { position: sticky; top: 0; display: flex; justify-content: flex-end; margin: 0; padding: 8px 8px 0; background: var(--card); z-index: 1; }
.sheet-close button { font-size: 1.6rem; line-height: 1; border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px 10px; }
.sheet img.hero-img { border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; width: 100%; margin-bottom: 16px; background: #efe6da; }

label { display: block; font-size: .9rem; font-weight: 500; margin: 14px 0 6px; }
input, select, textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 72px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } .topbar nav a { display: none; } }
.hint { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { border: 0; background: none; font-size: 1.1rem; width: 34px; height: 34px; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; }
.actions { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 20px; flex-wrap: wrap; }

.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-line small { color: var(--muted); display: block; }
.link-btn { border: 0; background: none; color: var(--accent); cursor: pointer; font: inherit; font-size: .85rem; padding: 0; }
.totals { margin: 16px 0; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 600; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.pay-options { display: grid; gap: 8px; }
.pay-options label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; font-weight: 400; cursor: pointer; }
.pay-options input { width: auto; margin-top: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: #fbeee9; border: 1px solid #efcfc4; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }
.success { text-align: center; }
.success .code { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .04em; }
.qr { width: 260px; margin: 12px auto; border-radius: 12px; border: 1px solid var(--line); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px; transition: .2s; font-size: .92rem; z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Policies page */
.doc { max-width: 780px; margin: 0 auto; padding: 40px clamp(16px, 5vw, 32px) 80px; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.4rem; margin-top: 2em; padding-top: .6em; border-top: 1px solid var(--line); }
.doc ul { padding-left: 1.2em; }
.doc .toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
