:root {
  --ink: #17140f;
  --ink-2: #2b2620;
  --ivory: #faf7f2;
  --paper: #ffffff;
  --gold: #b8913f;
  --gold-2: #d9b866;
  --rose: #c58aa8;
  --muted: #6d655a;
  --line: #e7dfd2;
  --ok: #2f7a4a;
  --bad: #a3322b;
  --radius: 14px;
}
* { box-sizing: border-box; }
/* the hidden attribute must always win over component display rules (login, drawer, actions, tabs) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Tajawal", "Segoe UI", Tahoma, sans-serif; color: var(--ink); background: var(--ivory); line-height: 1.7; font-size: 17px; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }

.hero { background: radial-gradient(ellipse at 20% 0%, #3a3127 0%, var(--ink) 60%); color: #f6efe2; padding: 0 16px 72px; }
.bar { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { font-weight: 800; font-size: 28px; letter-spacing: 2px; color: var(--gold-2); direction: ltr; }
.logo span { font-size: 13px; color: #cfc4b0; margin-inline-start: 8px; letter-spacing: 0; font-weight: 500; }
.hero-inner { max-width: 760px; margin: 40px auto 0; text-align: center; }
.eyebrow { color: var(--gold-2); font-weight: 700; margin: 0 0 8px; font-size: 15px; }
.hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.25; margin: 0 0 16px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.lead { color: #d9cfbd; font-size: 18px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn { display: inline-block; background: var(--gold); color: #1a150d; font-weight: 800; border: 0; border-radius: 999px; padding: 12px 28px; text-decoration: none; cursor: pointer; font-family: inherit; font-size: 16px; }
.btn:hover { background: var(--gold-2); }
.btn.ghost { background: transparent; color: #f6efe2; border: 1.5px solid #8c7a59; }
.btn.small { padding: 8px 18px; font-size: 14px; }
.btn:disabled { opacity: .6; cursor: wait; }

.section { max-width: 1120px; margin: 0 auto; padding: 56px 16px 8px; }
.section h2 { font-size: 30px; margin: 0 0 22px; font-weight: 800; }
.section h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 8px; border-radius: 2px; }
.grid { display: grid; gap: 18px; }
.products { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img, .placeholder { height: 300px; width: 100%; object-fit: cover; object-position: center 30%; }
.placeholder { display: grid; place-items: center; color: #6e8b4f; background: linear-gradient(160deg, #f1f6ea, #e3ecd6); }
.card-body { padding: 16px 18px 20px; border-top: 4px solid var(--gold); }
.p-shampoo .card-body { border-top-color: #1b1b1b; }
.p-conditioner .card-body { border-top-color: var(--rose); }
.p-bodywash .card-body { border-top-color: #b9b9b9; }
.p-fruitwash .card-body { border-top-color: #4f9a3c; }
.p-fruitwash img { object-position: center 78%; }
.card h3 { margin: 0; font-size: 20px; }
.sub { margin: 2px 0 10px; color: var(--muted); font-size: 14px; text-align: start; }
.card ul { margin: 0; padding-inline-start: 18px; color: var(--ink-2); }

.vids { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.vids figure { margin: 0; background: #000; border-radius: var(--radius); overflow: hidden; }
.vids video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.vids figcaption { background: var(--paper); padding: 10px 14px; font-weight: 700; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); }

.perks { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.perk { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.perk b { font-size: 18px; color: var(--gold); }
.perk span { color: var(--ink-2); }

.join form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.muted { color: var(--muted); margin-top: -10px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; font-weight: 400; border: 1px solid #d6cbb9; border-radius: 10px; padding: 10px 12px; background: #fffdf9; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-2); border-color: var(--gold); }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 12px; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
legend { font-weight: 800; padding: 0 6px; }
fieldset label, .consent { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
fieldset input, .consent input { width: auto; }
.consent { align-items: flex-start; font-size: 14px; color: var(--ink-2); }
/* honeypot: hidden without pushing it off-canvas (a large negative offset widens RTL pages) */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.join form { position: relative; }
#msg { margin: 0; font-weight: 700; min-height: 1.5em; }
#msg.ok { color: var(--ok); }
#msg.bad { color: var(--bad); }

/* bundles */
.bundle-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bundle { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.bundle.featured { border: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(184, 145, 63, .15); }
.bundle h3 { margin: 0; font-size: 20px; }
.bundle .items { margin: 0; color: var(--muted); font-size: 15px; min-height: 2.8em; }
.bundle .price { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.bundle .price b { font-size: 32px; color: var(--ink); font-weight: 800; }
.bundle .meta { margin: 0; font-size: 14px; color: var(--ink-2); }
.bundle .free { margin: 0; font-size: 14px; color: var(--ok); font-weight: 700; }
.bundle .btn { margin-top: 10px; }
.ribbon { position: absolute; top: -12px; inset-inline-start: 16px; background: var(--gold); color: #1a150d; font-weight: 800; font-size: 13px; padding: 2px 12px; border-radius: 999px; }
.singles-title { margin: 26px 0 12px; font-size: 18px; }
.singles { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.single { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.single span { flex: 1; }
.single b { white-space: nowrap; }
.order form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; max-width: 820px; position: relative; }
.cart { border: 1px dashed #d6cbb9; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.cart .line { display: flex; align-items: center; gap: 12px; }
.cart .n { flex: 1; font-weight: 700; }
.cart .qty { display: inline-flex; align-items: center; gap: 8px; }
.cart .qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #cdbfa8; background: #fffaf0; cursor: pointer; font-size: 18px; line-height: 1; }
.cart .v, .cart .sum span:last-child { font-variant-numeric: tabular-nums; min-width: 70px; text-align: end; }
.cart .sum { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 6px; color: var(--ink-2); }
.cart .sum.total { font-weight: 800; font-size: 19px; color: var(--ink); }
.small { font-size: 14px; }
#orderMsg { margin: 0; font-weight: 700; min-height: 1.5em; }
#orderMsg.ok { color: var(--ok); }
#orderMsg.bad { color: var(--bad); }

/* partner packages + policy */
.pkg-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pkg { background: var(--ink); color: #efe6d4; border-radius: var(--radius); padding: 20px 18px; display: flex; flex-direction: column; gap: 2px; }
.pkg h3 { margin: 0; color: var(--gold-2); font-size: 20px; }
.pkg p { margin: 0; }
.pkg .aud { color: #cbbfa8; font-size: 14px; margin-bottom: 6px; }
.pkg .qty { font-size: 26px; font-weight: 800; }
.pkg .secret { margin-top: 10px; font-size: 13px; color: #a99b81; border-top: 1px solid #3c352b; padding-top: 8px; }
.policy ol { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding-block: 18px; padding-inline: 40px 18px; margin: 0; display: flex; flex-direction: column; gap: 6px; max-width: 820px; }

.foot { text-align: center; color: var(--muted); padding: 48px 16px 32px; font-size: 14px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .card img, .placeholder { height: 240px; }
  .join form { padding: 16px; }
}

/* language toggle in the public nav */
.navact { display: flex; gap: 8px; align-items: center; }
.navact .btn.ghost { color: #f6efe2; border-color: #8c7a59; }

/* certificates */
.card .cert { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #2f6b3f; background: #eef6ef; border-radius: 8px; padding: 5px 9px; display: inline-block; }
.certs { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.certcard { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid #2f6b3f; border-radius: var(--radius); padding: 16px 18px; }
.certcard.origin { border-top-color: var(--gold); }
.certcard h3 { margin: 0 0 10px; font-size: 18px; }
.certcard dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 15px; }
.certcard dt { color: var(--muted); }
.certcard dd { margin: 0; font-weight: 700; }
.certcard dd[dir="ltr"] { text-align: start; unicode-bidi: isolate; }
.certcard .note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* copy refresh (2026-10-16) */
.small-lead { font-size: 16px; margin-top: -14px; opacity: .9; }
.card .desc { margin: 0; color: var(--ink-2); font-size: 15px; }
.delivery-rule { font-weight: 800; color: var(--ink); margin: 0 0 18px; }
.bundle .save { margin: 0; font-size: 14px; font-weight: 800; color: var(--ok); }
table.singles { width: 100%; max-width: 820px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.singles th, table.singles td { padding: 10px 14px; text-align: start; border-bottom: 1px solid var(--line); }
table.singles th { background: #faf6ef; font-size: 14px; color: var(--muted); }
table.singles td.num { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.singles td:last-child { text-align: end; width: 1%; white-space: nowrap; }
.pkg .pkgbtn { margin-top: 12px; align-self: flex-start; text-decoration: none; }
.note-strong { margin: 14px 0 0; font-weight: 700; color: var(--ink-2); max-width: 820px; }
.formhead { margin: 4px 0 -4px; font-size: 17px; }
.foot .foot-logo { justify-content: center; display: flex; align-items: baseline; gap: 6px; color: var(--gold); margin-bottom: 4px; }
.foot p { margin: 0; }
@media (max-width: 560px) { table.singles td, table.singles th { padding: 8px 10px; } }

/* header: language toggle clearly separate from the gold call-to-action */
.bar { gap: 12px; flex-wrap: wrap; }
.logo { white-space: nowrap; }
.navact { gap: 14px; flex-wrap: nowrap; }
.navact .btn { white-space: nowrap; }
.langtoggle { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: #e9dfcc; border: 1px solid rgba(233, 223, 204, .35); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.langtoggle::before { content: "🌐"; font-size: 14px; line-height: 1; }
.langtoggle:hover { border-color: var(--gold-2); color: #fff; }
@media (max-width: 480px) {
  .bar { padding: 12px 0; }
  .navact { gap: 10px; }
  .navact .btn.small { padding: 7px 12px; font-size: 13px; }
  .langtoggle { padding: 5px 10px; font-size: 12px; }
  .logo { font-size: 24px; }
}

/* build-your-own bundle */
.bundle.custom { border-style: dashed; }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }
.sizebtn { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.sizebtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mix { display: flex; flex-direction: column; gap: 6px; margin: 4px 0; }
.mixrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.mixrow .qty { display: inline-flex; align-items: center; gap: 8px; }
.mixrow .qty button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 18px; cursor: pointer; }
.mixrow .qty button:disabled { opacity: .35; cursor: default; }
.mixrow .qty b { min-width: 1.5em; text-align: center; }
.bundle .btn:disabled { opacity: .5; cursor: default; }
