/* Halal Peptides — clinical / pharmacy register */
:root {
  --navy: #0b1f3a;
  --navy-mid: #132a4a;
  --navy-soft: #1a3558;
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.18);
  --cream: #f7f3ea;
  --white: #ffffff;
  --surface: #f4f6f8;
  --ink: #0e1a2b;
  --muted: #5a6a7a;
  --line: #d8dee6;
  --line-strong: #b8c2ce;
  --success: #1a5f3f;
  --halal-green: #0d6b4c;
  --halal-green-soft: rgba(13, 107, 76, 0.14);
  --danger: #8b2e2e;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(11, 31, 58, 0.08);
  --shadow-md: 0 4px 16px rgba(11, 31, 58, 0.1);
  --font: system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", "Noto Sans", Arial, sans-serif;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 15px;
}

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* —— Layout —— */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 var(--halal-green);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand img,
.brand-seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--halal-green);
  background: var(--cream);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--halal-green-soft);
}

.brand-text { min-width: 0; }
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--navy);
  line-height: 1.25;
  display: inline-block;
  border-inline-start: 3px solid var(--halal-green);
  padding-inline-start: 8px;
}
.brand-name:not(.brand-name--rtl) {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand-name--rtl {
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 800;
  color: var(--navy);
}
.brand-tag {
  font-size: 11px;
  color: var(--halal-green);
  margin-top: 2px;
  font-weight: 600;
}

/* Dual product naming: local primary + Latin catalogue code */
.pname-main {
  display: block;
  color: var(--navy);
  font-weight: 700;
}
.pname-latin {
  display: block;
  margin-top: 2px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  direction: ltr;
  unicode-bidi: isolate;
}
.card-title .pname-main { font-size: inherit; }
.detail-title .pname-main { font-size: inherit; }
.detail-title .pname-latin {
  font-size: 0.55em;
  margin-top: 6px;
  font-weight: 600;
}
.aka-name {
  font-size: 0.92em;
  font-weight: 600;
  color: var(--halal-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: var(--surface);
}

.lang button {
  background: transparent;
  border: none;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 32px;
  font-family: inherit;
}

.lang button:hover { color: var(--navy); }
.lang button.active {
  background: var(--navy);
  color: var(--white);
}
.lang button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  min-height: 36px;
}
.cart-btn:hover { background: var(--navy-mid); color: var(--white); }
.cart-count {
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.disclaimer-bar {
  background: var(--navy);
  color: rgba(247, 243, 234, 0.92);
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.01em;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 28px 20px 36px;
  margin-top: auto;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 8px;
}
.footer-text, .footer-links {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.footer-links a {
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}
.footer-links a:hover { color: var(--gold); }
.footer-note {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 0;
  line-height: 1.6;
}

/* —— Typography —— */
h1, h2, h3 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
}
h1 { font-size: clamp(1.5rem, 3.5vw, 1.85rem); }
h2 { font-size: clamp(1.2rem, 2.8vw, 1.4rem); }
h3 { font-size: 1.05rem; }

.lead {
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 52ch;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  min-height: 42px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-mid); color: var(--white); }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--surface); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 6px 12px; font-size: 13px; min-height: 34px; }
.btn-block { width: 100%; }
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* —— Hero —— */
.hero {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 720px) {
  .hero {
    grid-template-columns: 1fr auto;
  }
}
.hero-seal {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: var(--cream);
  margin: 0 auto;
}
.hero-ruo {
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 16px 0 0;
  line-height: 1.55;
}

/* —— Catalog grid —— */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.product-card a.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--navy) 0%, #0f3d2e 55%, var(--navy-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid var(--halal-green-soft);
  pointer-events: none;
}
.card-media .seal-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  opacity: 0.95;
  border: 2px solid rgba(13, 107, 76, 0.55);
  box-shadow: 0 0 0 3px rgba(13, 107, 76, 0.18);
}
.card-media .sku-label {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(11, 31, 58, 0.55);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(13, 107, 76, 0.35);
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-title {
  font-size: 1rem;
  margin: 0;
  color: var(--navy);
}
.card-aka {
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}
.card-blurb {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.card-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.card-sizes {
  font-size: 12px;
  color: var(--muted);
}

.card-actions {
  padding: 0 16px 16px;
  display: flex;
  gap: 8px;
}

/* —— Product detail —— */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

.product-detail {
  display: grid;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}
@media (min-width: 720px) {
  .product-detail {
    grid-template-columns: minmax(260px, 420px) 1fr;
    align-items: start;
  }
}

.detail-media {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.detail-media img.seal-mark,
.detail-media .seal-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.4);
}

.detail-info .aka {
  font-size: 13px;
  color: var(--muted);
  margin: -6px 0 12px;
}
.detail-blurb {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 20px;
  line-height: 1.65;
  max-width: 48ch;
}

.variant-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.variant-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-family: inherit;
  text-align: start;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
}
.variant-option:hover { border-color: var(--line-strong); }
.variant-option.selected {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.variant-size { font-weight: 600; color: var(--navy); font-size: 14px; }
.variant-price { font-weight: 700; color: var(--navy); font-size: 14px; }

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.qty-label { font-size: 13px; font-weight: 600; color: var(--navy); }
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.qty-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--surface);
  color: var(--navy);
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
}
.qty-control button:hover { background: var(--line); }
.qty-control input {
  width: 48px;
  height: 36px;
  border: none;
  border-inline: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--navy);
  -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-hint { font-size: 12px; color: var(--muted); }

.ruo-box {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-top: 16px;
  line-height: 1.55;
}

/* —— Cart —— */
.cart-layout {
  display: grid;
  gap: 24px;
}
@media (min-width: 800px) {
  .cart-layout { grid-template-columns: 1fr 320px; align-items: start; }
}

.cart-table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-empty {
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
}
.cart-empty p { margin: 0 0 16px; }

.cart-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
@media (min-width: 560px) {
  .cart-item {
    grid-template-columns: 1fr auto auto auto;
    gap: 16px;
  }
}
.cart-item:last-child { border-bottom: none; }
.cart-item-name {
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 4px;
  font-size: 14px;
}
.cart-item-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.cart-item-price {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
  white-space: nowrap;
}
.cart-remove {
  font-size: 12px;
  color: var(--danger);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--muted);
}
.summary-row.total {
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  margin-bottom: 16px;
}
.postage-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* —— Checkout —— */
.checkout-layout {
  display: grid;
  gap: 24px;
}
@media (min-width: 800px) {
  .checkout-layout { grid-template-columns: 1fr 340px; align-items: start; }
}

.form-card, .pay-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.form-card h2, .pay-card h2 { margin-bottom: 16px; }

.form-grid {
  display: grid;
  gap: 14px;
}
.form-grid.two {
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}

label.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
label.field input,
label.field textarea,
label.field select {
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: var(--white);
  min-height: 42px;
}
label.field textarea { min-height: 88px; resize: vertical; }
label.field input:focus,
label.field textarea:focus,
label.field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--navy);
}

.pay-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  counter-reset: step;
}
.pay-steps li {
  position: relative;
  padding: 0 0 14px 36px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  counter-increment: step;
}
.pay-steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pay-steps li strong { color: var(--navy); display: block; margin-bottom: 2px; }

.wallet-box {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
.wallet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.wallet-addr {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  word-break: break-all;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.5;
}
.network-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--navy);
  color: var(--cream);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.order-ref {
  font-size: 13px;
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 0 0 16px;
  color: var(--navy);
  line-height: 1.55;
}
.order-ref code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-weight: 700;
  background: rgba(11, 31, 58, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.toast {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--cream);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.show { opacity: 1; }

.hidden { display: none !important; }

/* RTL tweaks */
[dir="rtl"] .pay-steps li { padding: 0 36px 14px 0; }
[dir="rtl"] .pay-steps li::before { inset-inline-start: auto; inset-inline-end: 0; }

@media (max-width: 480px) {
  .header-inner { padding: 10px 14px; }
  .wrap { padding: 20px 14px 48px; }
  .brand-tag { display: none; }
}

/* —— Medical director strip —— */
.director-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 640px) {
  .director-strip {
    grid-template-columns: 140px 1fr;
    gap: 28px;
  }
}
.director-photo-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  box-shadow: 0 0 0 4px var(--cream);
  background: var(--surface);
  flex-shrink: 0;
}
.director-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.director-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 6px;
}
.director-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.3;
}
.director-cred {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.director-bio {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  max-width: 56ch;
}

/* Hero with director (compact on home) */
.hero-with-director {
  display: grid;
  gap: 24px;
}
@media (min-width: 800px) {
  .hero-with-director {
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
  }
  .hero-with-director .hero {
    margin-bottom: 0;
  }
  .hero-with-director .director-strip {
    margin-bottom: 0;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .hero-with-director .director-bio {
    max-width: 36ch;
  }
}


/* Product photos on catalog + detail */
.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #0a1628;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media .product-photo,
.detail-media .detail-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.detail-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1628;
  min-height: 280px;
}
.detail-media .detail-photo {
  min-height: 320px;
  max-height: 70vh;
  border-radius: 0;
  border: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}
.seal-mark--corner {
  position: absolute;
  width: 44px;
  height: 44px;
  inset-inline-end: 10px;
  bottom: 10px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.35));
}
.title-latin,
h3.card-title .title-latin,
.detail-title .title-latin {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92em;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.78;
  direction: ltr;
  unicode-bidi: isolate;
}


/* Bismillah greeting */
.bismillah,
.bismillah--top {
  text-align: center;
  font-family: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", "Scheherazade New", serif;
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.8;
  color: #c9a227;
  margin: 0.75rem 0 0.35rem;
}
.bismillah--top {
  padding: 0.65rem 1rem 0.35rem;
  margin: 0;
  background: #071325;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}
.hero .bismillah { margin: 0 0 0.85rem; }

/* Dual prices: local digits + Latin under (same pattern as names) */
.price-local { display: block; font-weight: 700; }
.price-latin {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.88em;
  font-weight: 600;
  opacity: 0.78;
  direction: ltr;
  unicode-bidi: isolate;
}
.card-price .price-latin,
.variant-price .price-latin,
.cart-item-price .price-latin { font-size: 0.85em; }
.from-price { margin-inline-end: 0.25rem; }


/* Four-week systems countdown */
.countdown-banner {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #0a1a33 0%, #0d2444 55%, #0a1f38 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  text-align: center;
}
.cd-label {
  margin: 0 0 0.75rem;
  color: #e8d5a3;
  font-weight: 700;
  font-size: 0.95rem;
}
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}
.cd-cell {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 10px;
  padding: 0.55rem 0.25rem 0.45rem;
  border: 1px solid rgba(201, 162, 39, 0.18);
}
.cd-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f3e6c0;
  letter-spacing: 0.04em;
}
.cd-latin {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(243, 230, 192, 0.7);
  direction: ltr;
  unicode-bidi: isolate;
  margin-top: 0.1rem;
}
html[lang="en"] .cd-latin { display: none; }
.cd-unit {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(232, 213, 163, 0.85);
}
.cd-sub {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: rgba(220, 210, 180, 0.9);
  line-height: 1.45;
}

.detail-notes {
  margin: 0 0 20px;
  padding: 0 0 0 1.1em;
  max-width: 52ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
html[dir="rtl"] .detail-notes {
  padding: 0 1.1em 0 0;
}
.detail-notes li { margin: 0 0 8px; }

/* SUPER HYDRATION autoplay spin */
.card-media .spin-vid,
.detail-media .spin-vid {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0b1220;
}
.detail-media .spin-vid {
  max-height: 520px;
  border-radius: 12px;
}

/* Magical floating spin for SUPER HYDRATION (and any .spin-vid) */
@keyframes hp-float-turn {
  0%   { transform: perspective(800px) rotateY(-24deg) rotateX(6deg) translateY(0) scale(1); }
  50%  { transform: perspective(800px) rotateY(24deg) rotateX(5deg) translateY(-12px) scale(1.04); }
  100% { transform: perspective(800px) rotateY(-24deg) rotateX(6deg) translateY(0) scale(1); }
}
@keyframes hp-aura-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(201,162,39,.35), 0 0 24px 6px rgba(90,140,255,.28), 0 16px 32px rgba(0,0,0,.45); }
  50% { box-shadow: 0 0 0 1px rgba(201,162,39,.6), 0 0 36px 10px rgba(90,140,255,.42), 0 22px 40px rgba(0,0,0,.55); }
}
.product-card .card-media,
.detail-media {
  overflow: visible !important;
}
.card-media .spin-vid,
.detail-media .spin-vid,
.product-photo.spin-vid,
.detail-photo.spin-vid {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(20,40,70,.95) 0%, #0b1f3a 72%),
    radial-gradient(circle at 30% 20%, rgba(201,162,39,.18), transparent 48%);
  border-radius: 12px;
  border: 1px solid rgba(201,162,39,.35);
  padding: 0.85rem;
  box-sizing: border-box;
  animation: hp-float-turn 5.5s ease-in-out infinite, hp-aura-pulse 4.2s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.5));
  pointer-events: none;
}
.card-media .spin-vid::-webkit-media-controls,
.card-media .spin-vid::-webkit-media-controls-start-playback-button,
.card-media .spin-vid::-webkit-media-controls-overlay-play-button,
.detail-media .spin-vid::-webkit-media-controls,
.detail-media .spin-vid::-webkit-media-controls-start-playback-button,
.detail-media .spin-vid::-webkit-media-controls-overlay-play-button {
  display: none !important;
}
.sh-hero-halal {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  border: 1px solid rgba(201,162,39,.4);
  background:
    radial-gradient(ellipse at 15% 30%, rgba(90,140,255,.2), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(201,162,39,.14), transparent 50%),
    #0b1f3a;
}
@media (min-width: 720px) {
  .sh-hero-halal { grid-template-columns: 10.5rem 1fr; }
}
.sh-hero-halal video {
  width: 100%;
  max-width: 10.5rem;
  aspect-ratio: 3/4;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(201,162,39,.35);
  background: #071526;
  animation: hp-float-turn 5.5s ease-in-out infinite, hp-aura-pulse 4.2s ease-in-out infinite;
  pointer-events: none;
}
.sh-hero-halal h2 { margin: 0 0 .35rem; color: #f5efe2; font-size: 1.35rem; }
.sh-hero-halal .price { color: #c9a227; font-weight: 700; font-size: 1.2rem; margin: .4rem 0; }
.sh-hero-halal p { color: #c5d0df; margin: .25rem 0; line-height: 1.45; }


/* Home house button */
.home-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  color:var(--navy);
  font-weight:700;
  font-size:14px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--white);
}
.home-btn:hover{border-color:var(--navy); background:var(--surface);}
.home-btn .home-ico{flex:0 0 auto; display:block;}
html[dir="rtl"] .home-btn{flex-direction:row;}

/* Lightbox — full product photo */
.hp-lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(5,12,24,.92);
  padding:16px;
  align-items:center;
  justify-content:center;
}
.hp-lightbox.on{display:flex;}
.hp-lightbox img{
  max-width:min(96vw, 720px);
  max-height:92vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
}
.hp-lightbox-close{
  position:absolute;
  top:14px;
  inset-inline-end:14px;
  width:40px;height:40px;
  border:0;border-radius:999px;
  background:#fff;color:#0b1f3a;
  font-size:22px;font-weight:700;
  cursor:pointer;
}
.detail-media{cursor:zoom-in;}
.card-media{cursor:zoom-in;}


/* SUPER HYDRATION pack: full pouch + spin, blue floor beams */
.card-media.pack-full,
.detail-media.pack-full{
  aspect-ratio: auto !important;
  min-height: 360px;
  overflow: visible;
  padding: 24px 16px 32px;
  background: #060a14 !important;
  position: relative;
}
.card-media.pack-full::before,
.detail-media.pack-full::before{
  content:"";
  position:absolute; inset:-12% -6% -6%;
  z-index:0; pointer-events:none;
  background:
    linear-gradient(110deg, transparent 36%, rgba(150,220,255,.35) 46%, rgba(200,240,255,.85) 50%, rgba(150,220,255,.35) 54%, transparent 64%),
    linear-gradient(70deg, transparent 36%, rgba(150,220,255,.32) 46%, rgba(200,240,255,.8) 50%, rgba(150,220,255,.32) 54%, transparent 64%),
    linear-gradient(125deg, transparent 32%, rgba(120,200,255,.28) 44%, rgba(180,230,255,.7) 50%, rgba(120,200,255,.28) 56%, transparent 68%),
    linear-gradient(55deg, transparent 32%, rgba(120,200,255,.28) 44%, rgba(180,230,255,.7) 50%, rgba(120,200,255,.28) 56%, transparent 68%);
  filter:blur(1.5px); mix-blend-mode:screen;
  transform-origin:50% 100%;
  animation:hp-pack-beams 7s ease-in-out infinite;
}
.card-media.pack-full::after,
.detail-media.pack-full::after{
  content:"";
  position:absolute; left:0;right:0;bottom:-4%; height:38%;
  z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 16% 50% at 15% 100%, rgba(170,230,255,.9) 0%, transparent 72%),
    radial-gradient(ellipse 16% 50% at 38% 100%, rgba(140,210,255,.8) 0%, transparent 72%),
    radial-gradient(ellipse 16% 50% at 62% 100%, rgba(140,210,255,.8) 0%, transparent 72%),
    radial-gradient(ellipse 16% 50% at 85% 100%, rgba(170,230,255,.9) 0%, transparent 72%);
  filter:blur(2.5px);
  animation:hp-pack-pools 7s ease-in-out infinite;
}
@keyframes hp-pack-beams{
  0%{transform:rotate(0deg) scaleX(1)}
  25%{transform:rotate(-7deg) scaleX(1.06)}
  50%{transform:rotate(6deg) scaleX(.97)}
  75%{transform:rotate(-5deg) scaleX(1.05)}
  100%{transform:rotate(0deg) scaleX(1)}
}
@keyframes hp-pack-pools{
  0%,100%{opacity:.75}
  50%{opacity:1}
}
.card-media.pack-full .spin-vid,
.detail-media.pack-full .spin-vid,
.card-media.pack-full .product-photo,
.detail-media.pack-full .detail-photo{
  position:relative; z-index:2;
  width:100% !important;
  height:auto !important;
  max-height:440px !important;
  object-fit:contain !important;
  background:transparent !important;
}
.sh-hero-halal video,
.sh-hero-halal .pack-spin{
  max-height:440px !important;
  width:100% !important;
  height:auto !important;
  object-fit:contain !important;
}

video.spin-vid,video.pack-spin{pointer-events:none!important}
video.spin-vid::-webkit-media-controls-start-playback-button,
video.spin-vid::-webkit-media-controls-overlay-play-button{display:none!important;opacity:0!important}


/* SH TIGHT: one floating studio, no stacked beams/panels */
.sh-hero-halal {
  display: grid;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(201,162,39,.35);
  background: #070b14;
}
@media (min-width: 720px) {
  .sh-hero-halal { grid-template-columns: minmax(0, 22rem) 1fr; }
}
.sh-hero-halal video,
.sh-hero-halal .pack-spin {
  width: 100% !important;
  max-width: 22rem !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  border: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  animation: none !important;
  filter: none !important;
  pointer-events: none !important;
  padding: 0 !important;
}
.card-media.pack-full::before,
.card-media.pack-full::after,
.detail-media.pack-full::before,
.detail-media.pack-full::after { display: none !important; content: none !important; }
.card-media.pack-full,
.detail-media.pack-full {
  aspect-ratio: auto !important;
  min-height: 0;
  overflow: visible;
  padding: 8px;
  background: #070b14 !important;
}
.card-media.pack-full .spin-vid,
.detail-media.pack-full .spin-vid {
  max-height: 72vh !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
  animation: none !important;
}


/* CEO float zoom */
.card-media.pack-full video,.detail-media.pack-full video,video.pack-spin{object-fit:cover!important;width:100%;height:100%;pointer-events:none}
.card-media.pack-full,.detail-media.pack-full{padding:0!important;background:#0a1020!important;overflow:hidden}
