/* Al Rawnaq design — product page, lower half: tabs band, reviews, related + recently viewed */

/* ---- full-width light-grey band for Description / Reviews ---- */
.pdp-tabs, #reviews.pdp-reviews {
  background: var(--offwhite) !important; width: 100vw; margin-inline: calc(50% - 50vw) !important; box-sizing: border-box;
  padding-inline: max(1rem, calc((100vw - var(--rw-content-w, 80rem)) / 2)) !important; border: 0 !important; border-radius: 0 !important;
}
.pdp-tabs { margin-top: 56px; padding-top: 40px; padding-bottom: 0; }
.pdp-tabs__bar { gap: 28px; border-bottom: 0; }
.pdp-tabs__btn { padding: 0 0 12px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gray); border-bottom: 3px solid transparent; margin-bottom: 0; }
.pdp-tabs__btn.is-active { color: var(--navy); border-bottom-color: var(--yellow); }
.pdp-tabs__panel { max-width: none; padding: 24px 0 56px; font-size: 16px; line-height: 28px; color: var(--navy); }
.pdp-tabs__panel p { margin: 0 0 16px; }

#reviews.pdp-reviews { margin-top: 0; padding-top: 24px !important; padding-bottom: 56px !important; }
#reviews .pdp-reviews__head, #reviews .pdp-reviews__note, #reviews .pdp-reviews__grid, #reviews .pdp-reviews__empty, #reviews .pdp-reviews__all, #reviews .pdp-rsum { max-width: none; }
.pdp-reviews__title { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; color: var(--navy); text-transform: none; letter-spacing: 0; }
.pdp-reviews__write { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 999px; background: var(--navy); color: #fff; border: 0; font-size: 14px; line-height: 20px; font-weight: 600; text-transform: none; letter-spacing: 0.02em; text-decoration: none; }
.pdp-reviews__note { font-size: 14px; color: var(--gray); }
.pdp-reviews__empty { background: #fff; border: 1px dashed var(--line); border-radius: 20px; padding: 24px; text-align: center; color: var(--gray); }
.pdp-review { background: #fff; border: 0; border-radius: 20px; padding: 20px; }

/* ---- Related products + Recently viewed ---- */
.recommendations, .recently-viewed { padding: 72px 0 !important; border-top: 0 !important; background: #fff; }
.recently-viewed { background: var(--offwhite); padding: 56px 0 !important; }
.recommendations > .container, .recently-viewed > .container { max-width: none; }
.cx-rec-head, .cx-rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 32px; }
.cx-rec-titles { display: flex; flex-direction: column; gap: 8px; }
.cx-rec-heading, .cx-rv-heading { margin: 0; font-size: 36px; line-height: 44px; font-weight: 700; color: var(--navy); text-transform: none; letter-spacing: 0; }
@media (max-width: 767px) { .cx-rec-heading, .cx-rv-heading { font-size: 26px; line-height: 34px; } }

.cx-rec-nav, .cx-rv-nav { display: flex; gap: 12px; }
.cx-rec-nav__btn, .cx-rv-nav__btn { width: 44px; height: 44px; padding: 0; border-radius: 999px; display: flex; align-items: center; justify-content: center; cursor: pointer; background: #fff; border: 1.5px solid var(--navy); color: var(--navy); transition: background-color 0.15s ease; }
.cx-rec-nav__btn:last-child, .cx-rv-nav__btn:last-child { background: var(--navy); color: #fff; }
.cx-rec-nav__btn:hover, .cx-rv-nav__btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cx-rec-nav__btn:last-child:hover, .cx-rv-nav__btn:last-child:hover { background: #2d2e5c; }
.cx-rec-nav__btn svg, .cx-rv-nav__btn svg { width: 18px; height: 18px; }

.cx-rec-grid, .cx-rv-swipe-wrap > * { gap: 24px; }
.cx-rec-item .cx-product-card, .cx-rv-item .cx-product-card { width: 100%; }

#reviews.pdp-reviews[hidden], .pdp-tabs__panel[hidden] { display: none !important; }
.pdp-tabs { margin-bottom: 0; }
