/* Perfect Herbals — public website.
   Built from the brand mockup: deep forest greens, gold call-to-action buttons, an orange
   handwritten tagline, real leaves at the edges, and a dark-green footer. */
:root {
  --g950: #062b10; --g900: #0b3d17; --g800: #0f531f; --g700: #17692a; --g600: #2b8a2f; --g500: #45a83a;
  --g200: #cfe8c3; --g100: #e8f4e1; --g50: #f4faf0;
  --gold: #ffc72c; --gold-2: #f5a000; --gold-ink: #3b2a00; --orange: #ee7d14;
  --ink: #17251a; --muted: #5a6a5d; --line: #e1ebdc; --card: #ffffff; --bg: #ffffff;
  --ok: #17692a; --ok-soft: #e8f4e1; --warn: #8a6100; --warn-soft: #fff4d6; --bad: #b4372b; --bad-soft: #fde8e5;
  --brand: var(--g700); --brand-ink: #fff; --brand-soft: var(--g100);
  --radius: 16px; --shadow: 0 18px 40px -22px rgba(11, 61, 23, .35);
  --head: "Outfit", "Segoe UI", sans-serif; --body: "Plus Jakarta Sans", "Segoe UI", sans-serif; --script: "Yellowtail", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--g700); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--g900); line-height: 1.15; }
h1 { font-size: 30px; font-weight: 800; margin: 6px 0 16px; letter-spacing: -.01em; }
h2 { font-size: 22px; font-weight: 800; margin: 28px 0 12px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.hidden { display: none !important; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
main { min-height: 60vh; }
.page { max-width: 1240px; margin: 0 auto; padding: 32px 24px 64px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------------- buttons ---------------- */
button, .btn { font-family: var(--head); font-weight: 700; font-size: 15px; border: 0; border-radius: 999px; padding: 11px 22px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  background: var(--g700); color: #fff; transition: transform .12s ease, box-shadow .12s ease, background .12s; line-height: 1.2; }
button:hover, .btn:hover { background: var(--g800); }
button:active, .btn:active { transform: translateY(1px); }
button:disabled { opacity: .55; cursor: default; }
.btn-gold, button.btn-gold { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: var(--g950);
  box-shadow: 0 8px 18px -8px rgba(245, 160, 0, .8); }
.btn-gold:hover { background: linear-gradient(180deg, #ffd24f, #f5a000); }
.btn-outline, button.ghost, .btn.ghost { background: #fff; color: var(--g800); border: 2px solid var(--g700); padding: 9px 20px; }
.btn-outline:hover, button.ghost:hover, .btn.ghost:hover { background: var(--g50); }
.btn-white { background: #fff; color: var(--g800); }
.btn-white:hover { background: var(--g50); }
button.small, .btn.small { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 15px 30px; font-size: 16.5px; }
.btn svg, button svg { width: 18px; height: 18px; flex: none; }

/* ---------------- forms ---------------- */
input, select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 15px;
  background: #fff; font-family: var(--body); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--g600); box-shadow: 0 0 0 4px rgba(43, 138, 47, .14); }
label { display: block; font-size: 14px; margin: 14px 0 6px; font-weight: 600; color: var(--g900); }
.form { max-width: 480px; } .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); } .check input { width: auto; margin-top: 4px; accent-color: var(--g700); }
.notice { background: var(--warn-soft); color: #5e4300; padding: 12px 16px; border-radius: 12px; font-size: 14px; border: 1px solid #f4dfa2; }

/* ---------------- shared components (account pages + admin base) ---------------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.stat .label { font-size: 13px; color: var(--muted); font-weight: 500; } .stat .value { font-family: var(--head); font-size: 24px; font-weight: 800; margin-top: 4px; color: var(--g900); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; background: var(--g100); color: var(--g800); font-weight: 600; }
.pill.ok { background: var(--ok-soft); color: var(--ok); } .pill.warn { background: var(--warn-soft); color: var(--warn); } .pill.bad { background: var(--bad-soft); color: var(--bad); }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--g50); font-size: 13px; color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { background: #fff; color: var(--ink); border: 1px solid var(--line); font-size: 14px; padding: 8px 16px; }
.tabs button.on { background: var(--g700); color: #fff; border-color: var(--g700); }
.progress { height: 8px; background: var(--g100); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--g600), var(--g500)); }
.copy { display: flex; gap: 8px; } .copy input { font-size: 13px; }
.cart-line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.flash { position: fixed; top: 92px; right: 20px; z-index: 90; max-width: 400px; padding: 14px 18px; border-radius: 14px; font-weight: 600;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .35); }
.flash.ok { background: var(--g800); color: #fff; } .flash.bad { background: var(--bad); color: #fff; }
.tree { display: flex; flex-direction: column; align-items: center; overflow-x: auto; padding: 12px 0; }
.tnode { display: flex; flex-direction: column; align-items: center; }
.tbox { background: #fff; border: 1.5px solid var(--g200); border-radius: 12px; padding: 9px 12px; font-size: 12px; text-align: center; min-width: 118px; cursor: pointer; }
.tbox.empty { color: var(--muted); border-style: dashed; cursor: default; }
.tbox b { display: block; font-size: 13px; color: var(--g900); }
.tkids { display: flex; gap: 12px; margin-top: 16px; }

/* ---------------- leaves (decoration) ---------------- */
.leaf { position: absolute; pointer-events: none; z-index: 0; }
.leaf svg { width: 100%; height: 100%; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(225, 235, 220, .8); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 78px; max-width: 1320px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { height: 44px; width: auto; }
.logo b { display: block; font-family: var(--head); font-weight: 900; font-size: 18px; color: var(--g800); letter-spacing: .01em; line-height: 1; }
.logo b sup { font-size: 9px; vertical-align: super; }
.logo small { display: block; font-family: var(--head); font-weight: 700; font-size: 9.5px; color: var(--orange); letter-spacing: .04em; margin-top: 4px; white-space: nowrap; }
.mainnav { display: flex; align-items: center; gap: 2px; margin-left: auto; white-space: nowrap; }
.mainnav > a, .mainnav .dd > button { font-family: var(--body); font-weight: 500; font-size: 14.5px; color: var(--ink); text-decoration: none;
  padding: 26px 10px; background: none; border-radius: 0; display: inline-flex; align-items: center; gap: 4px; position: relative; }
.mainnav > a:hover, .mainnav .dd > button:hover { color: var(--g700); background: none; }
.mainnav > a.on { color: var(--g700); font-weight: 600; }
.mainnav > a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 18px; height: 3px; border-radius: 3px; background: var(--g600); }
.mainnav .dd { position: relative; }
.mainnav .dd > button svg { width: 15px; height: 15px; }
.mainnav .menu { position: absolute; top: calc(100% - 8px); left: -8px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: none; }
.mainnav .dd:hover .menu, .mainnav .dd:focus-within .menu { display: block; }
.mainnav .menu a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 14px; }
.mainnav .menu a:hover { background: var(--g50); color: var(--g800); }
.hdr-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { position: relative; background: none; color: var(--ink); padding: 8px; border-radius: 50%; }
.icon-btn:hover { background: var(--g50); color: var(--g800); }
.icon-btn svg { width: 23px; height: 23px; }
.icon-btn .count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--orange);
  color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; font-family: var(--head); }
.hdr-actions .btn { padding: 9px 18px; font-size: 14px; }
.hdr-actions .btn-outline { padding: 7px 18px; }
.burger { display: none; }
.searchbar { display: none; border-top: 1px solid var(--line); background: #fff; }
.searchbar.open { display: block; }
.searchbar form { display: flex; gap: 10px; padding: 14px 24px; max-width: 760px; margin: 0 auto; }

.annbar { background: var(--g900); color: #fff; text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; }
.annbar a { color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.annbar svg { width: 15px; height: 15px; }
body.admin-mode .annbar { display: none; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 80; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(6, 43, 16, .5); }
.drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff; padding: 20px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px; }
.drawer .panel a { display: block; padding: 12px 10px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 10px; }
.drawer .panel a:hover { background: var(--g50); }
.drawer .panel h5 { margin: 14px 10px 4px; font-family: var(--head); color: var(--muted); font-size: 12px; font-weight: 700; }
.drawer .panel .btn { margin-top: 10px; }

/* ---------------- home: hero ---------------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 520px at 70% 30%, #f3fbe9 0%, rgba(243, 251, 233, 0) 70%),
  linear-gradient(180deg, #f6fbf1 0%, #eef7e6 70%, #fff 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 0;
  padding-top: 30px; padding-bottom: 86px; }
.hero h1 { font-family: var(--head); font-weight: 900; font-size: clamp(36px, 4.3vw, 62px); line-height: .98; letter-spacing: -.02em; text-wrap: balance;
  color: var(--g800); margin: 0; text-transform: uppercase; }
.script { font-family: var(--script); color: var(--orange); font-size: clamp(28px, 3.2vw, 42px); line-height: 1.2; margin: 8px 0 16px; display: flex; align-items: center; gap: 10px; }
.script svg { width: 30px; height: 30px; }
.chips { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; margin-top: 2px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; color: var(--g700); font-weight: 600; font-size: 14.5px; padding: 2px 14px; white-space: nowrap; }
.chips span:first-child { padding-left: 0; }
.chips span + span { border-left: 1.5px solid var(--g200); }
.chips svg { width: 18px; height: 18px; color: var(--g600); }
.hero-copy { font-size: 16px; max-width: 470px; margin: 18px 0 22px; color: #2b3a2e; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust { display: flex; gap: 0; margin-top: 28px; }
.trust div { text-align: center; padding: 0 22px; max-width: 150px; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--g900); line-height: 1.25; }
.trust div + div { border-left: 1px solid var(--g200); }
.trust div:first-child { padding-left: 0; }
.trust svg { width: 34px; height: 34px; color: var(--g700); margin: 0 auto 6px; display: block; }
.hero-art { position: relative; align-self: center; margin-right: -70px; }
.hero-art img { width: 100%; height: auto; }
.badge-glow { position: absolute; right: -6px; top: 18px; width: 158px; height: 158px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #2f9a34, var(--g800) 70%); color: #fff; font-family: var(--head); font-weight: 900;
  box-shadow: 0 0 0 5px #fff, 0 0 0 9px var(--gold), 0 20px 40px -12px rgba(11, 61, 23, .6); line-height: 1.02; }
.badge-glow span { display: block; font-size: 27px; color: var(--gold); }
.badge-glow small { display: block; font-size: 14px; font-weight: 800; max-width: 116px; margin: 2px auto 0; }
.badge-glow svg { width: 22px; height: 22px; margin: 0 auto 2px; color: #cfe8c3; }

.hero-extras { display: none; }

/* feature bar */
.featbar { position: relative; z-index: 2; margin-top: -58px; }
.featbar .bar { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); background: linear-gradient(180deg, var(--g700), var(--g800)); border-radius: 18px;
  box-shadow: 0 22px 40px -22px rgba(11, 61, 23, .7); }
.featbar .bar > div { display: flex; align-items: center; gap: 14px; padding: 18px 22px; color: #fff; }
.featbar .bar > div + div { border-left: 1.5px solid rgba(255, 199, 44, .55); }
.featbar svg { width: 38px; height: 38px; flex: none; }
.featbar b { display: block; font-family: var(--head); font-size: 15px; }
.featbar span { display: block; font-size: 13px; color: #d7ebcf; }

/* promo pair */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.promo { position: relative; overflow: hidden; border-radius: 20px; padding: 26px 28px; min-height: 196px; }
.promo h3 { font-size: 25px; font-weight: 800; margin: 4px 0 8px; line-height: 1.12; }
.promo p { margin: 0 0 16px; font-size: 14px; color: #3a4a3d; max-width: 360px; }
.promo .tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; font-size: 12.5px; color: var(--g600); }
.promo .tag svg { width: 16px; height: 16px; }
.promo-shop { background: linear-gradient(110deg, #e9f6df 0%, #f6fbf1 55%, #ffffff 100%); display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; padding-left: 0; }
.promo-shop img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; border-radius: 0 18px 18px 0; mask-image: linear-gradient(90deg, #000 70%, transparent); }
.promo-biz { background: linear-gradient(110deg, #fff8e6 0%, #fffaf0 60%, #fff 100%); display: grid; grid-template-columns: 1.25fr .9fr; gap: 10px; }
.promo-biz .tag { color: #b06d00; }
.promo-biz ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14px; align-content: center; }
.promo-biz li { display: flex; gap: 8px; align-items: center; }
.promo-biz li svg { width: 20px; height: 20px; color: var(--g600); flex: none; }
.growth { display: block; width: 160px; height: 70px; margin-top: 4px; }

/* why + testimonial */
.why-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 28px; align-items: stretch; }
.why h3 { font-size: 22px; font-weight: 800; margin: 0 0 14px; text-align: center; }
.why .icons { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); }
.why .icons div { text-align: center; padding: 0 8px; font-family: var(--head); font-weight: 700; font-size: 13.5px; color: var(--g900); line-height: 1.25; }
.why .icons div + div { border-left: 1px solid var(--line); }
.why .icons i { width: 54px; height: 54px; border-radius: 50%; background: var(--g100); color: var(--g700); display: grid; place-items: center; margin: 0 auto 8px;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--g200); }
.why .icons svg { width: 28px; height: 28px; }
.testi { border-left: 1px solid var(--line); padding-left: 30px; display: flex; flex-direction: column; justify-content: center; }
.testi .slide { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.testi .photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--g100); background: var(--g100); }
.testi .initial { width: 96px; height: 96px; border-radius: 50%; background: var(--g100); color: var(--g700); display: grid; place-items: center; font-family: var(--head); font-weight: 900; font-size: 30px; }
.testi blockquote { margin: 0; font-size: 15.5px; color: #2b3a2e; position: relative; }
.testi blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 52px; line-height: 0; color: var(--g700); position: relative; top: 20px; margin-right: 4px; }
.testi cite { display: block; font-style: normal; font-family: var(--head); font-weight: 800; color: var(--orange); margin-top: 6px; }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: 17px; }
.testi .nav { display: flex; align-items: center; gap: 14px; margin-top: 14px; justify-content: center; }
.testi .nav button { width: 38px; height: 38px; padding: 0; border-radius: 50%; background: #fff; color: var(--g800); border: 1.5px solid var(--line); }
.testi .dots { display: flex; gap: 7px; }
.testi .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--g200); }
.testi .dots i.on { background: var(--g800); }

/* CTA banner */
.cta-band { position: relative; overflow: hidden; margin: 34px 0 0; border-radius: 22px; background: linear-gradient(100deg, var(--g800), var(--g600) 60%, var(--g700));
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 40px 26px 150px; color: #fff; }
.cta-band h3 { color: #fff; font-size: 27px; margin: 0; font-weight: 800; }
.cta-band p { margin: 4px 0 0; color: #d9efd0; }
.cta-band .row { gap: 14px; position: relative; z-index: 1; flex: none; }

/* ---------------- footer ---------------- */
.site-footer { background: var(--g950); color: #cfe0c9; margin-top: 64px; }
.site-footer .cols { display: grid; grid-template-columns: 1.45fr repeat(3, 1fr) 1.45fr; gap: 0; padding: 42px 24px 26px; }
.site-footer .cols > div { padding: 0 24px; }
.site-footer .cols > div + div { border-left: 1px solid rgba(207, 232, 195, .14); }
.site-footer .cols > div:first-child { padding-left: 0; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin: 0 0 12px; }
.site-footer a { color: #cfe0c9; text-decoration: none; display: block; padding: 3px 0; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo b { color: #fff; } .site-footer .logo img { background: #fff; border-radius: 10px; padding: 3px 5px; height: 44px; }
.site-footer p { font-size: 14px; margin: 12px 0 0; }
.news { display: flex; background: #fff; border-radius: 10px; overflow: hidden; margin-top: 10px; }
.news input { border: 0; border-radius: 0; font-size: 14px; padding: 11px 12px; }
.news button { border-radius: 0; background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: var(--g950); padding: 0 16px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); padding: 0; }
.socials a:hover { background: var(--gold); color: var(--g950); }
.socials svg { width: 18px; height: 18px; }
.site-footer .base { border-top: 1px solid rgba(207, 232, 195, .14); }
.site-footer .base .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 18px; font-size: 13.5px; flex-wrap: wrap; }

/* ---------------- inner-page hero band ---------------- */
.pagehero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f3faec, #e9f5df); border-bottom: 1px solid var(--line); }
.pagehero .wrap { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 34px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--g700); }
.pagehero h1 { font-family: var(--head); font-weight: 900; font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; color: var(--g800); margin: 8px 0 0; letter-spacing: -.01em; }
.pagehero .script { font-size: clamp(22px, 2.4vw, 30px); margin: 4px 0 0; }

/* section heading */
.sec-h { text-align: center; margin: 46px auto 22px; max-width: 640px; }
.sec-h h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.sec-h p { color: var(--muted); margin: 8px 0 0; }

/* ---------------- shop ---------------- */
.shopbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.catpills { display: flex; gap: 8px; flex-wrap: wrap; }
.catpills button { background: #fff; color: var(--g900); border: 1.5px solid var(--line); padding: 8px 16px; font-size: 14px; font-family: var(--body); font-weight: 600; }
.catpills button.on { background: var(--g800); border-color: var(--g800); color: #fff; }
.shopbar .search { margin-left: auto; display: flex; gap: 8px; min-width: 260px; }
.shopbar select { width: auto; }
.pgrid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pimg { position: relative; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 40%, #ffffff 0%, #eef7e7 70%); display: grid; place-items: center; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.pimg .ph { text-align: center; color: var(--g700); }
.pimg .ph svg { width: 64px; height: 64px; margin: 0 auto; }
.pimg { text-decoration: none; }
.pimg .ph b { display: block; font-family: var(--head); font-size: 14px; margin-top: 6px; color: var(--g800); padding: 0 16px; }
.pcard .flag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--gold); color: var(--g950); font-family: var(--head); font-weight: 800;
  font-size: 11.5px; padding: 4px 10px; border-radius: 99px; }
.pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard .cat { font-size: 12.5px; color: var(--g600); font-weight: 600; }
.pcard h3 { font-size: 17px; margin: 4px 0 6px; font-weight: 800; }
.pcard h3 a { color: inherit; text-decoration: none; }
.pcard .benefits { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pcard .benefits span { font-size: 11.5px; background: var(--g50); color: var(--g800); border: 1px solid var(--g100); padding: 2px 9px; border-radius: 99px; }
.pcard .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--g900); }
.price small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--muted); }
.addbtn { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
.addbtn svg { width: 21px; height: 21px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg { width: 56px; height: 56px; color: var(--g600); margin: 0 auto 10px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.pdp .pimg { border-radius: 24px; border: 1px solid var(--line); }
.pdp h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin: 6px 0 8px; }
.pdp .price { font-size: 30px; }
.pdp .benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pdp .benefits span { display: inline-flex; align-items: center; gap: 6px; background: var(--g800); color: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 13.5px; }
.pdp .benefits svg { width: 15px; height: 15px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { background: #fff; color: var(--g800); border-radius: 0; padding: 10px 16px; font-size: 18px; }
.qty input { width: 54px; border: 0; text-align: center; font-weight: 700; padding: 10px 0; }
.pdp .buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 20px 0; }
.infolist { display: grid; gap: 12px; margin-top: 22px; }
.infolist div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.infolist svg { width: 22px; height: 22px; color: var(--g700); flex: none; margin-top: 1px; }
.acc { border: 1px solid var(--line); border-radius: 16px; margin-top: 18px; }
.acc details { border-top: 1px solid var(--line); } .acc details:first-child { border-top: 0; }
.acc summary { cursor: pointer; padding: 16px 20px; font-family: var(--head); font-weight: 800; color: var(--g900); list-style: none; display: flex; justify-content: space-between; }
.acc summary::after { content: "+"; font-size: 20px; color: var(--g700); }
.acc details[open] summary::after { content: "–"; }
.acc details > div { padding: 0 20px 18px; color: #2f3e32; }

/* cart & checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--g50); display: grid; place-items: center; color: var(--g700); }
.line .thumb img { width: 100%; height: 100%; object-fit: cover; } .line .thumb svg { width: 30px; height: 30px; }
.line b { font-family: var(--head); color: var(--g900); }
.summary { position: sticky; top: 100px; }
.summary .tot { display: flex; justify-content: space-between; font-family: var(--head); font-weight: 900; font-size: 22px; color: var(--g900); padding-top: 14px; }
.steps-mini { display: flex; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.secure { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin-top: 12px; }
.secure svg { width: 18px; height: 18px; color: var(--g700); }

/* how-to-earn */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: relative; }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--g950); display: grid; place-items: center; font-family: var(--head); font-weight: 900; }
.step h3 { margin: 14px 0 6px; font-size: 18px; }
.step p { margin: 0; color: #3a4a3d; font-size: 14.5px; }
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.way { display: grid; grid-template-columns: 58px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.way i { width: 58px; height: 58px; border-radius: 16px; background: var(--g800); color: var(--gold); display: grid; place-items: center; }
.way i svg { width: 30px; height: 30px; }
.way h3 { margin: 0 0 6px; font-size: 18px; }
.way p { margin: 0; font-size: 14.5px; color: #3a4a3d; }
.way .fig { display: inline-block; margin-top: 10px; font-family: var(--head); font-weight: 800; color: var(--g700); background: var(--g50); border-radius: 10px; padding: 4px 10px; font-size: 13.5px; }
.example { background: linear-gradient(110deg, var(--g800), var(--g700)); color: #fff; border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.example h3 { color: #fff; margin: 0 0 8px; font-size: 22px; }
.example p { color: #d9efd0; margin: 0; }
.legs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; text-align: center; font-family: var(--head); }
.legs div { background: rgba(255, 255, 255, .1); border-radius: 16px; padding: 14px; }
.legs b { display: block; font-size: 26px; color: var(--gold); }
.legs .eq { font-size: 15px; color: #fff; }
.legs .pay { grid-column: 1 / -1; background: var(--gold); color: var(--g950); font-weight: 900; font-size: 18px; }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.rules div { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.rules svg { width: 22px; height: 22px; color: var(--g600); flex: none; margin-top: 1px; }

/* split (join / login) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.split .side { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--g800), var(--g700) 60%, var(--g600)); color: #fff; padding: 40px; }
.split .side h2 { color: #fff; font-size: 30px; font-weight: 900; margin: 0; text-transform: uppercase; line-height: 1.05; }
.split .side .script { color: var(--gold); }
.split .side ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.split .side li { display: flex; gap: 10px; align-items: flex-start; color: #e3f2dc; }
.split .side li svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
#joinSide { display: flex; }
#joinSide > .side { flex: 1; }
.split .main { padding: 36px 40px; }
.split .main h2 { margin-top: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--g50); border-radius: 14px; padding: 5px; gap: 5px; border: 1px solid var(--line); }
.seg button { background: transparent; color: var(--g900); border-radius: 10px; font-size: 14px; padding: 10px; }
.seg button.on { background: #fff; color: var(--g800); box-shadow: 0 4px 12px -6px rgba(11, 61, 23, .4); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* order tracking timeline */
.track-steps { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.track-steps li { text-align: center; position: relative; font-size: 13px; color: var(--muted); padding: 0 4px; }
.track-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--g100); z-index: 0; }
.track-steps li:first-child::before { display: none; }
.track-steps li.done::before, .track-steps li.next::before { background: var(--g500); }
.track-steps li.next::before { background: linear-gradient(90deg, var(--g500), var(--g100)); }
.track-steps .dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--g100); display: grid; place-items: center;
  margin: 0 auto 6px; font-family: var(--head); font-weight: 800; color: var(--muted); }
.track-steps li.done .dot { background: var(--g700); border-color: var(--g700); color: #fff; }
.track-steps li.next .dot { border-color: var(--gold); color: var(--g900); }
.track-steps b { display: block; color: var(--g900); font-size: 13px; line-height: 1.25; }
.track-steps small { display: block; }
@media (max-width: 560px) {
  .track-steps { grid-template-columns: 1fr; gap: 0; }
  .track-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; text-align: left; padding: 0 0 14px; }
  .track-steps li::before { left: 15px; top: -14px; width: 3px; height: 30px; }
  .track-steps .dot { margin: 0; grid-row: span 2; }
}

/* legal pages */
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.legal-nav a.on { background: var(--g800); color: #fff; }
.legal-nav a:not(.on):hover { background: var(--g50); }
.legal { max-width: 760px; font-size: 15.5px; color: #2b3a2e; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin: 4px 0; }
@media (max-width: 860px) { .legal-wrap { grid-template-columns: 1fr; gap: 16px; } .legal-nav { position: static; grid-auto-flow: column; overflow-x: auto; } .legal-nav a { white-space: nowrap; } }

/* about & help */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.story p { font-size: 16px; color: #2f3e32; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.valcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; text-align: center; }
.valcard i { width: 58px; height: 58px; border-radius: 50%; background: var(--g100); color: var(--g700); display: grid; place-items: center; margin: 0 auto 10px; }
.valcard i svg { width: 28px; height: 28px; }
.valcard h3 { margin: 0 0 6px; font-size: 16.5px; }
.valcard p { margin: 0; font-size: 14px; color: #3a4a3d; }
.helpgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.contact { display: grid; gap: 12px; }
.contact a.c { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none; color: var(--ink); }
.contact a.c:hover { border-color: var(--g600); }
.contact i { width: 46px; height: 46px; border-radius: 12px; background: var(--g800); color: var(--gold); display: grid; place-items: center; flex: none; }
.contact i svg { width: 22px; height: 22px; }
.contact b { display: block; font-family: var(--head); color: var(--g900); }

/* account (distributor) pages */
.acct-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.acct-tabs a { text-decoration: none; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1.5px solid var(--g200); color: var(--g800); font-weight: 600; font-size: 14px; }
.acct-tabs a.on { background: var(--g800); color: #fff; border-color: var(--g800); }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1280px) {
  .mainnav > a[href="#/join"] { display: none; }
}
@media (max-width: 1180px) {
  .mainnav > a, .mainnav .dd > button { padding-left: 8px; padding-right: 8px; font-size: 14.5px; }
  .hdr-actions .btn-outline { display: none; }
}
@media (max-width: 1024px) {
  .mainnav { display: none; }
  .burger { display: inline-grid; }
  .hdr-actions { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 86px; }
  .featbar .bar { grid-template-columns: 1fr 1fr; }
  .featbar .bar > div:nth-child(3) { border-left: 0; }
  .featbar .bar > div:nth-child(n+3) { border-top: 1.5px solid rgba(255, 199, 44, .4); }
  .promos, .why-row, .pdp, .checkout, .story, .helpgrid, .example { grid-template-columns: 1fr; }
  .testi { border-left: 0; padding-left: 0; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .site-footer .cols > div:first-child, .site-footer .cols > div:last-child { grid-column: 1 / -1; padding: 0; border: 0; }
  .site-footer .cols > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .site-footer .cols > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .steps, .values { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cta-band { padding-left: 40px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .wrap, .page { padding-left: 16px; padding-right: 16px; }
  .site-header .wrap { height: 66px; gap: 10px; }
  .logo { gap: 6px; min-width: 0; }
  .logo img { height: 30px; }
  .logo b { font-size: 14px; } .logo small { font-size: 7px; letter-spacing: 0; }
  .hdr-actions { gap: 0; }
  .icon-btn { padding: 7px; }
  .pagehero .leaf:not(:first-of-type) { display: none; }
  .hdr-actions .btn { display: none; }
  .hero .wrap { padding-top: 22px; }
  .hero h1 { white-space: normal; }
  .chips { flex-wrap: wrap; gap: 8px 18px; }
  .chips span + span { border-left: 0; }
  .chips span { font-size: 13.5px; padding: 0; }
  .trust div { padding: 0 12px; font-size: 12px; }
  .badge-glow { width: 112px; height: 112px; right: 0; top: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--gold); }
  .badge-glow span { font-size: 19px; } .badge-glow small { font-size: 10.5px; max-width: 86px; } .badge-glow svg { width: 16px; height: 16px; }
  .featbar .bar { grid-template-columns: 1fr; }
  .featbar .bar > div + div { border-left: 0; border-top: 1.5px solid rgba(255, 199, 44, .35); }
  .promo-shop { grid-template-columns: 1fr; padding-left: 22px; }
  .promo-shop img { height: 160px; border-radius: 14px; mask-image: none; }
  .promo-biz { grid-template-columns: 1fr; }
  .why .icons { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .why .icons div:nth-child(3) { border-left: 0; }
  .testi .slide { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .cta-band { padding: 26px 22px; }
  .cta-band h3 { font-size: 22px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .site-footer .cols > div { padding: 0 !important; border: 0 !important; }
  .steps, .values, .ways, .rules, .two { grid-template-columns: 1fr; }
  .shopbar .search { margin-left: 0; width: 100%; min-width: 0; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pimg .ph b { display: none; }
  .catpills { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .catpills button { white-space: nowrap; }
  .shopbar select { width: 100%; }
  .pcard .body { padding: 12px; } .pcard h3 { font-size: 14.5px; } .pcard .benefits { display: none; } .price { font-size: 16px; }
  .addbtn { width: 40px; height: 40px; }
  .split .side, .split .main { padding: 26px 20px; }
  .flash { left: 12px; right: 12px; top: 76px; max-width: none; }
}
/* ---------- phones & tablets: photo fills the hero, text overlays it on the left ---------- */
@media (max-width: 1024px) {
  .hero .wrap { display: block; position: relative; min-height: 600px; padding-top: 44px; padding-bottom: 48px; }
  .hero-art { position: absolute; inset: 0; max-width: none; margin: 0; z-index: 0; align-self: auto; }
  .hero-art img { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 92%; width: auto; max-width: none; }
  .hero-art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(243, 250, 237, .97) 0%, rgba(243, 250, 237, .92) 38%, rgba(243, 250, 237, .55) 60%, rgba(243, 250, 237, 0) 80%),
                linear-gradient(0deg, rgba(243, 250, 237, .9) 0%, rgba(243, 250, 237, 0) 22%); }
  .hero-text { position: relative; z-index: 1; max-width: 58%; }
  .hero-text .chips, .hero-text .trust { display: none; }
  .hero h1 { white-space: normal; font-size: clamp(32px, 6vw, 52px); }
  .hero-copy { max-width: 100%; }
  .badge-glow { z-index: 2; top: auto; bottom: 120px; right: 22px; }
  .hero .leaf { display: none; }
  .hero-extras { display: grid; gap: 18px; justify-items: center; padding-top: 22px; padding-bottom: 6px; }
  .hero-extras .chips { flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
  .hero-extras .chips span { padding: 0; border: 0; font-size: 14px; }
  .hero-extras .trust { margin: 0; justify-content: center; }
  .featbar { margin-top: 22px; }
}
@media (max-width: 680px) {
  .hero .wrap { min-height: 540px; padding-top: 30px; padding-bottom: 36px; }
  .hero-text { max-width: 64%; }
  .hero h1 { font-size: clamp(27px, 8.4vw, 34px); line-height: 1.02; }
  .hero .script { display: block; font-size: 22px; margin: 8px 0 10px; }
  .hero .script svg { width: 18px; height: 18px; display: inline; vertical-align: -2px; margin-left: 4px; }
  .hero-copy { font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-cta .btn-lg { padding: 12px 18px; font-size: 14.5px; }
  .hero-cta .btn svg { width: 16px; height: 16px; }
  .hero-art img { height: 84%; top: auto; bottom: 0; transform: none; right: -18%; }
  .hero-text { max-width: 60%; }
  .badge-glow { top: auto; bottom: 22px; right: 10px; width: 96px; height: 96px; }
  .badge-glow span { font-size: 16px; } .badge-glow small { font-size: 9px; max-width: 70px; } .badge-glow svg { width: 13px; height: 13px; }
  .hero-extras .trust div { padding: 0 12px; }
}
@media (max-width: 380px) {
  .logo img { height: 26px; }
  .logo b { font-size: 12.5px; }
  .logo small { font-size: 6.5px; }
  .icon-btn { padding: 6px; }
  .icon-btn svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
