/* V34 scoped UI updates, based only on provided V33 index.php. */
.header .mkfool-v30-header .mkfool-v30-saudi,
.header .mkfool-v30-header .mkfool-v34-cod {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  box-sizing: border-box !important;
  padding: 8px 11px !important;
  border-radius: 10px !important;
  border: 1px solid #b9dfc7 !important;
  background: #e9f8ef !important;
  color: #116236 !important;
  font: 800 12px/1.4 Cairo, 'IBM Plex Sans Arabic', Tahoma, sans-serif !important;
  white-space: nowrap !important;
}
.header .mkfool-v30-header .mkfool-v30-saudi__dot {background:#159a56 !important;width:7px !important;height:7px !important;border-radius:50% !important}
.header .mkfool-v30-header .mkfool-v30-saudi b {font-weight:800 !important;direction:ltr;unicode-bidi:isolate}
.header .mkfool-v30-header > nav .mkfool-v34-cod {max-width:none !important;text-align:center !important}
@media (min-width:768px) {
  /* Images stack one above the other, with consistent whitespace on desktop only. */
  .premium-product .premium-gallery .premium-photo-stack,
  .premium-product .ai-visual-landing {
    display:flex !important;flex-direction:column !important;align-items:center !important;
    gap:0 !important;width:100% !important;overflow:visible !important;
  }
  .premium-product .premium-gallery .premium-stack-item,
  .premium-product .ai-visual-landing .ai-visual-slice {
    display:block !important;flex:none !important;width:min(100%,880px) !important;
    max-width:100% !important;margin:0 auto !important;padding:0 !important;
  }
  .premium-product .premium-gallery .premium-stacked-photo,
  .premium-product .ai-visual-landing .ai-visual-photo {
    display:block !important;width:100% !important;height:auto !important;
    max-height:none !important;object-fit:contain !important;margin:0 auto !important;
  }
}
@media (max-width:767px) {
  .header .container.nav.mkfool-v30-header {
    display:grid !important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) !important;
    direction:rtl !important;align-items:center !important;gap:4px !important;
    padding-inline:7px !important;min-height:68px !important;overflow:visible !important;
  }
  .header .mkfool-v30-header .mkfool-v30-saudi {
    grid-column:1 !important;grid-row:1 !important;justify-self:start !important;
    padding:6px !important;font-size:clamp(9px,2.55vw,12px) !important;max-width:100% !important;
  }
  .header .mkfool-v30-header .mkfool-v30-logo {
    grid-column:2 !important;grid-row:1 !important;display:block !important;
    position:static !important;transform:none !important;margin:0 auto !important;
    width:clamp(108px,32vw,156px) !important;height:auto !important;padding:0 !important;
  }
  .header .mkfool-v30-header .mkfool-v30-logo__desktop {display:none !important}
  .header .mkfool-v30-header .mkfool-v30-logo__mobile {
    display:block !important;width:100% !important;height:auto !important;max-height:56px !important;object-fit:contain !important;
  }
  .header .mkfool-v30-header > nav {
    grid-column:3 !important;grid-row:1 !important;display:flex !important;align-items:center !important;
    justify-self:end !important;justify-content:flex-end !important;flex-wrap:wrap !important;
    gap:4px !important;position:static !important;transform:none !important;margin:0 !important;padding:0 !important;
  }
  .header .mkfool-v30-header > nav .mkfool-v34-cod {
    display:inline-flex !important;max-width:100% !important;white-space:normal !important;
    padding:6px !important;font-size:clamp(9px,2.4vw,11px) !important;
  }
  /* No changes to mobile gallery or order form. */
}
@media (max-width:350px) {
 .header .mkfool-v30-header .mkfool-v30-logo {width:105px !important}
 .header .mkfool-v30-header .mkfool-v30-saudi,
 .header .mkfool-v30-header > nav .mkfool-v34-cod {padding:5px 3px !important;font-size:9px !important}
}

/* V34.1 — zero whitespace BETWEEN product images, desktop and mobile.
   This only affects the public product media and AI image stacks. */
.premium-product .premium-gallery .premium-photo-stack,
.premium-product .ai-visual-landing {
  gap: 0 !important;
  row-gap: 0 !important;
  column-gap: 0 !important;
  padding-block: 0 !important;
}
.premium-product .premium-gallery .premium-stack-item,
.premium-product .ai-visual-landing .ai-visual-slice {
  margin-block: 0 !important;
  padding-block: 0 !important;
  border: 0 !important;
  line-height: 0 !important;
}
.premium-product .premium-gallery .premium-stacked-photo,
.premium-product .ai-visual-landing .ai-visual-photo {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  vertical-align: top !important;
}

/* V34.2: explicit COD badge even if an earlier header rule has higher specificity. */
.header .container.nav.mkfool-v30-header > nav > span.mkfool-v34-cod {
 display:inline-flex !important; align-items:center !important; justify-content:center !important;
 background:#e9f8ef !important; color:#116236 !important;
 border:1px solid #b9dfc7 !important; border-radius:10px !important;
 padding:7px 9px !important; font-weight:800 !important;
 font-family:Cairo,'IBM Plex Sans Arabic',Tahoma,sans-serif !important;
 box-sizing:border-box !important; max-width:none !important; text-align:center !important;
}
@media (max-width:767px) {
 .header .container.nav.mkfool-v30-header > nav > span.mkfool-v34-cod {
  font-size:clamp(9px,2.4vw,11px) !important; padding:6px 5px !important;
  white-space:normal !important; line-height:1.35 !important;
 }
}
