:root {
  --bg: #f7f1e8;
  --soft: #ece0d1;
  --card: #fffdf9;
  --ink: #2a211c;
  --muted: #70645a;
  --accent: #8b5e3c;
  --olive: #5f6f52;
  --clay: #b87d5a;
  --border: rgba(42, 33, 28, 0.12);
  --footer: #201814;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(57, 42, 32, 0.12);
  --font-body: "Manrope", system-ui, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 8% 8%, #fff9ef 0, var(--bg) 34%, #f2e8db 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}
body.menu-open, body.cart-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(95, 111, 82, 0.45); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 6vw, 92px);
  background: rgba(247, 241, 232, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--olive));
  color: #fff;
  font-weight: 800;
}
.brand strong { display: block; font-size: 0.92rem; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: 0.72rem; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 0.88rem; }
.nav-links a { color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-trigger, .button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 13px 20px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(139, 94, 60, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: none;
}
.button:hover, .cart-trigger:hover { transform: translateY(-2px); }
.button-small { padding: 11px 16px; font-size: 0.86rem; }
.button-ghost { background: var(--card); color: var(--accent); border: 1px solid var(--border); box-shadow: none; }
.button-muted { background: #e5dacd; color: var(--ink); box-shadow: none; }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  border-radius: 99px;
  background: #ead8c2;
  color: var(--accent);
  font-size: 0.78rem;
}
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.section-pad { padding: 96px clamp(18px, 8vw, 120px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(34px, 6vw, 86px);
  min-height: calc(100vh - 76px);
}
.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(139, 94, 60, 0.1);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h1, h2, h3 { margin: 0; line-height: 1.05; font-family: var(--font-head); letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(3.2rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4.1rem); }
h3 { font-size: 1.34rem; }
.hero-text, .section-heading p, .info-layout p { color: var(--muted); max-width: 760px; }
.hero-text { margin: 24px 0 0; font-size: 1.12rem; }
.hero-actions, .chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chips span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
}
.hero-visual { position: relative; }
.hero-visual > img {
  height: min(660px, 68vh);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.visual-card, .trust-stack {
  position: absolute;
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.visual-card {
  left: -38px;
  bottom: 36px;
  width: min(330px, 70%);
  padding: 20px;
}
.visual-card strong, .visual-card span { display: block; }
.visual-card span { color: var(--muted); margin-top: 7px; font-size: 0.92rem; }
.trust-stack { right: 22px; top: 22px; display: grid; gap: 8px; padding: 12px; }
.trust-stack span { padding: 9px 11px; border-radius: 12px; background: #f4eadf; font-size: 0.82rem; font-weight: 800; }

.section-heading { text-align: center; max-width: 790px; margin: 0 auto 44px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.soft-band { background: rgba(236, 224, 209, 0.72); }
.category-grid, .steps-grid, .policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.category-card, .step-card, .policy-card, .info-card, .contact-form, .product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.category-card, .step-card, .policy-card { padding: 28px; transition: transform 0.2s ease, border-color 0.2s ease; }
.category-card:hover, .policy-card:hover, .step-card:hover { transform: translateY(-5px); border-color: rgba(139, 94, 60, 0.32); }
.category-icon, .step-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: #ead8c2;
  color: var(--accent);
  font-weight: 900;
}
.category-card p, .step-card p, .policy-card p { color: var(--muted); margin-bottom: 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card .image-wrap { height: 230px; overflow: hidden; background: #e4d5c5; }
.product-card img { height: 100%; transition: transform 0.35s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.product-body p, .product-body li { color: var(--muted); font-size: 0.92rem; }
.product-body ul { padding-left: 19px; margin: 8px 0 16px; }
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.price { font-weight: 900; font-size: 1.16rem; }
.quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1e7dc;
  border-radius: 999px;
  padding: 5px;
}
.quantity button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--accent);
  font-weight: 900;
}
.quantity span { min-width: 20px; text-align: center; font-weight: 800; }
.product-body .button { width: 100%; margin-top: 16px; }

.editorial-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr 0.95fr;
  gap: 24px;
}
.editorial-card {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.editorial-card img { height: 70%; flex: 1; }
.editorial-card div { padding: 26px; }
.editorial-card p { color: var(--muted); margin-bottom: 0; }

.info-layout, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
}
.info-card { margin: 0; padding: 30px; }
.info-card div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-card div:last-child { border-bottom: 0; }
dt { color: var(--muted); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; }
dd { margin: 0; font-weight: 800; }
.policy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.disclaimer {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 18px 22px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--muted);
  background: rgba(255,255,255,0.55);
}

.contact-list { margin-top: 26px; color: var(--muted); }
.contact-list strong { color: var(--ink); }
.contact-form { padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; font-size: 0.9rem; }
input, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  resize: vertical;
}
.contact-form > label, .contact-form .button, .email-result { margin-top: 16px; }
.form-error { min-height: 24px; margin: 12px 0 0; color: #9b362d; font-weight: 800; }
.email-result {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.email-result p { color: var(--muted); }

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: flex-end;
  background: rgba(32, 24, 20, 0);
  pointer-events: none;
  transition: background 0.25s ease;
}
.cart-open .cart-drawer, .cart-drawer.is-open { background: rgba(32, 24, 20, 0.48); pointer-events: auto; }
.cart-panel {
  width: min(480px, 100vw);
  height: 100%;
  overflow: auto;
  background: var(--bg);
  padding: 26px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}
.cart-drawer.is-open .cart-panel { transform: translateX(0); }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.cart-head h2 { font-size: 2rem; }
.cart-head p { color: var(--muted); margin: 8px 0 0; }
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  font-weight: 900;
}
.cart-items { display: grid; gap: 14px; margin: 24px 0; }
.cart-line {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
}
.cart-line h3 { font-family: var(--font-body); font-size: 1rem; }
.cart-line-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }
.cart-line-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 13px; }
.remove-button { border: 0; background: transparent; color: #9b362d; font-weight: 900; }
.cart-empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--border); border-radius: 16px; }
.cart-total { display: flex; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--border); font-size: 1.1rem; }
.cart-actions { display: grid; gap: 10px; }

.site-footer { background: var(--footer); color: #f8f3ec; padding: 64px clamp(18px, 8vw, 120px) 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.site-footer h3 { font-family: var(--font-body); font-size: 1rem; }
.site-footer p, .site-footer a { display: block; color: rgba(248, 243, 236, 0.68); margin: 8px 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(248, 243, 236, 0.55);
  font-size: 0.85rem;
}

@media (max-width: 1180px) {
  .nav-links { position: fixed; inset: 72px 18px auto; display: grid; gap: 0; padding: 14px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); transform: translateY(-18px); opacity: 0; pointer-events: none; transition: 0.2s ease; }
  .nav-links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px; border-radius: 10px; }
  .nav-links a:hover { background: #f4eadf; }
  .menu-toggle { display: block; }
  .header-actions .button-small { display: none; }
  .hero, .info-layout, .contact-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 12px 16px; }
  .brand small { display: none; }
  .cart-trigger { padding: 10px 12px; font-size: 0.82rem; }
  .section-pad { padding: 68px 18px; }
  h1 { font-size: 3.2rem; }
  .hero { min-height: auto; }
  .hero-visual > img { height: 430px; border-radius: 24px; }
  .visual-card { left: 12px; bottom: 12px; width: calc(100% - 24px); }
  .trust-stack { position: static; margin-top: 12px; }
  .product-grid, .category-grid, .steps-grid, .policy-grid, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .info-card div { grid-template-columns: 1fr; gap: 5px; }
  .editorial-card { min-height: 390px; }
  .footer-bottom { flex-direction: column; }
}
