/* ================================================================
   product-pages.css
   البيوت الأنيقة — صفحات المنتجات
   RTL Arabic | Cairo Font | Standalone
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ───────────────────────────────────────────────── */
:root {
  --pp-dark:    #1C2535;
  --pp-dark2:   #232D3F;
  --pp-gold:    #d8a752;
  --pp-gold2:   #d8a752;
  --pp-cream:   #F8F4EE;
  --pp-cream2:  #F0EBE3;
  --pp-white:   #FFFFFF;
  --pp-text:    #2C2C2C;
  --pp-muted:   #777777;
  --pp-border:  #E0DDD8;
  --pp-radius:  12px;
  --pp-shadow:  0 4px 24px rgba(0,0,0,0.09);
  --pp-trans:   all 0.3s ease;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  color: var(--pp-text);
  background: var(--pp-white);
  direction: rtl;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: 'Cairo', sans-serif; }

/* ── Container ───────────────────────────────────────────────── */
.pp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section base ────────────────────────────────────────────── */
.pp-section { padding: 64px 0; }
.pp-section1 { padding: 0px 0; }
.pp-section-alt { background: var(--pp-cream); }

.pp-section-header { margin-bottom: 40px; }
.pp-section-header.center { text-align: center; }

.pp-section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--pp-dark);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.pp-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--pp-gold);
  border-radius: 2px;
  margin-top: 8px;
}
.pp-section-header.center .pp-section-title::after { margin-left: auto; margin-right: auto; }

.pp-section-subtitle {
  font-size: 15px;
  color: var(--pp-muted);
  margin-top: 8px;
  max-width: 580px;
}
.pp-section-header.center .pp-section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.pp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--pp-trans);
  border: 2px solid transparent;
  white-space: nowrap;
}
.pp-btn-gold {
  background: var(--pp-gold);
  color: #FFF;
  border-color: var(--pp-gold);
}
.pp-btn-gold:hover { background: var(--pp-gold2); border-color: var(--pp-gold2); }

.pp-btn-outline-white {
  background: transparent;
  color: var(--pp-white);
  border-color: rgba(255,255,255,0.55);
}
.pp-btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--pp-white);
}

.pp-btn-dark {
  background: var(--pp-dark);
  color: var(--pp-white);
  border-color: var(--pp-dark);
}
.pp-btn-dark:hover { background: var(--pp-dark2); }

.pp-btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── HEADER ─────────────────────────────────────────────────── */
.pp-header {
  background: var(--pp-white);
  position: sticky;
  top: 0;
  z-index: 9000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.pp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.pp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pp-logo img { height: 50px; width: auto; }

.pp-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.pp-nav a {
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-text);
  border-radius: 6px;
  transition: var(--pp-trans);
  position: relative;
  white-space: nowrap;
}
.pp-nav a:hover,
.pp-nav a.active { color: var(--pp-gold); }
.pp-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 13px;
  left: 13px;
  height: 2px;
  background: var(--pp-gold);
  border-radius: 1px;
}

.pp-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.pp-header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pp-text);
  white-space: nowrap;
  transition: color 0.2s;
}
.pp-header-phone:hover { color: var(--pp-gold); }
.pp-header-phone .ph-icon {
  width: 32px;
  height: 32px;
  background: rgba(201,162,39,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-header-phone .ph-icon svg { color: var(--pp-gold); }

/* Mobile toggle */
.pp-menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--pp-border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--pp-dark);
  align-items: center;
  justify-content: center;
}

/* ── HERO ────────────────────────────────────────────────────── */
.pp-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.pp-hero-bg { position: absolute; inset: 0; z-index: 0; }
.exd-hero-bg { background: url('../images/prodects/banar/exterior-door.jpeg') center/cover no-repeat; }
.ind-hero-bg { background: url('../images/prodects/banar/interior-door.jpeg') center/cover no-repeat; }
.rai-hero-bg { background: url('../images/prodects/banar/railing.jpeg') center/cover no-repeat; }
.win-hero-bg { background: url('../images/prodects/banar/window.jpeg') center/cover no-repeat; }
.wde-hero-bg { background: url('../images/prodects/banar/wooden-decorative.jpeg') center/cover no-repeat; }
.cab-hero-bg { background: url('../images/prodects/banar/cabinet.jpeg') center/cover no-repeat; }

/* interior-doors-products */

.pp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(20,28,48,0.45) 0%,
    rgba(20,28,48,0.75) 55%,
    rgba(20,28,48,0.90) 100%
  );
  z-index: 1;
}

/* Breadcrumb — top right */
.pp-breadcrumb {
  position: absolute;
  top: 20px;
  right: 0;
  left: 0;
  z-index: 3;
}
.pp-breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.pp-breadcrumb-row a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.pp-breadcrumb-row a:hover { color: var(--pp-gold); }
.pp-breadcrumb-row .sep { opacity: 0.45; font-size: 10px; direction: ltr; }

.pp-hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 0 52px;
}
.pp-hero-title {
  font-size: 64px;
  font-weight: 900;
  color: var(--pp-white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.pp-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 30px;
}
.pp-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.pp-about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.pp-about-text-side h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--pp-dark);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.pp-about-text-side h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 44px;
  height: 3px;
  background: var(--pp-gold);
  border-radius: 2px;
}
.pp-about-text-side p {
  font-size: 15px;
  color: var(--pp-muted);
  line-height: 1.85;
}
.pp-about-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ── FEATURE ITEM ────────────────────────────────────────────── */
.pp-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 22px 16px;
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-border);
  transition: var(--pp-trans);
  background: var(--pp-white);
}
.pp-feature:hover {
  border-color: var(--pp-gold);
  box-shadow: 0 6px 24px rgba(201,162,39,0.14);
  transform: translateY(-3px);
}
.pp-feature img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.pp-feature h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--pp-dark);
}
.pp-feature p {
  font-size: 13px;
  color: var(--pp-muted);
  line-height: 1.5;
}

/* Features row (top of about section) */
.pp-features-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.pp-features-row.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ── GALLERY SLIDER ─────────────────────────────────────────── */
.pp-slider-outer {
  position: relative;
  overflow: hidden;
  padding: 0 50px;
}
.pp-slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.pp-slide {
  flex: 0 0 calc(20% - 13px);
  border-radius: var(--pp-radius);
  overflow: hidden;
  cursor: zoom-in;
}
.pp-slide img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pp-slide:hover img { transform: scale(1.06); }

/* Slider nav */
.pp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: var(--pp-white);
  border: 1px solid var(--pp-border);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0,0,0,0.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--pp-trans);
  color: var(--pp-dark);
}
.pp-slider-btn:hover {
  background: var(--pp-gold);
  border-color: var(--pp-gold);
  color: var(--pp-white);
}
.pp-slider-btn-prev { right: 4px; }
.pp-slider-btn-next { left: 4px; }

/* ── PRODUCT OPTIONS ─────────────────────────────────────────── */
.pp-options-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.pp-option-col { }

.pp-option-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pp-option-header h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--pp-dark);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pp-gold);
  width: 100%;
}

/* Option list (bullet) */
.pp-opt-list { display: flex; flex-direction: column; gap: 6px; }
.pp-opt-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-text);
  padding: 10px 14px;
  background: var(--pp-cream);
  border-radius: 8px;
  border-right: 3px solid var(--pp-gold);
  transition: var(--pp-trans);
}
.pp-opt-list li:hover {
  background: rgba(201,162,39,0.08);
  border-right-color: var(--pp-gold2);
}
.pp-opt-list li .bullet {
  width: 8px; height: 8px;
  background: var(--pp-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Colors row */
.pp-colors-row {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--pp-border);
}
.pp-colors-row h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--pp-dark);
  margin-bottom: 16px;
}
.pp-swatches {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pp-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.pp-swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--pp-border);
  cursor: pointer;
  transition: var(--pp-trans);
}
.pp-swatch:hover, .pp-swatch.active {
  border-color: var(--pp-gold);
  box-shadow: 0 0 0 2px rgba(201,162,39,0.3);
  transform: scale(1.1);
}
.pp-swatch-label { font-size: 12px; color: var(--pp-muted); text-align: center; }

/* Product image in options */
.pp-option-image-wrap {
  border-radius: var(--pp-radius);
  overflow: hidden;
  box-shadow: var(--pp-shadow);
}
.pp-option-image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

/* ── PRODUCT TYPES GRID ──────────────────────────────────────── */
.pp-types-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.pp-types-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.pp-type-card {
  border-radius: var(--pp-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pp-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}
.pp-type-card img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pp-type-card:hover img { transform: scale(1.06); }

.pp-type-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 10px 12px;
  background: linear-gradient(transparent, rgba(20,28,48,0.88));
  color: var(--pp-white);
  text-align: center;
}
.pp-type-label h4 { font-size: 13px; font-weight: 700; }
.pp-type-label p { font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 4px; line-height: 1.4; }

/* ── DETAILS GRID ────────────────────────────────────────────── */
.pp-details-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.pp-details-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

/* ── ADVANTAGES ──────────────────────────────────────────────── */
.pp-advantages { display: flex; flex-direction: column; gap: 8px; }
.pp-advantages li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--pp-text);
  line-height: 1.55;
}
.pp-adv-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(201,162,39,0.12);
  border: 2px solid var(--pp-gold);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-adv-check::after {
  content: '✓';
  font-size: 10px;
  font-weight: 900;
  color: var(--pp-gold);
}

/* ── PROJECTS GRID ───────────────────────────────────────────── */
.pp-projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: stretch;
}
.pp-project-cta {
  background: var(--pp-dark);
  border-radius: var(--pp-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px 16px;
  color: var(--pp-white);
  cursor: pointer;
  transition: var(--pp-trans);
  text-align: center;
  min-height: 160px;
  text-decoration: none;
}
.pp-project-cta:hover { background: var(--pp-dark2); }
.pp-project-cta .cta-circle {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--pp-gold);
  transition: background 0.3s;
}
.pp-project-cta:hover .cta-circle { background: rgba(201,162,39,0.2); }
.pp-project-cta span { font-size: 14px; font-weight: 700; }

.pp-project-img {
  border-radius: var(--pp-radius);
  overflow: hidden;
}
.pp-project-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pp-project-img:hover img { transform: scale(1.05); }

/* ── FAQ ─────────────────────────────────────────────────────── */
.pp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start;
}
.pp-faq-item {
  border: 1px solid var(--pp-border);
  border-radius: var(--pp-radius);
  overflow: hidden;
}
.pp-faq-trigger {
  width: 100%;
  background: var(--pp-white);
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-text);
  cursor: pointer;
  text-align: right;
  transition: background 0.2s;
}
.pp-faq-trigger:hover { background: var(--pp-cream); }
.pp-faq-trigger.active {
  background: var(--pp-dark);
  color: var(--pp-white);
}
.pp-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.3s;
  line-height: 1;
}
.pp-faq-trigger.active .pp-faq-icon {
  transform: rotate(45deg);
  background: var(--pp-gold);
  border-color: var(--pp-gold);
  color: var(--pp-dark);
}
.pp-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px;
  color: var(--pp-muted);
  line-height: 1.8;
  background: var(--pp-cream);
}
.pp-faq-body.open {
  max-height: 200px;
  padding: 14px 20px 18px;
}

/* ── CTA SECTION ─────────────────────────────────────────────── */
.pp-cta {
  background: var(--pp-dark);
  overflow: hidden;
}
.pp-cta-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  align-items: stretch;
  min-height: 240px;
}
.pp-cta-content {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pp-cta-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--pp-white);
  margin-bottom: 10px;
  line-height: 1.4;
}
.pp-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  line-height: 1.7;
}
.pp-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.pp-cta-img {
  overflow: hidden;
}
.pp-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.pp-cta:hover .pp-cta-img img { transform: scale(1.04); }

/* ── FOOTER STATS ────────────────────────────────────────────── */
.pp-footer-stats {
  background: var(--pp-dark2);
  padding: 20px 0;
}
.pp-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.pp-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  justify-content: center;
  transition: background 0.2s;
}
.pp-stat + .pp-stat {
  border-right: 1px solid rgba(255,255,255,0.1);
}
.pp-stat:hover { background: rgba(255,255,255,0.04); }
.pp-stat-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}
.pp-stat-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--pp-gold);
  white-space: nowrap;
}
.pp-stat-text span {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* WhatsApp icon button */
.pp-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pp-features-row { grid-template-columns: repeat(3, 1fr); }
  .pp-features-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pp-types-grid { grid-template-columns: repeat(3, 1fr); }
  .pp-types-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .pp-details-grid { grid-template-columns: repeat(3, 1fr); }
  .pp-details-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .pp-projects-grid { grid-template-columns: repeat(3, 1fr); }
  .pp-about-inner { grid-template-columns: 1fr; gap: 32px; }
  .pp-about-icons { grid-template-columns: repeat(2, 1fr); }
  .pp-cta-img { display: none; }
  .pp-cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pp-hero-title { font-size: 44px; }
  .pp-hero-subtitle { font-size: 15px; }
  .pp-section { padding: 44px 0; }
  .pp-nav { display: none; }
  .pp-header-phone { display: none; }
  .pp-menu-toggle { display: flex; }
  .pp-features-row { grid-template-columns: repeat(2, 1fr); }
  .pp-features-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .pp-about-icons { grid-template-columns: repeat(2, 1fr); }
  .pp-options-layout { grid-template-columns: 1fr; }
  .pp-types-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-details-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-details-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
  .pp-faq-grid { grid-template-columns: 1fr; }
  .pp-projects-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .pp-stat + .pp-stat { border-right: none; }
  .pp-stat:nth-child(odd) { border-left: 1px solid rgba(255,255,255,0.1); }
  .pp-slide { flex: 0 0 calc(50% - 8px); }
  .pp-cta-content { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .pp-container { padding: 0 16px; }
  .pp-hero-title { font-size: 34px; }
  .pp-hero-btns { flex-direction: column; }
  .pp-features-row { grid-template-columns: repeat(2, 1fr); }
  .pp-types-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-details-grid { grid-template-columns: repeat(2, 1fr); }
  .pp-stats-inner { grid-template-columns: 1fr; }
  .pp-stat + .pp-stat { border: none; border-top: 1px solid rgba(255,255,255,0.1); }
  .pp-slide { flex: 0 0 100%; }
  .pp-projects-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile Nav Open */
.pp-nav.pp-nav-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  right: 0;
  left: 0;
  background: var(--pp-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 16px;
  z-index: 8999;
  gap: 4px;
}
.pp-nav.pp-nav-open a {
  padding: 12px 16px;
  border-radius: 8px;
}
.pp-nav.pp-nav-open a:hover { background: var(--pp-cream); }

.emb-1 { margin-bottom: 10px; }
.emb-2 { margin-bottom: 20px; }
.emb-3 { margin-bottom: 30px; }

.ejustify-self-c { justify-self: center; }
.etext-align-c { 
  text-align: -webkit-center !important;
   text-align: center !important;
justify-items: center;
}


/* تنسيق القسم الجديد */
.pp-design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  direction: ltr;
}

.pp-card {
  background: #F9F7F4; /* لون خلفية الكرت المطابق للصورة */
  padding: 24px;
  border-radius: 12px;
  direction: rtl;
}

.pp-card-title {
  text-align: center;
  font-weight: 800;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* justify-content: right;
    gap: 15px; */

/* الألوان */
.pp-colors-layout { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.pp-color-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pp-swatch { width: 40px; height: 40px; border-radius: 50%; }
.pp-custom-request { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #ddd; padding: 10px; margin-top: 20px; border-radius: 8px; }

/* الخامات */
.pp-materials-layout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.pp-material-item img { width: 30px; margin-bottom: 5px; }
.pp-material-item span { display: block; font-weight: 700; font-size: 0.8rem; }
.pp-material-item small { font-size: 0.7rem; color: #777; }

/* المميزات */
.pp-features-list { display: flex; flex-direction: column; gap: 15px; }
.pp-features-list li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 10px; font-size: 0.9rem; }
.pp-features-list li span { color: #C9A227; font-weight: bold; }

/* التجاوب */
@media (max-width: 992px) { .pp-design-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .pp-design-grid { grid-template-columns: 1fr; } }



        /* --- Elegant Options Section --- */
        .elegant-options-section {
            background-color: #fbfaf8; /* بيج فاتح جداً */
            padding: 60px 0;
            direction: rtl;
        }

        .elegant-options-container {
            /* max-width: 1200px; */
            max-width: 1270px;
            margin: 0 auto;
            /* padding: 0 20px; */
        }

        .elegant-options-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .elegant-options-card {
            background-color: #f2efe9;
            border-radius: 8px;
            padding: 30px 20px;
            display: flex;
            flex-direction: column;
        }

        .elegant-options-card-title {
            font-size: 1.15rem;
            font-weight: 800;
            color: #222;
            text-align: center;
            margin-bottom: 30px;
        }

        /* Card 1: Colors */
        .elegant-options-colors-layout {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .elegant-options-color-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
        }

        .elegant-options-swatch {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }

        .elegant-options-color-item span {
            font-size: 0.85rem;
            font-weight: 600;
            color: #444;
        }

        .elegant-options-custom-request {
            margin-top: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 1px solid rgba(0,0,0,0.08);
            border-radius: 4px;
            padding: 10px;
            cursor: pointer;
            background: transparent;
        }

        .elegant-options-custom-request span {
            font-size: 0.9rem;
            font-weight: 600;
            color: #555;
        }

        .elegant-options-custom-request img {
            width: 20px;
            height: 20px;
            opacity: 0.7;
        }

        /* Card 2: Materials */
        .elegant-options-materials-layout {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
        }

        .elegant-options-material-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 6px;
            flex: 1;
            min-width: 60px;
        }

        .elegant-options-material-item img {
            width: 35px;
            height: 35px;
            object-fit: contain;
            margin-bottom: 4px;
        }

        .elegant-options-material-item span {
            font-size: 0.85rem;
            font-weight: 700;
            color: #333;
        }

        .elegant-options-material-item small {
            font-size: 0.75rem;
            color: #777;
        }

        /* Card 3: Features */
        .elegant-options-features-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .elegant-options-features-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #444;
            line-height: 1.5;
        }

        .elegant-options-features-list li span {
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            background-color: #b98e55;
            color: #fff;
            border-radius: 50%;
            font-size: 11px;
            margin-top: 2px;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .elegant-options-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .elegant-options-grid {
                grid-template-columns: 1fr;
            }
        }

/* start Image Popup ──────────────────────────────────────── */

/* — Overlay — */
.image-popup {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s cubic-bezier(.4,0,.2,1),
                visibility .4s cubic-bezier(.4,0,.2,1);
    z-index: 99999;
    padding: 20px;
    overflow-y: auto;
}

.image-popup.active {
    opacity: 1;
    visibility: visible;
}

/* — Modal Container — */
.popup-modal {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 36px;
    width: 100%;
    /* max-width: 1120px; */
    max-width: 90%;
    max-height: 92vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 36px;
    transform: scale(.92) translateY(24px);
    opacity: 0;
    transition: transform .45s cubic-bezier(.22,1,.36,1),
                opacity .4s ease;
}

/* Custom Scrollbar for Modal */
.popup-modal::-webkit-scrollbar {
    width: 6px;
}
.popup-modal::-webkit-scrollbar-track {
    background: transparent;
}
.popup-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.image-popup.active .popup-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* — Close Button — */
.popup-close {
    position: absolute;
    top: 16px;
    left: 16px; /* LTR default */
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: background .25s, transform .25s, color .25s;
    z-index: 10;
    line-height: 1;
    padding: 0;
}

[dir="rtl"] .popup-close {
    left: 16px;
    right: auto;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: rotate(90deg);
    color: #b58b3f;
}

/* — Columns — */
.popup-col {
    flex: 1;
    min-width: 0;
}

.popup-col-image {
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.popup-col-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 8px;
}

/* — Product Image — */
.popup-image-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.09);
    background: #f3f1ed;
    line-height: 0;
}

.popup-image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 52vh;
    object-fit: contain;
    display: block;
    transition: transform .5s cubic-bezier(.22,1,.36,1);
}

.popup-image-wrapper:hover img {
    transform: scale(1.035);
}

/* — Description Card — */
.popup-desc-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: linear-gradient(135deg, #faf6ef 0%, #f5efe4 100%);
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid rgba(181, 139, 63, 0.15);
    box-shadow: 0 2px 10px rgba(181, 139, 63, 0.06);
}

.popup-desc-card-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(181, 139, 63, 0.12);
    color: #b58b3f;
    font-size: 15px;
}

.popup-desc-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.85;
    color: #4a4a4a;
    font-weight: 400;
}

/* — Product Title — */
.popup-product-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(181, 139, 63, 0.2);
    position: relative;
}

.popup-product-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0; /* RTL start */
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b58b3f);
    border-radius: 2px;
}

/* — Details Sections — */
.popup-details-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 0;
}

.popup-section-heading i {
    color: #b58b3f;
    font-size: 15px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(181, 139, 63, 0.1);
    flex-shrink: 0;
}

/* — Lists — */
.popup-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.popup-list li {
    position: relative;
    padding-right: 22px; /* RTL: bullet space */
    padding-left: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    transition: color .2s;
}

.popup-list li::before {
    content: '';
    position: absolute;
    top: 10px;
    right: 0; /* RTL */
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b58b3f;
    opacity: 0.6;
}

.popup-list li:hover {
    color: #1a1a1a;
}

.popup-list li:hover::before {
    opacity: 1;
}

/* Specs variant — subtle bg */
.popup-list-specs li {
    background: rgba(245, 242, 235, 0.6);
    border-radius: 8px;
    padding: 8px 22px 8px 12px; /* RTL */
}

.popup-list-specs li::before {
    top: 16px;
    right: 8px; /* RTL */
    width: 6px;
    height: 6px;
    background: #9a7832;
}

/* Uses variant — small badges */
.popup-list-uses {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}

.popup-list-uses li {
    padding: 6px 16px 6px 12px; /* RTL */
    background: rgba(181, 139, 63, 0.08);
    border: 1px solid rgba(181, 139, 63, 0.15);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #d8a752;
}

.popup-list-uses li::before {
    display: none;
}

/* — Slide cursor — */
.pp-slide img {
    cursor: zoom-in;
}

/* ── Responsive: Stack on mobile ── */
@media (max-width: 840px) {
    .popup-modal {
        flex-direction: column;
        gap: 22px;
        padding: 24px 18px;
        max-height: 95vh;
        border-radius: 18px;
    }

    .popup-col-image {
        flex: none;
        width: 100%;
    }

    .popup-image-wrapper img {
        max-height: 40vh;
    }

    .popup-product-title {
        font-size: 19px;
    }

    .popup-close {
        top: 10px;
        left: 10px;
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .popup-desc-card {
        padding: 14px 16px;
    }

    .popup-list-uses {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .image-popup {
        padding: 8px;
    }

    .popup-modal {
        padding: 18px 14px;
        gap: 16px;
        border-radius: 14px;
    }

    .popup-col-details {
        gap: 16px;
    }

    .popup-product-title {
        font-size: 17px;
    }

    .popup-section-heading {
        font-size: 14.5px;
    }

    .popup-list li {
        font-size: 13px;
    }
}

/* end Image Popup ────────────────────────────────────────── */


/* start Slide Title Overlay ──────────────────────────────── */

.pp-slide {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slide-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        transparent 100%
    );
    padding: 28px 14px 14px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    transition: opacity .3s ease;
}

.slide-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.01em;
}

.pp-slide:hover .slide-title-overlay {
    opacity: 1;
}

.pp-slide:hover img {
    transform: scale(1.04);
}

.pp-slide img {
    transition: transform .4s cubic-bezier(.22,1,.36,1);
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 12.5px;
    }

    .slide-title-overlay {
        padding: 20px 10px 10px;
    }
}

/* end Slide Title Overlay ────────────────────────────────── */
