:root {
  --bg: #F6F1E6;
  --bg-alt: #EFE6CF;
  --panel: #FDFBF5;
  --border: #E3D9BE;
  --border-2: #DBCDA5;
  --green: #4B6B3A;
  --green-dark: #3A5230;
  --text: #33291F;
  --text-2: #4A3B2C;
  --muted: #6B4A31;
  --placeholder: #A8967A;
  --gold: #C7972B;
  --footer-bg: #33291F;
  --footer-text: #E7DCC3;
  --danger: #A13B2B;
  --serif: Georgia, 'Times New Roman', Cambria, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
::placeholder { color: var(--placeholder); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0 0 14px; }
p { line-height: 1.7; color: var(--text-2); }

/* Topbar + header */
.topbar { background: var(--green-dark); color: var(--bg); font-size: 13px; text-align: center; padding: 6px 12px; }
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: var(--panel); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50; flex-wrap: wrap; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 50%; background: var(--green); display: inline-block; position: relative; flex-shrink: 0; }
.brand-mark::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 22px; background: var(--bg); clip-path: ellipse(45% 50% at 50% 50%); transform: translate(-50%, -50%); }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 700; line-height: 1; display: block; }
.brand-sub { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; display: block; }

.nav-desktop { display: none; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.nav-link { color: var(--text); }
.nav-link.active, .nav-link:hover { color: var(--green); }
.nav-mobile { display: none; flex-direction: column; background: var(--panel); border-bottom: 1px solid var(--border); padding: 8px 24px 16px; }
.nav-mobile.open { display: flex; }
.nav-mobile-link { color: var(--text); padding: 10px 0; border-bottom: 1px solid #EFE6CF; font-size: 15px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.account-link { color: var(--text); font-size: 13px; font-weight: 600; }
.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: var(--bg); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.cart-link:hover { color: var(--bg); text-decoration: none; opacity: 0.92; }
.cart-badge { background: var(--gold); color: var(--text); border-radius: 999px; min-width: 18px; height: 18px; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }
.mobile-toggle { display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 6px; background: none; border: none; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text); display: block; }

@media (min-width: 900px) {
  .nav-desktop { display: flex !important; }
  .mobile-toggle { display: none !important; }
  .nav-mobile { display: none !important; }
}

/* Hero */
.hero { position: relative; padding: 64px 24px 56px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); z-index: 0; opacity: 0.55; }
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.eyebrow { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 18px; }
.lead { font-size: 18px; color: var(--text-2); line-height: 1.6; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px; padding: 14px 26px; text-decoration: none !important; }
.btn-primary { background: var(--green); color: var(--bg); }
.btn-primary:hover { background: var(--green-dark); color: var(--bg); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); padding: 12px 24px; }
.btn-outline:hover { background: var(--bg-alt); }
.btn-gold { background: var(--gold); color: var(--text); }
.btn-gold:hover { color: var(--text); opacity: 0.9; }
.btn-ghost { background: none; border: 1px solid #C9B48C; color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 12px; }
.btn-lg { padding: 14px; font-size: 15px; }
.btn-block { width: 100%; flex: 1; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Sections */
.section { max-width: 1160px; margin: 0 auto; padding: 48px 24px; }
.section.narrow { max-width: 720px; }
.section-title { font-size: 30px; text-align: center; margin-bottom: 24px; }

.benefits-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--border); margin: 0 0 8px; }
.benefit { background: var(--panel); padding: 22px 16px; text-align: center; font-size: 13px; font-weight: 700; color: var(--green); }

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.category-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-align: center; color: var(--text); }
.category-card:hover { text-decoration: none; border-color: var(--green); }
.category-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; margin-bottom: 12px; }
.category-name { font-weight: 700; font-size: 15px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; }
.card-img-link { display: block; }
.card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-weight: 700; font-size: 15px; color: var(--text); }
.card-title:hover { color: var(--green); }
.card-meta { color: var(--muted); font-size: 13px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.price { font-weight: 700; font-size: 16px; color: var(--green); }

.story-band { background: var(--bg-alt); padding: 48px 24px; }
.story-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: center; }
.story-img { border-radius: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.article-card { display: block; padding: 18px; color: var(--text); }
.article-card:hover { text-decoration: none; border-color: var(--green); }
.article-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.article-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.article-excerpt { color: var(--muted); font-size: 13px; line-height: 1.5; }
.article-body { line-height: 1.8; color: var(--text-2); font-size: 16px; }

.newsletter-band { background: var(--green); padding: 48px 24px; text-align: center; color: var(--bg); }
.newsletter-band h2 { color: var(--bg); margin: 0 0 10px; }
.newsletter-band p { opacity: 0.9; margin: 0 0 20px; font-size: 14px; color: var(--bg); }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 420px; margin: 0 auto; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 12px 16px; border-radius: 999px; border: none; font-size: 14px; }
.form-success { margin-top: 12px; font-size: 13px; background: var(--bg-alt); color: var(--green-dark); padding: 12px 16px; border-radius: 10px; }
.newsletter-band .form-success { background: transparent; color: var(--bg-alt); padding: 0; margin-top: 12px; }

/* Catalog */
.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }
.catalog-sidebar .sidebar-heading { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.cat-filter-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.cat-filter { text-align: left; cursor: pointer; padding: 6px 8px; border-radius: 8px; font-size: 14px; font-weight: 400; background: transparent; border: none; color: var(--text); font-family: inherit; }
.cat-filter.active { font-weight: 700; background: var(--bg-alt); }
.select { width: 100%; padding: 8px; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 24px; font-size: 13px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; cursor: pointer; }
.catalog-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; flex-wrap: wrap; gap: 8px; }
.catalog-head h1 { font-size: 30px; margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11px; color: var(--muted); }
.empty-state { padding: 40px; text-align: center; color: var(--muted); }

@media (max-width: 640px) {
  .catalog-layout, .product-grid-2col, .contact-layout, .legal-layout { grid-template-columns: 1fr !important; }
}

/* Product detail */
.product-detail .back-link { font-size: 13px; font-weight: 700; }
.product-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 20px; }
.product-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 16px; }
.award-pill { display: inline-block; background: var(--bg-alt); color: var(--muted); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.product-price { font-size: 26px; font-weight: 700; color: var(--green); margin-bottom: 4px; }
.product-desc { line-height: 1.6; color: var(--text-2); margin: 12px 0 18px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty-btn { border: none; background: var(--panel); width: 34px; height: 34px; cursor: pointer; font-size: 16px; }
.qty-value { width: 34px; text-align: center; font-weight: 700; display: inline-block; }
.notice { background: var(--bg-alt); border-left: 3px solid var(--gold); padding: 10px 14px; font-size: 12px; color: var(--text-2); margin-bottom: 16px; }
.product-specs { margin-top: 40px; border-top: 1px solid var(--border); padding-top: 24px; display: grid; gap: 14px; }
.product-specs span { color: var(--text-2); }

/* Cart / checkout */
.cart-item { display: flex; gap: 14px; align-items: center; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; }
.cart-item-meta { color: var(--muted); font-size: 12px; }
.cart-item-total { width: 70px; text-align: right; font-weight: 700; }
.cart-item-remove { border: none; background: none; color: var(--danger); cursor: pointer; font-size: 12px; }
.cart-summary { background: var(--bg-alt); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin: 20px 0; }
.summary-row { display: flex; justify-content: space-between; }
.summary-total { font-weight: 700; font-size: 17px; border-top: 1px solid var(--border-2); padding-top: 8px; }
.cart-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }

.form-stack { display: flex; flex-direction: column; gap: 14px; }
.input, .textarea, .file-input { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border); font-family: inherit; font-size: 14px; width: 100%; }
.textarea { min-height: 90px; resize: vertical; }
.input-row { display: flex; gap: 10px; }
.field-label { font-weight: 700; margin-top: 6px; }
.radio-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: var(--panel); }
.radio-row input { margin: 0; }
.tiny-link { font-size: 12px; text-align: center; }

.confirm-page { text-align: center; padding-top: 56px; padding-bottom: 56px; }
.confirm-icon { font-size: 44px; margin-bottom: 10px; }
.confirm-box { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; text-align: left; display: flex; flex-direction: column; gap: 6px; font-size: 14px; margin-top: 22px; }

/* Blog / about */
.about-banner { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 14px; margin-bottom: 24px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.step-card { padding: 16px; }
.step-title { font-weight: 700; margin-bottom: 6px; }
.step-desc { color: var(--text-2); font-size: 13px; line-height: 1.5; }
.awards-list { display: grid; gap: 10px; }
.award-row { display: flex; justify-content: space-between; gap: 12px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; flex-wrap: wrap; }
.award-title { font-weight: 700; font-size: 14px; }
.award-medal { font-size: 22px; }

/* Visit / stores / faq / contact */
.store-list { display: flex; flex-direction: column; gap: 12px; }
.store-card { padding: 16px; }
.store-name { font-weight: 700; font-size: 15px; }
.store-address { color: var(--text-2); font-size: 13px; margin: 4px 0; }
.link-arrow { font-weight: 700; font-size: 13px; }

.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 14px 16px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: none; border: none; font-family: inherit; font-size: 15px; color: var(--text); }
.faq-answer { padding: 0 16px 16px; color: var(--text-2); font-size: 14px; line-height: 1.6; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }

.tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.tab { flex: 1; padding: 10px; border-radius: 999px; border: 2px solid var(--green); background: transparent; color: var(--green); font-weight: 700; cursor: pointer; font-family: inherit; }
.tab.active { background: var(--green); color: var(--bg); }
.account-page { max-width: 420px; padding-top: 48px; }
.account-page h1 { font-size: 28px; text-align: center; }
.center-text { text-align: center; }

.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; }
.legal-nav { display: flex; flex-direction: column; gap: 4px; }
.legal-nav-link { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: var(--text); }
.legal-nav-link.active { font-weight: 700; background: var(--bg-alt); }
.legal-para { line-height: 1.7; color: var(--text-2); margin: 0 0 14px; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 40px 24px 20px; }
.footer-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-bottom: 28px; }
.footer-brand { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--bg); margin-bottom: 8px; }
.footer-grid p { color: var(--footer-text); font-size: 13px; line-height: 1.6; }
.footer-heading { font-weight: 700; color: var(--bg); margin-bottom: 8px; font-size: 13px; }
.footer-grid a { display: block; color: var(--footer-text); font-size: 13px; margin-bottom: 6px; }
.footer-bottom { max-width: 1160px; margin: 0 auto; border-top: 1px solid var(--text-2); padding-top: 16px; font-size: 11px; color: var(--placeholder); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.link-btn { background: none; border: none; color: var(--placeholder); text-decoration: underline; cursor: pointer; font-size: 11px; padding: 0; font-family: inherit; }

/* Cookie banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--panel); border-top: 2px solid var(--green); padding: 18px 24px; z-index: 100; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); }
.cookie-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-inner p { flex: 1; min-width: 220px; margin: 0; font-size: 13px; color: var(--text-2); }
.cookie-settings-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.cookie-settings-row label { display: flex; align-items: center; gap: 6px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
