/* ===== Orzax Saudi Arabia — catalog layer on top of the existing identity (style.css) ===== */
:root {
  --green: #75b72a;      /* Orzax logo leaf */
  --green-d: #4e8a17;    /* readable on cream */
  --green-l: #e7f3d6;
  --green-glow: rgba(117,183,42,.35);
}
/* brand / logo */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; padding-inline-start: 14px; border-inline-start: 1px solid rgba(44,35,30,.2); }
.brand-t b { font-family: var(--display); font-size: 16px; color: var(--ink); }
.brand-t small { font-size: 10.5px; letter-spacing: .14em; color: var(--tx-2); font-weight: 700; direction: ltr; text-align: end; }
.brand.on-dark { background: var(--cream); padding: 10px 16px; border-radius: 16px; }
.brand.on-dark .brand-t b { color: var(--ink); }
@media (max-width: 600px) { .brand-t { display: none; } .brand-logo { height: 28px; } }

/* green accents (gradual, not dominant) */
.pill.dark .pill-ic { background: var(--green); border-color: var(--green); color: #fff; }
.pill.dark:hover .pill-ic { background: var(--green-d); }
.eyebrow::before { background: var(--green); }
.eyebrow.light::before { background: var(--green); }
.tag .ic, .src-row .ic { color: var(--green-d); }
.hb-ic { border-color: rgba(231,243,214,.8); }
.cap-ic { color: #9ad04f; border-color: rgba(117,183,42,.35); background: linear-gradient(135deg, rgba(117,183,42,.18), rgba(214,162,74,.06)); }
.cap::after { background: linear-gradient(90deg, var(--green), var(--orange)); }
.fs-ic { background: linear-gradient(135deg, #9ad04f, var(--green)); color: var(--ink); }
.nav-links a.on { box-shadow: inset 0 -2px 0 var(--green); }
.hero-word span { font-size: clamp(120px, 19vw, 360px); }

/* ---------- product cards ---------- */
.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; text-align: start; padding: 0; font: inherit; color: inherit; cursor: pointer; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #fff9f1 0%, #fbeedf 100%); border: 1px solid rgba(60,40,25,.1); box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .25s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.pcard:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.pcard .pimg { aspect-ratio: 1 / .9; display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 50%, #fffdf9 0%, #f8dcc0 75%, #f3c49a 100%); border-bottom: 1px solid rgba(60,40,25,.08); }
.pcard .pimg img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .5s var(--ease); filter: drop-shadow(0 16px 18px rgba(120,60,20,.22)); }
.pcard:hover .pimg img { transform: scale(1.04) translateY(-3px); }
.pcard .pbody { padding: 16px 18px 18px; display: grid; gap: 8px; }
.pc-brand { font-size: 12px; font-weight: 700; color: var(--green-d); letter-spacing: .02em; }
.pc-name { font-family: var(--display); font-size: 16.5px; line-height: 1.45; direction: ltr; text-align: right; }
.pfacts { display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px; }
.pfacts > span { padding: 8px 10px; border-radius: 12px; background: rgba(60,40,25,.05); font-size: 13px; font-weight: 700; }
.pfacts small { display: block; font-size: 11px; color: var(--tx-3); font-weight: 500; }
.mono-n { font-family: Consolas, "JetBrains Mono", monospace; direction: ltr; unicode-bidi: embed; letter-spacing: .03em; }
.pc-cta { margin-top: 4px; display: flex; align-items: center; justify-content: space-between; height: 42px; padding-inline: 16px 5px; border-radius: 999px; background: var(--char); color: var(--on-dark); font-weight: 700; font-size: 13.5px; transition: background .25s; }
.pc-cta .pill-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; }
.pc-check { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 6px 16px -6px var(--green-glow); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--ease); }
.pcard.is-active { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow), var(--sh-2); transform: translateY(-5px); }
.pcard.is-active .pc-check { opacity: 1; transform: none; }
.pcard.is-active .pc-cta { background: var(--green-d); }
.pcard.is-active .pc-cta .pill-ic { background: #fff; color: var(--green-d); }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }

/* ---------- product view (in the study band) ---------- */
.pv-empty { display: flex; align-items: center; gap: 24px; padding: 34px; border-radius: 30px; background: linear-gradient(140deg, rgba(117,183,42,.12), rgba(242,162,106,.08) 55%, rgba(255,240,225,.03)), var(--char); border: 1px solid var(--line-d); flex-wrap: wrap; }
.pv-empty-ic { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; background: rgba(117,183,42,.16); color: #9ad04f; border: 1px dashed rgba(117,183,42,.5); flex-shrink: 0; }
.pv-empty > div { flex: 1; min-width: 240px; } .pv-empty h2 { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); margin: 8px 0 6px; } .pv-empty p { margin: 0; color: var(--on-dark-2); }
.pv-empty .pill.light .pill-ic { background: var(--green); color: #fff; }

.pv { display: grid; gap: 18px; }
.pv-head { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: center; padding: 30px; border-radius: 30px;
  background: linear-gradient(140deg, rgba(242,162,106,.14), rgba(117,183,42,.08) 60%, rgba(255,240,225,.03)), var(--char); border: 1px solid var(--line-d); }
.pv-img { aspect-ratio: 1; border-radius: 24px; display: grid; place-items: center; background: radial-gradient(60% 55% at 50% 50%, #fffdf9, #f6d6b6 80%, #f0b884); overflow: hidden; color: var(--ember); }
.pv-img img { width: 100%; height: 100%; object-fit: contain; padding: 20px; filter: drop-shadow(0 20px 22px rgba(90,40,10,.3)); }
.pv-id h2 { font-family: var(--display); font-size: clamp(24px, 2.6vw, 38px); margin: 12px 0 20px; direction: ltr; text-align: right; color: var(--on-dark); }
.pv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-facts > div { padding: 14px 16px; border-radius: 16px; background: var(--glass-d); border: 1px solid var(--line-d); display: grid; gap: 2px; }
.pv-facts small { font-size: 12px; color: var(--on-dark-3); } .pv-facts b { font-size: 16px; color: var(--on-dark); }
.pv-facts > div:last-child b { color: #b6e07d; }

.pv-sec { background: var(--cream); color: var(--tx); border-radius: 26px; padding: 26px 28px; display: grid; gap: 14px; align-content: start; }
.pv-sec h3 { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 20px; }
.pv-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--green-l); color: var(--green-d); flex-shrink: 0; }
.pv-text { margin: 0; font-size: 16px; line-height: 2; color: var(--char-3); }
.pv-purpose { padding: 16px 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(117,183,42,.1), rgba(242,162,106,.1)); border-inline-start: 3px solid var(--green); }
.pv-purpose small { font-size: 12.5px; font-weight: 700; color: var(--green-d); } .pv-purpose p { margin: 4px 0 0; line-height: 1.9; }
.pv-basis { margin: 0; font-size: 14px; font-weight: 600; color: var(--tx-2); display: flex; gap: 8px; align-items: center; }
.pv-basis::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.pv-fine { margin: 0; font-size: 12.5px; color: var(--tx-3); }
table.ing th, table.ing td { padding: 13px 16px; vertical-align: middle; }
table.ing th.n, table.ing td.n { text-align: center; }
table.ing td:first-child { font-weight: 700; }
table.ing td.en { color: var(--tx-2); font-size: 13.5px; text-align: left; }
table.ing tbody tr:nth-child(even) td { background: rgba(244,227,207,.35); }
table.ing tbody tr:hover td { background: rgba(117,183,42,.08); }
.u-en { color: var(--tx-3); font-size: 12px; }
.ing-note { display: block; font-weight: 500; font-size: 12px; color: var(--tx-3); }

.pv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pv-sec.dose { background: linear-gradient(160deg, #2f3d22, #23301a); color: var(--on-dark); }
.pv-sec.dose .pv-ic { background: rgba(117,183,42,.22); color: #b6e07d; }
.pv-dl { margin: 0; display: grid; gap: 0; }
.pv-dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(248,237,225,.12); }
.pv-dl > div:last-child { border-bottom: 0; }
.pv-dl dt { font-size: 13px; color: #c9dcae; font-weight: 600; } .pv-dl dd { margin: 0; font-size: 15px; line-height: 1.8; }
.pv-sec.dose .na { color: var(--on-dark-3); }
.pv-sec.warn { background: linear-gradient(150deg, #fff3e6, #fbdfc6); }
.pv-sec.warn .pv-ic { background: rgba(201,86,31,.14); color: var(--ember); }
.pv-warn { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pv-warn li { position: relative; padding: 10px 14px; padding-inline-start: 36px; border-radius: 12px; background: rgba(255,250,243,.7); line-height: 1.8; font-size: 14.5px; }
.pv-warn li::before { content: ""; position: absolute; inset-inline-start: 14px; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.pv-store { padding-top: 12px; border-top: 1px solid rgba(201,86,31,.18); } .pv-store small { font-size: 12.5px; font-weight: 700; color: var(--ember); } .pv-store p { margin: 4px 0 0; }
.na { color: var(--tx-3); font-size: 14px; }
@media (max-width: 1000px) { .pv-head, .pv-duo { grid-template-columns: 1fr; } .pv-img { max-width: 340px; width: 100%; justify-self: center; } .pv-sec, .pv-head { padding: 20px; } .pv-dl > div { grid-template-columns: 1fr; gap: 2px; } }
@media (max-width: 560px) { .pv-facts { grid-template-columns: 1fr; } }
.foot-in > span:nth-child(2) { max-width: 520px; }
/* blend white JPG backgrounds into the card gradient (image file itself is untouched) */
.pcard .pimg img, .pv-img img { mix-blend-mode: multiply; }
