:root{
  --bg: #FAF8F3;
  --ink: #21231F;
  --ink-soft: #5A5D55;
  --green: #2F5D50;
  --green-deep: #1E3D34;
  --rust: #C0704A;
  --line: #E3DFD3;
  --card: #FFFFFF;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height:1.5;
}
h1,h2,h3,.brand{ font-family:'Fraunces', serif; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

header{
  border-bottom:1px solid var(--line);
  position:sticky; top:0; background:rgba(250,248,243,0.92);
  backdrop-filter:blur(6px); z-index:10;
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:20px 0; }
.brand{ font-size:22px; font-weight:600; letter-spacing:0.2px; }
.brand span{ color:var(--green); }
.nav ul{ list-style:none; display:flex; gap:32px; font-size:14.5px; font-weight:500; }
.nav ul a:hover{ color:var(--green); }
.nav ul a.active{ color:var(--green); }
.nav-cta{
  background:var(--green); color:#fff; padding:10px 18px; border-radius:3px;
  font-size:14px; font-weight:600;
}
.nav-cart{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; color:var(--ink);
}
.nav-cart:hover{ color:var(--green); }
.nav-cart svg{ width:22px; height:22px; }
.cart-badge{
  position:absolute; top:-2px; right:-4px; background:var(--rust); color:#fff;
  font-size:11px; font-weight:700; min-width:17px; height:17px; border-radius:9px;
  display:flex; align-items:center; justify-content:center; padding:0 4px;
}

/* breadcrumb */
.breadcrumb{ font-size:13px; color:var(--ink-soft); padding:24px 0 0; }
.breadcrumb a:hover{ color:var(--green); }

/* hero (home) */
.hero{
  padding:72px 0 64px;
  border-bottom:1px solid var(--line);
}
.hero .wrap{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; }
.eyebrow{
  text-transform:uppercase; letter-spacing:1.5px; font-size:12px; font-weight:700;
  color:var(--rust); margin-bottom:16px;
}
.hero h1{ font-size:44px; font-weight:600; line-height:1.12; margin-bottom:20px; max-width:560px; }
.hero p{ font-size:16.5px; color:var(--ink-soft); max-width:460px; margin-bottom:28px; }
.hero-actions{ display:flex; gap:14px; }
.btn-primary{
  background:var(--green); color:#fff; padding:13px 24px; border-radius:3px; font-weight:600; font-size:14.5px;
  display:inline-block;
}
.btn-secondary{
  border:1px solid var(--ink); padding:13px 24px; border-radius:3px; font-weight:600; font-size:14.5px;
  display:inline-block;
}
.hero-visual{
  background:var(--green-deep); border-radius:6px; aspect-ratio:4/3.1; position:relative; overflow:hidden;
}
.hero-visual img{ width:100%; height:100%; object-fit:cover; opacity:0.88; }
.hero-tag{
  position:absolute; bottom:18px; left:18px; background:#fff; color:var(--ink);
  padding:10px 16px; border-radius:4px; font-size:13px; font-weight:600;
}

/* generic page header (non-home pages) */
.page-hero{ padding:48px 0 8px; }
.page-hero .eyebrow{ margin-bottom:10px; }
.page-hero h1{ font-size:34px; font-weight:600; margin-bottom:10px; }
.page-hero p{ color:var(--ink-soft); font-size:15px; max-width:560px; }

/* categories */
.cats{ padding:40px 0 8px; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:28px; }
.section-head h2{ font-size:26px; font-weight:600; }
.section-head p{ color:var(--ink-soft); font-size:14px; }
.cat-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; padding-bottom:56px; }
.cat-card{
  background:var(--card); border:1px solid var(--line); border-radius:6px; padding:22px 18px;
  text-align:center; transition:border-color .15s, box-shadow .15s, transform .15s;
  display:block; color:inherit; text-decoration:none;
}
.cat-card:hover{ border-color:var(--green); box-shadow:0 4px 14px rgba(47,93,80,0.12); transform:translateY(-2px); }
.cat-icon{ width:34px; height:34px; margin:0 auto 14px; color:var(--green); }
.cat-card span{ font-size:13.5px; font-weight:600; display:block; }
.cat-card p{ color:var(--ink-soft); font-size:12.5px; margin-top:6px; }

/* full categories page (wider cards with description) */
.cat-grid-full{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; padding:8px 0 64px; }
.cat-grid-full .cat-card{ text-align:left; padding:26px; }
.cat-grid-full .cat-icon{ margin:0 0 16px; }

/* products */
.products{ padding:8px 0 64px; }
.cat-filter-notice{
  display:none; background:#EFF3F0; border:1px solid var(--line); border-radius:5px;
  padding:10px 16px; font-size:13.5px; color:var(--ink-soft); margin-bottom:20px;
}
.cat-filter-notice.is-active{ display:block; }
.cat-filter-notice strong{ color:var(--ink); }
.cat-filter-notice a{ color:var(--green); font-weight:600; }
.prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.prod-card{
  background:var(--card); border:1px solid var(--line); border-radius:6px; overflow:hidden;
}
.prod-card a{ display:block; }
.prod-img{ aspect-ratio:1/1; background:#F0EDE4; overflow:hidden; }
.prod-img img{ width:100%; height:100%; object-fit:cover; }
.prod-body{ padding:16px 16px 18px; }
.prod-cat{ font-size:11px; text-transform:uppercase; letter-spacing:0.6px; color:var(--rust); font-weight:700; margin-bottom:6px; }
.prod-name{ font-size:14.5px; font-weight:600; margin-bottom:8px; min-height:38px; }
.prod-price{ font-size:15px; font-weight:700; color:var(--green-deep); }
.add-to-cart-mini{
  display:block; width:calc(100% - 32px); margin:0 16px 16px; padding:9px 12px;
  background:var(--green); color:#fff; border:none; border-radius:3px; font-weight:600; font-size:13px; cursor:pointer;
}
.add-to-cart-mini:hover{ background:var(--green-deep); }

/* trust strip */
.trust{ background:var(--green-deep); color:#fff; padding:40px 0; }
.trust .wrap{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.trust-item .num{ font-family:'Fraunces', serif; font-size:26px; font-weight:600; margin-bottom:4px; }
.trust-item .lbl{ font-size:12.5px; color:#C7D6D0; }

/* about */
.about{ padding:64px 0; border-bottom:1px solid var(--line); }
.about .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.about h2{ font-size:26px; font-weight:600; margin-bottom:18px; }
.about p{ color:var(--ink-soft); font-size:15px; margin-bottom:14px; }
.about-facts{ list-style:none; margin-top:20px; }
.about-facts li{ padding:10px 0; border-top:1px solid var(--line); font-size:14px; display:flex; justify-content:space-between; }
.about-facts li:last-child{ border-bottom:1px solid var(--line); }
.about-facts span:first-child{ color:var(--ink-soft); }
.about-facts span:last-child{ font-weight:600; }

/* about page extras */
.about-page-body{ padding:8px 0 64px; }
.about-page-body .wrap{ max-width:760px; }
.about-page-body h2{ font-size:22px; font-weight:600; margin:32px 0 12px; }
.about-page-body p{ color:var(--ink-soft); font-size:15px; margin-bottom:14px; line-height:1.75; }

/* legal / static text pages */
.legal{ padding:16px 0 72px; }
.legal .wrap{ max-width:740px; }
.legal .updated{ color:var(--ink-soft); font-size:13px; margin:6px 0 32px; }
.legal h2{ font-size:19px; font-weight:600; margin:28px 0 10px; }
.legal p, .legal li{ color:var(--ink-soft); font-size:14.5px; margin-bottom:10px; line-height:1.75; }
.legal ul{ padding-left:20px; }
.legal .placeholder-note{
  background:#FDF3EC; border:1px solid #EAD3C2; color:#8A4B29;
  padding:14px 16px; border-radius:5px; font-size:13.5px; margin-bottom:28px;
}

/* single product detail page */
.product-detail{ padding:8px 0 72px; }
.product-detail .wrap{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:flex-start; }
.product-gallery{ aspect-ratio:1/1; background:#F0EDE4; border-radius:6px; overflow:hidden; }
.product-gallery img{ width:100%; height:100%; object-fit:cover; }
.product-info h1{ font-size:30px; font-weight:600; margin:10px 0 14px; }
.product-price-lg{ font-size:24px; font-weight:700; color:var(--green-deep); margin-bottom:20px; }
.product-desc{ color:var(--ink-soft); font-size:15px; margin-bottom:24px; line-height:1.75; }
.spec-list{ list-style:none; margin-bottom:28px; }
.spec-list li{ display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid var(--line); font-size:14px; }
.spec-list li:last-child{ border-bottom:1px solid var(--line); }
.spec-list span:first-child{ color:var(--ink-soft); }
.spec-list span:last-child{ font-weight:600; text-align:right; }
.product-actions{ display:flex; gap:14px; }
.placeholder-note{
  background:#FDF3EC; border:1px solid #EAD3C2; color:#8A4B29;
  padding:12px 16px; border-radius:5px; font-size:13px; margin-bottom:20px;
}

/* contact section */
.contact-section{ padding:64px 0 72px; border-top:1px solid var(--line); }
.contact-section .wrap{ display:grid; grid-template-columns:1fr 1.15fr; gap:56px; align-items:start; }
.contact-intro h2{ font-size:26px; font-weight:600; margin-bottom:14px; }
.contact-intro p{ color:var(--ink-soft); font-size:15px; margin-bottom:14px; line-height:1.7; }
.contact-email{ font-weight:600; color:var(--green-deep); }
.contact-form{ display:flex; flex-direction:column; gap:16px; }
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-size:13px; font-weight:600; color:var(--ink); }
.form-row input, .form-row textarea{
  border:1px solid var(--line); border-radius:4px; padding:11px 13px; font-family:'Inter', sans-serif;
  font-size:14.5px; color:var(--ink); background:#fff; width:100%;
}
.form-row input:focus, .form-row textarea:focus{ outline:none; border-color:var(--green); }
.form-row textarea{ resize:vertical; min-height:120px; }
.contact-form button{ align-self:flex-start; border:none; cursor:pointer; }
.hidden{ display:none; }

/* cart page */
.cart-page{ padding:8px 0 72px; }
.cart-list{ display:flex; flex-direction:column; gap:16px; margin-bottom:32px; }
.cart-item{
  display:grid; grid-template-columns:64px 1fr auto auto auto; gap:16px; align-items:center;
  background:var(--card); border:1px solid var(--line); border-radius:6px; padding:14px 16px;
}
.cart-item-img{ width:64px; height:64px; border-radius:4px; overflow:hidden; background:#F0EDE4; }
.cart-item-img img{ width:100%; height:100%; object-fit:cover; }
.cart-item-name{ font-weight:600; font-size:14.5px; margin-bottom:4px; }
.cart-item-price{ color:var(--ink-soft); font-size:13px; }
.cart-item-qty{ display:flex; align-items:center; gap:6px; }
.qty-btn{ width:28px; height:28px; border:1px solid var(--line); background:#fff; border-radius:3px; font-size:15px; cursor:pointer; }
.qty-btn:hover{ border-color:var(--green); }
.qty-input{ width:42px; text-align:center; border:1px solid var(--line); border-radius:3px; padding:5px; font-size:14px; }
.cart-item-line-total{ font-weight:700; color:var(--green-deep); font-size:14.5px; min-width:70px; text-align:right; }
.cart-item-remove{ background:none; border:none; color:var(--rust); font-size:13px; font-weight:600; cursor:pointer; }
.cart-summary{ border-top:1px solid var(--line); padding-top:24px; }
.cart-subtotal-row{ display:flex; justify-content:space-between; font-size:18px; font-weight:700; margin-bottom:20px; }
.cart-actions{ display:flex; justify-content:space-between; gap:14px; }
.cart-empty{ text-align:center; padding:64px 0; color:var(--ink-soft); }
.cart-empty p{ margin-bottom:20px; font-size:15px; }

/* checkout page */
.checkout-page{ padding:8px 0 72px; }
.checkout-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:start; }
.order-summary{
  background:var(--card); border:1px solid var(--line); border-radius:6px; padding:24px;
}
.order-summary h2{ font-size:19px; font-weight:600; margin-bottom:16px; }
.order-summary-list{ display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.order-summary-row{ display:flex; justify-content:space-between; font-size:14px; color:var(--ink-soft); gap:12px; }
.order-summary-empty{ color:var(--ink-soft); font-size:14px; }
.order-summary-total{
  display:flex; justify-content:space-between; font-size:18px; font-weight:700;
  border-top:1px solid var(--line); padding-top:16px;
}
.payment-note{
  background:#EFF3F0; border:1px solid var(--line); color:var(--ink-soft);
  padding:14px 16px; border-radius:5px; font-size:13.5px; margin-bottom:20px;
}
.payment-note strong{ color:var(--ink); }
.pay-by-card-block{ margin-bottom:8px; }
.pay-by-card-block .btn-primary{ border:none; cursor:pointer; width:100%; text-align:center; }
.pay-by-card-block .btn-primary:disabled{ opacity:0.6; cursor:not-allowed; }
.test-mode-note{
  color:var(--rust); font-size:12.5px; font-weight:600; margin-top:8px; text-align:center;
}
.form-row-split{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }
.checkout-divider{
  display:flex; align-items:center; gap:12px; color:var(--ink-soft); font-size:13px;
  margin:24px 0; text-transform:uppercase; letter-spacing:0.6px;
}
.checkout-divider::before, .checkout-divider::after{ content:''; flex:1; height:1px; background:var(--line); }

/* footer */
footer{ padding:48px 0 40px; }
.foot-grid{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px; }
.foot-brand p{ color:var(--ink-soft); font-size:13.5px; margin-top:10px; max-width:280px; }
footer h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.6px; margin-bottom:14px; }
footer ul{ list-style:none; }
footer ul li{ margin-bottom:9px; font-size:14px; color:var(--ink-soft); }
footer ul li a:hover{ color:var(--green); }
.foot-bottom{ border-top:1px solid var(--line); padding-top:20px; display:flex; justify-content:space-between; font-size:12.5px; color:var(--ink-soft); }

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns:1fr; }
  .hero{ padding:44px 0; }
  .hero h1{ font-size:32px; }
  .nav ul{ display:none; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .cat-grid-full{ grid-template-columns:1fr; }
  .prod-grid{ grid-template-columns:repeat(2,1fr); }
  .trust .wrap{ grid-template-columns:repeat(2,1fr); }
  .about .wrap{ grid-template-columns:1fr; }
  .product-detail .wrap{ grid-template-columns:1fr; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .contact-section .wrap{ grid-template-columns:1fr; }
  .cart-item{ grid-template-columns:56px 1fr; grid-template-areas:"img body" "img qty" "img total" "img remove"; }
  .cart-item-img{ grid-area:img; }
  .cart-item-body{ grid-area:body; }
  .cart-item-qty{ grid-area:qty; }
  .cart-item-line-total{ grid-area:total; text-align:left; }
  .cart-item-remove{ grid-area:remove; justify-self:start; }
  .checkout-grid{ grid-template-columns:1fr; }
  .form-row-split{ grid-template-columns:1fr; }
}
