/* Product-page-only layout. Journal owns gallery, purchase actions and reviews. */
.pmd-mobile-purchase[hidden] { display: none !important; }
.pmd-mobile-purchase-spacer { height: 0; pointer-events: none; }
.pmd-mobile-discount { display: none !important; }
@media (max-width: 767px) {
  .product-action-box-wrap.pmd-mobile-purchase {
    position: fixed;
    top: auto;
    inset-inline: 0;
    bottom: var(--pmd-bottom-menu-space, 0px);
    z-index: 101;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    width: 100%;
    padding: 8px 15px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #eceeef;
    box-shadow: 0 -3px 12px rgb(0 0 0 / 5%);
  }
  .product-action-box-wrap.pmd-mobile-purchase.has-bottom-menu { padding-bottom: 8px; }
  .product-action-box-wrap.pmd-mobile-purchase.pmd-out-of-stock { grid-template-columns: minmax(0, 1fr); }
  .product-action-box-wrap.pmd-mobile-purchase .pab-actions-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; margin: 0; min-width: 0; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-qty { width: 78px; min-width: 0; height: 44px; border: 1px solid #0d5b2b; border-radius: 8px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-qty button { width: 25px; min-width: 24px; font-size: 20px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-qty-value { font-size: 16px; min-width: 22px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-add-cart,
  .product-action-box-wrap.pmd-mobile-purchase .pab-buy-now {
    min-width: 0; width: 100%; height: 44px; margin: 0; padding: 0 8px;
    gap: 6px; border-radius: 8px; font-size: 14px; font-weight: 600;
    flex-direction: row-reverse; white-space: nowrap;
  }
  .product-action-box-wrap.pmd-mobile-purchase .pab-add-cart { border: 1px solid #0d5b2b; background: #fff; color: #0d5b2b; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-buy-now { background: #005c27; color: #fff; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-icon { width: 20px; height: 20px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-cart-icon {
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(36%) saturate(1339%) hue-rotate(94deg) brightness(90%) contrast(101%);
  }
  .product-action-box-wrap.pmd-mobile-purchase button:focus-visible { outline: 2px solid #0d5b2b; outline-offset: 2px; }
  .product-action-box-wrap.pmd-mobile-purchase button:disabled { opacity: .55; cursor: wait; }
}
@media (max-width: 359px) {
  .product-action-box-wrap.pmd-mobile-purchase { grid-template-columns: minmax(0, 1fr) 94px; gap: 6px; padding-inline: 8px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-actions-row { grid-template-columns: 72px minmax(0, 1fr); gap: 6px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-qty { width: 72px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-add-cart,
  .product-action-box-wrap.pmd-mobile-purchase .pab-buy-now { padding-inline: 4px; gap: 4px; font-size: 12px; }
  .product-action-box-wrap.pmd-mobile-purchase .pab-icon { width: 17px; height: 17px; }
}
#product-product.aljouf-pdp {
  --pdp-sticky-top: 120px;
  --pdp-line: #eceeef;
}
#product-product.aljouf-pdp,
#product-product.aljouf-pdp :not(.fa):not(.rv-fa):not(.saudi-riyal-symbol),
.product-action-box-wrap,
.product-action-box-wrap :not(.fa):not(.rv-fa):not(.saudi-riyal-symbol) {
  font-family: 'Rubik', sans-serif !important;
}
.product-action-box-wrap .pab-add-cart {
  font-size: 15px !important;
  font-family: Rubik;
}
.aljouf-pdp [hidden] { display: none !important; }
.aljouf-pdp .pmd-center .pmd-title {
  font-size: 21px !important;
  line-height: 1.6 !important;
  margin-bottom: 12px !important;
}
.aljouf-pdp .pmd-center { container-type: inline-size; }
.aljouf-pdp .pmd-meta-row { gap: 8px !important; margin-bottom: 20px !important; flex-wrap: nowrap !important; }
.aljouf-pdp .pmd-rating,
.aljouf-pdp .pmd-review-links a,
.aljouf-pdp .pmd-sales-count { font-size: 13px !important; white-space: nowrap; }
.aljouf-pdp .pmd-rating { flex-direction: row; flex-wrap: nowrap; gap: 5px !important; }
.aljouf-pdp .pmd-rating-number { font-size: 14px; }
.aljouf-pdp .pmd-stars { font-size: 17px !important; direction: rtl !important; gap: 1px !important; }
.aljouf-pdp .pmd-stars .pmd-star { position: relative; display: block; width: 17px; height: 18px; flex: 0 0 17px; }
.aljouf-pdp .pmd-stars .pmd-star > .rv-fa { color: #c8cdd1 !important; }
.aljouf-pdp .pmd-stars .rv-fa {
  position: absolute; top: 0; right: 0; display: inline-block; margin: 0;
  font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
  font-style: normal !important; font-variant: normal !important; font-weight: 900;
  font-size: inherit; line-height: 18px; text-rendering: auto; -webkit-font-smoothing: antialiased;
}
.aljouf-pdp .pmd-stars .rv-icon-star::before { content: "\f005"; }
.aljouf-pdp .pmd-star-fill { position: absolute; top: 0; right: 0; height: 100%; overflow: hidden; }
.aljouf-pdp .pmd-stars .pmd-star-fill .rv-fa { color: #ffa615 !important; }
.aljouf-pdp .pmd-review-links a { padding: 0 !important; border: 0 !important; }
.aljouf-pdp .pmd-sales-count { gap: 6px; margin: 0 auto 0 0; }
.aljouf-pdp .pmd-sales-count strong { font-size: 14px !important; }
.aljouf-pdp .pmd-sold-icon { display: block; width: 19px; height: 19px; flex: 0 0 19px; object-fit: contain; }
.aljouf-pdp .pmd-product-badges {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  justify-content: space-between;
}
.aljouf-pdp .pmd-spec-item {
  flex: 1 1 auto !important;
  padding: 0 8px !important;
  min-height: 24px !important;
  gap: 4px;
  border: 0 !important;
  border-left: 1px solid #e7e9ec !important;
  border-radius: 0 !important;
  justify-content: center;
}
.aljouf-pdp .pmd-spec-item span {
  font-size: 14px !important;
  padding-left: 2px;
  white-space: nowrap;
}
.aljouf-pdp .pmd-spec-item strong { font-size: 13px !important; white-space: nowrap; }
.aljouf-pdp .pmd-organic-badge { font-size: 11px !important; padding: 4px 8px !important; margin: 0 12px 0 0; flex-shrink: 0; }
.aljouf-pdp .pmd-leaf { margin: 0; font-size: 10px; color: #397442; }
@container (max-width: 360px) {
  .aljouf-pdp .pmd-meta-row { gap: 4px !important; }
  .aljouf-pdp .pmd-rating,
  .aljouf-pdp .pmd-review-links a,
  .aljouf-pdp .pmd-sales-count,
  .aljouf-pdp .pmd-sales-count strong { font-size: 11px !important; }
  .aljouf-pdp .pmd-rating { gap: 3px !important; }
  .aljouf-pdp .pmd-stars { font-size: 14px !important; }
  .aljouf-pdp .pmd-stars .pmd-star { width: 14px; flex-basis: 14px; }
  .aljouf-pdp .pmd-product-badges { flex-wrap: wrap !important; gap: 12px 0 !important; }
  .aljouf-pdp .pmd-spec-item { flex: 0 0 50% !important; }
  .aljouf-pdp .pmd-spec-item:nth-child(2) { border-left: 0 !important; }
  .aljouf-pdp .pmd-organic-badge { margin-inline: auto; }
}
.aljouf-pdp .pmd-section {
  padding-bottom: 20px;
  margin: 0 0 20px !important;
  border-bottom: 1px solid var(--pdp-line);
}
.aljouf-pdp .pmd-section > h2 { margin-bottom: 12px !important; font-size: 16px !important; }
.aljouf-pdp .pmd-section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}
.aljouf-pdp .pmd-section-toggle i { color: #9ca3a8; font-size: 16px; }
.aljouf-pdp .pmd-section-toggle[aria-expanded="false"] i { transform: rotate(180deg); }
.aljouf-pdp .pmd-section-toggle:focus-visible,
.aljouf-pdp .pmd-read-more:focus-visible,
.aljouf-pdp #j3-reviews-ui :is(button, select, a):focus-visible {
  outline: 2px solid #0d5b2b;
  outline-offset: 4px;
}
.aljouf-pdp .pmd-description-title,
.aljouf-pdp .pmd-static-specifications,
.aljouf-pdp .pmd-static-keywords { display: none !important; }
.aljouf-pdp .pmd-description-content { font-size: 14px !important; line-height: 1.9 !important; }
.aljouf-pdp .pmd-description-section,
.aljouf-pdp .pmd-description-section :not(.fa):not(.rv-fa) { font-family: 'Rubik', sans-serif !important; }
.aljouf-pdp .pmd-description-wrap:not(.is-expanded) { max-height: 112px !important; }
.aljouf-pdp .pmd-read-more { font-size: 13px !important; display: flex; margin-inline: auto; }
.aljouf-pdp .pmd-feature-list li { font-size: 14px !important; line-height: 1.8 !important; gap: 10px !important; margin-bottom: 8px !important; }
.aljouf-pdp .pmd-feature-check { font-size: 15px !important; flex: 0 0 16px !important; min-width: 16px !important; width: 16px !important; }
.aljouf-pdp #pmd-reviews { scroll-margin-top: calc(var(--pdp-sticky-top) + 16px); }
.aljouf-pdp #j3-reviews-ui { background: #fafafa; padding: 18px 0 24px; }
.aljouf-pdp #j3-reviews-ui .rv-section-head { min-height: 40px; margin-bottom: 18px; padding: 0; border: 0; gap: 8px; }
.aljouf-pdp #j3-reviews-ui .rv-section-head-right { gap: 12px; flex-wrap: wrap; }
.aljouf-pdp #j3-reviews-ui .rv-section-title { font-size: 16px; white-space: normal; }
.aljouf-pdp #j3-reviews-ui .rv-head-add-review { font-size: 12px; min-height: 34px; padding-inline: 10px; flex-shrink: 0; }
.aljouf-pdp #j3-reviews-ui .rv-layout { display: flex; flex-direction: column; gap: 24px; }
.aljouf-pdp #j3-reviews-ui .rv-summary,
.aljouf-pdp #j3-reviews-ui .rv-main { width: 100%; min-width: 0; }
.aljouf-pdp #j3-reviews-ui .rv-summary-title,
.aljouf-pdp #j3-reviews-ui .rv-title { font-size: 15px; margin-bottom: 16px; }
.aljouf-pdp #j3-reviews-ui .rv-summary-box { border-radius: 8px; padding: 20px; }
.aljouf-pdp #j3-reviews-ui .rv-score,
.aljouf-pdp #j3-reviews-ui .rv-count { text-align: start; }
.aljouf-pdp #j3-reviews-ui .rv-score-stars { justify-content: flex-end; }
.aljouf-pdp #j3-reviews-ui .rv-toolbar { display: block; border: 0; padding: 0; }
.aljouf-pdp #j3-reviews-ui .rv-controls { display: flex; justify-content: space-between; gap: 12px; }
.aljouf-pdp #j3-reviews-ui .rv-select-wrap { min-width: 0; max-width: 60%; }
.aljouf-pdp #j3-reviews-ui .rv-select { min-width: 0; max-width: 100%; width: 100%; height: 38px; border-radius: 6px; font-size: 12px; }
.aljouf-pdp #j3-reviews-ui .rv-review-card { border-radius: 8px; padding: 14px; box-shadow: none; }
.aljouf-pdp #j3-reviews-ui .rv-review-text { font-size: 13px; overflow-wrap: anywhere; }
.aljouf-pdp #j3-reviews-ui .rv-review-date { font-size: 11px; }
.aljouf-pdp #j3-reviews-ui .rv-review-head { flex-wrap: wrap; }
.aljouf-pdp #j3-reviews-ui .rv-bar-fill { display: block; margin-left: auto; }

@media (min-width: 1024px) {
  .aljouf-pdp.has-purchase-sidebar .pmd-main-price-row { display: none !important; }
  .aljouf-pdp .product-info {
    display: grid !important;
    grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
    align-items: stretch !important;
    gap: 22px !important;
  }
  .aljouf-pdp .product-info > .product-left,
  .aljouf-pdp .product-info > .product-right {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
    overflow: visible !important;
  }
  .aljouf-pdp .product-left-wrapper {
    position: sticky !important;
    top: var(--pdp-sticky-top) !important;
    transform: none !important;
  }
  .aljouf-pdp .product-right-wrapper {
    position: static !important;
    transform: none !important;
    width: 100% !important;
  }
  .aljouf-pdp .product-image .main-image { border-radius: 8px; overflow: hidden; }

  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-add-cart {
    flex-direction: row !important;
    direction: ltr !important;
    border-color: #005c27 !important;
    background: #005c27 !important;
    color: #fff !important;
  }

  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-cart-icon {
    object-fit: contain;
    filter: none;
  }

  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-add-cart:hover,
  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-add-cart:focus-visible {
    border-color: #00481f !important;
    background: #00481f !important;
    color: #fff !important;
  }

  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-buy-now {
    flex-direction: row !important;
    direction: ltr !important;
    border: 1.6px solid #005c27 !important;
    background: #fff !important;
    color: #0d5b2b !important;
  }

  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) :is(.pab-add-cart, .pab-buy-now) span {
    direction: rtl;
  }

  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-buy-now:hover,
  .aljouf-pdp .product-action-box-wrap:not(.pmd-mobile-purchase) .pab-buy-now:focus-visible {
    border-color: #005c27 !important;
    background: #f6faf7 !important;
    color: #0d5b2b !important;
  }
}
@media (max-width: 1023px) {
  .aljouf-pdp .product-left-wrapper,
  .aljouf-pdp .product-right-wrapper { position: static !important; transform: none !important; }
  .aljouf-pdp .pmd-center .pmd-title { font-size: 20px !important; }
  .aljouf-pdp #j3-reviews-ui .rv-section-head-right { gap: 8px; }
}

/* Mobile reference layout. Bottom navigation and purchase controls stay independently fixed. */
@media (max-width: 767px) {
  html:not(.popup) body:has(#product-product.aljouf-pdp) {
    overflow-x: hidden;
  }

  #product-product.aljouf-pdp {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 16px !important;
    background: #fff;
  }

  .aljouf-pdp > .row,
  .aljouf-pdp #content,
  .aljouf-pdp .product-info,
  .aljouf-pdp .product-left,
  .aljouf-pdp .product-right {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .aljouf-pdp .title.page-title,
  .aljouf-pdp + #column-right,
  .aljouf-pdp ~ #column-right,
  .route-product-product #column-right,
  .route-product-product .column-right {
    display: none !important;
  }

  .aljouf-pdp .product-left-wrapper,
  .aljouf-pdp .product-right-wrapper {
    width: 100% !important;
  }

  .aljouf-pdp .product-image {
    margin: 0 -16px !important;
    padding: 0 16px !important;
    border-bottom: 1px solid #eceeef;
  }

  .aljouf-pdp .product-image .main-image {
    position: relative !important;
    width: 100% !important;
    height: clamp(330px, 92vw, 410px) !important;
    min-height: 330px !important;
    margin: 0 !important;
    padding: 0 0 34px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .aljouf-pdp .main-image .swiper-container,
  .aljouf-pdp .main-image .swiper-wrapper,
  .aljouf-pdp .main-image .swiper-slide {
    height: 100% !important;
  }

  .aljouf-pdp .main-image .swiper-slide {
    align-items: center !important;
    justify-content: center !important;
    background: #fff !important;
  }

  .aljouf-pdp .main-image .swiper-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 auto !important;
    padding: 20px 28px 8px !important;
    object-fit: contain !important;
  }

  .aljouf-pdp .product-image .additional-images,
  .aljouf-pdp .main-image .swiper-buttons {
    display: none !important;
  }

  .aljouf-pdp .main-image .swiper-controls,
  .aljouf-pdp .main-image .swiper-pagination {
    display: flex !important;
  }

  .aljouf-pdp .main-image .swiper-controls {
    position: absolute !important;
    inset: auto 0 10px !important;
    align-items: center;
    justify-content: center;
    height: 16px;
    pointer-events: none;
  }

  .aljouf-pdp .main-image .swiper-pagination {
    position: static !important;
    transform: none !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .aljouf-pdp .main-image .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    background: #d7dadd !important;
    opacity: 1 !important;
  }

  .aljouf-pdp .main-image .swiper-pagination-bullet-active {
    background: #0d5b2b !important;
  }

  .aljouf-pdp .pmd-mobile-discount {
    position: absolute;
    z-index: 4;
    top: 16px;
    inset-inline-start: 0;
    display: inline-flex !important;
    align-items: center;
    min-height: 32px;
    padding: 5px 9px;
    border-radius: 6px;
    background: #ff4a43;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
  }

  .aljouf-pdp .product-image .product-label-special,
  .aljouf-pdp .product-image .product-label-discount {
    top: 16px !important;
    inset-inline-start: 0 !important;
    inset-inline-end: auto !important;
    border-radius: 6px !important;
    background: #ff4a43 !important;
    color: #fff !important;
  }

  .aljouf-pdp .pmd-center {
    width: 100% !important;
    padding: 22px 0 0 !important;
    container-type: normal;
  }

  .aljouf-pdp .pmd-center .pmd-title {
    margin: 0 0 14px !important;
    color: #20242c !important;
    font-family: 'Rubik', sans-serif !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    line-height: 1.55 !important;
    letter-spacing: 0 !important;
    text-align: start;
  }

  .aljouf-pdp .pmd-meta-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 25px !important;
    margin: 0 0 13px !important;
  }

  .aljouf-pdp .pmd-rating {
    gap: 4px !important;
    min-width: 0;
  }

  .aljouf-pdp .pmd-rating-number {
    font-size: 13px !important;
    font-weight: 700;
  }

  .aljouf-pdp .pmd-stars {
    gap: 0 !important;
    font-size: 16px !important;
  }

  .aljouf-pdp .pmd-stars .pmd-star {
    width: 16px !important;
    height: 18px !important;
    flex: 0 0 16px !important;
  }

  .aljouf-pdp .pmd-review-links a,
  .aljouf-pdp .pmd-sales-count,
  .aljouf-pdp .pmd-sales-count strong {
    font-size: 12px !important;
  }

  .aljouf-pdp .pmd-sales-count {
    gap: 5px !important;
    margin: 0 auto 0 0 !important;
    color: #7c838c !important;
  }

  .aljouf-pdp .pmd-sales-count strong {
    color: #68a441 !important;
    font-weight: 800 !important;
  }

  .aljouf-pdp .pmd-sold-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .aljouf-pdp .pmd-main-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
  }

  .aljouf-pdp .pmd-price-right,
  .aljouf-pdp .pmd-price-left {
    gap: 9px !important;
    flex-wrap: nowrap !important;
  }

  .aljouf-pdp .pmd-main-price {
    color: #f43d32 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1.15;
  }

  .aljouf-pdp .pmd-main-old-price {
    color: #9a9fa6 !important;
    font-size: 12px !important;
    text-decoration: line-through;
    white-space: nowrap;
  }

  .aljouf-pdp .pmd-main-saving {
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid #ffd9d6;
    border-radius: 14px;
    background: #fff8f7;
    color: #ef4d42 !important;
    font-size: 11px !important;
    white-space: nowrap;
  }

  .aljouf-pdp .pmd-main-discount {
    display: none !important;
  }

  .aljouf-pdp .pmd-product-badges {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }

  .aljouf-pdp .pmd-spec-item {
    display: flex !important;
    flex: none !important;
    min-width: 0 !important;
    min-height: 28px !important;
    padding: 0 7px !important;
    border: 0 !important;
    border-inline-end: 1px solid #eceeef !important;
    border-radius: 0 !important;
    background: transparent !important;
    gap: 3px !important;
    justify-content: center !important;
    white-space: nowrap;
  }

  .aljouf-pdp .pmd-spec-item:first-child {
    padding-inline-start: 0 !important;
  }

  .aljouf-pdp .pmd-spec-item span,
  .aljouf-pdp .pmd-spec-item strong {
    min-width: 0;
    padding: 0 !important;
    font-size: 11px !important;
    white-space: nowrap;
  }

  .aljouf-pdp .pmd-spec-item span {
    color: #8a9098 !important;
  }

  .aljouf-pdp .pmd-spec-item strong {
    color: #404750 !important;
    font-weight: 700 !important;
  }

  .aljouf-pdp .pmd-organic-badge {
    justify-self: end;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px !important;
    min-width: 0;
    margin: 0 !important;
    padding: 5px 7px !important;
    border-radius: 13px !important;
    background: #eaf3e2 !important;
    color: #397442 !important;
    font-size: 10px !important;
    white-space: nowrap;
  }

  .aljouf-pdp .pab-bottom-actions {
    position: relative;
    display: flex !important;
    width: 100% !important;
    height: 64px !important;
    margin: 0 0 24px !important;
    border-top: 1px solid #eceeef !important;
    border-bottom: 1px solid #eceeef !important;
  }

  .aljouf-pdp .pab-bottom-actions::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 16px;
    left: 50%;
    width: 1px;
    height: 31px;
    background: #e6e8eb;
    transform: translateX(-.5px);
    pointer-events: none;
  }

  .aljouf-pdp .pab-bottom-action {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 50% !important;
    width: 50% !important;
    height: 63px !important;
    gap: 12px !important;
    flex-direction: row !important;
    direction: ltr !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #0d5b2b !important;
    font-family: 'Rubik', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer;
  }

  .aljouf-pdp .pab-bottom-action span {
    direction: rtl;
  }

  .aljouf-pdp .pab-bottom-action:hover,
  .aljouf-pdp .pab-bottom-action:focus-visible {
    background: #f7faf8 !important;
    color: #0d5b2b !important;
  }

  .aljouf-pdp .pab-bottom-action:focus-visible {
    outline: 2px solid #0d5b2b;
    outline-offset: -3px;
  }

  .aljouf-pdp .pab-bottom-action .pab-icon {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    overflow: visible !important;
  }

  .aljouf-pdp .pmd-section {
    width: 100%;
    margin: 0 !important;
    padding: 0 0 24px !important;
    border-bottom: 1px solid #eceeef !important;
  }

  .aljouf-pdp .pmd-section + .pmd-section,
  .aljouf-pdp .pmd-section + #pmd-reviews,
  .aljouf-pdp #pmd-reviews + .pmd-section {
    padding-top: 24px !important;
  }

  .aljouf-pdp .pmd-section > h2 {
    margin: 0 0 12px !important;
    font-size: 17px !important;
  }

  .aljouf-pdp .pmd-section-toggle {
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  .aljouf-pdp .pmd-description-content {
    color: #59606a !important;
    font-size: 13px !important;
    line-height: 2 !important;
  }

  .aljouf-pdp .pmd-description-wrap:not(.is-expanded) {
    max-height: 126px !important;
  }

  .aljouf-pdp .pmd-read-more {
    margin: 2px 0 0 !important;
    color: #0d6a36 !important;
    font-size: 12px !important;
    font-weight: 700;
  }

  .aljouf-pdp .pmd-static-features {
    padding-top: 24px !important;
  }

  .aljouf-pdp .pmd-feature-list li {
    align-items: flex-start !important;
    gap: 9px !important;
    margin-bottom: 9px !important;
    color: #565d66 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
  }

  .aljouf-pdp .pmd-feature-check {
    width: 16px !important;
    min-width: 16px !important;
    height: 22px !important;
    font-size: 15px !important;
  }

  .aljouf-pdp #pmd-reviews {
    padding-top: 24px;
  }

  .aljouf-pdp #j3-reviews-ui {
    margin: 0 !important;
    padding: 0 0 26px !important;
    border-bottom: 1px solid #eceeef;
    background: #fff !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-section-head {
    min-height: 40px !important;
    margin: 0 0 18px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-section-title {
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-head-add-review {
    min-height: 34px !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-collapse-toggle {
    color: #a4a9af !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-layout {
    gap: 20px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-summary-title,
  .aljouf-pdp #j3-reviews-ui .rv-title {
    margin-bottom: 14px !important;
    font-size: 15px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-summary-box {
    padding: 18px 16px !important;
    border: 1px solid #e7e9ec !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-score {
    font-size: 32px !important;
    font-weight: 800 !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-score-stars {
    margin: 2px 0 5px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-count {
    font-size: 12px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-bar-row {
    min-height: 22px;
    gap: 7px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-bar-track {
    height: 7px !important;
    border-radius: 5px !important;
    background: #eceeef !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-bar-fill {
    border-radius: 5px !important;
    background: #78b64b !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-toolbar {
    margin-bottom: 12px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-review-card {
    margin-bottom: 12px !important;
    padding: 14px !important;
    border: 1px solid #e8eaec !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-review-author {
    font-size: 13px !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-review-text {
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
  }

  .aljouf-pdp #j3-reviews-ui .rv-review-date {
    font-size: 10px !important;
  }

  .aljouf-pdp .pmd-options-section {
    padding-top: 0 !important;
    margin-bottom: 20px !important;
  }

  .aljouf-pdp .pmd-static-specifications,
  .aljouf-pdp .pmd-static-keywords {
    display: none !important;
  }
}

@media (max-width: 359px) {
  #product-product.aljouf-pdp { padding-inline: 12px !important; }
  .aljouf-pdp .product-image { margin-inline: -12px !important; padding-inline: 12px !important; }
  .aljouf-pdp .product-image .main-image { min-height: 300px !important; height: 330px !important; }
  .aljouf-pdp .pmd-center .pmd-title { font-size: 19px !important; }
  .aljouf-pdp .pmd-stars { font-size: 14px !important; }
  .aljouf-pdp .pmd-stars .pmd-star { width: 14px !important; flex-basis: 14px !important; }
  .aljouf-pdp .pmd-review-links a,
  .aljouf-pdp .pmd-sales-count,
  .aljouf-pdp .pmd-sales-count strong { font-size: 10px !important; }
  .aljouf-pdp .pmd-spec-item { padding-inline: 3px !important; gap: 1px !important; }
  .aljouf-pdp .pmd-spec-item span,
  .aljouf-pdp .pmd-spec-item strong { font-size: 9px !important; }
  .aljouf-pdp .pmd-organic-badge { padding-inline: 4px !important; font-size: 9px !important; }
}

/* The unavailable state must override Journal's desktop and mobile purchase-button variants. */
.aljouf-pdp .product-action-box-wrap .pab-actions-row.pab-out-of-stock-row {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
}
.aljouf-pdp .product-action-box-wrap .pab-add-cart.pab-out-of-stock {
  width: 100% !important;
  background: #f1f3f2 !important;
  border-color: #c7cdca !important;
  color: #626a66 !important;
  cursor: not-allowed !important;
}
.aljouf-pdp .product-action-box-wrap .pab-buy-now:disabled {
  background: #d8dcda !important;
  border-color: #d8dcda !important;
  color: #737a76 !important;
  cursor: not-allowed !important;
  opacity: .72;
  pointer-events: none;
}
