.medlab-nd96-active.home .elementor-element.elementor-element-dc689d2,
.medlab-nd96-active.home .elementor-element.elementor-element-0350ccd {
  display: none !important;
}

.medlab-nd96-active.page-id-6980 .entry-header {
  display: none !important;
}

.nd96-banner,
.nd96-offers,
.nd96-product-notice,
.nd96-product-badge {
  box-sizing: border-box;
  direction: rtl;
  font-family: inherit;
  letter-spacing: 0;
}

.nd96-banner {
  position: relative;
  min-height: 430px;
  margin: 0 0 36px;
  padding: 48px max(5vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 740px) 190px;
  justify-content: center;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  background: #eff9fb url("nd96-medlab-hero-bg.png") center/cover no-repeat;
  border-bottom: 2px solid #d5b64c;
}

.nd96-copy {
  width: 100%;
  max-width: 740px;
  margin: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border-right: 5px solid #087f5b;
  color: #063c72;
}

.nd96-kicker {
  display: inline-block;
  padding: 7px 10px;
  background: #087f5b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.nd96-copy h1 {
  margin: 10px 0 4px;
  color: #063c72;
  font-size: 36px;
  line-height: 1.35;
}

.nd96-copy > p {
  margin: 0 0 14px;
  color: #365768;
  font-size: 16px;
}

.nd96-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 7px;
}

.nd96-price-grid > span {
  min-height: 62px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8e5e8;
  border-top: 3px solid #087f5b;
  text-align: center;
}

.nd96-price-grid small { color: #566c77; font-size: 12px; font-weight: 700; }
.nd96-price-grid strong { color: #063c72; font-size: 24px; line-height: 1.2; }
.nd96-price-grid b { color: #087f5b; font-size: 12px; }
.nd96-bundle { margin-top: 9px; padding: 8px 10px; background: #fff7dc; border-right: 3px solid #c79a19; color: #063c72; font-size: 14px; font-weight: 800; }
.nd96-discounts { margin-top: 7px; color: #087f5b; font-size: 13px; font-weight: 800; }

.nd96-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.nd96-actions a,
.nd96-card-action { padding: 10px 16px; background: #087f5b; border: 1px solid #087f5b; border-radius: 4px; color: #fff !important; font-weight: 800; text-decoration: none !important; }
.nd96-actions a:not(.nd96-primary) { background: #fff; color: #087f5b !important; }
.nd96-actions a:hover,
.nd96-card-action:hover { background: #056548; color: #fff !important; }

.nd96-symbol {
  width: 190px;
  aspect-ratio: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #006b4f;
  border: 3px solid #d8ba52;
  color: #fff;
  text-align: center;
}
.nd96-symbol strong { font-size: 72px; line-height: 0.9; }
.nd96-symbol span { margin-top: 8px; font-size: 14px; font-weight: 800; }
.nd96-symbol small { margin-top: 5px; color: #f6dc82; font-weight: 800; }

.nd96-offers { padding: 36px max(4vw, 20px) 64px; background: #f7fafb; }
.nd96-offers > header { max-width: 1320px; margin: 0 auto 20px; }
.nd96-offers > header span { color: #087f5b; font-weight: 800; }
.nd96-offers > header h1 { margin: 4px 0; color: #063c72; font-size: 36px; }
.nd96-offers > header p { margin: 0; color: #4c6572; }
.nd96-filter { max-width: 1320px; margin: 0 auto 18px; display: flex; gap: 8px; overflow-x: auto; }
.nd96-filter button { flex: 0 0 auto; padding: 10px 14px; border: 1px solid #cddde2; border-radius: 4px; background: #fff; color: #294b60; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.nd96-filter button b { margin-inline-start: 5px; color: #087f5b; }
.nd96-filter button.is-active { background: #087f5b; border-color: #087f5b; color: #fff; }
.nd96-filter button.is-active b { color: #f6dc82; }
.nd96-offers-grid { max-width: 1320px; margin: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nd96-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #d9e5e8; border-radius: 5px; box-shadow: 0 5px 18px rgba(6, 60, 114, 0.06); }
.nd96-card[hidden] { display: none; }
.nd96-card-media,
.nd96-card-media:hover,
.nd96-card-media:focus,
.nd96-card-media:visited {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #edf4f5;
  text-decoration: none !important;
}
.nd96-card-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.nd96-card-placeholder { width: 100%; aspect-ratio: 4/3; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #087f5b url("nd96-medlab-hero-bg.png") center/cover no-repeat; color: #fff; }
.nd96-card-placeholder b { color: #006b4f; font-size: 64px; font-weight: 900; line-height: 1; text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9); }
.nd96-card-placeholder small { margin-top: 7px; padding: 7px 12px; background: #087f5b; border: 2px solid #e6c65e; color: #fff; font-size: 13px; font-weight: 800; }
.nd96-card-badge { width: 100%; min-height: 38px; padding: 7px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #087f5b; border-top: 2px solid #e6c65e; color: #fff; text-align: center; }
.nd96-product-badge { width: 100%; min-height: 36px; margin-bottom: 7px; padding: 6px 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #087f5b; border-top: 2px solid #e6c65e; color: #fff; text-align: center; }
.nd96-card-badge b,
.nd96-card-badge small,
.nd96-product-badge b,
.nd96-product-badge small { display: block; }
.nd96-card-badge small,
.nd96-product-badge small { color: #ffeaa5; font-size: 11px; font-weight: 700; }
.nd96-card-body { display: flex; flex: 1; flex-direction: column; padding: 14px; }
.nd96-card-body h2 { min-height: 52px; margin: 0 0 8px; color: #063c72; font-size: 16px; line-height: 1.6; }
.nd96-card-body h2 a { color: inherit; text-decoration: none; }
.nd96-card-price { min-height: 32px; color: #087f5b; font-size: 20px; font-weight: 800; }
.nd96-card-price del { margin-inline-end: 8px; color: #84949b; font-size: 13px; }
.nd96-card-price ins { color: #087f5b; text-decoration: none; }
.nd96-card-body p { min-height: 40px; margin: 6px 0 12px; color: #657983; font-size: 12px; line-height: 1.6; }
.nd96-card-action { align-self: flex-start; display: inline-block; margin-top: auto; font-size: 13px; }

.nd96-actions a:focus-visible,
.nd96-card-action:focus-visible,
.nd96-filter button:focus-visible {
  outline: 3px solid #d8ba52;
  outline-offset: 2px;
}

body.medlab-nd96-product .ml-test-booking__head > div:first-child {
  flex: 1;
  min-width: 0;
}

body.medlab-nd96-product .ml-test-booking__head > div:first-child > strong {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 5px;
}

body.medlab-nd96-product .ml-test-booking__head strong ins {
  order: 1;
  color: #063c72;
  font-size: 30px;
  line-height: 1.25;
  text-decoration: none;
}

body.medlab-nd96-product .ml-test-booking__head strong del {
  display: inline-flex;
  align-items: baseline;
  order: 2;
  gap: 4px;
  color: #7b8990;
  font-size: 16px;
  line-height: 1.25;
  text-decoration: none !important;
}

body.medlab-nd96-product .ml-test-booking__head strong del::before {
  content: "بدلًا من";
  color: #687980;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.medlab-nd96-product .ml-test-booking__head strong ins .woocommerce-Price-amount {
  font-size: 30px !important;
}

body.medlab-nd96-product .ml-test-booking__head strong del .woocommerce-Price-amount {
  position: relative;
  font-size: 16px !important;
}

body.medlab-nd96-product .ml-test-booking__head strong del .woocommerce-Price-amount::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -2px;
  left: -2px;
  height: 2px;
  background: #b42318;
  transform: rotate(-5deg);
  transform-origin: center;
}

body.medlab-nd96-product .ml-test-booking__head .woocommerce-Price-amount,
.woocommerce ul.products li.product.medlab-nd96-product .price .woocommerce-Price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

body.medlab-nd96-product .ml-test-booking__head .sar-currency-symbol,
body.medlab-nd96-product .ml-test-booking__head .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product.medlab-nd96-product .price .sar-currency-symbol,
.woocommerce ul.products li.product.medlab-nd96-product .price .woocommerce-Price-currencySymbol {
  display: inline !important;
  font-size: 0.72em;
}

.woocommerce ul.products li.product.medlab-nd96-product .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 5px 8px;
  direction: rtl;
}

.woocommerce ul.products li.product.medlab-nd96-product .price ins {
  order: 1;
  color: #087f5b;
  font-size: 20px;
  line-height: 1.3;
  text-decoration: none;
}

.woocommerce ul.products li.product.medlab-nd96-product .price del {
  order: 2;
  color: #7b8990;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none !important;
}

.woocommerce ul.products li.product.medlab-nd96-product .price ins .woocommerce-Price-amount,
.woocommerce ul.products li.product.medlab-nd96-product .price del .woocommerce-Price-amount {
  font-size: inherit !important;
}

.woocommerce ul.products li.product.medlab-nd96-product .price del .woocommerce-Price-amount {
  position: relative;
}

.woocommerce ul.products li.product.medlab-nd96-product .price del .woocommerce-Price-amount::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -1px;
  left: -1px;
  height: 1.5px;
  background: #b42318;
  transform: rotate(-5deg);
  transform-origin: center;
}

.woocommerce ul.products li.product { position: relative; }
.nd96-product-notice { margin: 0 0 18px; padding: 14px 16px; background: #edf8f5; border-right: 5px solid #087f5b; color: #183f3a; }
.nd96-product-notice strong { display: block; color: #087f5b; font-size: 20px; }
.nd96-product-notice p { margin: 4px 0 0; line-height: 1.65; }

@media (max-width: 1050px) {
  .nd96-offers-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nd96-banner { min-height: 680px; padding: 18px 14px 102px; grid-template-columns: minmax(0, 1fr); align-items: start; background-position: 27% center; }
  .nd96-copy { width: 100%; min-width: 0; padding: 15px; }
  .nd96-copy h1 { font-size: 24px; }
  .nd96-copy > p { font-size: 13px; }
  .nd96-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd96-price-grid > span { min-width: 0; min-height: 54px; padding: 6px; }
  .nd96-price-grid small { font-size: 11px; }
  .nd96-price-grid strong { font-size: 20px; }
  .nd96-bundle, .nd96-discounts { font-size: 12px; line-height: 1.6; }
  .nd96-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nd96-actions .nd96-primary { grid-column: 1 / -1; }
  .nd96-symbol { position: absolute; left: 14px; bottom: 12px; width: 88px; padding: 10px; }
  .nd96-symbol strong { font-size: 42px; }
  .nd96-symbol span { font-size: 10px; }
  .nd96-symbol small { font-size: 9px; }
  .nd96-offers { padding: 28px 14px 60px; overflow-x: hidden; }
  .nd96-offers > header h1 { font-size: 28px; }
  .nd96-offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .nd96-card-body { padding: 10px; }
  .nd96-card-body h2 { font-size: 14px; }
  .nd96-card-badge { min-height: 34px; padding: 6px; }
}

@media (max-width: 430px) {
  .nd96-offers-grid { grid-template-columns: minmax(0, 1fr); }
}
