/* Always Good Store - styles
   Colors and fonts are set here and used across the whole site. */
:root {
  --forest: #1E4D3A;
  --forest-dark: #143628;
  --night: #0F2A20;
  --gold: #E0A526;
  --gold-soft: #FBEFD2;
  --blush: #F6DDD6;
  --blush-soft: #FCF1EE;
  --sage: #E6EFE8;
  --cream: #FBF8F2;
  --ink: #1C2420;
  --muted: #5B665F;
  --line: #E3E1D8;
  --white: #FFFFFF;
  --radius: 14px;
  --head: "Bricolage Grotesque", Georgia, sans-serif;
  --body: "Figtree", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--forest-dark); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 12px; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 14px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Icons */
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic.sm { width: 16px; height: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border: 2px solid var(--forest); border-radius: 10px; background: var(--forest); color: var(--white); font: 600 15px var(--body); cursor: pointer; }
.btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: var(--white); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--night); }
.btn.gold:hover { background: #C98F14; border-color: #C98F14; color: var(--night); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); }
.btn.ghost:hover { border-color: var(--white); }
.btn.full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.text-link.light { color: var(--gold); }
.kicker { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 5px 12px; border-radius: 99px; background: var(--sage); color: var(--forest); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.kicker.light { background: rgba(255,255,255,.12); color: var(--gold); }

/* Top bar and header */
.topbar { background: var(--night); color: #D6E3DA; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 20px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: #D6E3DA; }
.topbar-right { gap: 20px !important; }
.topbar .ic { color: var(--gold); }
.header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.logo img { width: 230px; }
.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.main-nav a:hover { background: var(--sage); }
.main-nav a.on { color: var(--forest); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: var(--forest); color: var(--white); font-weight: 600; }
.cart-btn:hover { color: var(--white); background: var(--forest-dark); }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--night); font-size: 13px; font-weight: 700; display: inline-grid; place-items: center; }
.menu-btn { display: none; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); cursor: pointer; }

/* Hero: photo bleeds to the left edge, forest panel on the right */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; background: var(--forest); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--white); font-weight: 700; font-size: 14px; }
.hero-chip .ic { color: var(--gold); fill: var(--gold); }
.hero-panel { display: flex; align-items: center; padding: 60px 48px; color: #E4EEE7; background: radial-gradient(circle at 90% 10%, rgba(224,165,38,.18), transparent 40%), var(--forest); }
.hero-text { max-width: 520px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-text > p { font-size: 18px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.hero-list { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.hero-list li { display: inline-flex; align-items: center; gap: 6px; }
.hero-list .ic { color: var(--gold); }

/* Promise strip */
.promises { background: var(--blush); }
.promise-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.promise { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-left: 1px solid rgba(30,77,58,.15); }
.promise:first-child { border-left: 0; }
.promise .ic { width: 34px; height: 34px; color: var(--forest); }
.promise h3 { margin: 0; font-size: 16px; }
.promise p { margin: 0; color: var(--muted); font-size: 14px; }

/* Sections */
.section { padding: 76px 0; }
.section.pt0 { padding-top: 0; }
.section.sage { background: var(--sage); }
.section.blush { background: var(--blush-soft); }
.section.deep { background: var(--forest-dark); color: #D6E3DA; }
.section.deep h2 { color: var(--white); }
.section.deep .kicker { background: rgba(255,255,255,.12); color: var(--gold); }
.sec-head { max-width: 620px; margin-bottom: 34px; }
.sec-head.center { margin: 0 auto 38px; text-align: center; }
.sec-head p { color: var(--muted); margin: 0; }
.section.deep .sec-head p { color: #B9CBBF; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 34px; }
.row-head .sec-head { margin-bottom: 0; }

/* Departments */
.dept-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.dept:hover { border-color: var(--forest); color: var(--ink); box-shadow: 0 8px 22px rgba(20,54,40,.08); }
.dept-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--forest); flex-shrink: 0; }
.dept:hover .dept-ic { background: var(--forest); color: var(--gold); }
.dept-text { flex: 1; }
.dept-text strong { display: block; font-family: var(--head); font-size: 17px; }
.dept-text small { color: var(--muted); font-size: 14px; }
.dept .go { color: var(--forest); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.three { grid-template-columns: repeat(3, 1fr); }
.product { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); overflow: hidden; border: 1px solid var(--line); color: var(--ink); }
.product-img { aspect-ratio: 1 / 1; background: var(--white); padding: 14px; border-bottom: 1px solid var(--line); }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.p-dept { color: var(--forest); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.product h3 { font-size: 16px; margin-bottom: 8px; }
.product p { color: var(--muted); font-size: 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px dashed var(--line); }
.price { font-family: var(--head); font-size: 20px; font-weight: 800; color: var(--forest-dark); }
.add-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 8px; background: var(--gold); color: var(--night); font: 700 14px var(--body); cursor: pointer; }
.add-btn:hover { background: #C98F14; }
.add-btn.added { background: var(--forest); color: var(--white); }

/* Story split */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.story-img { position: relative; padding: 0 18px 18px 0; }
.story-img::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: var(--radius); background: var(--gold-soft); border: 2px solid var(--gold); }
.story-img img { position: relative; border-radius: var(--radius); width: 100%; }
.story-text > p { color: var(--muted); }
.good-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 16px; }
.good-list li { display: flex; gap: 14px; }
.good-list span { width: 38px; height: 38px; border-radius: 50%; background: var(--forest); color: var(--gold); display: grid; place-items: center; font-family: var(--head); font-weight: 800; flex-shrink: 0; }
.good-list h3 { margin-bottom: 2px; }
.good-list p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--forest); }
.step-no { display: block; font-family: var(--head); font-size: 34px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

/* Testimonials: one large card and two stacked cards */
.testi-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 22px; }
.testi { margin: 0; padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid #F0D9D2; display: flex; flex-direction: column; }
.testi.big { grid-row: span 2; background: var(--forest); border-color: var(--forest); color: #E4EEE7; justify-content: center; }
.testi blockquote { margin: 12px 0 18px; font-size: 16px; flex: 1; }
.testi.big blockquote { font-family: var(--head); font-size: 24px; line-height: 1.4; color: var(--white); flex: 0; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .ic { fill: var(--gold); }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption strong { display: block; }
.testi figcaption small { color: var(--muted); }
.testi.big figcaption small { color: #B9CBBF; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--forest-dark); display: grid; place-items: center; font-weight: 700; }
.testi.big .avatar { background: var(--gold); color: var(--night); }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.post-body h3 a { color: var(--ink); }
.post-body p { color: var(--muted); font-size: 15px; flex: 1; }

/* Newsletter */
.news { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 20px; overflow: hidden; background: var(--forest); }
.news-text { padding: 48px; color: #D6E3DA; }
.news-text h2 { color: var(--white); }
.news img { width: 100%; height: 100%; object-fit: cover; }
.news-form { display: flex; gap: 10px; margin-top: 18px; }
.news-form input { flex: 1; min-width: 0; padding: 13px 16px; border: 0; border-radius: 10px; font: 15px var(--body); }
.news .form-msg { color: var(--gold); }

/* Inner page banner */
.banner { background: var(--sage); border-bottom: 4px solid var(--gold); }
.banner-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 46px; padding-bottom: 46px; }
.banner h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.banner p { margin: 0; color: var(--muted); }
.crumbs { margin-bottom: 10px !important; font-size: 14px; }
.crumbs span { margin: 0 6px; color: #9AA69E; }
.banner-seal { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold); flex-shrink: 0; box-shadow: 0 0 0 8px rgba(30,77,58,.12); }
.banner-seal .ic { width: 40px; height: 40px; stroke-width: 2.6; }

/* Shop */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: 14px; }
.chip:hover, .chip.on { background: var(--forest); border-color: var(--forest); color: var(--white); }
.shop-group { margin-bottom: 56px; scroll-margin-top: 100px; }
.group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.group-head div { flex: 1; }
.group-head h2 { font-size: 26px; margin-bottom: 2px; }
.group-head p { margin: 0; color: var(--muted); }

/* About */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 28px; border-radius: var(--radius); background: var(--white); text-align: center; }
.value .ic { width: 40px; height: 40px; color: var(--forest); margin: 0 auto 14px; }
.value p { margin: 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 48px; }
.stats div { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); text-align: center; }
.stats strong { display: block; font-family: var(--head); font-size: 40px; color: var(--forest); }
.stats span { color: var(--muted); font-weight: 600; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px 40px; border-radius: var(--radius); background: var(--gold-soft); }
.cta h2 { margin: 0; font-size: 28px; }
.story-img.wide::before { width: 60%; height: 60%; }

/* Contact */
.info-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.info { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.info .ic { color: var(--forest); margin-bottom: 8px; }
.info h3 { margin-bottom: 4px; }
.info p { margin: 0; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: stretch; }
.contact-img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Forms */
.form-card { padding: 32px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.form-card.narrow { max-width: 560px; margin: 0 auto; }
.form-card h2 { font-size: 24px; }
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
input, textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 15px var(--body); background: var(--cream); }
input:focus, textarea:focus { outline: 2px solid var(--forest); border-color: var(--forest); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.form-msg { margin: 12px 0 0; color: var(--forest); font-weight: 600; }

/* Cart and checkout */
.cart-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 28px; align-items: start; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { background: var(--sage); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.cart-table img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; border: 1px solid var(--line); background: var(--white); }
.cart-table input { width: 70px; margin: 0; }
.remove-btn { border: 0; background: none; color: #B23A2B; font-weight: 600; cursor: pointer; }
.summary { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); position: sticky; top: 100px; }
.summary h2 { font-size: 22px; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary-line.total { font-weight: 800; font-size: 18px; border-bottom: 0; }
.summary .btn { margin-top: 8px; }
.link-back { display: block; text-align: center; margin-top: 14px; font-weight: 600; }
.empty { max-width: 520px; margin: 0 auto; text-align: center; padding: 30px 0; }
.done-ic { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--gold); }
.done-ic .ic { width: 34px; height: 34px; }

/* Articles and policies */
.article { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.article-img { grid-column: 1 / -1; width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
.prose { max-width: 760px; }
.prose.narrow { margin: 0 auto; }
.prose h2 { font-size: 24px; margin-top: 28px; }
.prose p { color: #3C4741; }
.prose .lead { font-size: 19px; color: var(--ink); }
.more-posts { padding: 24px; border-radius: var(--radius); background: var(--sage); }
.more-posts ul { margin: 0; padding-left: 18px; }
.more-posts li { margin-bottom: 10px; font-weight: 600; }

/* Footer */
.footer { background: var(--night); color: #B9CBBF; padding-top: 56px; }
.footer a { color: #D6E3DA; }
.footer a:hover { color: var(--gold); }
.f-top { display: flex; justify-content: space-between; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-brand { max-width: 420px; }
.f-brand img { width: 230px; margin-bottom: 14px; }
.f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-contact li { display: flex; align-items: center; gap: 8px; }
.f-contact .ic { color: var(--gold); }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 34px 0; }
.f-col h3 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.f-bottom p { margin: 0; }
.f-bottom span { margin: 0 6px; color: #6F8577; }

/* Toast */
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 14px; max-width: 380px; padding: 14px 18px; border-radius: 12px; background: var(--night); color: var(--white); box-shadow: 0 12px 30px rgba(0,0,0,.2); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, transform .3s, visibility .3s; }
.toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
.toast a { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* Tablet */
@media (max-width: 1000px) {
  .dept-grid, .product-grid, .info-row, .stats { grid-template-columns: repeat(2, 1fr); }
  .product-grid.three { grid-template-columns: repeat(2, 1fr); }
  .promise-row { grid-template-columns: repeat(2, 1fr); }
  .promise:nth-child(3) { border-left: 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo img { height: 380px; }
  .story, .news, .cart-layout, .contact-layout, .article { grid-template-columns: 1fr; }
  .post-grid, .steps, .values { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .testi.big { grid-row: auto; }
  .f-cols { grid-template-columns: repeat(2, 1fr); }
  .contact-img { max-height: 420px; }
  .summary { position: static; }
}

/* Phone */
@media (max-width: 760px) {
  .topbar-right a:last-child { display: none; }
  .topbar-in { font-size: 12px; }
  .menu-btn { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 16px; }
  .main-nav a.on { box-shadow: inset 3px 0 0 var(--gold); }
  .cart-btn .label { display: none; }
  .logo img { width: 190px; }
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .hero-panel { padding: 44px 16px; }
  .dept-grid, .product-grid, .product-grid.three, .post-grid, .steps, .values, .info-row, .promise-row, .stats, .f-cols { grid-template-columns: 1fr; }
  .promise { border-left: 0; border-top: 1px solid rgba(30,77,58,.15); }
  .promise:first-child { border-top: 0; }
  .row-head, .f-top, .f-bottom, .cta, .group-head { flex-direction: column; align-items: flex-start; }
  .two, .three { grid-template-columns: 1fr; gap: 0; }
  .news-text { padding: 32px 22px; }
  .news-form { flex-direction: column; }
  .banner-seal { display: none; }
  .topbar-in > span:first-child { display: none; }
  .topbar-in { justify-content: center; }
}
