@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff') format('woff'); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('../fonts/instrument-serif.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --white: #FAF9F6;
  --sand: #EAE2D6;
  --beige: #F2EDE6;
  --taupe: #B8A99A;
  --text: #48433F;
  --muted: #6B635C;
  --accent: #A65E42;
  --accent-dark: #7E4630;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.bg-beige { background: var(--beige); }
.bg-sand { background: var(--sand); }
.bg-dark { background: var(--text); color: var(--white); }
.bg-dark .eyebrow { color: #D9CFC2; }
.section { padding-top: 96px; padding-bottom: 96px; }
.section-sm { padding-top: 56px; padding-bottom: 56px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.row > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.05; }
.h2 { font-size: clamp(32px, 4vw, 44px); }
.h3 { font-size: 26px; }
.lead { font-size: 18px; }

/* bar + header */
.topbar { background: var(--text); color: var(--white); font-size: 13px; letter-spacing: 0.04em; text-align: center; padding: 10px 16px; }
.site-header { border-bottom: 1px solid var(--sand); background: var(--white); }
.site-header .wrap { padding-top: 20px; padding-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--serif); font-size: 28px; letter-spacing: 0.18em; color: var(--text); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.cart-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); cursor: pointer; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.cart-count[hidden] { display: none; }

/* mobile menu */
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span { display: block; height: 2px; background: var(--text); }
@media (max-width: 760px) {
  .site-header { position: relative; }
  .site-header .wrap { flex-wrap: nowrap; gap: 4px; }
  .logo { margin-right: auto; font-size: 22px; }
  .menu-btn { display: flex; order: 2; }
  .cart-btn { order: 3; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--white); border-bottom: 1px solid var(--sand); flex-direction: column; gap: 0; padding: 4px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--beige); }
}

/* buttons + pills */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 0; border-radius: 2px; background: var(--text); color: var(--white); text-decoration: none; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn:hover { color: var(--white); background: #2f2b28; }
.btn-light { background: var(--white); color: var(--text); }
.btn-light:hover { background: var(--beige); color: var(--text); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.link-strong { font-weight: 600; font-size: 15px; color: var(--accent-dark); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { min-height: 44px; padding: 0 18px; font: inherit; font-size: 14px; font-weight: 500; border-radius: 999px; cursor: pointer; border: 1px solid var(--taupe); background: transparent; color: var(--text); }
.pill[aria-pressed="true"], .pill[aria-selected="true"] { border-color: var(--text); background: var(--text); color: var(--white); }
.pill[disabled] { opacity: 0.4; cursor: not-allowed; }

/* placeholders + images */
.ph { background: var(--sand); display: flex; align-items: flex-end; padding: 14px; overflow: hidden; position: relative; }
.ph > span { font-size: 12px; color: var(--muted); }
.ph-label { font-size: 13px; color: var(--muted); background: var(--white); padding: 6px 10px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph img.fit { object-fit: contain; }
.ph img.fit-bg { filter: blur(28px); transform: scale(1.25); }
.ratio-1 { aspect-ratio: 1 / 1; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-54 { aspect-ratio: 5 / 4; }
.ratio-43 { aspect-ratio: 4 / 3; }

/* features */
.features { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-top: 32px; padding-bottom: 32px; }
.feature { display: flex; flex-direction: column; gap: 4px; }
.feature b { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.feature span { font-size: 14px; color: var(--muted); }

/* colour explorer */
.swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.swatch { width: 100%; aspect-ratio: 1 / 1; min-height: 40px; border-radius: 50%; cursor: pointer; padding: 0; border: 2px solid transparent; }
.swatch[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 3px var(--white); }
.colour-stage { background: var(--sand); aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 32px; }
.colour-disc { width: 52%; aspect-ratio: 1 / 1; border-radius: 50%; box-shadow: 0 1px 0 rgba(72, 67, 63, 0.15); }
.colour-name { background: var(--white); padding: 10px 18px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.colour-name b { font-family: var(--serif); font-weight: 400; font-size: 24px; }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 24px; }
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.card:hover { color: var(--text); }
.card .badge { position: absolute; top: 12px; left: 12px; background: var(--white); font-size: 12px; font-weight: 600; padding: 4px 10px; z-index: 1; }
.card .name { font-weight: 600; font-size: 15px; }
.dots { display: flex; align-items: center; gap: 4px; }
.dots i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dots span { font-size: 13px; color: var(--muted); margin-left: 6px; }
.collection { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.collection b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.state { padding: 40px 0; color: var(--muted); }

/* reviews */
.review { margin: 0; padding: 32px; background: var(--beige); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.review figcaption { font-size: 14px; color: var(--muted); }

/* forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { min-height: 44px; padding: 0 12px; border: 1px solid var(--taupe); background: var(--white); color: var(--text); font: inherit; font-weight: 400; }
.form textarea { padding: 12px; resize: vertical; }
.form .actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.form-msg { grid-column: 1 / -1; font-size: 14px; }
.form-msg.ok { color: #3D5A2E; }
.form-msg.err { color: #9A2E22; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }

/* table */
.price-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.price-table caption { text-align: left; font-size: 13px; color: var(--muted); padding-bottom: 8px; }
.price-table th { text-align: left; padding: 12px 8px; font-weight: 600; border-bottom: 1px solid var(--text); }
.price-table td { padding: 12px 8px; border-bottom: 1px solid var(--sand); }
.price-table .r { text-align: right; }

/* steps */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--accent); }
.option-card { padding: 36px; display: flex; flex-direction: column; gap: 14px; }

/* product page */
.pdp { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.pdp .media { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pdp .info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.thumbs button { padding: 0; border: 1px solid var(--sand); background: var(--beige); aspect-ratio: 1 / 1; cursor: pointer; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.opt { display: flex; flex-direction: column; gap: 10px; }
.opt-label { font-size: 14px; font-weight: 600; }
.pdp .swatches { grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); max-width: 440px; }
.pdp .swatch { min-height: 36px; }
.swatch[disabled] { opacity: 0.3; cursor: not-allowed; }
.qty { display: flex; align-items: center; border: 1px solid var(--taupe); }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 18px; cursor: pointer; }
.qty span { min-width: 32px; text-align: center; font-weight: 600; }
.buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.buy .btn { flex: 1 1 220px; }
.desc p { margin: 0 0 10px; }
.desc ul { margin: 0 0 10px; padding-left: 20px; }
details.acc { border-bottom: 1px solid var(--sand); padding: 16px 0; }
details.acc summary { cursor: pointer; font-weight: 600; }
details.acc .body { margin-top: 12px; font-size: 15px; }
details.acc .body p { margin: 0 0 8px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* cart drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(72, 67, 63, 0.35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--white); z-index: 41; display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(72, 67, 63, 0.12); }
.drawer[hidden], .drawer-backdrop[hidden] { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--sand); }
.drawer-head h2 { font-size: 28px; }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--text); font-size: 24px; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--sand); }
.line .thumb { width: 72px; height: 72px; background: var(--sand); overflow: hidden; }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.line .meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.line .meta b { font-size: 15px; }
.line-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.line-actions .qty button { width: 36px; height: 36px; }
.text-btn { border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; padding: 8px 0; min-height: 44px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--sand); display: flex; flex-direction: column; gap: 10px; }
.drawer-foot .sum { display: flex; justify-content: space-between; font-weight: 600; }
.err { color: #9A2E22; font-size: 14px; }

/* footer */
.site-footer { background: var(--beige); border-top: 1px solid var(--sand); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-col a { color: var(--text); }
.foot-col b { font-weight: 600; }
.foot-brand { font-family: var(--serif); font-size: 24px; letter-spacing: 0.18em; }
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-row { display: flex; gap: 8px; }
.nl-row input { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--taupe); background: var(--white); font: inherit; font-size: 14px; }
.nl-row button { min-height: 44px; padding: 0 16px; border: 0; background: var(--text); color: var(--white); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); padding-top: 16px; padding-bottom: 32px; }

/* info page */
.info-block { padding: 40px 0; border-bottom: 1px solid var(--sand); display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.info-block ul { margin: 0; padding-left: 20px; }

@media (max-width: 640px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .form { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* withdrawal link + cookie bar */
.foot-col a.withdraw-link { display: inline-block; margin-top: 6px; padding: 8px 12px; border: 1px solid var(--text); text-decoration: none; font-weight: 600; align-self: flex-start; }
.foot-col a.withdraw-link:hover { background: var(--text); color: var(--white); }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; background: var(--white); border: 1px solid var(--taupe); box-shadow: 0 8px 24px rgba(72, 67, 63, 0.15); padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; font-size: 14px; }
.cookie-bar p { flex: 1 1 320px; }
.cookie-bar .btn { min-height: 44px; padding: 0 20px; }
.cookie-bar .btn-light { border: 1px solid var(--taupe); }

/* Colour mix preview: one cell per coaster */
.ph.mix-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; padding: 4px; align-items: stretch; }
.mix-cell { position: relative; overflow: hidden; background: var(--sand); display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.ph.mix-grid .mix-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mix-cell.empty span { font-size: 13px; color: var(--muted); }
.mix-disc { width: 62%; aspect-ratio: 1 / 1; box-shadow: 0 1px 0 rgba(72, 67, 63, 0.15); }
.mix-round { border-radius: 50%; }
.mix-square { border-radius: 14%; }
.mix-octagon { clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.mix-tag { position: absolute; left: 8px; bottom: 8px; font-size: 11px; background: rgba(255, 255, 255, 0.88); padding: 2px 6px; }
