:root {
  --ivory: #FAF6F0;
  --paper: #FFFDF9;
  --sand: #F1E9DE;
  --charcoal: #2D2622;
  --ink: #4A403A;
  --muted: #8A7D73;
  --line: #E6DCCF;
  --terracotta: #C87A5B;
  --terracotta-dk: #A85F42;
  --ok: #3F7D58;
  --err: #B3402F;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --r: 16px;
  --shadow: 0 18px 50px -20px rgba(45, 38, 34, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: var(--ivory); color: var(--charcoal); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 14px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px clamp(16px, 4vw, 48px); background: rgba(250, 246, 240, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: baseline; gap: 8px; font: 600 28px/1 var(--serif); letter-spacing: .16em; color: var(--charcoal); text-decoration: none; margin: 0; }
.brand span { font: 600 10px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--terracotta); }
.brand--center { display: flex; justify-content: center; margin-bottom: 18px; }
.top__actions { display: flex; align-items: center; gap: 8px; }
.who { font-size: 13px; color: var(--muted); margin-right: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--charcoal); border-radius: 999px;
  padding: 12px 22px; background: transparent; color: var(--charcoal); font-weight: 500; text-decoration: none; transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--dark { background: var(--charcoal); color: var(--ivory); }
.btn--dark:hover { background: #000; }
.btn--accent { background: var(--terracotta); border-color: var(--terracotta); color: #fff; box-shadow: 0 8px 20px -10px var(--terracotta); }
.btn--accent:hover { background: var(--terracotta-dk); border-color: var(--terracotta-dk); }
.btn--ghost:hover { background: var(--paper); }
.btn--full { width: 100%; padding: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--terracotta); color: #fff; font-size: 11px; transition: transform .3s var(--ease); }
.btn b.bump { transform: scale(1.35); }
.link { background: none; border: 0; padding: 0; color: var(--terracotta-dk); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 48px) 48px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--terracotta-dk); }
.hero__sub { color: var(--ink); font-size: 17px; max-width: 480px; margin: 20px 0 28px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.stats { display: flex; gap: clamp(20px, 4vw, 44px); margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font: 600 30px/1 var(--serif); }
.stats dd { margin: 6px 0 0; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.hero__art { position: relative; height: clamp(360px, 46vw, 580px); }
.hero__art img { position: absolute; object-fit: cover; border-radius: 200px 200px var(--r) var(--r); box-shadow: var(--shadow); background: var(--sand);
  animation: rise .9s var(--ease) backwards; }
.hero__art img:nth-child(1) { left: 0; top: 8%; width: 46%; height: 84%; }
.hero__art img:nth-child(2) { right: 0; top: 0; width: 50%; height: 62%; animation-delay: .12s; border-radius: var(--r); }
.hero__art img:nth-child(3) { right: 6%; bottom: 0; width: 38%; height: 34%; animation-delay: .24s; border-radius: var(--r); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1280px; margin: 0 auto 56px; padding: 0 clamp(16px, 4vw, 48px); gap: 1px; }
.steps div { background: var(--paper); border: 1px solid var(--line); padding: 26px 24px; }
.steps div:first-child { border-radius: var(--r) 0 0 var(--r); }
.steps div:last-child { border-radius: 0 var(--r) var(--r) 0; }
.steps span { font: 500 italic 15px var(--serif); color: var(--terracotta); }
.steps h3 { font-size: 24px; margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- toolbar ---------- */
.toolbar { position: sticky; top: var(--hdr, 61px); z-index: 20; background: rgba(250, 246, 240, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.toolbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: 1280px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 48px); }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 16px; font-size: 13px; transition: .2s; }
.chip:hover { border-color: var(--charcoal); }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.chip small { opacity: .6; margin-left: 4px; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 0 14px; color: var(--muted); flex: none; }
.search input { border: 0; background: none; font: inherit; font-size: 14px; padding: 8px 0; width: 180px; color: var(--charcoal); }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--charcoal); }

/* ---------- grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 44px 24px; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 96px; }
.card { cursor: pointer; animation: rise .6s var(--ease) backwards; }
.card__img { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--sand); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s, transform .8s var(--ease); }
.card__img img.alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img img.alt { opacity: 1; }
  .card:hover .card__img img { transform: scale(1.04); }
  .card:hover .card__quick { opacity: 1; transform: none; }
}
.card__badge { position: absolute; top: 12px; left: 12px; background: rgba(255, 253, 249, .92); border-radius: 999px; padding: 4px 11px; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.card__inpo { position: absolute; top: 12px; right: 12px; background: var(--terracotta); color: #fff; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 600; }
.card__quick { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255, 253, 249, .95); border-radius: 999px; padding: 10px; text-align: center; font-size: 13px; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: .3s var(--ease); }
.card__body { padding: 14px 2px 0; }
.card__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card__title { font-size: 21px; }
.card__meta { font-size: 12px; color: var(--muted); margin: 4px 0 10px; letter-spacing: .02em; }
.price { font-size: 14px; margin: 8px 0 0; }
.price strong { font-size: 17px; font-weight: 600; }
.price s { color: var(--muted); margin-left: 6px; font-size: 13px; }
.price .margin { margin-left: 6px; font-size: 12px; }
.price--locked { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.price--locked svg { color: var(--terracotta); }

.dots { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--line); padding: 0; background: var(--c); transition: box-shadow .2s, transform .2s; }
.dot:hover { transform: scale(1.12); }
.dot.is-active { box-shadow: 0 0 0 1.5px var(--charcoal); }
.dots__label { font-size: 12px; color: var(--muted); margin-left: 4px; }
.skeleton { aspect-ratio: 3 / 4; border-radius: var(--r); background: linear-gradient(100deg, var(--sand) 40%, #F7F1E8 50%, var(--sand) 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { color: var(--muted); text-align: center; padding: 48px 0; grid-column: 1 / -1; }
.empty h3 { color: var(--charcoal); font-size: 26px; margin-bottom: 8px; }

/* ---------- store visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) clamp(64px, 8vw, 110px); }
.visit h2 { font-size: clamp(34px, 4.4vw, 56px); }
.visit h2 em { font-style: italic; font-weight: 500; color: var(--terracotta-dk); }
.visit__text > p:not(.eyebrow) { color: var(--ink); font-size: 16px; max-width: 480px; margin: 18px 0; }
.visit__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.visit__list li { position: relative; padding-left: 28px; font-size: 15px; }
.visit__list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #F3E2D9; color: var(--terracotta-dk); font-size: 11px; display: grid; place-items: center; }
.visit__art { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.visit__art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--sand); box-shadow: var(--shadow); }
.visit__art img:nth-child(2) { margin-top: 48px; }
.form select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--charcoal); width: 100%; }
.checks { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checks legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.checks label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: #fff; font-weight: 400; cursor: pointer; }
.checks label:has(input:checked) { border-color: var(--terracotta); background: #FBEFE9; }
.checks input { accent-color: var(--terracotta); margin: 0; }

/* ---------- why + footer ---------- */
.why { background: var(--charcoal); color: var(--sand); padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 48px); }
.why h2 { color: var(--ivory); font-size: clamp(32px, 4vw, 48px); text-align: center; margin-bottom: 40px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1180px; margin: 0 auto; }
.why h3 { color: var(--ivory); font-size: 22px; margin-bottom: 8px; padding-top: 16px; border-top: 1px solid rgba(241, 233, 222, .2); }
.why p { margin: 0; font-size: 14px; opacity: .75; }
.foot { text-align: center; padding: 40px 16px 120px; color: var(--muted); font-size: 13px; }
.foot .brand { font-size: 22px; margin-bottom: 8px; }

/* ---------- panels ---------- */
.panel { position: fixed; inset: 0; z-index: 50; }
.panel[hidden] { display: none; }
.panel__backdrop { position: absolute; inset: 0; background: rgba(45, 38, 34, .5); backdrop-filter: blur(2px); animation: fade .25s; }
.panel__body { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); overflow-y: auto; background: var(--paper); padding: 32px 28px 40px; animation: slide .35s var(--ease); box-shadow: var(--shadow); }
.panel__body--wide { width: min(980px, 100%); padding: 0; }
.panel--center .panel__body { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: var(--r); animation: pop .3s var(--ease); }
.panel__close { position: absolute; top: 12px; right: 14px; border: 0; background: rgba(255, 253, 249, .9); width: 38px; height: 38px; border-radius: 50%; font-size: 26px; line-height: 1; color: var(--charcoal); z-index: 3; }
.panel__close:hover { background: var(--sand); }
.panel h2 { font-size: 32px; }
@keyframes slide { from { transform: translateX(60px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }

/* product detail */
.pd { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100%; }
.pd__media { background: var(--sand); padding: 16px; display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-content: start; position: sticky; top: 0; height: 100vh; }
.pd__thumbs { display: grid; gap: 8px; align-content: start; }
.pd__thumbs button { border: 0; padding: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; opacity: .55; transition: opacity .2s; outline-offset: 2px; }
.pd__thumbs button.is-active, .pd__thumbs button:hover { opacity: 1; }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd__main { position: relative; border-radius: 12px; overflow: hidden; height: calc(100vh - 32px); }
.pd__main img { width: 100%; height: 100%; object-fit: cover; animation: fade .35s; }
.pd__main figcaption { position: absolute; bottom: 12px; left: 12px; background: rgba(255, 253, 249, .92); border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.pd__info { padding: 48px 32px 40px; }
.pd__info h2 { font-size: 36px; }
.pd__sku { color: var(--muted); font-size: 13px; margin: 6px 0 18px; letter-spacing: .03em; }
.pd__price { padding: 16px 0; border-block: 1px solid var(--line); margin-bottom: 18px; }
.pd__price .big { font: 600 34px/1 var(--serif); }
.pd__price .per { color: var(--muted); font-size: 13px; }
.pd__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.pd__desc { color: var(--ink); font-size: 14px; margin: 18px 0; }
.sizes { display: flex; gap: 6px; }
.sizes span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font-size: 13px; background: #fff; }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.specs th { text-align: left; color: var(--muted); font-weight: 400; width: 48%; }
.specs th, .specs td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.margin { color: var(--ok); font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--charcoal); border-radius: 999px; overflow: hidden; background: #fff; flex: none; }
.qty button { border: 0; background: none; width: 42px; height: 46px; font-size: 18px; }
.qty button:hover { background: var(--sand); }
.qty span { min-width: 60px; text-align: center; font-weight: 600; font-size: 14px; }
.add-row { display: flex; gap: 10px; align-items: center; margin-top: 18px; }
.add-row .btn { flex: 1; padding: 14px; }
.add-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.locked { background: var(--ivory); border: 1px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; margin-top: 8px; }
.locked p { margin: 0 0 12px; color: var(--ink); font-size: 14px; }

/* PO */
.po-line { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.po-line img { width: 70px; height: 92px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.po-line h4 { margin: 0; font: 600 17px var(--serif); }
.po-line small { color: var(--muted); display: block; font-size: 12px; }
.po-line .amt { font-weight: 600; font-size: 14px; margin-top: 2px; }
.po-line .qty button { width: 32px; height: 34px; }
.po-line .qty span { min-width: 30px; font-size: 13px; }
.po-remove { border: 0; background: none; color: var(--muted); font-size: 12px; padding: 4px 0 0; text-decoration: underline; }
.po-remove:hover { color: var(--err); }
.po-sum { padding: 16px 0 4px; }
.po-sum div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); padding: 3px 0; }
.po-sum .grand { font: 600 24px var(--serif); color: var(--charcoal); padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--line); }
.po-box { background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; margin: 16px 0; }
.po-box p { margin: 2px 0; }
.po-box .tick { color: var(--ok); font-weight: 600; }
.done { text-align: center; padding: 40px 0; }
.done .ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: #E6F0E9; color: var(--ok); font-size: 32px; }

/* auth */
.tabs { display: flex; gap: 4px; margin: 0 0 20px; background: var(--sand); padding: 4px; border-radius: 999px; }
.tab { flex: 1; border: 0; background: none; padding: 9px; color: var(--muted); border-radius: 999px; transition: .2s; }
.tab.is-active { color: var(--charcoal); background: var(--paper); font-weight: 600; box-shadow: 0 2px 8px -4px rgba(0,0,0,.2); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.form small { font-weight: 400; color: var(--muted); }
.form input, .form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--charcoal); width: 100%; transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(200, 122, 91, .15); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form__msg { margin: 0; font-size: 13px; color: var(--err); min-height: 1em; }
.form__msg.ok { color: var(--ok); }
.form__foot { text-align: center; font-size: 13px; color: var(--muted); margin: 0; }
#gstHint.ok { color: var(--ok); }
#gstHint.bad { color: var(--err); }

.pobar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; justify-content: space-between; align-items: center;
  border: 0; border-radius: 999px; padding: 14px 22px; background: var(--charcoal); color: var(--ivory); font-size: 14px; box-shadow: var(--shadow); animation: rise .4s var(--ease); }
.toast { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--charcoal); color: var(--ivory); padding: 12px 22px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); animation: rise .3s var(--ease); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__art { height: 380px; order: -1; }
  .why__grid { grid-template-columns: 1fr 1fr; }
  .visit { grid-template-columns: 1fr; }
  .visit__art { order: -1; }
  .pd { grid-template-columns: 1fr; }
  .pd__media { position: static; height: auto; grid-template-columns: 1fr; padding: 0; background: none; }
  .pd__main { height: auto; aspect-ratio: 3 / 4; border-radius: 0; }
  .pd__thumbs { grid-template-columns: repeat(4, 56px); padding: 0 16px; order: 2; }
  .pd__info { padding: 20px 16px 40px; }
}
@media (max-width: 640px) {
  .hide-sm, .who { display: none; }
  .brand { font-size: 24px; }
  .hero { padding-top: 24px; }
  .hero__art { height: 300px; }
  .hero__sub { font-size: 15px; }
  .stats dt { font-size: 24px; }
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .steps div, .steps div:first-child, .steps div:last-child { border-radius: 12px; padding: 18px; }

  .toolbar__inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .search input { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .card__title { font-size: 17px; }
  .card__meta { margin-bottom: 8px; }
  .dot { width: 18px; height: 18px; }
  .price strong { font-size: 15px; }
  .price .margin { display: none; }
  .why__grid { grid-template-columns: 1fr; gap: 20px; }
  .pobar:not([hidden]) { display: flex; }
  .panel__body { padding: 28px 16px 40px; }
  .panel__body--wide { padding: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .card, .hero__art img { opacity: 1; } }

/* ---------- store-visit prompts ---------- */
.top__visit { font-size: 14px; margin-right: 8px; white-space: nowrap; }
.card--visit { cursor: default; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 28px 24px; border-radius: var(--r);
  background: var(--charcoal); color: var(--sand); aspect-ratio: 3 / 4; align-self: start; }
.card--visit .eyebrow { margin: 0; color: #E3A68C; }
.card--visit h3 { color: var(--ivory); font-size: 28px; }
.card--visit h3 em { font-style: italic; font-weight: 500; color: #E3A68C; }
.card--visit p { margin: 0; font-size: 14px; opacity: .8; }
.card--visit .btn { align-self: flex-start; margin-top: 6px; }
.card--visit small { font-size: 12px; opacity: .6; }
.visit-inline { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 16px; border-radius: 12px; background: #FBEFE9; border: 1px solid #F0D8CB; }
.visit-inline p { margin: 0; font-size: 13px; color: var(--ink); flex: 1; }
.visit-inline .btn { flex: none; background: var(--paper); }
.nudge { position: fixed; left: 20px; bottom: 20px; z-index: 45; width: min(340px, calc(100% - 24px)); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); animation: rise .45s var(--ease); }
.nudge p { margin: 0 0 12px; font-size: 14px; color: var(--ink); }
.nudge .nudge__title { font: 600 22px var(--serif); color: var(--charcoal); margin-bottom: 6px; }
.nudge__x { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; color: var(--muted); }
.visitpill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 13px 22px; background: var(--terracotta); color: #fff; font-weight: 500; font-size: 14px; box-shadow: 0 12px 30px -10px var(--terracotta-dk); white-space: nowrap; }
@media (max-width: 1000px) { .top__visit { display: none; } }
@media (max-width: 640px) {
  .visitpill:not([hidden]) { display: inline-flex; }
  .nudge { left: 12px; bottom: 12px; }
  .card--visit { aspect-ratio: auto; grid-column: 1 / -1; padding: 24px 20px; }
  .card--visit h3 { font-size: 24px; }
  .visit-inline { flex-direction: column; align-items: stretch; }
}
.btn { white-space: nowrap; }
@media (max-width: 380px) { .brand span { display: none; } }
.previewbar { background: var(--charcoal); color: var(--sand); text-align: center; font-size: 13px; padding: 10px 16px; }

/* ---------- profit, photos, colours, WhatsApp ---------- */
.earn { margin: 4px 0 0; font-size: 12px; color: var(--ok); }
.earn strong { font-weight: 600; }
.profit { background: #EEF5EF; border: 1px solid #D3E6D7; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.profit .pd__label { color: var(--ok); }
.profit__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink); padding: 3px 0; }
.profit__total { border-top: 1px dashed #BFD8C5; margin-top: 6px; padding-top: 8px; font-weight: 600; color: var(--ok); font-size: 16px; }
.profit__total small { font-weight: 500; font-size: 12px; }
.profit__more { margin: 8px 0 0; font-size: 13px; color: var(--ok); }
.profit__tease { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ok); background: #EEF5EF; border-radius: 10px; padding: 10px 12px; margin: 0 0 18px; }
.panel__body--wide { width: min(1120px, 100%); }
@media (min-width: 901px) { .pd { grid-template-columns: 1.3fr 1fr; } }
.pd__main { cursor: zoom-in; touch-action: pan-y; }
.pd__main img { transition: transform .25s var(--ease); }
.pd__main.is-zoomed img { transform: scale(2.2); }
.pd__main.is-zoomed { cursor: zoom-out; }
.pd__main.is-zoomed figcaption, .pd__main.is-zoomed .pd__nav { opacity: 0; }
.pd__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,253,249,.9);
  font-size: 26px; line-height: 1; color: var(--charcoal); box-shadow: 0 4px 14px -6px rgba(45,38,34,.4); transition: opacity .2s; z-index: 2; }
.pd__nav--prev { left: 12px; } .pd__nav--next { right: 12px; }
.compare { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.compare button { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 4px 4px 6px; text-align: center; font-size: 12px; color: var(--ink); }
.compare button.is-active { border-color: var(--charcoal); box-shadow: 0 0 0 1px var(--charcoal); }
.compare img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 7px; display: block; margin-bottom: 5px; }
.wachat { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 44; display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; text-decoration: none; border-radius: 999px; padding: 12px 18px 12px 14px; font-weight: 500; font-size: 14px; box-shadow: 0 12px 28px -10px rgba(18,140,70,.7); transition: transform .2s var(--ease); }
.wachat:hover { transform: translateY(-2px); }
@media (max-width: 640px) {
  .earn { font-size: 11px; }
  .wachat { right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 13px; }
  .wachat__label { display: none; }
  .pd__nav { width: 34px; height: 34px; font-size: 22px; }
}
