
:root {
  --bg: #F7F3EC;
  --surface: #FFFDF8;
  --ink: #1F1B16;
  --primary: #3A4A3F;
  --primary-dk: #2A362E;
  --accent: #B2452F;
  --accent-dk: #8F3524;
  --muted: #8A8276;
  --line: #E4DDD0;
  --success: #4A6B54;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(178,69,47,0.03) 0%, transparent 35%),
    radial-gradient(circle at 85% 90%, rgba(58,74,63,0.04) 0%, transparent 40%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(247,243,236,0.9);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 500;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px; max-width: 1180px; margin: 0 auto; gap: 24px;
}
.logo {
  font-family: var(--serif); font-size: 32px; letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 10px; font-weight: 500;
}
.logo-mark {
  display: inline-block; width: 22px; height: 22px;
  background: var(--accent); border-radius: 50%;
  position: relative; top: 2px;
  box-shadow: inset -3px -3px 0 rgba(0,0,0,0.12);
}
.logo-sub {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.24em;
  color: var(--muted); text-transform: uppercase;
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink); transition: color .2s;
}
.nav a:hover { color: var(--accent); }
.header-actions { display: flex; gap: 14px; align-items: center; }
.lang-switch {
  display: flex; gap: 0; border: 1px solid var(--line);
  background: var(--surface);
}
.lang-switch button {
  border: none; background: none; padding: 8px 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  cursor: pointer; color: var(--muted); text-transform: uppercase;
  transition: all .2s;
}
.lang-switch button.active { background: var(--primary); color: var(--surface); }

.cart-btn {
  position: relative; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); width: 42px; height: 42px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .2s;
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-btn.pulse { animation: pulse 0.6s ease; }
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(178,69,47,0.6); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(178,69,47,0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(178,69,47,0); }
}
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--accent);
  color: var(--surface); font-family: var(--mono); font-size: 10px;
  min-width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 0;
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border: 1px solid var(--primary);
  background: var(--primary); color: var(--surface);
  transition: all .25s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--surface); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--surface); }
.btn-success { background: var(--success); border-color: var(--success); color: var(--surface); }
.btn-success:hover { background: var(--success); border-color: var(--success); color: var(--surface); }

/* Hero */
.hero { padding: 100px 0 120px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 90px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.98; letter-spacing: -0.01em; margin-bottom: 28px; font-weight: 500;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 500px; margin-bottom: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 26px;
}
.eyebrow:before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.hero-img {
  aspect-ratio: 4/5; background: var(--surface);
  border: 1px solid var(--line); overflow: hidden; position: relative;
}
.hero-img:after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--primary); opacity: 0.15;
  transform: translate(14px, 14px); pointer-events: none;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections */
section { padding: 100px 0; }
.section-title {
  font-family: var(--serif); font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.005em; margin-bottom: 18px; font-weight: 500;
  line-height: 1.1;
}
.section-sub { color: var(--muted); max-width: 620px; margin-bottom: 56px; font-size: 17px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature {
  padding: 36px 26px 32px; border-left: 1px solid var(--line);
  position: relative;
}
.feature:first-child { border-left: none; }
.feature:before {
  content: ""; position: absolute; top: 0; left: 26px;
  width: 24px; height: 2px; background: var(--accent);
}
.feature .num {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--muted); margin-bottom: 24px; display: block;
}
.feature h3 {
  font-family: var(--serif); font-size: 24px; margin-bottom: 12px;
  font-weight: 500; line-height: 1.2;
}
.feature p { color: var(--muted); font-size: 14px; }

/* Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.product-detail .hero-img { aspect-ratio: 1/1; }
.price-tag {
  font-family: var(--serif); font-size: 54px; margin: 26px 0;
  font-weight: 500; color: var(--ink); line-height: 1;
}
.price-tag:before {
  content: ""; display: inline-block; width: 20px; height: 1px;
  background: var(--accent); vertical-align: middle; margin-right: 14px;
  transform: translateY(-14px);
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; }
.badge {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 7px 12px;
  border: 1px solid var(--line); color: var(--muted); background: var(--surface);
}
.qty-row { display: flex; gap: 0; align-items: stretch; }
.qty-input {
  width: 88px; padding: 16px; border: 1px solid var(--primary);
  border-right: none; background: var(--surface);
  font-family: var(--mono); font-size: 14px; text-align: center;
  color: var(--ink);
}
.qty-input:focus { outline: none; background: var(--bg); }
.info-block { border-top: 1px solid var(--line); padding: 32px 0; }
.info-block h3 {
  font-family: var(--serif); font-size: 26px; margin-bottom: 16px;
  font-weight: 500;
}
.info-block ul { list-style: none; }
.info-block li {
  padding: 8px 0 8px 26px; position: relative; color: #3a352e;
  font-size: 15px;
}
.info-block li:before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 12px; height: 1px; background: var(--accent);
}

/* Recently added strip */
.recent-strip {
  margin-top: 24px; padding: 16px 20px;
  background: var(--surface); border-left: 3px solid var(--success);
  display: none; align-items: center; gap: 14px;
  animation: slideIn .4s ease;
}
.recent-strip.show { display: flex; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.recent-strip .check {
  width: 26px; height: 26px; background: var(--success); color: var(--surface);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; flex-shrink: 0;
}
.recent-strip .text { font-size: 13px; }
.recent-strip .text strong { font-weight: 600; }
.recent-strip .text span { color: var(--muted); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.review {
  padding: 40px 32px; border-left: 1px solid var(--line);
  background: var(--surface);
}
.review:first-child { border-left: none; }
.review .quote-mark {
  font-family: var(--serif); font-size: 60px; line-height: 0.6;
  color: var(--accent); margin-bottom: 12px;
}
.review p { font-size: 15px; margin-bottom: 20px; color: #3a352e; font-style: italic; }
.review .who {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}

/* Forms */
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 16px; border: 1px solid var(--line);
  background: var(--surface); font-family: var(--sans); font-size: 15px;
  color: var(--ink); border-radius: 0; transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 70px; }
.order-summary {
  background: var(--surface); border: 1px solid var(--line);
  padding: 36px; position: sticky; top: 110px;
}
.order-summary h3 {
  font-family: var(--serif); font-size: 26px; margin-bottom: 24px;
  font-weight: 500;
}
.order-row {
  display: flex; justify-content: space-between; padding: 12px 0;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.order-row.total {
  font-weight: 600; font-size: 22px; border-bottom: none; padding-top: 22px;
  font-family: var(--serif);
}

/* Cart page */
.cart-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 28px;
  align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.cart-item .thumb {
  width: 120px; height: 120px; background: var(--primary);
  overflow: hidden;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 {
  font-family: var(--serif); font-size: 24px; margin-bottom: 8px;
  font-weight: 500;
}
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .price {
  font-family: var(--serif); font-size: 26px; color: var(--ink);
  font-weight: 500;
}
.cart-remove {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; margin-top: 12px; padding: 0;
}
.empty-cart { text-align: center; padding: 120px 20px; }
.empty-cart h2 {
  font-family: var(--serif); font-size: 38px; margin-bottom: 24px;
  font-weight: 500; color: var(--ink);
}
.empty-cart p { color: var(--muted); margin-bottom: 28px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 28px 0; font-family: var(--serif); font-size: 24px;
  font-weight: 500; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; color: var(--ink); gap: 24px; line-height: 1.3;
}
.faq-icon {
  width: 28px; height: 28px; border: 1px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 16px; flex-shrink: 0;
  transition: all .3s; font-family: var(--sans);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg); background: var(--primary); color: var(--surface);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding-bottom: 28px; color: var(--muted); }

/* Prose / legal */
.prose { max-width: 780px; margin: 0 auto; }
.prose h1 {
  font-family: var(--serif); font-size: 54px; margin-bottom: 24px;
  font-weight: 500; line-height: 1.1;
}
.prose h2 {
  font-family: var(--serif); font-size: 28px; margin: 44px 0 14px;
  font-weight: 500; color: var(--primary);
}
.prose p { margin-bottom: 16px; color: #3a352e; }
.prose ul { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 8px; color: #3a352e; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); margin-top: 100px;
  padding: 80px 0 0; background: var(--surface);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 56px;
}
.footer-grid h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 22px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; color: #3a352e; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .logo { font-size: 36px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.trust-badges span {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em;
  padding: 6px 10px; border: 1px solid var(--line);
  text-transform: uppercase; color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--line); padding: 26px 0;
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); flex-wrap: wrap; gap: 10px;
}

/* ============ CART DRAWER ============ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(31,27,22,0.5);
  opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 900;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(460px, 100%);
  height: 100vh; background: var(--surface); z-index: 1000;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px rgba(0,0,0,0.15);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 32px; border-bottom: 1px solid var(--line);
}
.drawer-header h3 {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
}
.drawer-close {
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; color: var(--muted); font-size: 22px;
  line-height: 1; transition: color .2s;
}
.drawer-close:hover { color: var(--accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 32px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }
.drawer-item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center;
}
.drawer-item .thumb {
  width: 80px; height: 80px; background: var(--primary); overflow: hidden;
}
.drawer-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.drawer-item h4 {
  font-family: var(--serif); font-size: 19px; font-weight: 500;
  margin-bottom: 6px; line-height: 1.2;
}
.drawer-item .meta { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.drawer-item .price {
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  font-weight: 500; text-align: right;
}
.drawer-item .remove {
  background: none; border: none; color: var(--accent); cursor: pointer;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 8px; padding: 0;
}
.drawer-footer {
  padding: 26px 32px 30px; border-top: 1px solid var(--line);
  background: var(--bg);
}
.drawer-total {
  display: flex; justify-content: space-between; margin-bottom: 20px;
  align-items: baseline;
}
.drawer-total .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted);
}
.drawer-total .value {
  font-family: var(--serif); font-size: 32px; color: var(--ink);
  font-weight: 500;
}
.drawer-footer .btn { width: 100%; }
.drawer-footer .btn + .btn { margin-top: 10px; }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 32px; left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--ink); color: var(--surface);
  padding: 18px 26px; z-index: 2000;
  min-width: 320px; max-width: 92vw;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  transition: transform .45s cubic-bezier(0.4, 0, 0.2, 1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-icon {
  width: 34px; height: 34px; background: var(--success);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 15px;
  color: var(--surface);
}
.toast-body { flex: 1; }
.toast-title {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 4px; color: var(--accent);
}
.toast-sub { font-size: 13px; opacity: 0.92; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .product-detail, .checkout-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-top: 1px solid var(--line); border-left: none; }
  .feature:nth-child(-n+2) { border-top: none; }
  .feature:nth-child(2n) { border-left: 1px solid var(--line); }
  .reviews-grid { grid-template-columns: 1fr; }
  .review { border-left: none; border-top: 1px solid var(--line); padding: 32px 24px; }
  .review:first-child { border-top: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .hero { padding: 60px 0 80px; }
  section { padding: 70px 0; }
}
@media (max-width: 560px) {
  .feature-grid, .footer-grid { grid-template-columns: 1fr; }
  .feature { border-left: none !important; border-top: 1px solid var(--line); }
  .feature:first-child { border-top: none; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item .price { grid-column: 1 / -1; text-align: right; }
  .container { padding: 0 20px; }
  .header-inner { padding: 18px 20px; }
  .lang-switch button { padding: 7px 10px; }
}
