/* Hallmark · direction B: navy stage and receipt · tone: utilitarian-premium · anchor: navy 262 / green 145 */

/* --------------------------------------------------------------------------
   Fonts (@font-face)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/ibm-plex-sans-arabic-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/ibm-plex-sans-arabic-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/ibm-plex-sans-arabic-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("fonts/ibm-plex-sans-arabic-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("fonts/noto-kufi-arabic-700.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("fonts/noto-kufi-arabic-800.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens & Resets Scoped Under .zob
   -------------------------------------------------------------------------- */
.zob {
  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
  --font-display: "Noto Kufi Arabic", var(--font);

  /* OKLCH Color Tokens: ZAD Navy (262), Saudi Green (145), Accent Blue (255) */
  --navy: oklch(0.22 0.09 262);
  --navy-deep: oklch(0.16 0.08 262);
  --navy-surface: oklch(0.27 0.08 262);
  --navy-surface-border: oklch(0.38 0.07 262);
  --navy-subtle: oklch(0.32 0.08 262);

  --green: oklch(0.62 0.17 145);
  --green-hover: oklch(0.56 0.17 145);
  --green-active: oklch(0.48 0.17 145);
  --green-tint: oklch(0.96 0.035 145);
  --green-tint-band: oklch(0.975 0.025 145);
  --green-border: oklch(0.85 0.07 145);

  --blue-accent: oklch(0.55 0.17 255);

  /* Surfaces & Inks */
  --paper: oklch(0.985 0.008 260);
  --paper-subtle: oklch(0.96 0.01 260);
  --paper-card: oklch(1 0 0);

  --ink: oklch(0.20 0.04 262);
  --ink-muted: oklch(0.42 0.03 262);
  --ink-subtle: oklch(0.58 0.02 262);
  --ink-on-dark: oklch(0.99 0 0);
  --ink-muted-on-dark: oklch(0.85 0.03 262);

  --rule: oklch(0.88 0.015 260);
  --rule-subtle: oklch(0.93 0.01 260);
  --rule-light: oklch(0.90 0.01 260);
  --rule-on-dark: oklch(0.38 0.06 262);

  --focus: oklch(0.62 0.17 145);

  /* Error Alert */
  --error-ink: oklch(0.38 0.15 25);
  --error-bg: oklch(0.97 0.02 25);
  --error-border: oklch(0.82 0.06 25);

  /* Spacing Scale (4-pt) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-18: 72px;
  --sp-20: 80px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Global root typography & behavior */
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper-card);
  direction: rtl;
  text-align: start;
  overflow-x: clip;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
  .zob {
    padding-block-end: 88px;
  }
}

/* Scoped Resets */
.zob *,
.zob *::before,
.zob *::after {
  box-sizing: border-box;
}

.zob :where(h1, h2, h3, p, ul, ol, figure, blockquote, fieldset, legend) {
  margin: 0;
  padding: 0;
}

.zob :where(h1, h2, h3) {
  font-weight: 700;
  font-style: normal;
  line-height: 1.25;
}

.zob :where(button, input) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
}

.zob :where(fieldset) {
  border: none;
}

.zob :where(ul) {
  list-style: none;
}

.zob :where(a) {
  color: inherit;
  text-decoration: none;
}

.zob-sr-only,
.zob-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States */
.zob a:focus-visible,
.zob button:focus-visible,
.zob input:focus-visible,
.zob summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Containers & Full-bleed Bands
   -------------------------------------------------------------------------- */
.zob-container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--sp-4);
}

@media (min-width: 768px) {
  .zob-container {
    padding-inline: var(--sp-8);
  }
}

.zob-band {
  width: 100%;
  padding-block: var(--sp-12);
}

@media (min-width: 1024px) {
  .zob-band {
    padding-block: var(--sp-18);
  }
}

/* Error Notification */
.zob-error-notice {
  background-color: var(--error-bg);
  color: var(--error-ink);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-5);
  margin-block-end: var(--sp-6);
  font-size: 1rem;
  font-weight: 600;
  text-align: start;
}

/* --------------------------------------------------------------------------
   Direction B: Hero Stage (Navy Stage with Single Radial Light)
   -------------------------------------------------------------------------- */
.zob-hero-stage {
  background-color: var(--navy);
  /* Single soft radial light behind the product sitting on start side */
  background-image: radial-gradient(circle at 75% 35%, oklch(0.32 0.08 262) 0%, oklch(0.20 0.09 262) 65%);
  padding-block-start: var(--sp-4);
  padding-block-end: var(--sp-6);
  border-block-end: 1px solid var(--navy-deep);
}

@media (min-width: 1024px) {
  .zob-hero-stage {
    padding-block-start: var(--sp-10);
    padding-block-end: var(--sp-16);
  }
}

.zob-hero-b-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-3);
  align-items: start;
}

@media (min-width: 1024px) {
  .zob-hero-b-grid {
    /* Desktop layout: Start side media frame (1.3fr), end side text/receipt (1fr) */
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: var(--sp-12);
  }
}

/* Product Lit Stage Frame (20px radius mobile, 24px desktop) */
.zob-stage-media {
  width: 100%;
}

.zob-stage-frame {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
  border-radius: 20px;
  background-color: var(--paper-card);
  border: 1px solid oklch(0.38 0.07 262 / 0.5);
  box-shadow: 0 16px 40px -10px oklch(0.12 0.06 262 / 0.7);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .zob-stage-frame {
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 56px -12px oklch(0.12 0.06 262 / 0.7);
  }
}

.zob-picture {
  display: block;
  width: 100%;
}

.zob-product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  background-color: var(--paper-card);
  transition: opacity 150ms ease;
}

@media (min-width: 1024px) {
  .zob-product-image {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }
}

.zob-product-image.is-swapping {
  opacity: 0.15;
}

@media (prefers-reduced-motion: reduce) {
  .zob-product-image {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Stage Text Column: Chips, H1, Segmented Control, Add-on Strip, Receipt
   -------------------------------------------------------------------------- */
.zob-stage-content {
  width: 100%;
}

.zob-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

@media (min-width: 1024px) {
  .zob-form {
    gap: var(--sp-5);
  }
}

/* Row of 3 Large Chips Across Top of Text Column */
.zob-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.zob-chip {
  display: inline-flex;
  align-items: center;
  padding-inline: 12px;
  padding-block: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-on-dark);
  background-color: oklch(0.28 0.08 262 / 0.6);
  border: 1px solid oklch(0.42 0.06 262);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .zob-chip {
    font-size: 13px;
    padding-inline: 14px;
  }
}

/* H1 on Navy */
.zob-title-group {
  display: flex;
  flex-direction: column;
}

.zob-title-dark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink-on-dark);
  font-style: normal;
}

@media (min-width: 768px) {
  .zob-title-dark {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    line-height: 1.25;
  }
}

/* Segmented Control: One wide pill split in two halves (min-height: 72px) */
.zob-selector-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.zob-selector-heading-dark {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-on-dark);
  margin-block-end: 2px;
}

.zob-segmented-pill {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background-color: oklch(0.18 0.08 262 / 0.7);
  border: 1px solid oklch(0.32 0.07 262);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 6px;
}

.zob-option {
  position: relative;
  display: flex;
  cursor: pointer;
  min-height: 72px;
  user-select: none;
}

.zob-radio-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.zob-segment-face {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 14px;
  padding-block: 10px;
  border-radius: var(--radius-pill);
  border: 1px solid oklch(0.38 0.07 262 / 0.6);
  background-color: transparent;
  color: oklch(0.88 0.02 262);
  transition: all 150ms ease;
  min-height: 72px;
  gap: 8px;
}

.zob-segment-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: currentColor;
}

.zob-segment-icon {
  width: 28px;
  height: 28px;
  display: block;
}

.zob-segment-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.zob-option-main {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: currentColor;
}

.zob-option-hint {
  font-size: 13px;
  color: currentColor;
  opacity: 0.85;
  line-height: 1.2;
  margin-block-start: 2px;
  white-space: nowrap;
}

.zob-segment-check {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: transparent;
  background-color: transparent;
  border: 1.5px solid oklch(0.42 0.06 262);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: all 150ms ease;
}

.zob-option:hover .zob-segment-face {
  background-color: oklch(0.28 0.08 262 / 0.4);
}

.zob-radio-input:focus-visible + .zob-segment-face {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

/* Selected Half: Filled Green with White Text and Check */
.zob-option.is-selected .zob-segment-face,
.zob-radio-input:checked + .zob-segment-face {
  background-color: var(--green);
  color: var(--ink-on-dark);
  border-color: var(--green);
  box-shadow: 0 4px 14px oklch(0.62 0.17 145 / 0.3);
}

.zob-option.is-selected .zob-option-hint,
.zob-radio-input:checked + .zob-segment-face .zob-option-hint {
  color: var(--ink-on-dark);
  opacity: 0.95;
}

.zob-option.is-selected .zob-segment-check,
.zob-radio-input:checked + .zob-segment-face .zob-segment-check {
  background-color: var(--ink-on-dark);
  color: var(--green);
  border-color: var(--ink-on-dark);
}

@media (max-width: 360px) {
  .zob-segment-face {
    padding-inline: 10px;
    padding-block: 8px;
    gap: 6px;
  }

  .zob-option-main {
    font-size: 15px;
  }

  .zob-option-hint {
    font-size: 12px;
  }

  .zob-segmented-pill {
    padding: 2px;
    gap: 4px;
  }
}

/* Prompt on dark background */
.zob-prompt-dark {
  font-size: 0.9375rem;
  font-weight: 600;
  color: oklch(0.85 0.15 25);
  margin-block-start: var(--sp-1);
}

.zob-prompt-dark[hidden] {
  display: none !important;
}

/* Add-on Horizontal Strip on Lighter Navy Surface (Compact, switch on end side) */
.zob-addon-strip {
  background-color: var(--navy-surface);
  border: 1px solid var(--navy-surface-border);
  border-radius: var(--radius-lg);
  padding-inline: 16px;
  padding-block: 12px;
  transition: border-color 150ms ease;
}

.zob-addon-strip:hover {
  border-color: oklch(0.48 0.07 262);
}

.zob-addon-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
}

.zob-addon-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.zob-addon-thumb {
  order: 1;
  width: 44px;
  height: 44px;
  min-width: 44px;
  object-fit: contain;
  background-color: var(--paper-card);
  border-radius: var(--radius-sm);
  padding: 2px;
  flex-shrink: 0;
}

.zob-addon-text-group {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.zob-addon-title-dark {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-on-dark);
  line-height: 1.3;
}

.zob-addon-subline-dark {
  font-size: 12px;
  color: var(--ink-muted-on-dark);
  line-height: 1.3;
}

.zob-switch-track {
  order: 3;
  margin-inline-start: auto;
  width: 44px;
  height: 26px;
  min-width: 44px;
  border-radius: var(--radius-pill);
  background-color: oklch(0.18 0.08 262);
  border: 1px solid oklch(0.40 0.06 262);
  position: relative;
  transition: background-color 150ms ease;
  display: flex;
  align-items: center;
  padding: 2px;
  flex-shrink: 0;
}

.zob-switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background-color: var(--ink-on-dark);
  box-shadow: 0 2px 6px oklch(0 0 0 / 0.3);
  transition: transform 150ms ease;
  transform: translateX(0);
}

.zob-addon-checkbox:checked + .zob-switch-track {
  background-color: var(--green);
  border-color: var(--green);
}

.zob-addon-checkbox:checked + .zob-switch-track .zob-switch-thumb {
  transform: translateX(-18px);
}

.zob-addon-checkbox:focus-visible + .zob-switch-track {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .zob-addon-label {
    gap: 16px;
  }

  .zob-addon-thumb {
    width: 52px;
    height: 52px;
    min-width: 52px;
    padding: 4px;
  }

  .zob-addon-title-dark {
    font-size: 0.9375rem;
  }

  .zob-addon-subline-dark {
    font-size: 0.8125rem;
  }

  .zob-switch-track {
    width: 48px;
    height: 28px;
    min-width: 48px;
  }

  .zob-switch-thumb {
    width: 22px;
    height: 22px;
  }
}

/* --------------------------------------------------------------------------
   The Receipt Card: White Card inside Dark Hero
   -------------------------------------------------------------------------- */
.zob-receipt-card {
  background-color: var(--paper-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 20px 48px oklch(0.12 0.06 262 / 0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--rule-light);
}

@media (min-width: 768px) {
  .zob-receipt-card {
    padding: var(--sp-6);
    gap: var(--sp-4);
  }
}

.zob-receipt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-end: 8px;
  border-block-end: 1px solid var(--rule-subtle);
}

.zob-receipt-tag {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.5px;
}

.zob-receipt-city {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.zob-receipt-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zob-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--ink-muted);
}

.zob-ledger-label {
  font-weight: 500;
}

.zob-ledger-val {
  font-weight: 600;
  color: var(--ink);
}

/* Pure CSS add-on row */
.zob-ledger-row-addon {
  display: none;
}

.zob:has(#zob-addon-checkbox:checked) .zob-ledger-row-addon {
  display: flex;
}

/* Dashed Receipt Divider (12px above and below) */
.zob-receipt-separator {
  border-block-start: 1.5px dashed var(--rule);
  margin-block: 12px;
}

/* Big Total in Receipt (Noto Kufi 800) */
.zob-receipt-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.zob-receipt-total-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

@media (min-width: 768px) {
  .zob-receipt-total-label {
    font-size: 1.125rem;
  }
}

.zob-receipt-total-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.zob-total-figure {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
  font-style: normal;
}

@media (min-width: 768px) {
  .zob-total-figure {
    font-size: clamp(3rem, 5vw, 4.25rem);
  }
}

.zob-total-currency {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .zob-total-currency {
    font-size: 1.35rem;
  }
}

/* Receipt CTA Button */
.zob-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding-inline: 16px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink-on-dark);
  background-color: var(--green);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease;
  text-align: center;
  box-shadow: 0 6px 20px oklch(0.62 0.17 145 / 0.28);
}

@media (min-width: 768px) {
  .zob-cta-btn {
    height: 60px;
    min-height: 60px;
    padding-inline: var(--sp-6);
    font-size: clamp(1.0625rem, 3.8vw, 1.25rem);
  }
}

.zob-cta-btn:hover {
  background-color: var(--green-hover);
}

.zob-cta-btn:active {
  background-color: var(--green-active);
}

.zob-cta-btn[data-unselected="true"] {
  background-color: var(--ink-muted);
  box-shadow: none;
}

.zob-cta-btn[data-unselected="true"]:hover {
  background-color: var(--ink);
}

@media (max-width: 360px) {
  .zob-cta-btn {
    font-size: 1rem;
    padding-inline: 8px;
  }
}

.zob-trust-line {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Section: محتوى الباقة (Light section, horizontal row separated by vertical rules)
   -------------------------------------------------------------------------- */
.zob-band-contents-b {
  background-color: var(--paper);
  border-block-end: 1px solid var(--rule-light);
}

.zob-section-header {
  margin-block-end: var(--sp-8);
}

.zob-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.zob-contents-note {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink-muted);
  margin-inline-start: var(--sp-2);
}

.zob-contents-note[hidden] {
  display: none !important;
}

.zob-contents-linear-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  background-color: var(--paper-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 12px;
}

.zob-contents-linear-row[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .zob-contents-linear-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }

  .zob-linear-item {
    border-inline-end: 1px solid var(--rule);
  }

  .zob-linear-item:last-child {
    border-inline-end: none;
  }
}

.zob-linear-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
}

.zob-linear-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  font-style: normal;
}

.zob-linear-desc {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Section: آراء عملاء زاد (Very light green tint band, Quote mark accent)
   -------------------------------------------------------------------------- */
.zob-band-reviews-b {
  background-color: var(--green-tint-band);
  border-block-end: 1px solid oklch(0.90 0.05 145);
}

.zob-reviews-lead-b {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-block-end: 24px;
}

@media (min-width: 1024px) {
  .zob-reviews-lead-b {
    margin-block-end: 32px;
  }
}

.zob-stat-display {
  display: flex;
  align-items: center;
  gap: 16px;
}

.zob-stat-score {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  font-style: normal;
}

.zob-stat-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.zob-stat-stars {
  color: var(--green);
  letter-spacing: 2px;
  font-size: 1.125rem;
  line-height: 1;
}

.zob-stat-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  line-height: 1.3;
}

.zob-reviews-grid-b {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

@media (min-width: 1024px) {
  .zob-reviews-grid-b {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }
}

.zob-review-card-b {
  position: relative;
  background-color: var(--paper-card);
  border: 1px solid oklch(0.88 0.05 145);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px oklch(0.62 0.17 145 / 0.06);
}

@media (min-width: 1024px) {
  .zob-review-card-b {
    padding: 24px;
  }
}

.zob-review-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-block-end: 14px;
}

.zob-review-header-start {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zob-stars {
  color: var(--green);
  letter-spacing: 2px;
  font-size: 1.125rem;
  line-height: 1;
}

.zob-quote-accent {
  font-size: 28px;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--green);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.zob-review-header-end {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-shrink: 0;
}

.zob-verified-tag {
  color: var(--green);
  background-color: var(--green-tint);
  border: 1px solid var(--green-border);
  padding-inline: 8px;
  padding-block: 2px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
}

.zob-review-date {
  color: var(--ink-subtle);
  font-size: 0.8125rem;
}

.zob-review-text {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.8;
  font-style: normal;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Section: الضمان والتوصيل (Two-column block on white)
   -------------------------------------------------------------------------- */
.zob-band-warranty-b {
  background-color: var(--paper-card);
  border-block-end: 1px solid var(--rule-light);
}

.zob-warranty-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
}

@media (min-width: 1024px) {
  .zob-warranty-two-col {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--sp-12);
    align-items: center;
  }
}

.zob-warranty-heading-b {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-block-end: 16px;
  font-style: normal;
}

.zob-lead-p {
  font-size: 1.125rem;
  color: var(--ink);
  line-height: 1.6;
}

.zob-link-whatsapp-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 8px;
  padding-inline: 16px;
  padding-block: 8px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 150ms ease, color 150ms ease;
  min-height: 44px;
}

.zob-link-whatsapp-b:hover {
  background-color: var(--navy);
  color: var(--ink-on-dark);
}

.zob-warranty-col-end {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zob-warranty-card-b {
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zob-warranty-subheading-b {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  font-style: normal;
}

.zob-plain-p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.zob-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.zob-link:hover {
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Section: الأسئلة الشائعة
   -------------------------------------------------------------------------- */
.zob-band-faq-b {
  background-color: var(--paper-card);
}

.zob-faq-stack {
  display: flex;
  flex-direction: column;
  border-block-start: 1px solid var(--rule);
}

.zob-faq-item {
  border-block-end: 1px solid var(--rule);
}

.zob-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  min-height: 52px;
}

.zob-faq-summary::-webkit-details-marker {
  display: none;
}

.zob-faq-chevron {
  font-size: 1rem;
  color: var(--ink-muted);
  transition: transform 150ms ease;
  line-height: 1;
}

.zob-faq-item[open] .zob-faq-chevron {
  transform: rotate(180deg);
}

.zob-faq-answer {
  padding-block-start: 8px;
  padding-block-end: 18px;
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.65;
}

.zob-faq-answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Bar (<= 768px only)
   -------------------------------------------------------------------------- */
.zob-sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  background-color: var(--paper-card);
  border-block-start: 1px solid var(--rule);
  padding-inline: 16px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px oklch(0.22 0.09 262 / 0.12);
  z-index: 9999;
  transform: translateY(110%);
  transition: transform 150ms ease;
}

.zob-sticky-bar.is-visible {
  transform: translateY(0);
}

.zob-sticky-summary {
  display: flex;
  flex-direction: column;
}

.zob-sticky-total-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.2;
}

.zob-sticky-total-num {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.zob-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding-inline: 20px;
  font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
  font-weight: 700;
  color: var(--ink-on-dark);
  background-color: var(--green);
  border-radius: var(--radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease;
}

.zob-sticky-btn:hover {
  background-color: var(--green-hover);
}

.zob-sticky-btn:active {
  background-color: var(--green-active);
}

.zob-sticky-btn[data-unselected="true"] {
  background-color: var(--ink-muted);
}

@media (min-width: 769px) {
  .zob-sticky-bar {
    display: none !important;
  }
}

/* Mobile first-screen budget (orchestrator, final polish): at 390 x 844 with a ~60px theme
   header, the photo, 99 + 25 = 124 ledger, connector choice and the main CTA all fit before
   any scroll. Photo stays the largest hero element. */
@media (max-width: 767px) {
  .zob .zob-product-image {
    aspect-ratio: 16 / 10;
  }
  .zob .zob-hero-stage {
    padding-block-start: 12px;
  }
  .zob .zob-hero-b-grid {
    gap: 10px;
  }
  .zob .zob-form {
    gap: 10px;
  }
  .zob .zob-addon-strip {
    padding-block: 8px;
  }
  .zob .zob-addon-thumb {
    width: 40px;
    height: 40px;
  }
  .zob .zob-receipt-top {
    display: none;
  }
  .zob .zob-receipt-card {
    padding: 14px 16px;
    gap: 6px;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  .zob .zob-chips-row {
    flex-wrap: nowrap;
    gap: 6px;
  }
  .zob .zob-chips-row > * {
    font-size: 12px;
    padding: 5px 10px;
    white-space: nowrap;
  }
}
@media (max-width: 767px) {
  .zob .zob-segment-face {
    min-height: 72px;
    padding-block: 8px;
  }
  .zob .zob-segmented-pill {
    padding: 4px;
  }
}
/* Tighter budget for the real 90px Woodmart mobile header */
@media (max-width: 767px) {
  .zob .zob-hero-stage { padding-block-start: 8px; }
  .zob .zob-hero-b-grid { gap: 8px; }
  .zob .zob-form { gap: 8px; }
  .zob .zob-segmented-pill { padding: 3px; }
  .zob .zob-segment-face { min-height: 68px; padding-block: 6px; }
  .zob .zob-selector-heading-dark { margin-block-end: 6px; }
  .zob .zob-addon-subline-dark { font-size: 11.5px; line-height: 1.45; }
  .zob .zob-addon-strip { padding-block: 6px; }
  .zob .zob-receipt-card { padding: 12px 16px; gap: 4px; }
  .zob .zob-receipt-rows { gap: 4px; }
  .zob :where(h1) { line-height: 1.25; }
}
/* Connector segments: always equal width, titles never break mid-word */
.zob .zob-option {
  flex: 1 1 0;
  min-width: 0;
}
.zob .zob-segment-face {
  width: 100%;
  min-width: 0;
}
.zob .zob-segment-info {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}
.zob .zob-segment-info > * {
  white-space: nowrap;
  overflow-wrap: normal;
}
@media (max-width: 359px) {
  .zob .zob-segment-icon-box {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }
  .zob .zob-segment-icon {
    width: 20px;
    height: 20px;
  }
  .zob .zob-segment-face {
    gap: 6px;
  }
}
/* Mobile: the check becomes a corner badge so it never overlaps the connector name */
@media (max-width: 767px) {
  .zob .zob-segment-face {
    position: relative;
    padding-inline: 12px 28px;
    gap: 8px;
  }
  .zob .zob-segment-check {
    position: absolute;
    inset-block-start: 6px;
    inset-inline-end: 6px;
    width: 18px;
    height: 18px;
    font-size: 11px;
  }
  .zob .zob-segment-icon-box {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
  .zob .zob-segment-icon {
    width: 22px;
    height: 22px;
  }
}
@media (max-width: 359px) {
  .zob .zob-segment-face {
    padding-inline: 8px 26px;
    gap: 5px;
  }
  .zob .zob-segment-icon-box,
  .zob .zob-segment-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .zob .zob-option-main {
    font-size: 14px;
  }
  .zob .zob-option-hint {
    font-size: 11px;
  }
}

