@import url("fonts.css");

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --card: #f4f0e9;
  --ink: #2e2b26;
  --ink-soft: #5c564d;
  --muted: #938c80;
  --line: #eae3d8;
  --line-soft: #f0ebe2;
  --sage: #6f7d64;
  --sage-deep: #56624c;
  --sage-soft: #eef1ea;
  --terra: #bd7f63;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(46,43,38,.04), 0 8px 30px rgba(46,43,38,.06);
  --shadow-lg: 0 24px 60px rgba(46,43,38,.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60; background: rgba(250,248,245,.86);
  backdrop-filter: saturate(1.2) blur(12px); border-bottom: 1px solid var(--line-soft);
}
.topbar-in { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand {
  font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: -0.02em;
  text-decoration: none; color: var(--ink); margin-right: auto; line-height: 1;
}
.brand .dot { color: var(--sage); }
.navlinks { display: flex; gap: 22px; }
.navlinks a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.navlinks a:hover { color: var(--ink); }
.cartbtn {
  position: relative; background: var(--ink); color: var(--bg); border: 0; border-radius: 999px;
  padding: 10px 18px 10px 15px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
}
.cartbtn svg { width: 18px; height: 18px; }
.cartbtn .count {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--sage); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700;
  display: none; align-items: center; justify-content: center; border: 2px solid var(--bg);
}
.cartbtn.has .count { display: inline-flex; }
@media (max-width: 760px) { .navlinks { display: none; } .brand { font-size: 23px; } }

/* ---------- hero ---------- */
.hero { padding: 40px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep);
  background: var(--sage-soft); padding: 6px 13px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); margin: 20px 0 0; }
.hero p.lead { font-size: 18px; color: var(--ink-soft); margin: 18px 0 0; max-width: 30em; }
.hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.shelf-tag { font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: 17px; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/10; background: var(--card); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-img { order: -1; aspect-ratio: 16/11; }
}

.btn {
  border: 0; border-radius: 999px; font-weight: 600; font-size: 15px; padding: 14px 26px;
  background: var(--ink); color: var(--bg); text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.sage { background: var(--sage); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.block { width: 100%; justify-content: center; }
.btn.lg { padding: 16px 30px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-top: 40px; }
.trust-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; padding: 16px 22px; }
.trust-in span { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.trust-in svg { width: 16px; height: 16px; color: var(--sage); }

/* ---------- sections ---------- */
section.blk { padding: 66px 0; }
.sec-head { max-width: 40em; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.sec-head p { color: var(--ink-soft); font-size: 17px; margin: 12px 0 0; }

/* ---------- product grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.pcard {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .2s ease; cursor: pointer;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard .ph { aspect-ratio: 4/3; background: var(--card); position: relative; overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .badge {
  position: absolute; top: 12px; left: 12px; background: rgba(46,43,38,.82); color: var(--bg);
  font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; letter-spacing: .02em;
}
.pcard .badge.mag { background: rgba(111,125,100,.92); }
.pcard .body { padding: 17px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 21px; }
.pcard .tag { color: var(--sage-deep); font-size: 14px; font-style: italic; font-family: var(--serif); margin-top: 2px; }
.pcard .short { color: var(--ink-soft); font-size: 14px; margin: 10px 0 0; flex: 1; }
.pcard .row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 10px; }
.price { font-weight: 700; font-size: 19px; }
.swatches { display: flex; gap: 6px; }
.sw { width: 17px; height: 17px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 2px var(--surface); outline: 1px solid var(--line); }
.stockline { font-size: 12.5px; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; color: var(--sage-deep); }
.stockline .d { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.stockline.out { color: var(--muted); }
.stockline.out .d { background: var(--muted); }

/* ---------- bundles ---------- */
.bundles { background: var(--sage-soft); border-radius: var(--radius-lg); }
.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 640px) { .bgrid { grid-template-columns: 1fr; } }
.bcard {
  background: var(--surface); border-radius: var(--radius); padding: 26px 24px;
  border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 6px;
}
.bcard .bq { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--sage-deep); }
.bcard h3 { font-size: 25px; }
.bcard .bp { font-weight: 700; font-size: 22px; margin-top: 6px; }
.bcard .bp s { color: var(--muted); font-weight: 400; font-size: 16px; margin-left: 8px; }
.bcard p { color: var(--ink-soft); font-size: 14.5px; margin: 4px 0 0; }

/* ---------- story ---------- */
.story { background: var(--ink); color: #f3efe7; border-radius: var(--radius-lg); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; }
.story-grid .im { background: var(--card); min-height: 320px; }
.story-grid .im img { width: 100%; height: 100%; object-fit: cover; }
.story-grid .tx { padding: 52px 46px; align-self: center; }
.story-grid .tx h2 { color: #fff; font-size: clamp(25px, 3vw, 34px); }
.story-grid .tx p { color: #cfc9bd; font-size: 16px; margin-top: 18px; }
.story-grid .tx .sig { margin-top: 20px; font-family: var(--serif); font-style: italic; color: #97a68d; }
@media (max-width: 780px) { .story-grid { grid-template-columns: 1fr; } .story-grid .im { min-height: 220px; } .story-grid .tx { padding: 34px 26px; } }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--sage); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 18px; font-size: 15px; }

/* ---------- footer ---------- */
footer { background: var(--card); border-top: 1px solid var(--line); margin-top: 20px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding: 52px 0 30px; }
.foot .brand { font-size: 28px; }
.foot h4 { font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot a { display: block; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; padding: 4px 0; }
.foot a:hover { color: var(--ink); }
.foot p { color: var(--ink-soft); font-size: 14px; margin: 10px 0 0; max-width: 26em; }
.footbar { border-top: 1px solid var(--line); padding: 18px 0; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } .foot .brand { grid-column: 1 / -1; } }

/* ---------- product detail overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; display: none; }
.overlay.open { display: block; }
.overlay .scrim { position: absolute; inset: 0; background: rgba(30,28,24,.5); backdrop-filter: blur(2px); }
.sheet {
  position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--bg); animation: fadein .2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.pd-top { position: sticky; top: 0; z-index: 2; background: rgba(250,248,245,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); }
.pd-top .wrap { display: flex; align-items: center; height: 58px; gap: 14px; }
.backbtn { background: none; border: 0; font-size: 15px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; padding: 8px 0; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 34px 0 60px; }
@media (max-width: 820px) { .pd-grid { grid-template-columns: 1fr; gap: 24px; } }
.pd-gallery { border-radius: var(--radius-lg); overflow: hidden; background: var(--card); aspect-ratio: 4/3; box-shadow: var(--shadow); }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-size: clamp(30px, 4vw, 42px); }
.pd-info .tag { font-family: var(--serif); font-style: italic; color: var(--sage-deep); font-size: 18px; margin-top: 6px; }
.pd-info .pdprice { font-size: 26px; font-weight: 700; margin: 18px 0; }
.pd-info .desc { color: var(--ink-soft); font-size: 16px; }
.opt-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.colorpick { display: flex; gap: 10px; flex-wrap: wrap; }
.cw { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; padding: 0; }
.cw .dot { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s; }
.cw.sel .dot { outline-color: var(--sage); }
.cw .nm { font-size: 12px; color: var(--ink-soft); }
.cw:disabled { opacity: .35; }
.cw:disabled .nm::after { content: " (slut)"; }
.qtyrow { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { background: none; border: 0; width: 42px; height: 44px; font-size: 20px; color: var(--ink); }
.stepper span { min-width: 34px; text-align: center; font-weight: 600; }
.specs { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.specs h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.specs li { list-style: none; padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--ink-soft); }
.specs li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); }
.rendernote { font-size: 12.5px; color: var(--muted); margin-top: 18px; font-style: italic; }
.crosssell { margin-top: 40px; }
.crosssell h4 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.cs-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.cs-item { flex: 0 0 130px; cursor: pointer; }
.cs-item .im { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--card); }
.cs-item .im img { width: 100%; height: 100%; object-fit: cover; }
.cs-item .nm { font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.cs-item .pr { font-size: 13px; color: var(--muted); }

/* ---------- cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(30,28,24,.45); }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.drawer.open .panel { transform: translateX(0); }
.dhead { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid var(--line-soft); }
.dhead h3 { font-size: 22px; }
.dclose { background: none; border: 0; font-size: 26px; color: var(--muted); line-height: 1; padding: 4px; }
.freeship { padding: 14px 22px; background: var(--sage-soft); }
.freeship .msg { font-size: 13.5px; font-weight: 600; color: var(--sage-deep); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.fsbar { height: 7px; background: #dfe4d8; border-radius: 999px; overflow: hidden; }
.fsbar i { display: block; height: 100%; background: var(--sage); border-radius: 999px; transition: width .3s ease; }
.ditems { flex: 1; overflow-y: auto; padding: 8px 22px; }
.dline { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.dline .im { flex: 0 0 66px; height: 66px; border-radius: 12px; overflow: hidden; background: var(--card); }
.dline .im img { width: 100%; height: 100%; object-fit: cover; }
.dline .meta { flex: 1; min-width: 0; }
.dline .nm { font-weight: 600; font-size: 15px; }
.dline .cl { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; }
.dline .cl .sw { width: 12px; height: 12px; }
.dline .ctl { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.dline .mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.dline .mini button { background: none; border: 0; width: 30px; height: 30px; font-size: 16px; color: var(--ink); }
.dline .mini span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }
.dline .lp { font-weight: 700; font-size: 15px; }
.dline .rm { background: none; border: 0; color: var(--muted); font-size: 12.5px; text-decoration: underline; padding: 0; margin-top: 6px; }
.bump { margin: 8px 22px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 14px; display: flex; gap: 12px; align-items: center; }
.bump .im { flex: 0 0 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--card); }
.bump .im img { width: 100%; height: 100%; object-fit: cover; }
.bump .tx { flex: 1; }
.bump .tx b { font-size: 14px; }
.bump .tx div { font-size: 12.5px; color: var(--muted); }
.bump button { background: var(--sage); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.bundlehint { margin: 0 22px 8px; font-size: 13px; color: var(--sage-deep); background: var(--sage-soft); border-radius: 12px; padding: 10px 13px; }
.dfoot { border-top: 1px solid var(--line-soft); padding: 16px 22px 22px; }
.drow { display: flex; justify-content: space-between; font-size: 14.5px; padding: 4px 0; color: var(--ink-soft); }
.drow.save { color: var(--sage-deep); font-weight: 600; }
.drow.tot { font-size: 19px; font-weight: 700; color: var(--ink); padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line-soft); }
.dfoot .btn { margin-top: 14px; }
.dfoot .secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.cart-empty { text-align: center; padding: 60px 22px; color: var(--muted); }
.cart-empty svg { width: 44px; height: 44px; color: var(--line); margin-bottom: 14px; }

/* ---------- success / notice ---------- */
.notice { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 120;
  background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.notice.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.result-card { max-width: 560px; margin: 60px auto; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 40px 34px; box-shadow: var(--shadow); text-align: center; }
.result-card .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.result-card .ok svg { width: 30px; height: 30px; color: var(--sage); }
.result-card h1 { font-size: 30px; }
.result-card p { color: var(--ink-soft); margin: 14px 0 0; }
.result-items { text-align: left; margin: 24px 0; border: 1px solid var(--line-soft); border-radius: 14px; padding: 6px 16px; }
.result-items .ri { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.result-items .ri:last-child { border-bottom: 0; }

/* legal page */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 70px; }
.legal h1 { font-size: 34px; margin-bottom: 8px; }
.legal h2 { font-family: var(--serif); font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal .back { color: var(--sage-deep); text-decoration: none; font-weight: 600; font-size: 14px; }
