/* ================= VARIABLES ================= */
:root {
  --green-dark: #0f3b26;
  --green: #1f5a3a;
  --green-light: #4a7c3a;
  --gold: #c9a14a;
  --gold-dark: #b08836;
  --cream: #faf6ec;
  --cream-2: #f3ecdb;
  --divider-bg: #ffffff; /* matches the white of images/banner-pattern.png */
  --text: #2b2b2b;
  --muted: #6f6f6f;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 100%; max-width: 1640px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 4px;
  font-size: 16px; font-weight: 500; transition: .3s;
}
.btn-dark { background: var(--green-dark); color: var(--white); }
.btn-dark:hover { background: var(--green); }
.btn-light { background: var(--white); color: var(--green-dark); border: 1px solid #ddd; }
.btn-light:hover { border-color: var(--green-dark); }
.btn-gold { background: var(--gold); color: var(--green-dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline { border: 1px solid rgba(255,255,255,.6); color: var(--white); border-radius: 30px; padding: 8px 22px 8px 8px; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline .play {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; color: var(--green-dark); font-size: 11px;
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ================= HEADINGS ================= */
.eyebrow {
  display: block; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 13px; color: var(--gold-dark); font-weight: 500; margin-bottom: 4px;
}
.title {
  font-family: var(--serif); font-size: 46px; font-weight: 600;
  color: var(--green-dark); line-height: 1.2;
}
.title.center { text-align: center; margin-bottom: 40px; }
.leaf { color: var(--green-light); font-size: 26px; margin-left: 6px; transform: rotate(-20deg); }
.leaf-left { margin: 0 8px 0 0; transform: scaleX(-1) rotate(-20deg); }
.sub { color: var(--muted); font-size: 15px; }
.section-desc { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 720px; margin-top: 10px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 34px; flex-wrap: wrap;
}
.link-arrow { font-size: 15px; font-weight: 500; color: var(--green-dark); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { color: var(--gold-dark); }

/* ================= TOP BAR ================= */
.topbar { background: var(--green-dark); color: #e5e5d8; font-size: 14px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 44px; }
.topbar ul { display: flex; gap: 26px; align-items: center; }
.topbar i { color: var(--gold); margin-right: 5px; }
.topbar-right i.fa-chevron-down { color: inherit; font-size: 9px; margin: 0 0 0 4px; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social i { color: #e5e5d8; margin: 0; }
.topbar a:hover { color: var(--gold); }

/* currency picker */
.currency-picker { position: relative; }
.currency-toggle { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 6px 0; }
.currency-toggle:hover { color: var(--gold); }
.topbar .currency-menu {
  position: absolute; top: 100%; right: -12px; z-index: 200; min-width: 210px; padding: 6px 0;
  display: block; background: var(--white); border-radius: 6px; box-shadow: 0 10px 28px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s;
}
.currency-picker:hover .currency-menu, .currency-picker:focus-within .currency-menu, .currency-picker.open .currency-menu {
  opacity: 1; visibility: visible; transform: none;
}
.currency-menu a { display: block; padding: 8px 16px; color: var(--text); font-size: 13px; white-space: nowrap; }
.currency-menu a b { display: inline-block; width: 38px; color: var(--green-dark); }
.topbar .currency-menu a:hover, .currency-menu a.active { background: var(--cream); color: var(--green-dark); }

/* ================= HEADER ================= */
.header { background: var(--cream); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 104px; gap: 20px; }
.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--green-dark); }
.logo-d { font-size: 58px; }
.logo-sub {
  font-size: 12px; letter-spacing: 7px; color: var(--gold-dark); margin-top: 2px;
  display: flex; align-items: center; gap: 8px;
}
.logo-sub::before, .logo-sub::after { content: ''; width: 32px; height: 1px; background: var(--gold); }
.nav { display: flex; gap: 44px; }
.nav a { font-size: 17px; font-weight: 500; color: var(--text); position: relative; padding: 6px 0; }
.nav a i { font-size: 11px; margin-left: 4px; }
.nav a:hover, .nav a.active { color: var(--green-dark); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold);
}
.header-icons { display: flex; gap: 28px; font-size: 22px; color: var(--green-dark); }
.cart { position: relative; }
.cart span {
  position: absolute; top: -8px; right: -10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); color: var(--white); font-size: 10px; display: grid; place-items: center;
}
.nav-toggle, .nav-burger { display: none; }

/* ================= HERO ================= */
.hero { position: relative; overflow: hidden; min-height: 820px; display: flex; align-items: center; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    var(--img-hero, url('../images/hero.png')) right center/cover no-repeat,
    #6b8f5a;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { font-family: var(--serif); font-size: 96px; font-weight: 500; line-height: 1.08; color: var(--green-dark); }
.hero h1 span { color: var(--gold); font-weight: 600; }
/* script lead-in above the main heading */
.hero h1 small {
  display: block; margin-bottom: 6px;
  font-family: 'Dancing Script', cursive; font-size: .5em; font-weight: 500; line-height: 1.2; color: #f3c96b;
}
.hero-text { min-width: 0; }
.hero-text p { max-width: 560px; margin: 26px 0 36px; color: #555; font-size: 20px; line-height: 1.6; }
.hero-btns { display: flex; gap: 18px; flex-wrap: wrap; }

/* ================= CATEGORIES ================= */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat { text-align: center; }
.cat-img {
  width: 160px; height: 160px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden;
  background: var(--cream-2); box-shadow: var(--shadow); border: 4px solid var(--white); transition: .3s;
}
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cat:hover .cat-img { transform: translateY(-5px); }
.cat:hover .cat-img img { transform: scale(1.08); }
.cat h4 { font-size: 17px; font-weight: 600; color: var(--green-dark); }
.cat span { font-size: 13px; color: var(--muted); }

/* ================= BANNERS (shared) ================= */
.banner { position: relative; color: var(--white); background-size: cover; background-position: center; }
.banner-text { position: relative; z-index: 1; max-width: 620px; }
.banner h2 { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1.15; }
.banner h2 span { color: var(--white); }
.banner p { margin: 18px 0 30px; font-size: 18px; opacity: .9; }

/* ================= BEST SELLERS ================= */
.slider { position: relative; }
.product-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 14px;
}
.product-grid::-webkit-scrollbar { display: none; }
.product {
  position: relative; background: var(--white); overflow: hidden;
  border: 1px solid rgba(15,59,38,.08);
  scroll-snap-align: start; display: flex; flex-direction: column;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), border-color .35s;
}
.product:hover { transform: translateY(-6px); border-color: rgba(201,161,74,.45); }
.product-img { position: relative; overflow: hidden; aspect-ratio: 1 / .78; background: var(--white); }
.product-img img { width: 100%; height: 100%; object-fit: contain; /* whole photo, no cropping */ transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.product:hover .product-img img { transform: scale(1.08); }
/* soft shade so the badges stay readable on bright photos */
.product-img::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 35%);
}
.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 11px;
  font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--white);
}
.tag-gold { background: var(--gold); }
.tag-red { background: #c8452f; }
.tag-green { background: var(--green-light); }
.tag-dark { background: var(--green-dark); }
.wish {
  position: absolute; top: 10px; right: 10px; z-index: 1; width: 36px; height: 36px;
  background: rgba(255,255,255,.92); color: var(--green-dark); font-size: 15px;
  backdrop-filter: blur(4px); transition: transform .2s, color .2s;
}
.wish:hover { transform: scale(1.12); color: #d84444; }
.wish.on { color: #d84444; }
.wish.on i { animation: bounce .4s; }
/* quick actions slide in from the right on hover */
.quick {
  position: absolute; top: 54px; right: 10px; z-index: 1; display: flex; flex-direction: column; gap: 8px;
}
.quick button, .quick a {
  width: 36px; height: 36px; background: rgba(255,255,255,.92); color: var(--green-dark);
  font-size: 14px;
  opacity: 0; transform: translateX(16px); transition: opacity .3s, transform .3s, background .2s, color .2s;
}
.quick button:nth-child(2), .quick a:nth-child(2) { transition-delay: .05s; }
.product:hover .quick button, .product:hover .quick a { opacity: 1; transform: none; }
.quick button:hover, .quick a:hover { background: var(--green-dark); color: var(--white); }
@media (hover: none) { .quick button, .quick a { opacity: 1; transform: none; } }

.product-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.cat-label { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-dark); }
.rating { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.rating i { color: var(--gold); font-size: 12px; }
.rating em { font-style: normal; font-weight: 400; color: var(--muted); }
.product h4 {
  font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--green-dark);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.variant { font-size: 13px; color: var(--muted); margin: 4px 0 14px; }
.product-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto;
  padding-top: 14px; border-top: 1px dashed rgba(15,59,38,.15);
}
.price { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; color: var(--green-dark); line-height: 1.2; }
.price s { font-size: 13px; font-weight: 400; color: var(--muted); }
.add-cart {
  flex-shrink: 0; gap: 8px; padding: 11px 16px; border-radius: 0; font-size: 14px; font-weight: 600;
  background: var(--green-dark); color: var(--white); transition: background .25s, transform .2s;
}
.add-cart:hover { background: var(--gold); transform: translateY(-2px); }
.stock { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--green-light); }
.stock i { font-size: 7px; }
.stock.low { color: #c8452f; }
.slider-arrow {
  position: absolute; top: 40%; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: var(--white); color: var(--green-dark); box-shadow: var(--shadow);
}
.slider-arrow.prev { left: -18px; }
.slider-arrow.next { right: -18px; }


/* ================= PRODUCTS BY CATEGORY ================= */
.by-category { background: var(--white); }
.cat-jump { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid rgba(15,59,38,.15); }
.cat-jump a {
  padding: 10px 18px; font-size: 14px; font-weight: 500; color: var(--green-dark);
  border-right: 1px solid rgba(15,59,38,.15); transition: background .25s, color .25s;
}
.cat-jump a:last-child { border-right: 0; }
.cat-jump a:hover { background: var(--green-dark); color: var(--white); }
.cat-block { scroll-margin-top: 110px; } /* clear the sticky header when jumping */
.cat-block + .cat-block { margin-top: 64px; }
.cat-block-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 14px; margin-bottom: 24px; border-bottom: 2px solid var(--green-dark);
}
.cat-block-head h3 {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--green-dark);
}
.cat-block-head h3 i { font-size: 20px; color: var(--gold); }
.cat-block-head h3 span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .5px; }
.cat-block-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1024px) {
  .cat-block-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cat-jump { width: 100%; }
  .cat-jump a { flex: 1 1 33%; text-align: center; padding: 9px 8px; font-size: 13px; border-bottom: 1px solid rgba(15,59,38,.15); }
  .cat-block + .cat-block { margin-top: 44px; }
  .cat-block-head h3 { font-size: 22px; }
  .cat-block-grid { gap: 12px; }
}
/* ================= SUSTAINABILITY ================= */
/* one photo runs behind both the sustainability banner and the presence section */
.sustain-presence { position: relative; isolation: isolate; overflow: hidden; background: #2f5a2c; }
/* the photo sits on its own layer so it can slowly zoom (Ken Burns) and drift with the mouse (home.js sets --bx / --by) */
.sustain-presence::before {
  content: ''; position: absolute; inset: -40px; z-index: -1; pointer-events: none;
  background: var(--img-sustain, url('../images/sustainability-sri-lanka.png')) center / cover no-repeat;
  translate: var(--bx, 0px) var(--by, 0px); transition: translate 1.2s cubic-bezier(.2,.7,.3,1);
  animation: bg-drift 26s ease-in-out infinite alternate; will-change: scale, translate;
}
@keyframes bg-drift {
  from { scale: 1; transform-origin: 30% 40%; }
  to   { scale: 1.12; transform-origin: 70% 60%; }
}
@media (prefers-reduced-motion: reduce) { .sustain-presence::before { animation: none; translate: none; } }
.sustain { padding: 110px 0 30px; }
/* dark overlay fades out at the bottom so it melts into the presence section — no hard seam */
.sustain::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(15,40,20,.75) 0%, rgba(15,40,20,.45) 60%, rgba(15,40,20,.2) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 65%, transparent 100%);
}
.sustain { --mx: 50%; --my: 40%; --px: 0px; --py: 0px; --rx: 0deg; --ry: 0deg; overflow: hidden; }
/* warm spotlight that follows the mouse (home.js sets --mx / --my) */
.sustain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(560px circle at var(--mx) var(--my), rgba(243,201,107,.2), transparent 65%);
}
.sustain.is-hover::after { opacity: 1; }
.sustain-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.sustain .banner-text { max-width: 900px; display: flex; flex-direction: column; align-items: center; perspective: 900px; }
.sustain .btn-sm {
  padding: 8px 18px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--white);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sustain .btn-sm:hover { background: var(--gold); border-color: var(--gold); color: var(--green-dark); }
.sustain .btn i { transition: transform .3s ease; }
.sustain .btn:hover i { transform: translateX(4px); }
/* shimmering gold word that tilts and drifts with the mouse */
.big-word {
  font-family: var(--serif); font-size: 225px !important; font-weight: 700 !important; line-height: 1 !important;
  margin-top: 14px; padding: 0 .06em .08em; letter-spacing: -.02em; color: var(--gold);
  background: linear-gradient(100deg, #b8862f 0%, #e3b65a 25%, #fff1c4 42%, #f3c96b 52%, #c9a14a 70%, #b8862f 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.4));
  transform: translate3d(var(--px), var(--py), 0) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
  animation: gold-shine 8s linear infinite;
}
@keyframes gold-shine { to { background-position: -250% 0; } }
.sustain h3, .sustain p { transform: translate3d(calc(var(--px) * -.35), calc(var(--py) * -.35), 0); transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.sustain h3 { font-family: var(--serif); font-size: 46px; font-weight: 500; margin-top: 6px; text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.sustain h3::after { content: ''; display: block; width: 70px; height: 2px; margin: 20px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.sustain p { max-width: 860px; font-size: 21px; line-height: 1.75; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
@media (prefers-reduced-motion: reduce) {
  .big-word { animation: none; background-position: 30% 0; }
  .big-word, .sustain h3, .sustain p { transform: none; }
}

/* ================= PRESENCE ================= */
/* cream wash fades in over the shared photo so the dark text stays readable */
.presence {
  background: linear-gradient(180deg, rgba(243,236,219,0) 0%, rgba(243,236,219,.88) 260px, rgba(243,236,219,.92) 100%);
}
.presence-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.presence-text .eyebrow { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.presence-text .title { font-size: 60px; }
.presence-text .section-desc { max-width: 560px; font-size: 19px; margin-top: 16px; }
.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(15,59,38,.15);
}
.stats > div { padding: 0 40px; border-left: 1px solid rgba(15,59,38,.15); }
.stats > div:first-child { padding-left: 0; border-left: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: 64px; font-weight: 500; color: var(--gold-dark); line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--green-dark); }
.map { position: relative; width: 100%; }
.map img { display: block; width: 100%; height: auto; }
/* left/top = Sri Lanka's position in images/world-map.svg (viewBox 950x620) */
.map-pin { position: absolute; left: 71.8%; top: 50.5%; }
.map-dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px;
  background: var(--gold-dark); border: 2px solid var(--white);
}
.map-dot::after {
  content: ''; position: absolute; inset: -2px; border: 2px solid var(--gold-dark);
  animation: ping 1.8s ease-out infinite;
}
.map-label {
  position: absolute; left: 18px; top: -16px; white-space: nowrap;
  background: var(--green-dark); color: var(--white); font-size: 13px; font-weight: 500;
  padding: 6px 12px; border-left: 3px solid var(--gold);
}
.map-label i { color: var(--gold); margin-right: 4px; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(3); opacity: 0; } }

/* ================= EXPORT SERVICES ================= */
.export { background: var(--white); scroll-margin-top: 110px; }
.export .section-head { margin-bottom: 50px; }
.export .title { font-size: 52px; }
/* 4 steps joined by a dashed route line */
.export-steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(15,59,38,.15); list-style: none; }
.export-step {
  position: relative; padding: 36px 30px 34px; background: var(--cream);
  border-right: 1px solid rgba(15,59,38,.15); border-top: 4px solid transparent;
  transition: border-color .3s, background .3s;
}
.export-step:last-child { border-right: 0; }
.export-step:hover { background: var(--white); border-top-color: var(--gold); }
.step-no {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; color: rgba(15,59,38,.1);
}
.export-step > i {
  width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 22px;
  font-size: 22px; color: var(--gold); background: var(--green-dark);
}
.export-step h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green-dark); margin-bottom: 8px; }
.export-step p { font-size: 15px; color: var(--muted); line-height: 1.7; }
/* arrow between steps */
.export-step:not(:last-child)::after {
  content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px;
  position: absolute; top: 50%; right: -14px; z-index: 1; width: 26px; height: 26px; margin-top: -13px;
  display: grid; place-items: center; background: var(--gold); color: var(--green-dark);
}

.export-info {
  display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; margin-top: 40px;
  border: 1px solid rgba(15,59,38,.15);
}
.export-col { padding: 32px 30px; border-right: 1px solid rgba(15,59,38,.15); }
.export-info h5 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 14px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--green-dark);
}
.export-info h5 i { color: var(--gold); font-size: 16px; }
.export-col li {
  position: relative; padding: 9px 0 9px 22px; font-size: 15px; color: var(--text);
  border-bottom: 1px dashed rgba(15,59,38,.15);
}
.export-col li:last-child { border-bottom: 0; }
.export-col li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 10px; font-size: 11px; color: var(--green-light);
}
.export-cta { padding: 32px 30px; background: var(--green-dark); color: var(--white); display: flex; flex-direction: column; }
.export-cta h5 { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--white); margin-bottom: 8px; }
.export-cta p { font-size: 15px; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.export-cta .btn { margin-top: auto; }
.export-mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.9); }
.export-mail i { color: var(--gold); }
.export-mail:hover { color: var(--gold); }

@media (max-width: 1300px) {
  .export-info { grid-template-columns: repeat(3, 1fr); }
  .export-cta { grid-column: 1 / -1; }
  .export-cta .btn { margin-top: 0; align-self: flex-start; width: auto; }
}
@media (max-width: 1024px) {
  .export .title { font-size: 40px; }
  .export-steps { grid-template-columns: repeat(2, 1fr); }
  .export-step:nth-child(2) { border-right: 0; }
  .export-step:nth-child(-n+2) { border-bottom: 1px solid rgba(15,59,38,.15); }
  .export-step:nth-child(2)::after { display: none; }
  .export-info { grid-template-columns: 1fr 1fr; }
  .export-col:nth-child(2) { border-right: 0; }
  .export-col:nth-child(3) { border-top: 1px solid rgba(15,59,38,.15); }
  .export-cta { grid-column: auto; }
  .export-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .export .section-head { margin-bottom: 30px; }
  .export .title { font-size: 28px; }
  .export .section-head .btn { width: 100%; }
  .export-steps, .export-info { grid-template-columns: 1fr; }
  .export-step { border-right: 0; border-bottom: 1px solid rgba(15,59,38,.15); padding: 28px 22px; }
  .export-step:last-child { border-bottom: 0; }
  .export-step:not(:last-child)::after { display: none; }
  .export-col { border-right: 0; border-bottom: 1px solid rgba(15,59,38,.15); padding: 26px 22px; }
  .export-col:nth-child(3) { border-top: 0; }
  .export-cta { padding: 28px 22px; }
}

/* ================= CERTIFICATIONS ================= */
.certs { padding: 80px 0; }
.certs-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.certs .title { font-size: 38px; }
.certs p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.badges { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.badge {
  width: 110px; height: 110px; border-radius: 50%; border: 3px double var(--green-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--green-dark); background: var(--white);
}
.badge span { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1; }
.badge small { font-size: 10px; letter-spacing: 1px; margin-top: 4px; }
.badge-usda { background: #2e6b33; color: var(--white); border-color: #2e6b33; }

/* ================= RECIPES ================= */
.recipes { padding-bottom: 50px; }
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* tall card: photo on top, copy below; flat with a border (no radius / shadow) */
.recipe {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1px solid rgba(15,59,38,.12); transition: transform .3s, border-color .3s;
}
/* gold bar draws across the top on hover */
.recipe::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px; z-index: 2;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.recipe:hover { transform: translateY(-4px); border-color: rgba(15,59,38,.35); }
.recipe:hover::before { transform: scaleX(1); }
/* image frame clips the hover zoom so it never covers the text */
.recipe-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream-2); }
.recipe-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.recipe:hover .recipe-img img { transform: scale(1.06); }
.recipe-tag {
  position: absolute; left: 0; bottom: 0; padding: 7px 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  background: var(--green-dark); color: var(--white); border-top: 3px solid var(--gold);
}
.recipe-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 0; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: .8px; text-transform: uppercase; color: var(--gold-dark); }
.recipe-meta i { margin-right: 5px; }
.recipe h4 { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.25; color: var(--green-dark); transition: color .3s; }
.recipe:hover h4 { color: var(--green-light); }
.recipe p { margin: 10px 0 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }
/* footer row: label left, square arrow right */
.recipe em {
  display: flex; align-items: center; justify-content: space-between;
  margin: auto -26px 0; padding-left: 26px;
  border-top: 1px solid rgba(15,59,38,.12);
  font-style: normal; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-dark);
}
.recipe em i {
  width: 50px; height: 50px; display: grid; place-items: center; font-size: 13px;
  border-left: 1px solid rgba(15,59,38,.12); transition: background .3s, color .3s;
}
.recipe:hover em i { background: var(--green-dark); color: var(--gold); }

/* ================= TESTIMONIALS ================= */
.testimonials {
  text-align: center; color: var(--white);
  background: linear-gradient(rgba(10,40,25,.78), rgba(10,40,25,.86)),
    var(--img-testimonials, url('../images/testimonials-bg.png')) center / cover no-repeat, var(--green-dark);
}
.eyebrow.center { text-align: center; }
.testi-head { position: relative; margin-bottom: 44px; }
.testimonials .eyebrow { color: var(--gold); font-size: 16px; letter-spacing: 3px; text-transform: uppercase; }
.testimonials .title { color: var(--white); font-size: 52px; margin-bottom: 0; }
.testi-nav { position: absolute; right: 0; bottom: 6px; display: flex; gap: 12px; }
.testi-arrow {
  width: 54px; height: 54px; display: grid; place-items: center; font-size: 18px;
  background: var(--white); color: var(--green-dark); border: 1px solid var(--white); transition: .3s;
}
.testi-arrow:hover { background: transparent; color: var(--white); }
.testi-slider { max-width: 1000px; margin: 0 auto; }
.testi-window { overflow: hidden; }
.testi-track { display: flex; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.testi {
  flex: 0 0 100%; padding: 56px 70px 50px; background: transparent;
  border-top: 4px solid var(--gold); text-align: center;
}
.testi .q { color: var(--gold); font-size: 46px; }
.testi p { font-family: var(--serif); font-size: 30px; line-height: 1.55; color: var(--white); margin: 20px auto 24px; max-width: 820px; }
.testi .stars { color: #f5a623; font-size: 30px; letter-spacing: 4px; }
.testi-user {
  display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 18px; align-items: center;
  max-width: 520px; margin: 26px auto 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); text-align: left;
}
.testi-user img { grid-row: span 2; width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--gold); }
.testi-user h5 { font-size: 22px; font-weight: 600; color: var(--white); align-self: end; }
.testi-user span { font-size: 16px; color: rgba(255,255,255,.75); align-self: start; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.testi-dots button { width: 12px; height: 12px; border: 1px solid var(--white); transition: .3s; }
.testi-dots button.on { background: var(--gold); border-color: var(--gold); width: 32px; }

/* ================= FOOTER ================= */
/* full-width green footer with the mandala pattern: links | newsletter | links, then copyright + policies */
.footer {
  position: relative; padding: 0 24px; color: rgba(255,255,255,.85); border-top: 4px solid var(--gold);
  /* mandala + Sri Lanka skyline picture, pinned to the bottom so the skyline shows under the content;
     a light green shade behind the newsletter text keeps it readable */
  background:
    radial-gradient(ellipse 32% 45% at 50% 32%, rgba(13,50,20,.5) 0%, rgba(13,50,20,0) 100%),
    linear-gradient(rgba(13,50,20,.55), rgba(13,50,20,.55)),
    var(--img-footer, url('../images/footer-bg.webp')) center bottom/cover no-repeat,
    #0d3214;
}
.footer-card {
  display: grid; grid-template-columns: 1fr minmax(0, 560px) 1fr; align-items: center; gap: 40px;
  max-width: 1400px; margin: 0 auto; padding: 90px 0 250px; /* bottom room = the skyline */
}
.footer-links { text-align: center; }
.footer-links li + li { margin-top: 18px; }
.footer-links a { font-size: 18px; font-weight: 500; color: var(--white); transition: color .25s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); }
/* column headings + contact icons are only used on tablets / phones */
.footer-links-title, .footer-li-contact i { display: none; }
.footer-center { text-align: center; }
.footer-center .footer-logo { max-height: 100px; max-width: 240px; margin: 0 auto 22px; }
.footer-brand { margin-bottom: 18px; font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--white); }
.footer-title { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.25; color: var(--white); }
.footer-text { margin: 14px auto 26px; max-width: 440px; font-size: 17px; line-height: 1.7; }
.footer-form { position: relative; max-width: 420px; margin: 0 auto; }
.footer-form input[type=email] {
  width: 100%; padding: 16px 62px 16px 22px; font: inherit; font-size: 16px; color: var(--white);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.4); border-radius: 40px; transition: border-color .25s, background .25s;
}
.footer-form input[type=email]::placeholder { color: rgba(255,255,255,.65); }
.footer-form input[type=email]:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.1); }
.footer-form button {
  position: absolute; top: 6px; right: 6px; bottom: 6px; width: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 15px; color: var(--green-dark); background: var(--gold); transition: background .25s, transform .25s;
}
.footer-form button:hover { background: var(--white); transform: translateX(2px); }
.footer-form button[disabled] { opacity: .7; cursor: wait; }
.footer-form-msg { min-height: 22px; margin: 10px 0 18px; font-size: 14px; color: #9ad19a; }
.footer-form-msg.is-error { color: #ffb4a6; }
.footer-socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.footer-socials a {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; color: var(--white);
  border: 1px solid rgba(255,255,255,.2); transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--green-dark); transform: translateY(-3px); }
/* policy links row inside the green card (spans all columns, sits above the skyline) */
.footer-legal {
  grid-column: 1 / -1; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0;
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-legal a { padding: 0 18px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); transition: color .25s; }
.footer-legal a + a { border-left: 1px solid rgba(255,255,255,.3); }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 1024px) {
  .footer-card { grid-template-columns: 1fr 1fr; padding: 64px 0 200px; gap: 44px 30px; }
  .footer-center { grid-column: 1 / -1; order: -1; }
  .footer-card { align-items: start; }
  .footer-links-title {
    display: block; margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    text-align: center; color: var(--gold);
  }
}
@media (max-width: 560px) {
  .footer { padding: 0 16px; }
  .footer-card { padding: 50px 0 150px; gap: 36px 16px; }
  .footer-title { font-size: 26px; }
  .footer-text { font-size: 16px; }
  /* each list = full-width block: heading, then a 2-column grid of links; phone + email get their own rows */
  .footer-col-links { grid-column: 1 / -1; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
  .footer-links-title { margin-bottom: 16px; text-align: left; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; text-align: left; }
  .footer-links li + li { margin-top: 0; }
  .footer-links a { font-size: 15px; }
  .footer-li-contact { grid-column: 1 / -1; }
  .footer-li-contact a { display: inline-flex; align-items: center; gap: 10px; }
  .footer-li-contact i {
    display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%;
    font-size: 13px; color: var(--gold); border: 1px solid rgba(201,161,74,.45);
  }
  .footer-legal a { padding: 0 12px; font-size: 14px; }
}
.to-top {
  position: absolute; right: 30px; top: -22px; width: 44px; height: 44px;
  background: var(--gold); color: var(--green-dark); display: grid; place-items: center;
}

/* ================= RESPONSIVE ================= */
/* large / 4K screens: wider container and scaled-up product cards */
@media (min-width: 2400px) {
  .container { max-width: 2200px; padding: 0 60px; }
  .product-grid { gap: 28px; grid-auto-columns: calc((100% - 3 * 28px) / 4); }
  .product-body { padding: 22px 26px 26px; }
  .product-meta { margin-bottom: 10px; }
  .cat-label { font-size: 14px; letter-spacing: 1.8px; }
  .rating { font-size: 17px; }
  .rating i { font-size: 15px; }
  .product h4 { font-size: 26px; }
  .variant { font-size: 17px; margin: 6px 0 20px; }
  .product-foot { padding-top: 20px; gap: 14px; }
  .price { font-size: 26px; }
  .price s { font-size: 16px; }
  .add-cart { padding: 15px 24px; font-size: 18px; gap: 10px; }
  .stock { font-size: 15px; margin-top: 16px; gap: 8px; }
  .stock i { font-size: 9px; }
  .tag { top: 16px; left: 16px; padding: 7px 14px; font-size: 14px; }
  .wish { top: 14px; right: 14px; width: 48px; height: 48px; font-size: 20px; }
  .quick { top: 72px; right: 14px; gap: 10px; }
  .quick button { width: 48px; height: 48px; font-size: 18px; }
  .slider-arrow { width: 48px; height: 48px; font-size: 18px; }
  .slider-arrow.prev { left: -24px; }
  .slider-arrow.next { right: -24px; }
}

@media (min-width: 3200px) {
  .container { max-width: 3000px; padding: 0 80px; }
  .product-grid { gap: 36px; grid-auto-columns: calc((100% - 3 * 36px) / 4); }
  .product-body { padding: 30px 34px 34px; }
  .cat-label { font-size: 18px; letter-spacing: 2.2px; }
  .rating { font-size: 22px; }
  .rating i { font-size: 20px; }
  .product h4 { font-size: 34px; }
  .variant { font-size: 22px; margin: 8px 0 26px; }
  .product-foot { padding-top: 26px; gap: 18px; }
  .price { font-size: 34px; }
  .price s { font-size: 21px; }
  .add-cart { padding: 20px 32px; font-size: 23px; gap: 12px; }
  .stock { font-size: 20px; margin-top: 20px; gap: 10px; }
  .stock i { font-size: 12px; }
  .tag { top: 20px; left: 20px; padding: 9px 18px; font-size: 18px; }
  .wish { top: 18px; right: 18px; width: 62px; height: 62px; font-size: 26px; }
  .quick { top: 92px; right: 18px; gap: 12px; }
  .quick button { width: 62px; height: 62px; font-size: 23px; }
  .slider-arrow { width: 62px; height: 62px; font-size: 23px; }
  .slider-arrow.prev { left: -31px; }
  .slider-arrow.next { right: -31px; }
}

@media (max-width: 1500px) {
  .hero h1 { font-size: 76px; }
  .hero-text p { max-width: 460px; font-size: 18px; }
}

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .nav { gap: 18px; }
  .hero h1 { font-size: 64px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .product-grid { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .presence-inner, .certs-inner { grid-template-columns: 1fr; }
  /* stacked: centre the presence copy + stats */
  .presence-text { text-align: center; }
  .presence-text .section-desc { margin-left: auto; margin-right: auto; }
  .stats { justify-content: center; }
  .stats > div:last-child { padding-right: 0; }
  .big-word { font-size: 64px !important; }
  .testimonials .title { font-size: 42px; }
  .testi-nav { position: static; justify-content: center; margin-top: 22px; }
}

@media (max-width: 860px) {
  .topbar-left { display: none !important; }
  .topbar-inner { justify-content: center; }
  .nav-burger { display: block; font-size: 22px; color: var(--green-dark); cursor: pointer; order: 3; }
  .header-icons { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; gap: 0; padding: 0 24px; max-height: 0; overflow: hidden;
    transition: max-height .3s; box-shadow: 0 8px 16px rgba(0,0,0,.06);
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid #eee; }
  .nav-toggle:checked ~ .nav { max-height: 400px; }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 360px; }
  .hero-bg {
    background:
      linear-gradient(180deg, var(--cream) 0%, rgba(250,246,236,.95) 45%, rgba(250,246,236,0) 62%),
      var(--img-hero, url('../images/hero.png')) 68% bottom/auto 420px no-repeat, var(--cream);
  }
  .hero h1 { font-size: 60px; }
  .big-word { font-size: 56px !important; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 560px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .recipe-body { padding: 18px 18px 0; }
  .recipe em { margin-left: -18px; margin-right: -18px; padding-left: 18px; }
  .recipe h4 { font-size: 21px; }
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 50px; padding-bottom: 340px; }
  .hero-text p { font-size: 16px; }
  .hero-bg { background-size: auto, auto 320px, auto; }
  .certs { padding: 50px 0; }
  .sustain { padding: 70px 0 20px; }
  .sustain h3 { font-size: 30px; }
  .sustain p { font-size: 17px; }
  .title { font-size: 26px; }
  .hero h1 { font-size: 38px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-img { width: 110px; height: 110px; }
  .product-grid { grid-auto-columns: calc((100% - 14px) / 1.6); gap: 14px; }
  .product-body { padding: 14px; }
  .product h4 { font-size: 16px; }
  .price { font-size: 16px; }
  .add-cart { width: 40px; height: 40px; padding: 0; font-size: 0; } /* icon-only on small cards */
  .add-cart i { font-size: 15px; }
  .slider-arrow { display: none; }
  .banner h2 { font-size: 30px; }
  .big-word { font-size: 46px !important; }
  .presence-text .eyebrow { font-size: 14px; }
  .presence-text .title { font-size: 34px; }
  .presence-text .section-desc { font-size: 16px; }
  .stats > div { padding: 0 16px; }
  .stats strong { font-size: 34px; }
  .stats span { font-size: 12px; letter-spacing: .5px; }
  .badges { justify-content: center; }
  .badge { width: 72px; height: 72px; }
  .testimonials .title { font-size: 34px; }
  .testi-head { margin-bottom: 30px; }
  .testi { padding: 34px 22px; }
  .testi .q { font-size: 34px; }
  .testi p { font-size: 21px; }
  .testi .stars { font-size: 24px; }
  .testi-user img { width: 58px; height: 58px; }
  .testi-user h5 { font-size: 18px; }
  .testi-user span { font-size: 14px; }
  .testi-nav { position: static; justify-content: center; margin-top: 20px; }
  .testi-arrow { width: 46px; height: 46px; font-size: 16px; }
  .header-inner { height: 70px; }
  .logo-name { font-size: 26px; }
  .logo-d { font-size: 34px; }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(201,161,74,.6); } 100% { box-shadow: 0 0 0 16px rgba(201,161,74,0); } }
@keyframes bounce { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.5); } 70% { transform: scale(.9); } }

/* hero entrance */
.hero-bg { animation: heroZoom 14s ease-out forwards; }
.hero h1, .hero-text p, .hero-btns { opacity: 0; animation: fadeUp .9s cubic-bezier(.2,.7,.3,1) forwards; }
.hero h1 { animation-delay: .2s; }
.hero-text p { animation-delay: .45s; }
.hero-btns { animation-delay: .65s; }

/* scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); transition-delay: var(--d, 0s); }
.js .reveal.up { transform: translateY(50px); }
.js .reveal.left { transform: translateX(-60px); }
.js .reveal.right { transform: translateX(60px); }
.js .reveal.zoom { transform: scale(.85); }
.js .reveal.show { opacity: 1; transform: none; }

/* header shrink on scroll */
.header, .header-inner { transition: height .3s, box-shadow .3s; }
.header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.header.scrolled .header-inner { height: 80px; }

/* nav underline grows on hover */
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* button shine */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
}
.btn:hover::after { left: 130%; transition: left .7s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.btn i.fa-arrow-right { transition: transform .3s; }
.btn:hover i.fa-arrow-right, .link-arrow:hover i { transform: translateX(4px); }
.link-arrow i { transition: transform .3s; }

/* misc */
.badge { transition: transform .4s; }
.badge:hover { transform: rotate(-10deg) scale(1.08); }
.map-label { animation: float 3s ease-in-out infinite; }
.to-top { animation: float 3s ease-in-out infinite; }
.cart span.bump { animation: bounce .5s; }
.btn-outline .play { animation: pulse 1.8s infinite; }
.leaf { display: inline-block; animation: float 4s ease-in-out infinite; }

/* respect users who turn off motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1, .hero-text p, .hero-btns, .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ================= HERO TEXT ON PHOTO (desktop, no fade) ================= */
@media (min-width: 861px) {
  .hero h1, .hero-text p { color: var(--white); text-shadow: 0 2px 14px rgba(0,0,0,.55); }
  .hero-text p { font-weight: 500; }
  .hero h1 span { color: #f3c96b; }
  .hero .btn-light { background: rgba(255,255,255,.95); }
  .hero-bg {
    background:
      radial-gradient(ellipse 60% 70% at 50% 40%, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,0) 100%),
      var(--img-hero, url('../images/hero.png')) right center/cover no-repeat, #6b8f5a;
  }
}

/* hero text centred on every screen size */
.hero-inner { grid-template-columns: 1fr; justify-items: center; }
.hero-text { text-align: center; }
.hero-text p { margin-left: auto; margin-right: auto; }
.hero-btns { justify-content: center; }
@media (min-width: 861px) {
  .hero-text p { max-width: 820px; } /* wider line so the intro sits on two lines */
}

/* ================= CATEGORIES ON HERO EDGE ================= */
.hero-inner { padding-bottom: 190px; }
/* white torn-paper edge at the bottom of the hero (images/banner-pattern.png, 1024x77) */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 77px; z-index: 1;
  pointer-events: none;
  background:
    url('../images/banner-pattern.png') left bottom/1024px 100% repeat-x;
}
.hero-cats {
  --overlap: 150px; /* how far the circles rise into the hero; keep the bg below the divider */
  background: linear-gradient(transparent var(--overlap), var(--divider-bg) var(--overlap));
  position: relative; z-index: 5; margin-top: calc(-1 * var(--overlap)); padding-bottom: 60px;
}
.hero-cats .cat-grid { gap: 24px; }
.hero-cats .cat-img {
  width: 210px; height: 210px;  solid var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,.25); margin-bottom: 20px;
}
.hero-cats .cat h4 {
  font-size: 19px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text); line-height: 1.4;
}
.hero-cats .cat span { font-size: 13px; letter-spacing: .5px; }
.hero-cats .cat:hover h4 { color: var(--green); }

/* Category slider: full-width track, --per columns in view */
.hero-cats { --circle: 210px; --gap: 20px; --per: 6; }
.cat-slider { position: relative; }
.hero-cats .cat-grid {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 24px 0 40px; margin: -24px 0 -40px; /* room for circle shadow + hover lift */
  cursor: grab;
}
.hero-cats .cat-grid::-webkit-scrollbar { display: none; }
.hero-cats .cat-grid.dragging { cursor: grabbing; scroll-snap-type: none; }
.hero-cats .cat-grid.dragging a { pointer-events: none; }
.hero-cats .cat { scroll-snap-align: start; }
.hero-cats .cat img { -webkit-user-drag: none; user-select: none; }
.cat-dots { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.cat-dots button { width: 18px; height: 3px; padding: 0; background: rgba(15,59,38,.2); transition: width .3s, background .3s; }
.cat-dots button.on { width: 34px; background: var(--green-dark); }

@media (max-width: 1700px) {
  .hero-cats { --circle: 180px; }
  .hero-cats .cat-img { width: 180px; height: 180px; }
}
@media (max-width: 1500px) {
  .hero-cats .cat-img { width: 170px; height: 170px; }
  .hero-cats { --overlap: 125px; --circle: 170px; }
  .hero-cats .cat h4 { font-size: 16px; }
}
@media (max-width: 1300px) {
  .hero-cats { --per: 5; }
}
@media (max-width: 1024px) {
  .hero-cats { --circle: 160px; --per: 4; }
  .hero-cats .cat-img { width: 160px; height: 160px; }
}
@media (max-width: 860px) {
  .hero-inner { padding-bottom: 400px; }
  .hero::after { height: 50px; background-size: 665px 100%; }
  .hero-cats { --overlap: 90px; --per: 3; }
}
@media (max-width: 560px) {
  .hero-inner { padding-bottom: 360px; }
  .hero-cats { --overlap: 100px; padding-bottom: 30px; }
  /* phones: 3 per view, circles fill their columns */
  .hero-cats { --gap: 6px; --per: 3; }
  /* circle fills its column, so the gap between them is just --gap */
  .hero-cats .cat-img { width: 100%; max-width: 190px; height: auto; aspect-ratio: 1; border-width: 4px; margin-bottom: 10px; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
  .hero-cats .cat h4 { font-size: 11.5px; letter-spacing: .5px; line-height: 1.3; }
  .hero-cats .cat span { font-size: 11px; }
  .cat-dots { margin-top: 18px; }
}

/* ================= HERO ON MOBILE: photo fills the whole hero, text on top ================= */
@media (max-width: 860px) {
  .hero { min-height: 640px; align-items: flex-start; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 75%),
      var(--img-hero, url('../images/hero.png')) 62% center/cover no-repeat, #6b8f5a;
  }
  .hero h1, .hero-text p { color: var(--white); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
  .hero-text p { font-weight: 500; }
  .hero h1 span { color: #f3c96b; }
  .hero-inner { padding-top: 50px; padding-bottom: 150px; } /* room for the torn edge + circles */
  .hero h1 { font-size: 48px; }
}
@media (max-width: 560px) {
  .hero { min-height: 600px; }
  .hero-inner { padding-top: 36px; padding-bottom: 120px; }
  .hero h1 { font-size: 36px; }
  .hero-text p { font-size: 15px; margin: 16px auto 24px; }
  .hero-btns { gap: 12px; }
}

/* ================= ABOUT / EXPORTER ================= */
/* landscape photo that fades in from a white top, so the text stays readable */
.about {
  position: relative; overflow: hidden; padding-bottom: 300px; /* room for the landscape to show below the text */
  background:
    linear-gradient(180deg, var(--white) 0%, var(--white) 30%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 80%),
    var(--img-about, url('../images/about-bg.png')) center bottom/cover no-repeat,
    var(--white);
}
.about-inner { display: grid; grid-template-columns: 1fr; gap: 60px; justify-items: center; }
.about-text { max-width: 1240px; text-align: center; }
.about-text h2 br { display: none; }
.about-text .eyebrow { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.about-text h2 { font-family: var(--serif); font-size: 72px; font-weight: 500; line-height: 1.2; color: var(--text); }
.about-lead { font-size: 26px; font-weight: 300; line-height: 1.6; margin: 26px 0 22px; color: #333; }
.about-body { font-size: 19px; font-weight: 300; line-height: 1.7; color: var(--muted); margin-bottom: 34px; }
/* solid brand green so it stands out on the tea-field photo; turns gold on hover */
.btn-pill {
  border: 2px solid var(--gold); border-radius: 40px; padding: 14px 30px;
  text-transform: uppercase; letter-spacing: 1px; font-size: 15px; font-weight: 600; color: var(--white); background: var(--green-dark);
  box-shadow: 0 8px 22px rgba(15,59,38,.35); transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn-pill:hover { background: var(--gold); border-color: var(--gold); color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,59,38,.4); }

.about-deco { position: absolute; color: var(--gold); opacity: .18; font-size: 60px; animation: float 5s ease-in-out infinite; }
.deco-1 { top: 70px; left: 5%; transform: rotate(-30deg); }
/* tea branches framing the top corners of the welcome text (empty middle keeps the text clear) */
.about-leaves {
  position: absolute; top: 0; left: 50%; width: 100%; height: auto;
  transform: translateX(-50%); pointer-events: none; user-select: none;
  transform-origin: top center; animation: leafSway 7s ease-in-out infinite;
}
.about-inner { position: relative; } /* text above the leaves */
@keyframes leafSway { 0%, 100% { transform: translateX(-50%) rotate(0deg); } 50% { transform: translateX(-50%) rotate(.6deg); } }
/* tablet / phone: show each branch as its own corner piece (the empty middle is dropped), so the leaves stay big */
@media (max-width: 860px) {
  .about-leaves { display: none; }
  .about::before, .about::after {
    content: ''; position: absolute; top: 0; width: 55%; aspect-ratio: 1086 / 724; pointer-events: none;
    background: url('../images/about-leaves.webp') no-repeat; background-size: 200% auto;
  }
  .about::before { left: 0; background-position: left top; }
  .about::after { right: 0; background-position: right top; }
  .about { padding-top: 170px; }
}
@media (max-width: 560px) {
  .about::before, .about::after { width: 72%; }
  .about { padding-top: 140px; }
}
@media (prefers-reduced-motion: reduce) { .about-leaves { animation: none; } }
.deco-2 { bottom: 80px; right: 4%; font-size: 70px; animation-delay: 1.5s; }

@media (max-width: 1500px) {
  .about-inner { gap: 50px; }
  .about-text h2 { font-size: 60px; }
  .about-lead { font-size: 23px; }
}
@media (max-width: 1024px) {
  .about-text h2 { font-size: 46px; }
  .about-lead { font-size: 20px; }
  .about-body { font-size: 17px; }
}
@media (max-width: 560px) {
  .about-text h2 { font-size: 32px; }
  .about-lead { font-size: 17px; }
  .about-body { font-size: 15px; }
  .about-deco { display: none; }
  .about { padding-bottom: 260px; }
}

/* keep hover lifts working after scroll-reveal has finished */
.js .product.reveal.show:hover { transform: translateY(-6px); }
.js .recipe.reveal.show:hover { transform: translateY(-4px); }
.js .badge.reveal.show:hover { transform: rotate(-10deg) scale(1.08); }

/* ================= INNER PAGES (shared) ================= */
/* page banner: photo under a dark green wash; set the photo per page with style="--hero-img: url(...)" */
.page-hero {
  position: relative; padding: 130px 0 110px; text-align: center; color: var(--white);
  background:
    linear-gradient(rgba(10, 40, 25, 0), rgba(10,40,25,.85)),
    var(--hero-img, url('../images/hero.png')) center / cover no-repeat, var(--green-dark);
}
.page-hero .eyebrow {
  display: inline-block; padding: 8px 18px 7px; font-size: 14px; font-weight: 600; letter-spacing: 3px;
  color: var(--green-dark); background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.18);
}
.page-hero h1 { font-family: var(--serif); font-size: 76px; font-weight: 500; line-height: 1.1; margin: 10px 0 18px; }
.page-hero h1 span { color: #f3c96b; }
.page-hero p { max-width: 760px; margin: 0 auto; font-size: 19px; line-height: 1.7; color: rgba(255,255,255,.86); }
.crumbs {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 34px; padding: 9px 20px;
  font-size: 14px; border: 1px solid rgba(255,255,255,.28);
}
.crumbs a:hover { color: var(--gold); }
.crumbs i { font-size: 9px; color: var(--gold); }
.crumbs span { color: #f3c96b; }

.bg-white { background: var(--white); }
.bg-cream2 { background: var(--cream-2); }
.center-head { text-align: center; max-width: 820px; margin: 0 auto 50px; }
.center-head .section-desc { margin-left: auto; margin-right: auto; }

/* generic card grid (services, values, pillars) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(15,59,38,.15); border-left: 1px solid rgba(15,59,38,.15); }
.svc-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.svc {
  position: relative; display: flex; flex-direction: column; padding: 42px 36px 38px; background: var(--white);
  border-right: 1px solid rgba(15,59,38,.15); border-bottom: 1px solid rgba(15,59,38,.15);
  transition: background .3s;
}
.svc::before {
  content: ''; position: absolute; left: -1px; right: -1px; top: -1px; height: 4px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.svc:hover { background: var(--cream); }
.svc:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 26px;
  font-size: 24px; color: var(--gold); background: var(--green-dark); transition: background .3s, color .3s;
}
.svc:hover .svc-icon { background: var(--gold); color: var(--green-dark); }
.svc-no { position: absolute; top: 30px; right: 32px; font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; color: rgba(15,59,38,.08); }
.svc h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; line-height: 1.25; color: var(--green-dark); margin-bottom: 12px; }
.svc p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.svc ul { margin: 20px 0 26px; }
.svc li {
  position: relative; padding: 8px 0 8px 22px; font-size: 14px; color: var(--text);
  border-bottom: 1px dashed rgba(15,59,38,.15);
}
.svc li:last-child { border-bottom: 0; }
.svc li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 9px; font-size: 11px; color: var(--green-light);
}
.svc .link-arrow { margin-top: auto; }

/* dark strip of short feature points */
.why { background: var(--green-dark); color: var(--white); }
.why .title { color: var(--white); }
.why .eyebrow { color: var(--gold); }
.why .section-desc { color: rgba(255,255,255,.75); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.why-item { padding: 38px 32px 10px 0; }
.why-item + .why-item { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.14); }
.why-item i { font-size: 30px; color: var(--gold); margin-bottom: 18px; }
.why-item h4 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.why-item p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.72); }

/* big numbers band */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(15,59,38,.15); background: var(--white); }
.numbers > div { padding: 40px 30px; text-align: center; border-right: 1px solid rgba(15,59,38,.15); }
.numbers > div:last-child { border-right: 0; }
.numbers strong { display: block; font-family: var(--serif); font-size: 60px; font-weight: 500; line-height: 1; color: var(--gold-dark); }
.numbers span { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-dark); }

/* image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.flip .split-img { order: 2; }
.split-img { position: relative; }
.split-img img { position: relative; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split-img .img-tag {
  position: absolute; left: 0; bottom: 0; z-index: 1; padding: 18px 26px;
  background: var(--green-dark); color: var(--white); border-top: 3px solid var(--gold);
}
.img-tag strong { display: block; font-family: var(--serif); font-size: 38px; line-height: 1; color: var(--gold); }
.img-tag span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.split-text .title { margin-bottom: 20px; }
.split-text p { font-size: 17px; line-height: 1.8; color: var(--muted); }
.split-text p + p { margin-top: 16px; }
.ticks { margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.ticks li { position: relative; padding: 10px 0 10px 30px; font-size: 15px; font-weight: 500; color: var(--green-dark); border-bottom: 1px dashed rgba(15,59,38,.15); }
.ticks li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 11px; width: 18px; height: 18px; display: grid; place-items: center;
  font-size: 9px; background: var(--gold); color: var(--green-dark);
}

/* call-to-action band */
.cta-band { background: var(--gold); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1.15; color: var(--green-dark); }
.cta-band p { font-size: 17px; color: var(--green-dark); opacity: .85; margin-top: 8px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-light { border-color: var(--green-dark); background: transparent; }
.cta-band .btn-light:hover { background: var(--green-dark); color: var(--white); }

/* filter chips (shop + recipes) */
.chips { display: flex; flex-wrap: wrap; border: 1px solid rgba(15,59,38,.15); }
.chips button {
  padding: 11px 20px; font-size: 14px; font-weight: 500; color: var(--green-dark);
  border-right: 1px solid rgba(15,59,38,.15); transition: background .25s, color .25s;
}
.chips button:last-child { border-right: 0; }
.chips button:hover { background: var(--cream-2); }
.chips button.on { background: var(--green-dark); color: var(--white); }

/* forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--green-dark);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--white); border: 1px solid rgba(15,59,38,.2); border-radius: 0; outline: none;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 150px; resize: vertical; }
.form .btn { justify-self: start; border-radius: 0; }
.form-ok {
  display: none; grid-column: 1 / -1; padding: 14px 18px; font-size: 15px;
  background: rgba(74,124,58,.1); border-left: 3px solid var(--green-light); color: var(--green-dark);
}
.form-ok.show { display: block; }

@media (max-width: 1300px) {
  .svc-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 60px; }
}
@media (max-width: 1024px) {
  .page-hero { padding: 100px 0 90px; }
  .page-hero h1 { font-size: 56px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .numbers > div:nth-child(2) { border-right: 0; }
  .numbers > div:nth-child(-n+2) { border-bottom: 1px solid rgba(15,59,38,.15); }
  .split, .split.flip { grid-template-columns: 1fr; gap: 60px; }
  .split.flip .split-img { order: 0; }
  .cta-band h2 { font-size: 34px; }
}
@media (max-width: 560px) {
  .page-hero { padding: 70px 0 64px; }
  .page-hero h1 { font-size: 38px; }
  .page-hero p { font-size: 16px; }
  .crumbs { margin-top: 24px; font-size: 13px; }
  .center-head { margin-bottom: 34px; }
  .svc-grid, .svc-grid.cols-4, .why-grid { grid-template-columns: 1fr; }
  .svc { padding: 32px 24px; }
  .why-item, .why-item + .why-item { padding: 28px 0 6px; border-left: 0; }
  .why-item + .why-item { border-top: 1px solid rgba(255,255,255,.14); }
  .numbers > div { padding: 28px 14px; }
  .numbers strong { font-size: 38px; }
  .numbers span { font-size: 11px; }
  .split-text p { font-size: 15px; }
  .ticks { grid-template-columns: 1fr; }
  .cta-band { padding: 50px 0; }
  .cta-band h2 { font-size: 28px; }
  .cta-btns, .cta-btns .btn { width: 100%; }
  .chips { width: 100%; }
  .chips button { flex: 1 1 33%; padding: 10px 8px; font-size: 13px; border-bottom: 1px solid rgba(15,59,38,.15); }
  .form { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
}

/* ================= SERVICES PAGE ================= */
.quote-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.quote-info .section-desc { margin-bottom: 30px; }
.quote-contacts li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(15,59,38,.12); }
.quote-contacts i { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: var(--green-dark); color: var(--gold); }
.quote-contacts small { display: block; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.quote-contacts a, .quote-contacts strong { font-size: 16px; font-weight: 600; color: var(--green-dark); }
.quote-contacts a:hover { color: var(--gold-dark); }
.quote-form { padding: 44px; background: var(--white); border: 1px solid rgba(15,59,38,.15); border-top: 4px solid var(--gold); }
#quote { scroll-margin-top: 90px; }
@media (max-width: 1024px) { .quote-inner { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 560px) { .quote-form { padding: 26px 20px; } }

/* ================= SHOP PAGE ================= */
.shop-layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.shop-main { min-width: 0; }
.shop-main .cat-block-grid { grid-template-columns: repeat(3, 1fr); }
.shop-bar { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; padding: 12px 16px; background: var(--white); border: 1px solid rgba(15,59,38,.12); }
.shop-bar .shop-sort { margin-left: auto; }
.shop-count { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* filter sidebar */
.shop-side { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; background: var(--white); border: 1px solid rgba(15,59,38,.12); border-top: 3px solid var(--gold); }
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid rgba(15,59,38,.12); }
.side-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--green-dark); }
.side-head h3 i { margin-right: 6px; font-size: 15px; color: var(--gold); }
.side-close { display: none; width: 34px; height: 34px; font-size: 18px; color: var(--green-dark); }
.side-box { padding: 20px 22px; border-bottom: 1px solid rgba(15,59,38,.12); }
.side-box h4 { margin-bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-dark); }
.side-cats li { position: relative; }
.side-cats button {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%;
  padding: 9px 36px 9px 10px; font-size: 14px; font-weight: 500; text-align: left; color: var(--green-dark);
  border-left: 2px solid transparent; transition: background .2s, border-color .2s;
}
.side-cats button:hover { background: var(--cream); }
.side-cats button em { min-width: 26px; padding: 1px 7px; font-size: 11px; font-style: normal; text-align: center; color: var(--muted); background: var(--cream-2); border-radius: 10px; }
.side-cats button.on { background: var(--cream); border-left-color: var(--gold); font-weight: 600; }
.side-cats button.on em { background: var(--green-dark); color: var(--white); }
.side-cats > li.active > button { font-weight: 600; }
.side-toggle { position: absolute; top: 4px; right: 0; width: 30px; height: 30px; display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.side-toggle i { transition: transform .25s; }
.side-cats li.open > .side-toggle i { transform: rotate(180deg); }
.side-cats ul { display: none; margin: 2px 0 6px 12px; padding-left: 8px; border-left: 1px dashed rgba(15,59,38,.2); }
.side-cats li.open > ul { display: block; }
.side-cats ul button { padding-right: 10px; font-size: 13px; font-weight: 400; }

/* two-handle price slider: two range inputs stacked on one track */
.price-range { position: relative; height: 24px; margin: 6px 4px 4px; }
.pr-track { position: absolute; top: 10px; left: 0; right: 0; height: 4px; background: var(--cream-2); border-radius: 2px; }
.pr-fill { position: absolute; top: 0; bottom: 0; background: var(--green-dark); border-radius: 2px; }
.price-range input { position: absolute; top: 0; left: 0; width: 100%; height: 24px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.price-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); cursor: pointer; pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.price-range input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); cursor: pointer; pointer-events: auto; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.price-range input::-moz-range-track { background: none; }
.pr-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--green-dark); }
.side-reset { width: calc(100% - 44px); margin: 20px 22px; justify-content: center; }
.side-open { display: none; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--white); background: var(--green-dark); }
.side-overlay { display: none; }

@media (max-width: 1200px) { .shop-main .cat-block-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
  .shop-layout { grid-template-columns: 1fr; }
  .side-open { display: inline-flex; }
  .side-close { display: grid; place-items: center; }
  .shop-side {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 1001; width: 320px; max-width: 86vw; max-height: none;
    border: 0; transform: translateX(-100%); transition: transform .3s ease;
  }
  .side-overlay { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  body.side-on { overflow: hidden; }
  body.side-on .shop-side { transform: none; }
  body.side-on .side-overlay { opacity: 1; visibility: visible; }
}
.shop-count strong { color: var(--green-dark); }
.shop-sort select {
  padding: 11px 14px; font: inherit; font-size: 14px; color: var(--green-dark); background: var(--white);
  border: 1px solid rgba(15,59,38,.2); border-radius: 0; cursor: pointer;
}
.shop-grid .product.hide { display: none; }
.shop-empty { display: none; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed rgba(15,59,38,.2); }
.shop-empty.show { display: block; }
.shop-perks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border: 1px solid rgba(15,59,38,.15); background: var(--white); }
.shop-perks > div { display: flex; gap: 16px; align-items: center; padding: 26px 28px; border-right: 1px solid rgba(15,59,38,.15); }
.shop-perks > div:last-child { border-right: 0; }
.shop-perks i { font-size: 26px; color: var(--gold); }
.shop-perks h5 { font-size: 15px; font-weight: 600; color: var(--green-dark); }
.shop-perks p { font-size: 13px; color: var(--muted); }
@media (max-width: 1024px) {
  .shop-perks { grid-template-columns: 1fr 1fr; }
  .shop-perks > div:nth-child(2) { border-right: 0; }
  .shop-perks > div:nth-child(-n+2) { border-bottom: 1px solid rgba(15,59,38,.15); }
}
@media (max-width: 560px) {
  .shop-bar { gap: 12px; padding: 10px 12px; }
  .shop-bar .shop-count { order: 3; width: 100%; }
  .shop-perks { grid-template-columns: 1fr; }
  .shop-perks > div { border-right: 0; border-bottom: 1px solid rgba(15,59,38,.15); }
  .shop-perks > div:last-child { border-bottom: 0; }
}

/* ================= OUR STORY PAGE ================= */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--green-dark); }
.tl { position: relative; padding: 34px 26px 0 0; }
.tl::before { content: ''; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; background: var(--gold); border: 3px solid var(--cream); }
.tl strong { display: block; font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; color: var(--gold-dark); }
.tl h4 { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--green-dark); margin: 14px 0 8px; }
.tl p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.quote-big { max-width: 1000px; margin: 0 auto; text-align: center; }
.quote-big i { font-size: 44px; color: var(--gold); }
.quote-big blockquote { font-family: var(--serif); font-size: 36px; line-height: 1.5; color: var(--green-dark); margin: 22px 0 26px; }
.quote-big cite { font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); }
@media (max-width: 1024px) {
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--green-dark); }
  .tl { padding: 0 0 34px 34px; }
  .tl::before { top: 6px; left: -8px; }
  .quote-big blockquote { font-size: 28px; }
}
@media (max-width: 560px) { .quote-big blockquote { font-size: 21px; } .tl strong { font-size: 34px; } }

/* ================= CONTACT PAGE ================= */
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; border: 1px solid rgba(15,59,38,.15); }
.contact-form { padding: 50px; background: var(--white); }
.contact-form .title { margin-bottom: 8px; }
.contact-form .sub { margin-bottom: 30px; }
.contact-map { position: relative; min-height: 460px; background: var(--cream-2); }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3); }
.hours { margin-top: 18px; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed rgba(15,59,38,.15); }
.hours li:last-child { border-bottom: 0; }
.hours span { color: var(--muted); }
.faq { max-width: 960px; margin: 0 auto; border-top: 1px solid rgba(15,59,38,.18); }
.faq details { border-bottom: 1px solid rgba(15,59,38,.18); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer;
  list-style: none; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '\2b'; font-family: 'Font Awesome 6 Free'; font-weight: 900; flex-shrink: 0;
  width: 36px; height: 36px; display: grid; place-items: center; font-size: 13px;
  border: 1px solid rgba(15,59,38,.2); color: var(--gold-dark); transition: background .25s, color .25s;
}
.faq details[open] summary::after { content: '\f068'; background: var(--green-dark); border-color: var(--green-dark); color: var(--gold); }
.faq details p { padding: 0 60px 26px 0; font-size: 16px; line-height: 1.8; color: var(--muted); }
@media (max-width: 1024px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-map { min-height: 360px; }
}
@media (max-width: 560px) {
  .contact-form { padding: 30px 20px; }
  .faq summary { font-size: 18px; padding: 20px 0; }
  .faq details p { padding-right: 0; font-size: 15px; }
}

/* ================= CI PAGES: shared bits ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.quick a { display: grid; place-items: center; }
.product h4 a { color: inherit; }
.product h4 a:hover { color: var(--gold-dark); }
.product-link { display: block; width: 100%; height: 100%; }
.shop-empty i { display: block; margin-bottom: 10px; font-size: 28px; color: var(--gold); }

/* form messages + spam trap */
.form-error {
  padding: 14px 18px; font-size: 14px; color: #8a2a1a;
  background: rgba(200,69,47,.08); border-left: 3px solid #c8452f;
}
.form-error strong { display: block; margin-bottom: 4px; }
.form-error p { margin: 2px 0 0; }
.form-ok i { margin-right: 6px; color: var(--green-light); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: .7; cursor: wait; }

/* ================= CATEGORIES PAGE ================= */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cat-tile { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(15,59,38,.15); transition: border-color .3s, transform .3s; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-4px); }
.cat-tile-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.cat-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.cat-tile:hover .cat-tile-img img { transform: scale(1.07); }
.cat-tile-body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 38px 26px 24px; }
.cat-tile-icon {
  position: absolute; top: -26px; left: 26px; width: 52px; height: 52px; display: grid; place-items: center;
  font-size: 20px; color: var(--gold); background: var(--green-dark); transition: background .3s, color .3s;
}
.cat-tile:hover .cat-tile-icon { background: var(--gold); color: var(--green-dark); }
.cat-tile h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--green-dark); margin-bottom: 6px; }
.cat-tile p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.cat-tile .link-arrow { margin-top: auto; }
@media (max-width: 1300px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .cat-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cat-tiles { grid-template-columns: 1fr; } }

/* ================= PRODUCT PAGE ================= */
.product-page { padding: 40px 0 100px; }
.crumbs-dark { margin: 0 0 40px; border-color: rgba(15,59,38,.15); color: var(--muted); flex-wrap: wrap; }
.crumbs-dark a:hover { color: var(--gold-dark); }
.crumbs-dark span { color: var(--green-dark); font-weight: 500; }
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.pd-img { margin-right: 24px; }
.pd-img img { aspect-ratio: 1 / 1; }
.pd-img .tag { position: absolute; top: 18px; left: 18px; z-index: 1; }
.pd-info .title { margin: 6px 0 14px; }
.pd-rating { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.pd-rating .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.pd-rating strong { color: var(--green-dark); }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 26px 0 12px; }
.pd-price strong { font-size: 38px; font-weight: 700; color: var(--green-dark); line-height: 1; }
.pd-price s { font-size: 18px; color: var(--muted); }
.pd-save { padding: 4px 10px; font-size: 13px; font-weight: 600; color: var(--white); background: #c8452f; }
.pd-variant { font-size: 15px; color: var(--green-dark); font-weight: 500; }
.pd-variant i { color: var(--gold); margin-right: 6px; }
.pd-desc { margin: 22px 0 6px; padding: 22px 0; font-size: 16px; line-height: 1.8; color: var(--muted); border-top: 1px dashed rgba(15,59,38,.18); border-bottom: 1px dashed rgba(15,59,38,.18); }
.pd-buy { display: flex; align-items: stretch; gap: 12px; margin: 26px 0 16px; }
.pd-buy .add-cart { flex: 1; justify-content: center; padding: 16px 24px; font-size: 16px; }
.pd-buy .wish { position: static; width: 54px; height: auto; border: 1px solid rgba(15,59,38,.2); background: var(--white); }
.qty { display: flex; border: 1px solid rgba(15,59,38,.2); background: var(--white); }
.qty button { width: 44px; color: var(--green-dark); font-size: 12px; transition: background .2s; }
.qty button:hover { background: var(--cream-2); }
.qty input { width: 54px; text-align: center; font: inherit; font-weight: 600; color: var(--green-dark); border: 0; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pd-whatsapp { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px; font-weight: 600; color: var(--white); background: #25a35a; transition: background .2s; }
.pd-whatsapp:hover { background: #1d8a4b; }
.pd-whatsapp i { font-size: 20px; }
.pd-perks { margin-top: 26px; }
.pd-perks li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; color: var(--text); border-bottom: 1px dashed rgba(15,59,38,.15); }
.pd-perks li:last-child { border-bottom: 0; }
.pd-perks i { width: 20px; color: var(--gold); text-align: center; }
.pd-perks a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .pd { grid-template-columns: 1fr; gap: 50px; }
  .pd-price strong { font-size: 32px; }
}
@media (max-width: 560px) {
  .product-page { padding: 24px 0 70px; }
  .crumbs-dark { margin-bottom: 26px; }
  .pd-img { margin-right: 14px; }
  .pd-buy { flex-wrap: wrap; }
  .pd-buy .add-cart { flex-basis: 100%; order: 3; }
}

/* ================= ARTICLES (recipe detail + policy pages) ================= */
.article { max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.article-meta i { color: var(--gold); margin-right: 6px; }
.article-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin-bottom: 40px; }
.prose { font-size: 17px; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 18px; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 600; color: var(--green-dark); line-height: 1.3; margin-top: 38px; }
.prose h2 { font-size: 30px; }
.prose h3 { font-size: 24px; }
.prose ul, .prose ol { padding-left: 0; }
.prose li { position: relative; padding: 6px 0 6px 28px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 8px; height: 8px; background: var(--gold); }
.prose ol { counter-reset: step; }
.prose ol li { counter-increment: step; padding-left: 40px; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: 7px; width: 26px; height: 26px; display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--gold); background: var(--green-dark);
}
.prose a { color: var(--green-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { padding: 18px 24px; font-family: var(--serif); font-size: 21px; color: var(--green-dark); background: var(--cream-2); border-left: 4px solid var(--gold); }
.prose strong { color: var(--green-dark); }
.article-updated { margin-top: 30px; font-size: 13px; color: var(--muted); }
.article-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(15,59,38,.15); }
@media (max-width: 560px) {
  .prose { font-size: 16px; }
  .prose h2 { font-size: 24px; }
  .article-img { margin-bottom: 28px; }
  .article-foot .btn { width: 100%; }
}

/* ================= CONTACT PAGE extras ================= */
.contact-cards { margin: 0 0 60px; }
.contact-cards a { color: var(--muted); }
.contact-cards a:hover { color: var(--gold-dark); }
.hours-title { margin-top: 40px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green-dark); }
.hours-title i { color: var(--gold); margin-right: 6px; }
#message, #faq { scroll-margin-top: 90px; }

/* ================= MOBILE BOTTOM NAV ================= */
.bnav { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bnav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--white); border-top: 1px solid #eee;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bnav a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 11px; font-weight: 500; color: var(--muted); padding: 4px 0; position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  .bnav-icon { font-size: 19px; line-height: 1; }
  .bnav a.active { color: var(--green-dark); }
  .bnav a.active::before {
    content: ''; position: absolute; top: -6px; left: 50%; width: 26px; height: 3px;
    margin-left: -13px; border-radius: 0 0 3px 3px; background: var(--gold);
  }
  .bnav .cart span { top: -7px; right: -11px; }
}

/* ================= PRODUCT PAGE: gallery slider, actions, details ================= */
.pd-gallery { min-width: 0; outline: none; }
.pd-stage { position: relative; }
.pd-window { position: relative; overflow: hidden; background: var(--cream-2); }
.pd-track { display: flex; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.pd-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; user-select: none; }
.pd-stage .tag { position: absolute; top: 18px; left: 18px; z-index: 2; }
.pd-arrow {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; display: grid; place-items: center;
  font-size: 15px; color: var(--green-dark); background: rgba(255,255,255,.92); transition: background .2s, color .2s;
}
.pd-arrow:hover { background: var(--green-dark); color: var(--white); }
.pd-arrow.prev { left: 14px; }
.pd-arrow.next { right: 14px; }
.pd-counter { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 5px 12px; font-size: 13px; color: var(--white); background: rgba(15,59,38,.8); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.pd-thumbs button { flex: 0 0 86px; height: 86px; padding: 0; border: 2px solid transparent; background: var(--cream-2); opacity: .65; transition: opacity .2s, border-color .2s; }
.pd-thumbs button.on, .pd-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.pd-actions .btn { justify-content: center; padding: 14px 18px; }
.pd-desc .link-arrow { margin-top: 10px; font-size: 14px; }
.pd-details { scroll-margin-top: 90px; }
.pd-details .title { margin: 6px 0 26px; }
@media (max-width: 560px) {
  .pd-thumbs { margin-top: 10px; }
  .pd-thumbs button { flex-basis: 64px; height: 64px; }
  .pd-arrow { width: 38px; height: 38px; margin-top: -19px; }
  .pd-actions { grid-template-columns: 1fr; }
}

/* ================= POPUP (bulk inquiry) ================= */
dialog.modal { margin: auto; width: min(760px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; background: transparent; overflow: visible; }
dialog.modal::backdrop { background: rgba(10,30,20,.65); }
.modal-box { position: relative; max-height: calc(100vh - 40px); overflow-y: auto; padding: 40px; background: var(--cream); border-top: 4px solid var(--gold); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; font-size: 16px; color: var(--green-dark); border: 1px solid rgba(15,59,38,.2); }
.modal-close:hover { background: var(--green-dark); color: var(--white); }
.modal-title { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--green-dark); margin: 4px 0 18px; }
.modal-product { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding: 12px; background: var(--white); border: 1px solid rgba(15,59,38,.12); }
.modal-product img { width: 56px; height: 56px; object-fit: cover; }
.modal-product strong { display: block; color: var(--green-dark); }
.modal-product span { font-size: 13px; color: var(--muted); }
.modal-box .form-ok.show { margin-bottom: 20px; }
@media (max-width: 560px) { .modal-box { padding: 28px 18px; } .modal-title { font-size: 26px; } }

/* ================= CART ================= */
.cart-empty { max-width: 560px; margin: 0 auto; text-align: center; }
.cart-empty > i { font-size: 54px; color: var(--gold); margin-bottom: 18px; }
.cart-empty .section-desc { margin: 10px auto 28px; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.cart-table { background: var(--white); border: 1px solid rgba(15,59,38,.15); }
.cart-row { display: grid; grid-template-columns: 1fr 120px 150px 130px 44px; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid rgba(15,59,38,.1); }
.cart-row:last-child { border-bottom: 0; }
.cart-head { padding-top: 14px; padding-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--green-dark); background: var(--cream-2); }
.cart-prod { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cart-prod img { width: 72px; height: 72px; flex-shrink: 0; object-fit: cover; background: var(--cream-2); }
.cart-prod strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--green-dark); }
.cart-prod small { font-size: 13px; color: var(--muted); }
.cart-prod:hover strong { color: var(--gold-dark); }
.cart-row .qty { display: inline-flex; height: 42px; }
.cart-row .qty button { width: 36px; }
.cart-row .qty input { width: 44px; }
.cart-line { color: var(--green-dark); }
.cart-remove { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); border: 1px solid rgba(15,59,38,.15); }
.cart-remove:hover { color: var(--white); background: #c8452f; border-color: #c8452f; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.cart-summary { position: sticky; top: 110px; padding: 30px; background: var(--white); border: 1px solid rgba(15,59,38,.15); border-top: 4px solid var(--gold); }
.cart-summary h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--green-dark); margin-bottom: 16px; }
.cart-summary ul li, .order-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 15px; border-bottom: 1px dashed rgba(15,59,38,.15); }
.cart-summary ul li span, .order-facts li span { color: var(--muted); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0 22px; }
.cart-total span { font-weight: 600; color: var(--green-dark); }
.cart-total strong { font-size: 28px; color: var(--green-dark); }
.cart-note { margin-top: 12px; padding: 10px 12px; font-size: 13px; color: var(--green-dark); background: rgba(201,161,74,.12); }
.cart-note i { color: var(--gold-dark); margin-right: 4px; }
.cart-pay { margin: 14px 0 12px; font-size: 12px; text-align: center; color: var(--muted); }
.cart-pay a { color: var(--green-dark); text-decoration: underline; }
.cart-summary .link-arrow { font-size: 14px; }
@media (max-width: 1100px) {
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 760px) {
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 1fr auto; grid-template-areas: "prod remove" "price price" "qty line"; gap: 12px; position: relative; }
  .cart-prod { grid-area: prod; }
  .cart-remove { grid-area: remove; }
  .cart-price { grid-area: price; font-size: 14px; color: var(--muted); }
  .cart-row > span[data-label="Qty"] { grid-area: qty; }
  .cart-line { grid-area: line; text-align: right; font-size: 18px; }
}

/* ================= CHECKOUT ================= */
.co-box { padding: 32px; background: var(--white); border: 1px solid rgba(15,59,38,.15); }
.co-box + .co-box { margin-top: 24px; }
.co-box h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--green-dark); }
.co-box h3 span { width: 34px; height: 34px; display: grid; place-items: center; font-family: var(--sans, inherit); font-size: 15px; color: var(--gold); background: var(--green-dark); }
.checkout-layout > div > .form-error { margin-bottom: 20px; }
.pay-options { display: grid; gap: 12px; }
.pay-option { display: block; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-box { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid rgba(15,59,38,.2); transition: border-color .2s, background .2s; }
.pay-box > i { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; font-size: 20px; color: var(--gold); background: var(--green-dark); }
.pay-box strong { display: block; color: var(--green-dark); }
.pay-box small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pay-option:hover .pay-box { border-color: var(--gold); }
.pay-option input:checked + .pay-box { border-color: var(--green-dark); background: rgba(201,161,74,.1); box-shadow: inset 4px 0 0 var(--gold); }
.pay-option input:focus-visible + .pay-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.co-items { margin-bottom: 8px; }
.cart-summary .co-items li, .order-box .co-items li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(15,59,38,.1); }
.co-thumb { position: relative; flex-shrink: 0; }
.co-thumb img { width: 54px; height: 54px; object-fit: cover; background: var(--cream-2); }
.co-thumb b { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; font-size: 11px; color: var(--white); background: var(--green-dark); border-radius: 11px; }
.co-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; color: var(--green-dark); }
.co-name small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
@media (max-width: 560px) { .co-box { padding: 24px 18px; } .cart-summary { padding: 24px 18px; } }

/* ================= ORDER CONFIRMATION ================= */
.order-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 30px; }
.order-head > i { flex-shrink: 0; font-size: 46px; color: var(--gold); }
.order-head.ok > i { color: var(--green-light); }
.order-head .title { font-size: 36px; margin: 4px 0 8px; }
.order-head p { color: var(--muted); }
.order-page .form-error { margin-bottom: 24px; }
.order-pay, .order-bank { margin-bottom: 24px; padding: 24px 28px; background: var(--white); border: 1px solid rgba(15,59,38,.15); border-left: 4px solid var(--gold); }
.order-pay { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.order-bank h3 { font-family: var(--serif); font-size: 22px; color: var(--green-dark); margin-bottom: 10px; }
.order-bank h3 i { color: var(--gold); margin-right: 6px; }
.order-bank p { line-height: 1.8; }
.order-ref { margin-top: 10px; color: var(--green-dark); }
.order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.order-box { padding: 26px 28px; background: var(--white); border: 1px solid rgba(15,59,38,.15); }
.order-box h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--green-dark); margin-bottom: 12px; }
.order-addr { line-height: 1.8; color: var(--text); }
.st { padding: 2px 10px; font-size: 13px; }
.st-paid, .st-completed, .st-shipped { color: #1d6b3a; background: rgba(74,124,58,.14); }
.st-pending, .st-processing { color: #8a6417; background: rgba(201,161,74,.18); }
.st-failed, .st-cancelled, .st-refunded { color: #8a2a1a; background: rgba(200,69,47,.12); }
@media (max-width: 760px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-head { flex-direction: column; gap: 10px; }
  .order-head .title { font-size: 28px; }
}

/* delivery charge (cart + checkout) */
[data-cart-totals] { transition: opacity .2s; }
.cart-note-warn { color: #8a2d1f; background: rgba(200,69,47,.1); }
.cart-note-warn i { color: #c8452f; }
.cart-note-warn a { color: inherit; text-decoration: underline; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ================= RICH TEXT: images, tables, videos (product / recipe / page content) ================= */
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 26px 0; }
.prose figure.image { text-align: center; }
.prose figure.image-style-side { float: right; max-width: 45%; margin: 6px 0 16px 26px; }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.prose figure.table { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.prose th, .prose td { padding: 10px 14px; text-align: left; border: 1px solid rgba(15,59,38,.15); }
.prose th { color: var(--green-dark); background: var(--cream-2); }
.prose .media { position: relative; aspect-ratio: 16 / 9; }
.prose .media > div, .prose .media iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; padding: 0 !important; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 560px) { .prose figure.image-style-side { float: none; max-width: 100%; margin: 20px 0; } }

/* ===== CUSTOMER ACCOUNT ===== */
.account-auth { max-width: 640px; }
.account-auth .form .btn.full { justify-self: stretch; }
.account-switch { margin-top: 16px; font-size: 14px; color: var(--muted); }
.account-switch a, .account-empty a, .co-account a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.account-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
.account-nav { background: var(--white); border: 1px solid rgba(15,59,38,.15); border-top: 4px solid var(--gold); }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-size: 15px; color: var(--text); border-top: 1px solid rgba(15,59,38,.08); }
.account-nav a i { width: 18px; color: var(--green-light); }
.account-nav a:hover, .account-nav a.active { background: var(--cream); color: var(--green-dark); font-weight: 600; }
.account-who { display: flex; align-items: center; gap: 12px; padding: 20px; }
.account-who strong { display: block; color: var(--green-dark); }
.account-who small { display: block; font-size: 13px; color: var(--muted); word-break: break-all; }
.account-avatar { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: var(--gold); font-weight: 600; }
.account-hint { margin: -12px 0 20px; color: var(--muted); font-size: 14px; }
.account-layout .form-ok { margin-bottom: 20px; }
.account-table { overflow-x: auto; }
.account-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.account-table th { text-align: left; padding: 10px 8px; font-weight: 600; color: var(--muted); border-bottom: 2px solid rgba(15,59,38,.15); white-space: nowrap; }
.account-table td { padding: 12px 8px; border-bottom: 1px solid rgba(15,59,38,.1); white-space: nowrap; }
.co-account { margin-bottom: 20px; padding: 14px 18px; background: var(--cream); font-size: 14px; }
.co-account label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.co-account .co-account-pw { display: none; margin-top: 14px; }
.co-account input[type=checkbox]:checked ~ .co-account-pw { display: grid; }
@media (max-width: 900px) { .account-layout { grid-template-columns: 1fr; } }

/* logo image + footer logo (Admin > Settings > Images) */
.logo-img img { display: block; max-height: 80px; max-width: 260px; width: auto; height: auto; }
.footer-logo { display: block; max-height: 110px; max-width: 260px; width: auto; height: auto; margin-bottom: 6px; }
@media (max-width: 560px) {
  .logo-img img { max-height: 52px; max-width: 180px; }
}

/* home hero slider: stacked photos that cross-fade (home.js switches .is-active) */
.hero.has-slides .hero-bg { opacity: 0; transition: opacity 1.4s ease; }
.hero.has-slides .hero-bg.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero.has-slides .hero-bg { transition: none; }
}
/* video slides (YouTube or MP4): fill the hero like a cover photo, same shade on top as the photos */
.hero-bg.is-video { background: #1d2a20; overflow: hidden; container-type: size; animation: none; }
.hero-bg.is-video video, .hero-bg.is-video iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none; transform: translate(-50%, -50%);
}
.hero-bg.is-video video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg.is-video iframe { width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); } /* 16:9 that always covers */
.hero-bg.is-video::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(0,0,0,.5) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,.1) 100%);
}
@media (max-width: 860px) {
  .hero-bg.is-video::after { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.15) 100%); }
  /* zoom in so the clip's bottom caption stays off screen on tall phone screens */
  .hero-bg.is-video video, .hero-bg.is-video iframe { transform: translate(-50%, -50%) scale(1.3); }
}

/* loading screen with the logo (includes/header.php); hidden without JS */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--cream); transition: opacity .5s ease, visibility .5s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.preloader-logo { animation: preloader-pulse 1.6s ease-in-out infinite; }
img.preloader-logo { display: block; max-width: 240px; max-height: 110px; width: auto; height: auto; }
.preloader-bar { position: relative; width: 140px; height: 2px; overflow: hidden; background: rgba(15,59,38,.12); }
.preloader-bar span {
  position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: var(--gold); animation: preloader-slide 1.2s ease-in-out infinite;
}
@keyframes preloader-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .7; transform: scale(.96); } }
@keyframes preloader-slide { 0% { left: -40%; } 100% { left: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .preloader-logo, .preloader-bar span { animation: none; }
  .preloader-bar span { left: 0; width: 100%; }
}

/* payment brand logos on the checkout payment options */
.pay-banner { display: block; max-width: 100%; height: 44px; width: auto; margin-top: 10px; object-fit: contain; object-position: left center; }
.pay-logos { display: flex; gap: 10px; margin-top: 10px; font-size: 38px; line-height: 1; }
@media (max-width: 560px) {
  .pay-banner { height: auto; }
  .pay-logos { font-size: 32px; }
}

/* About Us: vision & mission cards */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { position: relative; padding: 44px 40px; background: var(--cream); border-top: 4px solid var(--gold); }
.vm-card .svc-icon { margin-bottom: 20px; }
.vm-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--green-dark); margin-bottom: 12px; }
.vm-card p { font-size: 16px; line-height: 1.8; color: var(--text); }
@media (max-width: 860px) { .vm-grid { grid-template-columns: 1fr; } .vm-card { padding: 32px 24px; } }

/* Vlog & News: play badge on video cards + responsive YouTube player */
.post-card .recipe-img { position: relative; }
.post-play {
  position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px;
  display: grid; place-items: center; border-radius: 50%; font-size: 20px; color: var(--white);
  background: rgba(200,30,30,.9); box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .25s;
}
.post-card:hover .post-play { transform: scale(1.1); }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 30px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* floating WhatsApp chat button (includes/footer.php): round icon on every screen size */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 950; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%; color: #fff; background: #25d366;
  box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .25s, box-shadow .25s;
}
.wa-float i { font-size: 34px; line-height: 1; }
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; background: #25d366; z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 860px) {
  /* above the mobile bottom menu */
  .wa-float { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .wa-float i { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* WhatsApp chat popup (includes/footer.php + footer.js): greeting bubble + chat window above the button */
.wa-chat { --wa-bottom: 24px; --wa-size: 62px; }
.wa-panel, .wa-teaser { position: fixed; right: 24px; z-index: 951; }
.wa-panel {
  bottom: calc(var(--wa-bottom) + var(--wa-size) + 16px); width: 360px; max-width: calc(100vw - 32px);
  overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.25);
  transform-origin: bottom right; animation: waPop .25s ease-out;
}
.wa-panel[hidden], .wa-teaser[hidden] { display: none; }
@keyframes waPop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px; color: #fff; background: #075e54; }
.wa-head strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.wa-head small { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .85; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; }
.wa-avatar { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; color: var(--green-dark); font-size: 18px; }
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.wa-close { margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 18px; transition: background .2s; }
.wa-close:hover { background: rgba(255,255,255,.15); }
.wa-body { padding: 20px 16px; min-height: 150px; background: #e5ddd5 radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px) 0 0 / 14px 14px; }
.wa-msg {
  position: relative; max-width: 88%; padding: 10px 12px 18px; border-radius: 0 10px 10px 10px;
  font-size: 14px; line-height: 1.5; color: #303030; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.1);
  animation: waPop .35s .15s ease-out both;
}
.wa-msg::before { content: ""; position: absolute; top: 0; left: -8px; border-width: 0 8px 8px 0; border-style: solid; border-color: transparent #fff transparent transparent; }
.wa-msg p + p { margin-top: 6px; }
.wa-msg time { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #999; }
.wa-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: #f0f0f0; }
.wa-form textarea {
  flex: 1; max-height: 110px; padding: 11px 16px; resize: none; font: inherit; font-size: 14px; line-height: 1.4;
  border: 0; border-radius: 22px; background: #fff; outline: none;
}
.wa-form button { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #25d366; font-size: 16px; transition: background .2s, transform .2s; }
.wa-form button:hover { background: #128c7e; transform: scale(1.05); }
.wa-note { padding: 0 12px 10px; font-size: 11px; text-align: center; color: #888; background: #f0f0f0; }
.wa-note i { color: #25d366; }
/* small greeting that pops up once by itself */
.wa-teaser {
  bottom: calc(var(--wa-bottom) + var(--wa-size) + 14px); max-width: 250px; padding: 14px 34px 14px 16px; border-radius: 14px 14px 4px 14px;
  font-size: 14px; color: #303030; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); cursor: pointer; animation: waPop .3s ease-out;
}
.wa-teaser-close { position: absolute; top: 4px; right: 6px; width: 24px; height: 24px; font-size: 18px; line-height: 1; color: #999; }
.wa-teaser-close:hover { color: #333; }
.wa-float.is-open::before { animation: none; opacity: 0; }
@media (max-width: 860px) {
  .wa-chat { --wa-bottom: calc(80px + env(safe-area-inset-bottom)); --wa-size: 56px; }
  .wa-panel, .wa-teaser { right: 16px; }
  .wa-panel { width: auto; left: 16px; max-width: 400px; margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .wa-panel, .wa-msg, .wa-teaser { animation: none; } }

/* sub-categories: smaller chips in the shop filter, names under the category tiles */
.chips .chip-sub { font-size: 13px; padding-left: 12px; padding-right: 12px; opacity: .85; }
.cat-subs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 14px; }
.cat-subs span { padding: 3px 10px; font-size: 12px; color: var(--green-dark); background: rgba(201,161,74,.15); }

/* About Us > Quality & Care */
.quality-text { max-width: 820px; margin: 0 auto; text-align: center; }
.quality-text p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 16px; }
