:root {
  --bg: #f3eee6;
  --surface: #fbf8f3;
  --ink: #1e1c1a;
  --ink-soft: #5c5650;
  --line: #ddd4c7;
  --iron: #2a2826;
  --iron-2: #3a3734;
  --rust: #a8481f;
  --rust-dark: #86391a;
  --ember: #e08a3c;
  --ok: #3f6b4a;
  --radius: 14px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(30,28,26,.06), 0 8px 24px rgba(30,28,26,.07);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 600; color: var(--rust); margin-bottom: .8em; }

/* Demo banner */
.demo-bar {
  background: var(--rust);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  padding: 7px 16px;
}

/* Header */
.site-header {
  background: var(--iron);
  color: #f3eee6;
  position: sticky; top: 0; z-index: 20;
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.logo svg { width: 30px; height: 30px; color: var(--ember); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; color: #d9d2c7; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--iron-2); }
.cart-link { position: relative; display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 8px 12px; border-radius: 8px; background: var(--iron-2); }
.cart-link svg { width: 20px; height: 20px; }
.cart-count { background: var(--ember); color: var(--iron); font-weight: 700; font-size: .75rem; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; padding: 0 6px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-left: auto; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--iron); padding: 8px 16px 16px; border-top: 1px solid var(--iron-2); }
  .nav.open { display: flex; }
  .cart-link { margin-left: 0; }
  .cart-link .label { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 13px 24px; font: 600 .95rem var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn-primary { background: var(--rust); color: #fff; }
.btn-primary:hover { background: var(--rust-dark); }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--iron); color: #fff; }
.btn-dark:hover { background: var(--iron-2); }
.btn:active { transform: translateY(1px); }
.btn-block { width: 100%; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% 110%, #5a2a15 0%, transparent 60%), var(--iron); color: #f3eee6; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero p { color: #cfc6b9; font-size: 1.1rem; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-art .glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(224,138,60,.55), rgba(224,138,60,0) 70%); filter: blur(10px); }
.hero-art svg { position: relative; width: 100%; height: 100%; color: #141312; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-art { max-width: 300px; }
}

/* USP strip */
.usps { background: var(--surface); border-bottom: 1px solid var(--line); }
.usps .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.usp { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.usp svg { width: 28px; height: 28px; color: var(--rust); flex: none; }
.usp strong { display: block; }
@media (max-width: 820px) { .usps .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .usps .wrap { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-arrow { color: var(--rust); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { position: relative; display: block; text-decoration: none; background: var(--iron); color: #f3eee6; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; padding: 22px; }
.cat svg { position: absolute; right: -10%; bottom: -6%; width: 85%; color: #121110; transition: transform .3s; }
.cat:hover svg { transform: scale(1.05) rotate(-3deg); }
.cat h3 { position: relative; margin: 0; }
.cat span { position: relative; font-size: .85rem; color: #b8afa3; }
.cat:nth-child(2) { background: #4a2416; }
.cat:nth-child(3) { background: #3b3a35; }
.cat:nth-child(4) { background: #6b3a20; }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr 1fr; } }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: linear-gradient(160deg, #efe6d9, #e2d5c3); text-decoration: none; }
.card-img svg { width: 72%; color: var(--iron); transition: transform .25s; }
.card:hover .card-img svg { transform: scale(1.05); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--rust); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.badge.new { background: var(--ok); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.card-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin: 4px 0 10px; text-decoration: none; }
.card-title:hover { color: var(--rust); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-weight: 700; font-size: 1.1rem; }
.price del { color: var(--ink-soft); font-weight: 400; font-size: .85em; margin-left: 6px; }
.add-btn { border: 0; background: var(--iron); color: #fff; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .15s; }
.add-btn:hover { background: var(--rust); }
.add-btn svg { width: 18px; height: 18px; }
.stars { color: var(--ember); font-size: .85rem; letter-spacing: 1px; }

/* Shop layout */
.page-head { background: var(--iron); color: #f3eee6; padding: 48px 0 40px; }
.page-head p { color: #cfc6b9; margin: 0; }
.crumbs { font-size: .85rem; color: #a99f92; margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.shop { display: grid; grid-template-columns: 230px 1fr; gap: 36px; padding: 40px 0 72px; }
.filters h3 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin: 0 0 10px; }
.filters ul { list-style: none; padding: 0; margin: 0 0 28px; }
.filters button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 12px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.filters button:hover { background: var(--surface); }
.filters button.active { background: var(--iron); color: #fff; }
.filters button small { opacity: .6; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
select, input, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--ember); outline-offset: 1px; border-color: transparent; }
@media (max-width: 820px) {
  .shop { grid-template-columns: 1fr; gap: 16px; }
  .filters ul { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .filters button { width: auto; background: var(--surface); }
  .filters .price-filter { display: none; }
}

/* Product detail */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 40px 0 72px; }
.pdp-gallery .main { aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(160deg, #efe6d9, #dccdb8); display: grid; place-items: center; }
.pdp-gallery .main svg { width: 70%; color: var(--iron); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs div { aspect-ratio: 1; border-radius: 10px; background: #e7ddcf; display: grid; place-items: center; }
.thumbs div:first-child { outline: 2px solid var(--rust); }
.thumbs svg { width: 60%; color: var(--iron-2); }
.thumbs div:nth-child(2) svg { transform: rotate(-25deg); }
.thumbs div:nth-child(3) svg { transform: scaleX(-1); }
.thumbs div:nth-child(4) svg { transform: rotate(20deg) scale(.85); }
.pdp-info .price { font-size: 1.8rem; margin: 8px 0 4px; }
.vat { font-size: .82rem; color: var(--ink-soft); margin-bottom: 20px; }
.qty-row { display: flex; gap: 12px; margin: 22px 0; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.qty button { background: none; border: 0; width: 42px; height: 46px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 42px; text-align: center; border: 0; background: none; padding: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-row .btn { flex: 1; }
.stock { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; font-size: .9rem; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.specs { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; color: var(--ink-soft); font-weight: 500; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
details summary::after { content: "+"; color: var(--rust); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--ink-soft); }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; gap: 28px; } }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding: 40px 0 72px; align-items: start; }
.cart-items { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { width: 84px; height: 84px; border-radius: 10px; background: #e7ddcf; display: grid; place-items: center; }
.cart-thumb svg { width: 70%; color: var(--iron); }
.cart-row .title { font-family: var(--serif); font-weight: 600; text-decoration: none; }
.remove { background: none; border: 0; color: var(--ink-soft); cursor: pointer; font-size: .85rem; padding: 0; text-decoration: underline; }
.summary { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; position: sticky; top: 92px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0 0 18px; }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 700; font-size: 1.2rem; border-top: 1px solid var(--line); padding-top: 12px; }
.empty { text-align: center; padding: 64px 20px; }
.empty svg { width: 120px; margin: 0 auto 18px; color: var(--line); }
@media (max-width: 820px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 64px 1fr; }
  .cart-thumb { width: 64px; height: 64px; }
  .cart-row .qty, .cart-row .line-total { grid-column: 2; }
  .summary { position: static; }
}

/* Content pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .art { aspect-ratio: 4/3; border-radius: var(--radius); background: radial-gradient(circle at 50% 70%, #e08a3c 0%, #a8481f 35%, #2a2826 75%); display: grid; place-items: center; }
.split .art svg { width: 55%; color: #141312; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.stat { background: var(--surface); border-radius: var(--radius); padding: 18px; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--rust); line-height: 1.1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 2.2rem; color: var(--rust); display: block; margin-bottom: 8px; }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
@media (max-width: 820px) {
  .split, .steps { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat b { font-size: 1.5rem; }
}

/* Quote / Newsletter */
.band { background: var(--iron); color: #f3eee6; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.band p { color: #cfc6b9; margin: 0; }
.band form { display: flex; gap: 10px; flex-wrap: wrap; }
.band input { flex: 1; min-width: 180px; background: var(--iron-2); border-color: #4a4642; color: #fff; border-radius: 999px; padding: 13px 18px; }
.band input::placeholder { color: #9d958a; }
@media (max-width: 820px) { .band { grid-template-columns: 1fr; padding: 30px 22px; } }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review p { font-family: var(--serif); font-size: 1.05rem; }
.review footer { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.form textarea { min-height: 140px; resize: vertical; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 14px; }
.contact-card svg { width: 26px; height: 26px; color: var(--rust); flex: none; margin-top: 2px; }
.contact-card p { margin: 0; color: var(--ink-soft); }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--iron); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; font-size: .92rem; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(20,19,18,.6); display: none; place-items: center; z-index: 60; padding: 16px; }
.modal.open { display: grid; }
.modal-box { background: var(--surface); border-radius: 18px; padding: 32px; max-width: 420px; text-align: center; }
.modal-box svg { width: 56px; height: 56px; color: var(--rust); margin: 0 auto 12px; }

/* Footer */
.site-footer { background: #171615; color: #a99f92; padding: 56px 0 28px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer h4 { color: #f3eee6; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #f3eee6; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid #2c2a28; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
