:root {
  --bg: #f7f2eb;
  --paper: #fffdf9;
  --ink: #2a2421;
  --muted: #6d625b;
  --line: #e4d9cc;
  --rust: #9a4b26;
  --rust-dark: #7b3a1c;
  --moss: #4f5b3c;
  --radius: 14px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

.ribbon { background: var(--ink); color: #f3e8dc; text-align: center; font-size: .85rem; padding: 7px 16px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px clamp(16px, 4vw, 48px); background: rgba(247, 242, 235, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--rust); }
.cart-btn { position: relative; background: none; border: 1px solid var(--line); border-radius: 999px; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
[hidden] { display: none !important; }
.cart-btn:hover { border-color: var(--rust); color: var(--rust); }
.cart-count { position: absolute; top: -5px; right: -5px; background: var(--rust); color: #fff; font-size: .72rem; font-weight: 600; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 13px 26px; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, color .15s; }
.btn-main { background: var(--rust); color: #fff; }
.btn-main:hover { background: var(--rust-dark); }
.btn-main:disabled { opacity: .6; cursor: wait; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--rust); color: var(--rust); }
.btn-wide { width: 100%; }

.hero { position: relative; min-height: min(78vh, 680px); display: grid; align-items: end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 18, 14, .72) 0%, rgba(25, 18, 14, .35) 45%, rgba(25, 18, 14, 0) 75%); }
.hero-text { position: relative; z-index: 1; max-width: 560px; padding: clamp(28px, 6vw, 72px) clamp(16px, 5vw, 64px); color: #fff; }
.hero-text h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
.hero-text p { font-size: 1.1rem; color: #f1e6da; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem !important; font-weight: 600; color: #f0c9a8 !important; margin: 0 0 8px; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.trust div { background: var(--paper); padding: 20px clamp(16px, 2.5vw, 32px); display: flex; flex-direction: column; }
.trust strong { font-size: .98rem; }
.trust span { color: var(--muted); font-size: .88rem; }

section { padding: clamp(48px, 7vw, 88px) clamp(16px, 5vw, 64px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; font: 500 .9rem var(--sans); cursor: pointer; color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(60, 35, 20, .12); }
.card[hidden] { display: none; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: #e9e0d5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.card-body p { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 600; font-size: 1.05rem; }
.tag { font-size: .76rem; color: var(--moss); background: #eef0e6; border-radius: 999px; padding: 3px 10px; }

.rust { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: #efe6db; }
.rust img { border-radius: var(--radius); }
.rust p { color: var(--muted); font-size: 1.05rem; }

.about, .faq { max-width: 820px; margin: 0 auto; }
.about p { font-size: 1.08rem; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--rust); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

.foot { background: var(--ink); color: #d9cdc1; padding: 48px clamp(16px, 5vw, 64px) 28px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #a99a8c; }
.foot a { display: block; text-decoration: none; padding: 3px 0; }
.foot a:hover { color: #fff; }
.foot-brand { color: #fff; margin-bottom: 8px; }
.fine { font-size: .8rem; color: #988a7e; border-top: 1px solid #443a35; margin-top: 32px; padding-top: 18px; }

/* product page */
.crumbs { padding: 18px clamp(16px, 5vw, 64px) 0; font-size: .88rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.product { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 56px); padding: 18px clamp(16px, 5vw, 64px) 72px; align-items: start; }
.gallery { position: sticky; top: 84px; }
.main-img { border-radius: var(--radius); overflow: hidden; background: #e9e0d5; aspect-ratio: 4 / 3; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 82px; height: 62px; border: 2px solid transparent; border-radius: 8px; padding: 0; overflow: hidden; cursor: pointer; background: none; opacity: .75; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--rust); opacity: 1; }
.info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.price.big { font-size: 1.7rem; margin: 0; }
.ship-line { color: var(--moss); font-weight: 500; margin: 2px 0 20px; }
.buy { display: grid; gap: 14px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 26px; }
.opts { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts legend { font-weight: 600; margin-bottom: 8px; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-weight: 500; }
.opt small { color: var(--muted); font-weight: 400; }
.opt input:checked + span { border-color: var(--rust); background: #fbf1ea; }
.opt input:focus-visible + span { outline: 2px solid var(--rust); outline-offset: 2px; }
.qty-row { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 44px; text-align: center; border: 0; font: 600 1rem var(--sans); background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.desc p { color: #4a403a; }
.info h2 { font-size: 1.25rem; margin-top: 26px; }
.details { padding-left: 20px; color: #4a403a; }
.details li { margin-bottom: 4px; }
.small { color: var(--muted); font-size: .95rem; }
.note { max-width: 640px; margin: 0 auto; text-align: center; padding: 96px 16px; }
.note p { color: var(--muted); font-size: 1.1rem; margin-bottom: 28px; }

/* cart drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(20, 14, 10, .45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 41; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, .15); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.4rem; }
.x { background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.empty { color: var(--muted); text-align: center; padding: 48px 0; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.line-name { font-weight: 600; font-size: .95rem; line-height: 1.3; text-decoration: none; }
.line-opt { color: var(--muted); font-size: .85rem; }
.line-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .9rem; }
.line-ctrl button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink); }
.line-ctrl .rm { width: auto; border: 0; color: var(--muted); text-decoration: underline; font-size: .82rem; border-radius: 0; }
.line-price { font-weight: 600; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.row { display: flex; justify-content: space-between; color: var(--muted); }
.row.total { color: var(--ink); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.pay-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 4px; }
.pay-icons span { font-size: .74rem; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--muted); }
.secure { text-align: center; font-size: .8rem; color: var(--muted); margin: 0; }
.cart-msg { background: #fbf1ea; border: 1px solid #ecd2c0; border-radius: 10px; padding: 10px 12px; font-size: .88rem; margin: 4px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 50; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

@media (max-width: 860px) {
  .nav { display: none; }
  .cart-btn { margin-left: auto; }
  .trust { grid-template-columns: 1fr 1fr; }
  .rust { grid-template-columns: 1fr; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product > * { min-width: 0; }
  .gallery { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-in > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hero { min-height: 520px; }
  .hero::after { background: linear-gradient(0deg, rgba(25, 18, 14, .8) 0%, rgba(25, 18, 14, .3) 60%, rgba(25, 18, 14, 0) 100%); }
  .trust div { padding: 14px 16px; }
  .opts { grid-template-columns: 1fr; }
  .brand span { font-size: 1.1rem; }
}
