/* Krafty Crafts — public site styles */
:root {
  --paper: #f6f1e8;
  --paper-2: #efe6d7;
  --card: #fffdf9;
  --ink: #2a2723;
  --ink-2: #5d574d;
  --ink-3: #8a8275;
  --line: #e1d6c4;
  --moss: #46553a;
  --moss-2: #5f7150;
  --clay: #b5603a;
  --clay-2: #974b2b;
  --sand: #d9c3a5;
  --ok: #3f6d4a;
  --err: #b23a2e;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(42, 39, 35, 0.06), 0 8px 24px -12px rgba(42, 39, 35, 0.18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  /* motion: soft, unhurried curves */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, .75, .2);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.ic.big { width: 52px; height: 52px; color: var(--moss); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* bars */
.demo-bar { background: #2a2723; color: #e9dfcf; font-size: 13px; text-align: center; padding: 7px 16px; }
.demo-bar a { color: #f3b58f; font-weight: 600; margin-left: 6px; }
.ann { background: var(--moss); color: #f2efe6; text-align: center; font-size: 14px; padding: 8px 16px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(246, 241, 232, 0.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 56px; width: auto; display: block; filter: drop-shadow(0 1px 0 rgba(255,255,255,.4)); }
.logo-ftr { height: 64px; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--moss); color: #f4ead8; display: grid; place-items: center; }
.logo-mark .ic { width: 20px; height: 20px; }
.logo-txt { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current] { color: var(--ink); background: var(--paper-2); font-weight: 500; }
.hdr-act { display: flex; align-items: center; gap: 6px; }
.lang, .cart-btn, .menu-btn, .icon-btn {
  border: 1px solid transparent; background: none; height: 42px; min-width: 42px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 10px; position: relative; transition: background .15s;
}
.lang { font-size: 13px; font-weight: 600; letter-spacing: .04em; border-color: var(--line); }
.lang:hover, .cart-btn:hover, .menu-btn:hover, .icon-btn:hover { background: var(--paper-2); }
.cart-btn .ic { width: 22px; height: 22px; }
.cart-n { position: absolute; top: 3px; right: 1px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 22px;
  font-weight: 500; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .35s var(--ease-out), background .3s var(--ease-out), box-shadow .35s var(--ease-out), border-color .3s var(--ease-out);
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); transition-duration: .1s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-pri { background: var(--ink); color: #f6f1e8; }
.btn-pri:hover:not(:disabled) { background: #3b3731; box-shadow: var(--shadow); }
.btn-ghost { border-color: #cdbfa9; background: transparent; }
.btn-ghost:hover { background: var(--paper-2); }
.btn-light { background: #f6f1e8; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--clay-2); font-weight: 500; text-decoration: none; white-space: nowrap; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-arrow .ic { transition: transform .15s; }

/* hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 600; color: var(--clay-2); margin-bottom: 18px; }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; margin-bottom: 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 0.92; }
.hero-art.n1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero-art.n2 { grid-template-rows: 1fr; }
.hero-img { border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.hero-img img, .hero-img .ph { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-art.n3 .h0 { grid-row: span 2; }
.hero-img.h0 { border-radius: 200px 200px var(--r-lg) var(--r-lg); }

/* values */
.values { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.values-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 30px; padding-bottom: 30px; }
.val { display: flex; gap: 16px; align-items: flex-start; }
.val > .ic { width: 30px; height: 30px; color: var(--moss); margin-top: 2px; }
.val h3 { font-size: 1.05rem; margin-bottom: 4px; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
.val p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* sections */
.sec { padding: clamp(48px, 7vw, 96px) 0; }
.sec-tight { padding-top: clamp(24px, 4vw, 40px); }
.sec-alt { background: var(--paper-2); }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.sec-hd p { color: var(--ink-2); margin: 0; }
.sec-hd h2 { margin-bottom: 6px; }
.page-hd { padding: clamp(40px, 6vw, 72px) 0 0; }
.page-hd p { color: var(--ink-2); font-size: 1.1rem; max-width: 40em; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card { text-decoration: none; display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 4 / 5; background: var(--paper-2); overflow: hidden; }
.card-img img, .card-img .ph { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .9s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px 18px 18px; }
.card-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; text-decoration: none; display: inline-block; margin-bottom: 4px; }
.card-title { font-size: 1.15rem; margin: 0 0 6px; }
.card-price { font-weight: 600; color: var(--clay-2); }
.is-sold { color: var(--ink-3); text-decoration: line-through; }
.badge { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.badge-sold { background: rgba(42, 39, 35, .85); color: #f6f1e8; }
.ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, #e8dece 12px 24px); color: #b9a98f; }
.ph .ic { width: 40px; height: 40px; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3; background: var(--sand); }
.cat-img, .cat-img img, .cat-img .ph { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s; }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-body { position: absolute; inset: auto 0 0 0; padding: 40px 22px 18px; color: #fff; background: linear-gradient(transparent, rgba(30, 26, 20, .7)); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.cat-body h3 { margin: 0; font-size: 1.45rem; }
.cat-body span { font-size: 13px; opacity: .9; }

/* story */
.story-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.story-img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.story-img img, .story-img .ph { width: 100%; height: 100%; object-fit: cover; }
.story-tag { position: absolute; left: 16px; bottom: 16px; background: var(--paper); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.story-txt p { color: var(--ink-2); font-size: 1.08rem; }

/* cta */
.cta { padding: 0 0 clamp(48px, 7vw, 96px); }
.cta-in { background: var(--moss); color: #f2efe6; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 28px; background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,.09) 0 140px, transparent 141px); }
.cta-in h2 { margin-bottom: 8px; }
.cta-in p { margin: 0; opacity: .85; max-width: 36em; }

/* shop toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out); }
.chip:hover { border-color: #cdbfa9; }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.empty { text-align: center; color: var(--ink-2); padding: 60px 20px; }
.empty .ic { width: 40px; height: 40px; color: var(--sand); margin: 0 auto 12px; display: block; }
.empty-lg .ic { width: 64px; height: 64px; }

/* product page */
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.crumbs a { text-decoration: none; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.g-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.g-main img { width: 100%; height: auto; max-height: min(78vh, 900px); object-fit: contain; }
.g-main .ph { width: 100%; aspect-ratio: 1; }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.g-thumb { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; padding: 0; border: 2px solid transparent; background: var(--paper-2); }
.g-thumb.on { border-color: var(--ink); }
.g-thumb img, .g-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.pdp-price { font-size: 1.6rem; font-weight: 600; color: var(--clay-2); margin-bottom: 14px; }
.pdp-pill { display: inline-flex; gap: 8px; align-items: center; background: var(--paper-2); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--moss); font-weight: 500; margin-bottom: 22px; }
.specs { margin: 22px 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-3); font-size: 14px; }
.specs dd { margin: 0; }
.pdp-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sold-note { background: var(--paper-2); padding: 14px 16px; border-radius: var(--r); color: var(--ink-2); margin: 0; width: 100%; }
.related { margin-top: clamp(48px, 7vw, 88px); }

/* prose */
.prose { color: var(--ink-2); font-size: 1.05rem; }
.prose h2 { font-size: 1.6rem; color: var(--ink); margin-top: 1.6em; }
.prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--clay-2); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sand); font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.prose img { border-radius: var(--r); margin: 1.4em 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose-page { max-width: 720px; }
.page-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.page-fig { margin: 0; position: sticky; top: 100px; }
.page-fig img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.page-fig figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); text-align: center; }
@media (max-width: 860px) {
  .page-split { grid-template-columns: 1fr; }
  .page-fig { position: static; order: -1; }
}

/* forms */
.form { display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.f input, .f textarea, .f select {
  font: 16px/1.5 var(--sans); color: var(--ink); background: var(--card); border: 1px solid #d6c9b4; border-radius: 12px; padding: 11px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.f textarea { resize: vertical; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--moss-2); box-shadow: 0 0 0 3px rgba(70, 85, 58, .15); }
.f.bad input, .f.bad textarea { border-color: var(--err); }
.f-pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; color: var(--ink-2); }
.f-pref legend { font-weight: 500; padding: 0; margin-bottom: 6px; width: 100%; }
.radio { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); cursor: pointer; }
.radio input { accent-color: var(--moss); width: 18px; height: 18px; }
.f-err { color: var(--err); font-size: 14px; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 48px 20px; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); }
.done .ic { margin: 0 auto 12px; display: block; }
.done p { color: var(--ink-2); }

/* contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact-main { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); }
.contact-main .done { border: 0; padding: 32px 0; }
.contact-aside h2 { font-size: 1.5rem; }
.contact-aside ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.contact-aside li { display: flex; gap: 14px; align-items: flex-start; }
.contact-aside li > .ic { width: 22px; height: 22px; color: var(--moss); margin-top: 3px; }
.contact-aside li span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 600; }
.contact-aside li a { color: var(--ink); word-break: break-word; }
.aside-art { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.aside-art img, .aside-art .ph { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.ftr { background: #25231f; color: #d8d0c2; padding: 56px 0 0; margin-top: 0; }
.ftr .logo-mark { background: #f2e9da; color: var(--moss); }
.ftr .logo-txt { color: #fff; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.ftr-brand p { margin: 14px 0; color: #b5ac9d; max-width: 22em; }
.ftr h4 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: #fff; font-weight: 600; margin-bottom: 16px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: #d8d0c2; }
.ftr a:hover { color: #fff; }
.ftr-contact li { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.ftr-contact .ic { color: #a59b8a; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #4a463f; display: grid; place-items: center; }
.socials a:hover { background: #3a3732; }
.ftr-bottom { border-top: 1px solid #3a3732; padding-top: 18px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #9a917f; flex-wrap: wrap; }
.ftr-admin { display: inline-flex; align-items: center; gap: 6px; color: #9a917f !important; }

/* drawer */
.dr-ov { position: fixed; inset: 0; background: rgba(30, 27, 22, .42); z-index: 80; animation: fade .45s var(--ease-out); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 81; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15); animation: slide .55s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slideOut { to { transform: translateX(100%); } }
#drawer-root.leaving .dr-ov { animation: fadeOut .38s var(--ease-in-out) forwards; }
#drawer-root.leaving .drawer { animation: slideOut .38s var(--ease-in) forwards; }
.dr-hd { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.dr-hd h2 { margin: 0; font-size: 1.4rem; }
.dr-scroll { flex: 1; overflow-y: auto; padding: 18px 22px; }
.dr-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dr-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dr-line.na { opacity: .55; }
.dr-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: block; }
.dr-img img, .dr-img .ph { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dr-info { display: grid; gap: 4px; }
.dr-info > a { text-decoration: none; font-weight: 500; }
.dr-price { color: var(--clay-2); font-weight: 600; font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; width: max-content; margin-top: 4px; }
.qty button { border: 0; background: none; width: 32px; height: 30px; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--paper-2); }
.qty .ic { width: 15px; height: 15px; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 600; }
.dr-rm { border: 0; background: none; color: var(--ink-3); padding: 6px; border-radius: 8px; }
.dr-rm:hover { color: var(--err); background: var(--paper-2); }
.dr-how { font-size: 13.5px; color: var(--ink-2); background: var(--paper-2); padding: 12px 14px; border-radius: 12px; margin-top: 18px; }
.dr-foot { border-top: 1px solid var(--line); padding: 16px 22px 22px; background: var(--card); }
.dr-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.dr-total strong { font-size: 1.3rem; }
.dr-back { border: 0; background: none; display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); padding: 0; margin-bottom: 14px; }
.dr-h { font-size: 1.3rem; }
.dr-sum { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; font-size: 14px; display: grid; gap: 6px; }
.dr-sum > div { display: flex; justify-content: space-between; gap: 12px; }
.dr-sum-t { border-top: 1px dashed var(--line); padding-top: 8px; font-weight: 600; }
.drawer .f-row { grid-template-columns: 1fr; }
.dr-empty, .dr-done { text-align: center; padding: 60px 28px; display: grid; justify-items: center; gap: 4px; }
.dr-empty .ic.big { color: var(--sand); }
.dr-empty p, .dr-done p { color: var(--ink-2); margin-bottom: 18px; }

/* product quick view */
.qv-ov { position: fixed; inset: 0; background: rgba(30, 27, 22, .5); z-index: 70; cursor: zoom-out; }
.qv-ov.anim { animation: fade .45s var(--ease-out); }
.qv { position: fixed; z-index: 71; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(1080px, calc(100vw - 48px)); height: min(860px, calc(100vh - 48px));
  background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 30px 90px -20px rgba(0,0,0,.5); overflow: hidden; }
.qv.anim { animation: qvin .6s var(--ease-out); }
@keyframes qvin { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } }
@keyframes qvout { to { opacity: 0; transform: translate(-50%, -48%) scale(.975); } }
#qv-root.leaving .qv-ov { animation: fadeOut .36s var(--ease-in-out) forwards; }
#qv-root.leaving .qv { animation: qvout .36s var(--ease-in) forwards; }
#qv-root.leaving .qv-nav { animation: fadeOut .2s var(--ease-in) forwards; }
.qv-scroll.swap-next > * { animation: swapNext .55s var(--ease-out) both; }
.qv-scroll.swap-prev > * { animation: swapPrev .55s var(--ease-out) both; }
.qv-scroll.swap > * { animation: fade .5s var(--ease-out) both; }
@keyframes swapNext { from { opacity: 0; transform: translateX(28px); } }
@keyframes swapPrev { from { opacity: 0; transform: translateX(-28px); } }
/* "Ask about this piece": the form unfolds below the product */
.qv-ask { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease-out), opacity .45s var(--ease-out), margin .6s var(--ease-out); margin-top: 0; }
.qv-ask.open { grid-template-rows: 1fr; opacity: 1; margin-top: clamp(24px, 3vw, 36px); }
.qv-ask-in { overflow: hidden; min-height: 0; }
.qv-ask-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.qv-ask-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.qv-ask-hd .eyebrow { margin-bottom: 6px; }
.qv-ask-hd h3 { font-size: 1.45rem; margin: 0; }
.ask-hide { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 7px 14px 7px 10px; font-size: 13.5px; color: var(--ink-2); white-space: nowrap; transition: background .3s var(--ease-out), color .3s var(--ease-out); }
.ask-hide:hover { background: var(--paper-2); color: var(--ink); }
.ask-hide .ic { width: 16px; height: 16px; }
.qv-ask .form { max-width: 720px; }
.done-ask { border: 0; padding: 24px 0 8px; background: none; }
.qv-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 3vw, 36px); }
.qv-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 253, 249, .95); color: var(--ink); box-shadow: 0 2px 12px rgba(0,0,0,.18); transition: transform .15s; }
.qv-x:hover { transform: scale(1.06) rotate(90deg); }
.qv-nav { position: fixed; z-index: 72; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: rgba(255, 253, 249, .96); color: var(--ink); box-shadow: 0 4px 18px rgba(0,0,0,.25); transition: transform .35s var(--ease-out), opacity .3s var(--ease-out); animation: fade .6s var(--ease-out); }
.qv-nav .ic { width: 24px; height: 24px; }
.qv-nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.07); }
.qv-nav:disabled { opacity: .35; cursor: default; }
/* sit in the dark area beside the window when there is room, otherwise just inside its edges */
.qv-prev { left: max(10px, calc(50% - 540px - 68px)); }
.qv-next { right: max(10px, calc(50% - 540px - 68px)); }
.qv-count { position: absolute; top: 22px; left: 22px; z-index: 2; background: rgba(42, 39, 35, .78); color: #f6f1e8; font-size: 12.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; letter-spacing: .03em; pointer-events: none; }
.qv .pdp { grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 3.5vw, 44px); }
.qv .gallery { position: static; }
.qv .g-main img { max-height: min(70vh, 640px); }
.qv .pdp-info { padding-top: 8px; padding-right: 36px; }
.pdp-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 10px; }
.qv-rel { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); padding-top: 22px; }
.qv-rel-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.qv-rel-hd h3 { font-size: 1.4rem; margin: 0; }
.rail-nav { display: flex; gap: 6px; }
.rail-nav .icon-btn { border: 1px solid var(--line); background: var(--card); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px;
  scrollbar-width: thin; scrollbar-color: var(--sand) transparent; }
.rail .card { scroll-snap-align: start; }
.rail .card-body { padding: 12px 14px 14px; }
.rail .card-title { font-size: 1rem; }
.cart-btn.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: scale(1.2); } 60% { transform: scale(.95); } }
@media (max-width: 860px) {
  .qv { top: auto; bottom: 0; left: 0; transform: none; width: 100%; height: calc(100% - 56px); border-radius: var(--r-lg) var(--r-lg) 0 0; }
  @keyframes qvup { from { transform: translateY(100%); } }
  .qv .pdp { grid-template-columns: 1fr; }
  .qv.anim { animation: qvup .6s var(--ease-out); }
  @keyframes qvout { to { opacity: 0; transform: translateY(60px); } }
  .qv .pdp-info { padding-right: 0; }
  .qv .g-main img { max-height: 52vh; }
  .qv-nav { top: calc(56px + 22px + 26vh); width: 42px; height: 42px; }
  .qv-prev { left: 8px; }
  .qv-next { right: 8px; }
  .qv-count { top: 18px; left: 18px; }
  .ask-open .qv-nav { opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.85); }
  .rail { grid-auto-columns: 160px; }
  .rail-nav { display: none; }
}

/* announcement pop-up */
.pop-ov { position: fixed; inset: 0; background: rgba(30, 27, 22, .5); z-index: 90; animation: fade .5s var(--ease-out); }
.pop { position: fixed; z-index: 91; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--card); border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: popin .7s var(--ease-out); }
@keyframes popin { from { opacity: 0; transform: translate(-50%, -44%) scale(.95); } }
@keyframes popout { to { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
#popup-root.leaving .pop-ov { animation: fadeOut .34s var(--ease-in-out) forwards; }
#popup-root.leaving .pop { animation: popout .34s var(--ease-in) forwards; }
/* "unfinished message" confirmation */
.cf-ov { position: fixed; inset: 0; background: rgba(30, 27, 22, .45); z-index: 95; animation: fade .35s var(--ease-out); }
.cf { position: fixed; z-index: 96; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(400px, calc(100vw - 32px)); background: var(--card);
  border-radius: var(--r-lg); padding: 28px 26px 22px; text-align: center; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); animation: popin .5s var(--ease-out); }
.cf-ic { width: 54px; height: 54px; border-radius: 50%; background: var(--paper-2); color: var(--clay-2); display: grid; place-items: center; margin: 0 auto 14px; }
.cf-ic .ic { width: 24px; height: 24px; }
.cf h3 { font-size: 1.35rem; margin-bottom: 8px; }
.cf p { color: var(--ink-2); font-size: 15px; margin: 0 0 22px; }
.cf-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cf-act .btn { flex: 1 1 140px; }
#confirm-root.leaving .cf-ov { animation: fadeOut .26s var(--ease-in-out) forwards; }
#confirm-root.leaving .cf { animation: popout .26s var(--ease-in) forwards; }
.pop-img { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.pop-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pop-body { padding: 24px 28px 28px; text-align: center; }
.pop-body .eyebrow { margin-bottom: 10px; }
.pop-body h2 { font-size: clamp(1.4rem, 4vw, 1.75rem); margin: 0; }
.pop-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 253, 249, .92); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: transform .15s, background .15s; z-index: 1; }
.pop-x:hover { background: #fff; transform: scale(1.06); }
/* FAQ accordion */
.faq > .faq-group, .faq > .faq-cta { max-width: 860px; }
.faq-intro { margin-top: 6px; max-width: 40em; }
.faq-group { margin-bottom: clamp(32px, 5vw, 52px); }
.faq-group > h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-bottom: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-h { margin: 0; font: inherit; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; background: none; border: 0;
  padding: 18px 4px; font-family: var(--sans); font-size: 1.05rem; font-weight: 500; color: var(--ink); transition: color .3s var(--ease-out); }
.faq-q:hover { color: var(--clay-2); }
.faq-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  transition: background .4s var(--ease-out), border-color .4s var(--ease-out), transform .5s var(--ease-out); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .5s var(--ease-out), opacity .3s var(--ease-out); }
.faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-ic { background: var(--paper-2); border-color: var(--line); color: var(--ink); transform: rotate(180deg); }
.faq-item.open .faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; min-height: 0; }
.faq-a .prose { padding: 0 52px 20px 4px; opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease-out), transform .55s var(--ease-out); }
.faq-item.open .faq-a .prose { opacity: 1; transform: none; transition-delay: .08s; }
.faq-a .prose p:last-child { margin-bottom: 0; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--paper-2); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); }
.faq-cta h2 { font-size: 1.5rem; margin-bottom: 4px; }
.faq-cta p { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .faq-a .prose { padding-right: 4px; } .faq-q { font-size: 1rem; } }

/* page entrance and scroll reveals */
.page-in { animation: pageIn .7s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } }
.page-in .hero-txt > * { animation: rise .9s var(--ease-out) both; }
.page-in .hero-txt > *:nth-child(2) { animation-delay: .08s; }
.page-in .hero-txt > *:nth-child(3) { animation-delay: .16s; }
.page-in .hero-txt > *:nth-child(4) { animation-delay: .24s; }
.page-in .hero-img { animation: rise 1s var(--ease-out) both; }
.page-in .hero-img.h0 { animation-delay: .12s; }
.page-in .hero-img.h1 { animation-delay: .24s; }
.page-in .hero-img.h2 { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transition: opacity .8s var(--ease-out), transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.card.reveal.in:hover { transform: translateY(-4px); }
.boot { min-height: 70vh; display: grid; place-items: center; color: var(--ink-2); }
.boot-err { max-width: 560px; margin: 0 20px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.boot-err h2 { font-size: 1.4rem; }
.boot-err p { color: var(--ink-2); }
.boot-tech { font-size: 13px; color: var(--ink-3) !important; word-break: break-word; margin: 0; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--moss); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* responsive */
@media (max-width: 960px) {
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 10px clamp(18px, 4vw, 40px) 18px; display: none; box-shadow: 0 12px 24px -16px rgba(0,0,0,.2);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .hdr-act { margin-left: auto; }
  .hero-in, .story-in, .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .hero-art { max-width: 560px; }
  .values-in { grid-template-columns: 1fr; gap: 18px; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .f-row { grid-template-columns: 1fr; }
  .sec-hd { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: 1rem; }
  .ftr-grid { grid-template-columns: 1fr; }
  .logo-txt { font-size: 1.15rem; }
  .logo-img { height: 46px; }
  .lang span { display: none; }
  .lang { padding: 0; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
