@import url("../fonts/fonts.css");

:root{
  --green-darkest: oklch(0.2 0.04 155);
  --green-dark: oklch(0.26 0.05 155);
  --green: oklch(0.32 0.06 155);
  --green-soft-bg: oklch(0.94 0.03 140);
  --cream-bg: oklch(0.98 0.01 85);
  --cream-card: oklch(0.99 0.005 85);
  --cream-box: oklch(0.96 0.02 90);
  --text: oklch(0.22 0.02 150);
  --text-soft: oklch(0.35 0.02 140);
  --text-muted: oklch(0.5 0.02 140);
  --text-muted2: oklch(0.42 0.02 140);
  --border: oklch(0.88 0.02 100);
  --border-soft: oklch(0.85 0.02 100);
  --gold: oklch(0.75 0.09 85);
  --gold-text: oklch(0.85 0.09 95);
  --ok: oklch(0.4 0.1 150);
  --warn: oklch(0.5 0.1 30);
  --focus: oklch(0.5 0.09 85);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family:'Jost',sans-serif;
  background:var(--cream-bg);
  color:var(--text);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
::selection{ background: oklch(0.78 0.05 145); }
a{ color:var(--green); text-decoration:none; }
a:hover{ color:var(--focus); }
img{ max-width:100%; display:block; }
input,select,textarea,button{ font-family:'Jost',sans-serif; }
h1,h2,h3{ font-family:'Cormorant Garamond',serif; color:var(--green-dark); }
button{ cursor:pointer; }

@keyframes fadeIn{ from{ opacity:0; transform:translateY(6px);} to{ opacity:1; transform:translateY(0);} }
.fade-in{ animation:fadeIn .4s ease; }

.container{ max-width:1240px; margin:0 auto; padding:0 20px; width:100%; }
.main{ flex:1; width:100%; }

/* Top bar */
.topbar{
  background:var(--green-dark); color:oklch(0.94 0.02 90); font-size:13px;
  padding:6px 20px; display:flex; justify-content:center; gap:24px; flex-wrap:wrap; text-align:center;
}
.topbar a{ color:inherit; }

/* Header */
.site-header{ background:var(--cream-bg); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50; }
.header-row{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; padding:14px 20px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  width:42px; height:42px; border-radius:50%; background:var(--green);
  display:flex; align-items:center; justify-content:center; color:var(--gold-text);
  font-family:'Cormorant Garamond',serif; font-weight:700; font-size:20px; flex-shrink:0;
}
.brand-name{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:22px; line-height:1; color:var(--green-dark); }
.brand-tag{ font-size:11px; letter-spacing:.08em; color:var(--text-muted); text-transform:uppercase; }

.main-nav{ display:flex; gap:18px; flex-wrap:wrap; font-size:14.5px; flex:1; justify-content:center; }
.main-nav a.active{ font-weight:600; color:var(--green); }

.head-actions{ display:flex; align-items:center; gap:16px; font-size:14px; flex-wrap:wrap; }
.js-search-form{ display:inline-flex; margin:0; }
.search-input{
  border:1px solid var(--border-soft); border-radius:20px; padding:7px 14px;
  font-size:13px; width:150px; background:var(--cream-card);
}
.cart-link{ font-weight:600; color:var(--green); }

.menu-toggle{ display:none; background:none; border:1px solid var(--border-soft); border-radius:4px; padding:8px 10px; font-size:18px; }

/* Sections generic */
.page-section{ padding:32px 0 60px; }
.page-title{ font-size:30px; margin:0 0 20px; }
.page-title-lg{ font-size:32px; margin:0 0 18px; }
.section-title{ font-size:28px; margin:36px 0 18px; }
.section-title:first-child{ margin-top:0; }
.muted{ color:var(--text-muted); }
.small{ font-size:13px; }

/* Buttons */
.btn{ display:inline-block; border-radius:4px; font-size:15px; padding:14px 26px; border:none; text-align:center; }
.btn-primary{ background:var(--green); color:oklch(0.97 0.01 90); }
.btn-primary:hover{ background:var(--green-dark); color:oklch(0.97 0.01 90); }
.btn-outline{ background:transparent; color:var(--green); border:1.5px solid var(--green); }
.btn-outline:hover{ background:var(--green); color:white; }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 14px; font-size:13px; border-radius:4px; border:1.5px solid var(--border-soft); background:white; }
.btn-gold{ background:var(--gold); border:none; color:var(--green-darkest); font-weight:600; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* Hero */
.hero-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:36px; align-items:center; padding:56px 0 40px; }
.hero-grid h1{ font-size:44px; line-height:1.1; margin:0 0 18px; }
.hero-grid p{ font-size:16.5px; color:var(--text-muted2); line-height:1.6; max-width:480px; margin:0 0 26px; }
.hero-img{ height:340px; border-radius:8px; overflow:hidden; }
.hero-img img{ width:100%; height:100%; object-fit:cover; }

/* Photo placeholder blocks (fallback if no image loaded) */
.photo-box{ border-radius:8px; overflow:hidden; background:var(--green-soft-bg); }
.photo-box img{ width:100%; height:100%; object-fit:cover; }

/* Category grid */
.grid-categories{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; margin-bottom:44px; }
.category-card{ border:1px solid var(--border); border-radius:8px; padding:18px 12px; text-align:center; background:var(--cream-card); }
.category-card:hover{ border-color:var(--green); }
.category-img{ height:64px; border-radius:6px; margin-bottom:10px; overflow:hidden; }
.category-img img{ width:100%; height:100%; object-fit:cover; }
.category-label{ font-size:13.5px; font-weight:500; color:var(--text); }

/* Product grid & card */
.grid-products{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:20px; margin-bottom:44px; }
.product-card{ border:1px solid var(--border); border-radius:8px; overflow:hidden; background:var(--cream-card); display:flex; flex-direction:column; height:100%; }
.product-card-img{ height:150px; overflow:hidden; display:block; }
.product-card-img img{ width:100%; height:100%; object-fit:cover; }
.product-card-body{ padding:14px; display:flex; flex-direction:column; gap:6px; flex:1; }
.product-card-name{ font-size:14.5px; font-weight:600; line-height:1.3; color:var(--text); }
.product-card-cat{ font-size:12px; color:var(--text-muted); }
.product-card-price{ font-size:14px; font-weight:600; color:oklch(0.3 0.06 155); margin-top:2px; }
.product-card-avail{ font-size:11.5px; }
.avail-yes{ color:var(--ok); }
.avail-no{ color:var(--warn); }
.product-card-actions{ display:flex; gap:8px; margin-top:auto; padding-top:8px; }
.product-card-actions .btn{ flex:1; padding:9px; font-size:12.5px; }
.wish-btn{ background:white; border:1px solid var(--border-soft); padding:9px 11px; border-radius:4px; font-size:13px; }
.wish-btn.active{ color:oklch(0.5 0.1 30); border-color:oklch(0.5 0.1 30); }

/* Dayparts */
.dayparts-box{ background:var(--green-soft-bg); border-radius:10px; padding:32px; margin-bottom:44px; }
.dayparts-box h2{ font-size:26px; margin:0 0 16px; }
.dayparts-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
.daypart-item{ background:var(--cream-card); border-radius:6px; padding:14px; text-align:center; font-size:14px; border:1px solid oklch(0.87 0.02 100); }
.daypart-item:hover{ border-color:var(--green); }

/* Info split boxes */
.info-split{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:44px; }
.info-box{ border:1px solid var(--border); border-radius:10px; padding:26px; }
.info-box h3{ font-size:22px; margin:0 0 10px; }
.info-box p{ font-size:14.5px; color:var(--text-muted2); line-height:1.6; margin:0 0 14px; }
.info-box a{ font-weight:600; }

/* Newsletter */
.newsletter-box{ background:var(--green); border-radius:10px; padding:30px; margin-bottom:50px; display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; color:oklch(0.85 0.02 90); }
.newsletter-box h3{ font-size:22px; margin:0 0 6px; color:oklch(0.97 0.01 90); }
.newsletter-box p{ font-size:13.5px; margin:0; }
.newsletter-form{ display:flex; gap:8px; flex-wrap:wrap; }
.newsletter-form input{ padding:11px 14px; border-radius:4px; border:none; font-size:14px; width:220px; }
.newsletter-thanks{ color:oklch(0.9 0.05 95); font-size:14px; }

/* Forms (generic) */
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-grid .span-2{ grid-column:span 2; }
.field{ padding:11px; border:1px solid var(--border-soft); border-radius:4px; font-size:13.5px; width:100%; }
form h3{ font-size:15px; margin:0 0 12px; color:var(--text); font-family:'Jost',sans-serif; }
.field-stack{ display:flex; flex-direction:column; gap:10px; }
.checkbox-row{ font-size:12.5px; display:flex; gap:8px; align-items:flex-start; }
.radio-card{ display:flex; gap:10px; align-items:center; padding:12px; border:1px solid var(--border); border-radius:6px; margin-bottom:10px; cursor:pointer; }

/* Shop layout */
.shop-layout{ display:grid; grid-template-columns:220px 1fr; gap:28px; align-items:start; }
.filters-aside{ border:1px solid var(--border); border-radius:8px; padding:18px; position:sticky; top:90px; }
.filters-aside .fa-title{ font-weight:600; font-size:14px; margin-bottom:10px; }
.filters-aside .fa-link{ cursor:pointer; font-size:13.5px; padding:5px 0; display:block; }
.filters-aside .fa-link.active{ color:var(--green); font-weight:600; }
.filters-aside select{ width:100%; padding:6px; font-size:13px; border:1px solid var(--border-soft); border-radius:4px; }
.filters-aside label{ display:flex; align-items:center; gap:6px; margin-top:10px; font-size:13px; }
.filter-count{ font-size:13px; color:var(--text-muted); margin-bottom:14px; }
.no-results{ padding:40px 0; color:var(--text-muted); font-size:14.5px; }

/* Product detail */
.product-detail-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.breadcrumb{ font-size:13px; color:var(--text-muted); margin-bottom:16px; }
.product-photo{ height:380px; border-radius:8px; overflow:hidden; }
.product-photo img{ width:100%; height:100%; object-fit:cover; }
.product-sku{ font-size:13px; color:oklch(0.55 0.02 140); margin-bottom:6px; }
.product-origname{ font-size:13px; color:oklch(0.55 0.02 140); margin-bottom:14px; font-style:italic; }
.product-price{ font-size:26px; font-weight:600; color:oklch(0.3 0.06 155); margin-bottom:4px; }
.product-per100{ font-size:12.5px; color:oklch(0.55 0.02 140); margin-bottom:18px; }
.mass-options{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.mass-btn{ background:white; color:oklch(0.3 0.03 150); border:1.5px solid var(--border-soft); padding:9px 14px; border-radius:4px; font-size:13px; }
.mass-btn.selected{ background:var(--green); color:white; border-color:var(--green); }
.product-avail{ font-size:13px; margin-bottom:20px; }
.spec-table{ width:100%; border-collapse:collapse; font-size:13.5px; }
.spec-table td{ padding:6px 0; }
.spec-table td:first-child{ color:var(--text-muted); width:44%; }
.prep-box{ background:var(--green-soft-bg); border-radius:10px; padding:28px; margin-top:36px; }
.prep-box h2{ font-size:22px; margin:0 0 16px; }
.prep-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:16px; font-size:13.5px; }
.prep-grid .label{ color:var(--text-muted); font-size:12px; }
.prep-grid .value{ font-weight:600; }
.cold-note{ margin-top:16px; padding-top:16px; border-top:1px solid oklch(0.85 0.04 140); font-size:13.5px; }

/* Cart */
.cart-layout{ display:grid; grid-template-columns:1fr 320px; gap:32px; align-items:start; }
.cart-line{ display:grid; grid-template-columns:70px 1fr auto; gap:14px; align-items:center; padding:14px 0; border-bottom:1px solid oklch(0.9 0.02 100); }
.cart-line-img{ width:70px; height:70px; border-radius:6px; overflow:hidden; }
.cart-line-img img{ width:100%; height:100%; object-fit:cover; }
.cart-line-name{ font-weight:600; font-size:14.5px; }
.cart-line-meta{ font-size:12.5px; color:var(--text-muted); }
.qty-row{ display:flex; align-items:center; gap:8px; margin-top:8px; }
.qty-btn{ width:26px; height:26px; border:1px solid var(--border-soft); background:white; border-radius:4px; }
.cart-line-total{ font-weight:600; font-size:15px; }
.remove-link{ cursor:pointer; font-size:12.5px; color:oklch(0.5 0.08 30); margin-left:10px; }
.cart-summary{ border:1px solid var(--border); border-radius:8px; padding:22px; }
.summary-row{ display:flex; justify-content:space-between; font-size:13.5px; margin-bottom:8px; }
.summary-total{ display:flex; justify-content:space-between; font-size:17px; font-weight:700; padding-top:12px; border-top:1px solid var(--border); margin-bottom:16px; }
.cart-empty{ padding:40px 0; text-align:center; }

/* Checkout */
.checkout-box{ max-width:640px; }
.checkout-step-label{ font-size:13px; color:var(--text-muted); margin-bottom:24px; }
.delivery-note{ font-size:13.5px; padding:12px; border:1px solid var(--border); border-radius:6px; }
.pay-summary{ background:var(--cream-box); border-radius:8px; padding:16px; margin-bottom:18px; }
.pay-summary .summary-total{ border-top:1px solid oklch(0.88 0.03 90); font-size:16px; padding-top:8px; margin-bottom:0; }

/* Confirmation */
.confirm-box{ padding:60px 0; text-align:center; max-width:520px; margin:0 auto; }
.confirm-check{ width:56px; height:56px; border-radius:50%; background:var(--green); color:white; display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 18px; }
.confirm-details{ text-align:left; background:var(--cream-box); border-radius:8px; padding:18px; margin-bottom:24px; font-size:13.5px; }
.confirm-details div{ margin-bottom:4px; }

/* Account */
.account-box{ max-width:480px; }
.account-panel{ border:1px solid var(--border); border-radius:8px; padding:20px; margin-bottom:16px; }

/* News / Article */
.news-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; }
.news-card{ border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.news-card-img{ height:120px; overflow:hidden; }
.news-card-img img{ width:100%; height:100%; object-fit:cover; }
.news-card-body{ padding:14px; }
.news-card-title{ font-size:14.5px; font-weight:600; margin-bottom:6px; }
.news-card-excerpt{ font-size:12.5px; color:var(--text-muted); }
.article-box{ max-width:720px; }
.article-hero{ height:220px; border-radius:8px; margin:22px 0; overflow:hidden; }
.article-hero img{ width:100%; height:100%; object-fit:cover; }
.article-body{ font-size:15px; line-height:1.75; color:var(--text-soft); white-space:pre-line; }

/* About */
.about-box{ max-width:760px; }
.about-photo{ height:260px; border-radius:8px; margin-bottom:22px; overflow:hidden; }
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-box p{ font-size:15px; line-height:1.75; color:var(--text-soft); margin-bottom:14px; }

/* Stores */
.stores-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.store-card{ border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.store-card-img{ height:140px; overflow:hidden; }
.store-card-img img{ width:100%; height:100%; object-fit:cover; }
.store-card-body{ padding:18px; }
.store-card-body h3{ font-size:16px; margin:0 0 8px; }
.store-card-body div{ font-size:13.5px; color:var(--text-muted2); line-height:1.7; }

/* Buy / Taste listing */
.list-stack{ display:flex; flex-direction:column; gap:14px; }
.list-item{ border:1px solid var(--border); border-radius:8px; padding:16px 20px; }
.list-item.flex{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.list-item .name{ font-weight:600; font-size:14.5px; }
.list-item .addr{ font-size:13px; color:var(--text-muted2); }
.list-item .fineprint{ font-size:12.5px; color:var(--text-muted); margin-top:2px; }
.list-item .map-link{ font-size:13px; font-weight:600; }

/* FAQ */
.faq-item{ border-bottom:1px solid var(--border); padding:14px 0; }
.faq-q{ cursor:pointer; display:flex; justify-content:space-between; font-size:14.5px; font-weight:500; background:none; border:none; width:100%; text-align:left; color:var(--text); }
.faq-a{ font-size:14px; color:var(--text-muted2); line-height:1.6; margin:10px 0 0; display:none; }
.faq-item.open .faq-a{ display:block; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:36px; }
.contact-info{ font-size:14px; color:var(--text-muted2); line-height:1.7; margin-bottom:18px; }
.contact-map{ height:340px; border-radius:8px; overflow:hidden; border:0; width:100%; }
.contact-thanks{ background:var(--green-soft-bg); padding:16px; border-radius:6px; font-size:14px; }

/* Legal */
.legal-layout{ display:grid; grid-template-columns:230px 1fr; gap:28px; align-items:start; }
.legal-nav{ border:1px solid var(--border); border-radius:8px; padding:16px; position:sticky; top:90px; }
.legal-nav a{ cursor:pointer; font-size:13px; padding:6px 0; display:block; color:var(--text); }
.legal-nav a.active{ color:var(--green); font-weight:600; }
.legal-content{ font-size:14px; line-height:1.75; color:var(--text-soft); max-width:640px; white-space:pre-line; }
.legal-content h1{ font-size:26px; margin:0 0 16px; }

/* Footer */
.site-footer{ background:var(--green-darkest); color:oklch(0.85 0.02 90); margin-top:20px; }
.footer-grid{ max-width:1240px; margin:0 auto; padding:44px 20px 20px; display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:28px; }
.footer-brand{ font-family:'Cormorant Garamond',serif; font-weight:700; font-size:20px; color:white; margin-bottom:10px; }
.footer-desc{ font-size:12.5px; line-height:1.7; opacity:.85; }
.footer-col-title{ font-weight:600; font-size:13px; margin-bottom:10px; color:white; }
.footer-links{ display:flex; flex-direction:column; gap:6px; font-size:12.5px; }
.footer-links a{ color:oklch(0.85 0.02 90); }
.footer-contact{ font-size:12.5px; line-height:1.8; opacity:.9; }
.footer-bottom{ border-top:1px solid oklch(0.3 0.03 150); padding:16px 20px; font-size:11.5px; opacity:.7; text-align:center; }

/* Cookie banner */
.cookie-banner{ position:fixed; bottom:0; left:0; right:0; background:var(--cream-card); border-top:1px solid var(--border-soft); padding:18px 20px; box-shadow:0 -4px 16px oklch(0 0 0 / 0.08); z-index:100; }
.cookie-inner{ max-width:1100px; margin:0 auto; }
.cookie-main{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.cookie-main p{ font-size:13.5px; margin:0; max-width:560px; }
.cookie-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.cookie-settings-title{ font-weight:600; font-size:14px; margin-bottom:10px; }
.cookie-prefs-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:10px; margin-bottom:14px; }
.cookie-prefs-grid label{ font-size:12.5px; display:flex; gap:6px; align-items:center; }

/* Utility */
.hidden{ display:none !important; }

@media (max-width: 900px){
  .hero-grid, .info-split, .product-detail-grid, .cart-layout, .contact-grid, .stores-grid{ grid-template-columns:1fr; }
  .shop-layout, .legal-layout{ grid-template-columns:1fr; }
  .filters-aside, .legal-nav{ position:static; }
  .menu-toggle{ display:inline-block; }
  .main-nav{ order:3; width:100%; justify-content:flex-start; overflow-x:auto; gap:14px; display:flex; }
  .main-nav.hidden{ display:none !important; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns:1fr; }
  .hero-grid h1{ font-size:34px; }
  .search-input{ width:110px; }
}
