/* ==========================================================================
   Organized Haven Market — Main Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #2c6e49;
  --brand-dark: #1e4d34;
  --brand-light: #e8f5ee;
  --accent: #f4a261;
  --accent-dark: #e07b30;
  --ink: #14181f;
  --body: #4a5361;
  --muted: #7b8595;
  --line: #e4e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --ok: #1a8754;
  --ok-bg: #e6f5ee;
  --err: #d92d20;
  --err-bg: #fdeceb;
  --warn: #b54708;
  --warn-bg: #fff4e6;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 3px rgba(16,24,40,.07), 0 4px 14px rgba(16,24,40,.05);
  --shadow-lg: 0 8px 30px rgba(16,24,40,.12);
  --header-h: 70px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--brand-dark); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3rem; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-brand { background: var(--brand); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 9999; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Topbar ---------- */
.topbar { background: var(--brand-dark); color: #d4edda; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; flex-wrap: wrap; gap: 8px; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.topbar-links { display: flex; gap: 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.logo:hover { text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo-text { color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: flex; align-items: center; gap: 7px; padding: 8px 12px;
  border-radius: 9px; color: var(--ink); font-size: .88rem; font-weight: 600;
  text-decoration: none; background: none; border: 0; cursor: pointer; position: relative;
}
.icon-btn:hover { background: var(--bg-soft); text-decoration: none; color: var(--brand); }
.cart-count {
  position: absolute; top: 0; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--accent); color: #fff; border-radius: 999px; font-size: .7rem;
  font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.cart-count.is-zero { display: none; }
.menu-toggle { display: none; }

/* ---------- Nav ---------- */
.site-nav { border-top: 1px solid var(--line); background: #fff; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-list li { margin: 0; }
.nav-list a {
  display: block; padding: 12px 14px; font-size: .88rem; font-weight: 600;
  color: var(--body); text-decoration: none; border-bottom: 3px solid transparent;
  transition: color .15s;
}
.nav-list a:hover { color: var(--brand); background: var(--bg-soft); text-decoration: none; }
.nav-list a.active { color: var(--brand); border-bottom-color: var(--brand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 9px; border: 1.5px solid transparent;
  font-size: .94rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .08s;
  line-height: 1.2; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-light); }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; }
.btn-white:hover { background: var(--brand-light); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--line); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-lg { padding: 15px 32px; font-size: 1.02rem; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0e2f1e; }
.hero-slides { position: relative; min-height: clamp(380px, 50vw, 560px); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,30,20,.82) 0%, rgba(10,30,20,.55) 50%, rgba(10,30,20,.1) 100%);
}
.hero-slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; max-width: 640px; color: #fff; }
.hero-content h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: .4em; }
.hero-content p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-bottom: 1.6rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-eyebrow {
  display: inline-block; background: var(--accent); color: #fff;
  font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 9px; z-index: 3; }
.hero-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7);
  background: transparent; cursor: pointer; padding: 0; transition: background .2s;
}
.hero-dots button.active { background: #fff; border-color: #fff; }

/* ---------- Section headings ---------- */
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.02rem; }
.section-label {
  display: inline-block; background: var(--brand-light); color: var(--brand);
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}

/* ---------- Trust bar ---------- */
.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 20px 0; }
.trust-item svg { color: var(--brand); flex-shrink: 0; }
.trust-item strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.trust-item span { font-size: .8rem; color: var(--muted); }

/* ---------- Product cards (Bootstrap grid) ---------- */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .18s;
  position: relative; height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: #cfd8e3; transform: translateY(-3px); }
.product-media { position: relative; background: var(--bg-soft); aspect-ratio: 1/1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: .97rem; font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: 1.35; }
.product-desc { font-size: .85rem; color: var(--muted); margin: 0 0 16px; line-height: 1.55; flex: 1; }
.product-actions { margin-top: auto; }
.product-actions .btn { width: 100%; }

/* ---------- Service / category cards ---------- */
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 24px; text-align: center; transition: .2s; height: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.service-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand); transform: translateY(-4px); }
.service-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; font-size: 1.8rem;
}
.service-card h3 { font-size: 1.05rem; margin: 0 0 10px; }
.service-card p { font-size: .88rem; color: var(--muted); margin: 0 0 18px; flex: 1; }
.service-card .btn { margin-top: auto; }

/* ---------- About section ---------- */
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Why Choose Us ---------- */
.why-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.why-item:last-child { margin-bottom: 0; }
.why-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; margin: 0 0 4px; color: var(--ink); }
.why-item p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stat-card { text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.stat-card .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 8px; display: block; }
.stat-card span { font-size: .9rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; height: 100%; display: flex; flex-direction: column;
}
.testi-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: .95rem; color: var(--body); font-style: italic; flex: 1; margin-bottom: 20px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi-author strong { display: block; font-size: .92rem; color: var(--ink); }
.testi-author span { font-size: .8rem; color: var(--muted); }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: .2s;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1rem; margin: 0 0 10px; color: var(--ink); line-height: 1.4; }
.blog-card-body p { font-size: .87rem; color: var(--muted); flex: 1; margin: 0 0 14px; }
.blog-card-body a.read-more { font-size: .87rem; font-weight: 700; color: var(--brand); }
.blog-card-body a.read-more:hover { color: var(--brand-dark); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 18px 20px; background: none; border: 0; cursor: pointer;
  font-size: .96rem; font-weight: 700; color: var(--ink); display: flex;
  justify-content: space-between; align-items: center; gap: 14px; font-family: inherit; transition: background .15s;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q .chev { transition: transform .2s; flex-shrink: 0; color: var(--muted); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: .92rem; color: var(--body); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff; padding: 72px 0; text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; font-size: 1.02rem; }

/* ---------- Newsletter band ---------- */
.news-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 60px 0; }
.news-band h2 { color: #fff; }
.news-band p { color: rgba(255,255,255,.82); }
.news-form { display: flex; gap: 10px; max-width: 480px; margin-top: 20px; flex-wrap: wrap; }
.news-form input {
  flex: 1; min-width: 200px; padding: 13px 16px; border: 0; border-radius: 9px;
  font-family: inherit; font-size: .94rem; color: var(--ink);
}
.news-form input:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.news-msg { margin-top: 12px; font-size: .88rem; font-weight: 600; min-height: 20px; }

/* ---------- Page header ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 40px 0; }
.page-head h1 { margin: 0 0 8px; }
.page-head p { margin: 0; color: var(--muted); max-width: 720px; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .83rem; color: var(--muted); flex-wrap: wrap; }
.breadcrumb li { margin: 0; }
.breadcrumb li+li::before { content: '/'; margin-right: 8px; color: var(--line); }

/* ---------- Contact ---------- */
.contact-info-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: 0; }
.contact-ico {
  width: 44px; height: 44px; border-radius: 10px; background: var(--brand-light);
  color: var(--brand); display: grid; place-items: center; flex-shrink: 0;
}
.contact-info-item h4 { margin: 0 0 3px; font-size: .95rem; color: var(--ink); }
.contact-info-item p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: .87rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field .req { color: var(--err); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: inherit; font-size: .94rem; color: var(--ink); background: #fff; width: 100%;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.field .error-msg { font-size: .79rem; color: var(--err); margin-top: 5px; display: none; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); background: var(--err-bg); }
.field.has-error .error-msg { display: block; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.checkbox-row input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--brand); }
.checkbox-row label { font-size: .88rem; font-weight: 500; color: var(--body); margin: 0; }

/* ---------- Card ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.card + .card { margin-top: 20px; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: 9px; font-size: .9rem; margin-bottom: 18px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: #0d5b39; border-color: #a8dcc3; }
.alert-err { background: var(--err-bg); color: #912018; border-color: #f5b5b0; }
.alert-info { background: var(--brand-light); color: var(--brand-dark); border-color: #b9d4e9; }

/* ---------- Membership tiers ---------- */
.tier-card {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; height: 100%; position: relative;
}
.tier-card.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.tier-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .07em; text-transform: uppercase; padding: 5px 16px;
  border-radius: 999px; white-space: nowrap;
}
.tier-price { font-size: 2.2rem; font-weight: 800; color: var(--ink); line-height: 1.1; margin: 14px 0 4px; }
.tier-price small { font-size: .88rem; font-weight: 600; color: var(--muted); }
.tier-features { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; flex: 1; }
.tier-features li { display: flex; gap: 9px; font-size: .9rem; }
.tier-features li svg { flex-shrink: 0; margin-top: 2px; color: var(--ok); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; padding-bottom: .3em; border-bottom: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px; margin-bottom: 32px; }
.legal-toc h3 { margin: 0 0 10px; font-size: .96rem; }
.legal-toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 28px; }
.legal-toc li { font-size: .88rem; margin-bottom: 5px; break-inside: avoid; }
.updated { display: inline-block; background: var(--brand-light); color: var(--brand-dark); padding: 6px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 8px; }

/* ---------- Cart ---------- */
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item:first-child { padding-top: 0; }
.cart-img { width: 90px; height: 90px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.cart-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item-name { font-weight: 700; color: var(--ink); margin: 0 0 4px; font-size: .97rem; }
.cart-item-cat { font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { width: 33px; height: 36px; border: 0; background: #fff; color: var(--ink); font-size: 1.1rem; cursor: pointer; line-height: 1; display: grid; place-items: center; }
.qty button:hover { background: var(--bg-soft); color: var(--brand); }
.qty input { width: 46px; height: 36px; border: 0; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); text-align: center; font-family: inherit; font-size: .92rem; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.link-danger { background: none; border: 0; color: var(--err); font-size: .84rem; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.cart-price { text-align: right; font-weight: 800; color: var(--ink); font-size: 1.05rem; white-space: nowrap; }
.summary-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: 86px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; padding: 8px 0; }
.summary-row span:last-child { font-weight: 700; color: var(--ink); }
.summary-total { display: flex; justify-content: space-between; gap: 12px; border-top: 2px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.18rem; font-weight: 800; color: var(--ink); }
.promo-row { display: flex; gap: 8px; margin: 14px 0; }
.promo-row input { flex: 1; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px; font-family: inherit; font-size: .88rem; text-transform: uppercase; }
.promo-row input:focus { outline: none; border-color: var(--brand); }
.empty-state { text-align: center; padding: 72px 20px; }
.empty-state svg { color: var(--line); margin: 0 auto 20px; }
.empty-state h2 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Checkout ---------- */
.step-bar { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.step .num { width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--body); display: grid; place-items: center; font-size: .8rem; }
.step.active { color: var(--brand); }
.step.active .num { background: var(--brand); color: #fff; }
.step+.step::before { content: ''; width: 22px; height: 2px; background: var(--line); margin-right: 2px; }
.pay-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; transition: .15s; background: #fff; margin-bottom: 10px; }
.pay-option:hover { border-color: var(--brand); }
.pay-option.selected { border-color: var(--brand); background: var(--brand-light); }
.pay-option input { width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }
.pay-label { font-weight: 700; color: var(--ink); font-size: .92rem; }
.pay-sub { font-size: .79rem; color: var(--muted); display: block; font-weight: 500; }

/* ---------- Order confirmation ---------- */
.confirm-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; margin: 0 auto 22px; }
.order-meta dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.order-meta dd { margin: 0; font-weight: 700; color: var(--ink); font-size: .92rem; }

/* ---------- Newsletter page ---------- */
.tab-btns { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 28px; gap: 0; }
.tab-btn { background: none; border: 0; padding: 12px 24px; font-size: .95rem; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .15s; font-family: inherit; }
.tab-btn.active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.toast { background: var(--ink); color: #fff; padding: 14px 16px; border-radius: 10px; font-size: .9rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: toastIn .28s ease; font-weight: 600; }
.toast.ok { background: #0d5b39; }
.toast.err { background: #912018; }
.toast a { color: #fff; text-decoration: underline; font-weight: 700; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: #0d1f14; color: #8fa898; padding: 60px 0 0; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .92rem; margin: 0 0 16px; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #8fa898; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { font-size: .87rem; line-height: 1.65; }
.social { display: flex; gap: 9px; margin-top: 16px; }
.social a { width: 36px; height: 36px; border-radius: 9px; background: #1a2e1f; display: grid; place-items: center; color: #c5cedb; }
.social a:hover { background: var(--brand); color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid #1e3326; padding: 18px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .83rem; align-items: center; }
.footer-links-inline { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links-inline a { color: #8fa898; }
.footer-links-inline a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .summary-box { position: static; }
}
@media (max-width: 767px) {
  .menu-toggle { display: flex; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; padding: 6px 0; }
  .nav-list a { padding: 11px 4px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .nav-list a.active { border-left-color: var(--brand); }
  .topbar-links { display: none; }
  .topbar .container { justify-content: center; }
  .section { padding: 48px 0; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-img { width: 72px; height: 72px; }
  .cart-price { grid-column: 2; text-align: left; }
  .legal-toc ol { columns: 1; }
  .hero-content h1 { font-size: 1.8rem; }
}
@media (max-width: 575px) {
  .hero-slides { min-height: 300px; }
  .news-form { flex-direction: column; }
  .news-form input, .news-form .btn { width: 100%; }
  .step-bar { gap: 4px; }
  .tab-btn { padding: 10px 14px; font-size: .85rem; }
}
