:root{
  --pd-bg:#f6f8fb;
  --pd-surface:rgba(255,255,255,.94);
  --pd-surface-2:#fbfcfe;
  --pd-text:#0f172a;
  --pd-text-soft:#64748b;
  --pd-text-faint:#94a3b8;
  --pd-line:rgba(15,23,42,.08);
  --pd-line-strong:rgba(15,23,42,.14);

  --pd-dark:#0b1220;
  --pd-dark-2:#0f172a;
  --pd-dark-3:#162033;
  --pd-dark-soft:rgba(255,255,255,.08);

  --pd-accent:#FFB703;
  --pd-accent-2:#FF9F1C;
  --pd-accent-soft:rgba(255,183,3,.12);
  --pd-success:#22c55e;

  --pd-radius-xs:12px;
  --pd-radius-sm:16px;
  --pd-radius-md:22px;
  --pd-radius-lg:30px;
  --pd-radius-xl:40px;

  --pd-shadow-sm:0 12px 34px rgba(2,6,23,.06);
  --pd-shadow-md:0 18px 50px rgba(2,6,23,.09);
  --pd-shadow-lg:0 30px 90px rgba(2,6,23,.16);

  --pd-shell:1360px;
  --pd-gap:28px;
  --pd-top-space:calc(var(--topbar-h, 84px) + 26px);
   --thumb-w: 180px;
  --thumb-h: 120px;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,183,3,.10), transparent 26%),
    radial-gradient(circle at 100% 0%, rgba(15,23,42,.05), transparent 24%),
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fa 52%, #f7f9fc 100%);
  color:var(--pd-text);
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
textarea,
select{
  font:inherit;
}

.pd-page{
  position:relative;
  padding:var(--pd-top-space) 0 80px;
  overflow:clip;
}

.pd-page::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:760px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.04), transparent 70%),
    radial-gradient(circle at 18% 0%, rgba(255,183,3,.14), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(255,159,28,.08), transparent 26%);
  pointer-events:none;
}

.pd-shell{
  width:min(calc(100% - 32px), var(--pd-shell));
  margin-inline:auto;
  position:relative;
  z-index:1;
}

.pd-breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:24px;
  padding-inline:4px;
  color:var(--pd-text-soft);
  font-size:25px ;
 
  letter-spacing:.02em;
}

.pd-breadcrumb a{
  transition:color .25s ease, opacity .25s ease;
}

.pd-breadcrumb a:hover{
  color:var(--pd-text);
}

.pd-breadcrumb span:last-child{
  color:var(--pd-text);
  font-weight:800;
}

/* =========================
   BUTTONS
========================= */
.pd-btn{
  appearance:none;
  border:0;
  outline:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:56px;
  padding:0 24px;
  border-radius:999px;
  font-weight:1000;
  font-size:14px;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  white-space:nowrap;
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    background .24s ease,
    border-color .24s ease,
    color .24s ease,
    filter .24s ease;
}

.pd-btn:hover{
  transform:translateY(-2px);
}

.pd-btn-primary{
  color:#0f172a;
  background:linear-gradient(180deg, #ffd15f 0%, var(--pd-accent) 100%);
  box-shadow:
    0 16px 34px rgba(255,183,3,.24),
    inset 0 1px 0 rgba(255,255,255,.44);
}

.pd-btn-primary:hover{
  box-shadow:
    0 22px 42px rgba(255,183,3,.30),
    inset 0 1px 0 rgba(255,255,255,.54);
}

.pd-btn-secondary{
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.pd-btn-secondary:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.22);
}

.pd-btn-ghost{
  color:#fff;
  background:rgba(13,17,22,.42);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.pd-btn-ghost:hover{
  background:rgba(13,17,22,.58);
  border-color:rgba(255,255,255,.18);
}

/* =========================
   HERO
========================= */
.pd-hero{
  position:relative;
  min-height:760px;
  border-radius:var(--pd-radius-xl);
  overflow:hidden;
  background:linear-gradient(180deg, var(--pd-dark), var(--pd-dark-2));
  box-shadow:var(--pd-shadow-lg);
  isolation:isolate;
}

.pd-hero-bg{
  position:absolute;
  inset:0;
  background-color:#11161c;
  background-size:cover;
  background-position:center center;
  transform:scale(1.05);
  filter:brightness(.82) saturate(1.06) contrast(1.02);
}

.pd-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(7,11,19,.92) 0%, rgba(7,11,19,.76) 38%, rgba(7,11,19,.34) 62%, rgba(7,11,19,.50) 100%),
    linear-gradient(180deg, rgba(0,0,0,.10) 0%, rgba(0,0,0,.36) 100%);
  z-index:0;
}

.pd-hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,183,3,.20), transparent 24%),
    radial-gradient(circle at 82% 84%, rgba(255,255,255,.08), transparent 20%),
    radial-gradient(circle at 72% 16%, rgba(255,159,28,.10), transparent 20%);
  z-index:0;
  pointer-events:none;
}

.pd-hero::before{
  content:"";
  position:absolute;
  inset:-10% auto -10% -18%;
  width:28%;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.02) 20%,
    rgba(255,255,255,.05) 48%,
    rgba(255,183,3,.10) 60%,
    transparent 100%
  );
  filter:blur(18px);
  transform:skewX(-16deg) translateX(-120%);
  animation:pdBeamMove 11s ease-in-out infinite;
  mix-blend-mode:screen;
  opacity:.58;
}

@keyframes pdBeamMove{
  0%{ transform:skewX(-16deg) translateX(-120%); opacity:0; }
  18%{ opacity:.42; }
  55%{ opacity:.58; }
  100%{ transform:skewX(-16deg) translateX(420%); opacity:0; }
}

.pd-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0, 1.28fr) minmax(320px, 430px);
  gap:34px;
  align-items:end;
  min-height:760px;
  padding:56px;
}

.pd-hero-copy{
  max-width:760px;
  align-self:center;
}

.pd-eyebrow-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:22px;
}

.pd-eyebrow,
.pd-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.pd-eyebrow{
  color:#0f172a;
  background:linear-gradient(180deg, #ffd978 0%, #FFB703 100%);
  box-shadow:
    0 12px 28px rgba(255,183,3,.22),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.pd-chip-dark{
  color:#fff;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
}

.pd-chip-light{
  color:#fff;
  background:rgba(13,17,22,.44);
  border:1px solid rgba(255,255,255,.10);
}

.pd-chip-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:var(--pd-accent);
  box-shadow:0 0 0 5px rgba(255,183,3,.12);
  flex:0 0 9px;
}

.pd-chip-dot.is-live{
  background:#45d483;
  box-shadow:0 0 0 5px rgba(69,212,131,.12);
}

.pd-title{
  margin:0;
  color:#fff;
   font-size: clamp(2.4rem, 4.6vw, 4.2rem);
  line-height:.92;
  font-weight:1000;
  letter-spacing:-.045em;
  max-width:30ch;
  text-wrap:balance;
  text-shadow:
    0 10px 30px rgba(0,0,0,.28),
    0 2px 10px rgba(0,0,0,.18);
}

.pd-subtitle{
  margin:22px 0 0;
  max-width:720px;
  color:rgba(255,255,255,.82);
  font-size:1.04rem;
  line-height:1.95;
}

.pd-stat-row{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:28px;
  max-width:920px;
}

.pd-stat-pill{
  padding:18px 18px 16px;
  border-radius:22px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.pd-stat-label{
  display:block;
  color:rgba(255,255,255,.62);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.pd-stat-value{
  color:#fff;
  font-size:1rem;
  font-weight:1000;
  line-height:1.35;
}

.pd-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.pd-hero-card{
  align-self:center;
  border-radius:30px;
  padding:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.07));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 24px 64px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  color:#fff;
}

.pd-card-kicker{
  color:rgba(255,255,255,.68);
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.pd-price{
  margin-bottom:18px;
  font-size:clamp(2rem, 3vw, 2.55rem);
  font-weight:1000;
  line-height:1;
  letter-spacing:-.04em;
  background:linear-gradient(90deg, #ffd460 0%, #FFB703 45%, #FF9F1C 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.pd-price small{
  font-size:.48em;
  font-weight:900;
}

.pd-mini-specs{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.pd-mini-spec{
  min-height:78px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
}

.pd-mini-spec span{
  display:block;
  color:rgba(255,255,255,.62);
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}

.pd-mini-spec strong{
  display:block;
  color:#fff;
  font-size:.98rem;
  font-weight:900;
  line-height:1.45;
}

.pd-card-note{
  margin-top:16px;
  color:rgba(255,255,255,.70);
  font-size:.92rem;
  line-height:1.8;
}

/* =========================
   SHARED SECTION UI
========================= */
.pd-media,
.pd-overview,
.pd-section-card{
  margin-top:28px;
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90));
  border:1px solid rgba(15,23,42,.07);
  box-shadow:var(--pd-shadow-sm);
  padding:28px;
}

.pd-media::before,
.pd-overview::before,
.pd-section-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--pd-accent), var(--pd-accent-2));
  opacity:.95;
}

.pd-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:22px;
  flex-wrap:wrap;

  
border-radius: 5%;

}

.pd-section-kicker{
  color:#a16207;
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.pd-section-head h2{
  margin:0;
  color:var(--pd-text);
  font-size:clamp(1.3rem, 2vw, 1.8rem);
  font-weight:1000;
  letter-spacing:-.03em;
}

.pd-head-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}



/* =========================
   RICHTEXT / SPECS
========================= */
.pd-richtext{
  color:var(--pd-text);
  font-size:1rem;
  line-height:2;
}

.pd-richtext p{
  margin:0 0 14px;
}

.pd-richtext > *:last-child{
  margin-bottom:0;
}



.pd-spec-item{
  min-height:88px;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg, #fff, #fbfcfe);
  border:1px solid rgba(15,23,42,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pd-spec-item:hover{
  transform:translateY(-3px);
  box-shadow:var(--pd-shadow-sm);
  border-color:rgba(255,183,3,.24);
}

.pd-spec-item span{
  display:block;
  color:var(--pd-text-soft);
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.pd-spec-item strong{
  display:block;
  color:var(--pd-text);
  font-size:1rem;
  font-weight:1000;
  line-height:1.55;
}

/* =========================
   FEATURES
========================= */

/* =========================
   DESCRIPTION + FULL SPECS — PREMIUM
========================= */
.pd-section-head--content{
  align-items:flex-start;
  margin-bottom:24px;
}

.pd-section-headcopy{
  max-width:760px;
}

.pd-section-subline{
  margin:10px 0 0;
  color:var(--pd-text-soft);
  font-size:.97rem;
  line-height:1.85;
  max-width:700px;
}

.pd-section-card--desc,
.pd-section-card--specs{
  padding:30px;
}



.pd-richtext--desc{
  max-width:920px;
  color:#1f2937;
  font-size:1.05rem;
  line-height:2.1;
  letter-spacing:.2px;
}

.pd-richtext--desc p{
  margin:0 0 18px;
}

.pd-richtext--desc p:first-child{
  font-weight:600;
  color:#0f172a;
}

.pd-richtext--desc{
  display:-webkit-box;
  -webkit-line-clamp:6;
  -webkit-box-orient:vertical;
  overflow:hidden;
  position:relative;
}

.pd-richtext--desc::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:60px;
  background:linear-gradient(to bottom, transparent, #fff);
}


.pd-empty-copy{
  min-height:140px;
  border-radius:24px;
  border:1px dashed rgba(15,23,42,.10);
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.08), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  display:grid;
  place-items:center;
  text-align:center;
  padding:24px;
}

.pd-empty-copy-icon{
  width:52px;
  height:52px;
  margin:0 auto 12px;
  border-radius:16px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), transparent 36%),
    linear-gradient(180deg, rgba(255,183,3,.16), rgba(255,183,3,.07));
  border:1px solid rgba(255,183,3,.16);
  position:relative;
}

.pd-empty-copy-icon::before{
  content:"";
  position:absolute;
  inset:50% auto auto 50%;
  width:10px;
  height:10px;
  border-radius:999px;
  transform:translate(-50%, -50%);
  background:var(--pd-accent);
  box-shadow:0 0 0 6px rgba(255,183,3,.12);
}

.pd-empty-copy-text{
  color:var(--pd-text-soft);
  font-size:.96rem;
  font-weight:800;
  line-height:1.8;
}

.pd-spec-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.pd-spec-grid--full{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.pd-spec-row{
  position:relative;
  min-height:96px;
  padding:18px 20px;
  border-radius:24px;
  border:1px solid rgba(15,23,42,.08);
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.05), transparent 34%),
    linear-gradient(180deg, #ffffff, #fbfcfe);
  box-shadow:
    0 12px 28px rgba(2,6,23,.05),
    inset 0 1px 0 rgba(255,255,255,.55);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  transition:
    transform .26s ease,
    box-shadow .26s ease,
    border-color .26s ease;
  overflow:hidden;
}

.pd-spec-row:hover{
  transform:translateY(-4px);
  box-shadow:
    0 20px 40px rgba(2,6,23,.08),
    inset 0 1px 0 rgba(255,255,255,.65);
  border-color:rgba(255,183,3,.18);
}

.pd-spec-row::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--pd-accent), var(--pd-accent-2));
  opacity:.9;
}

.pd-spec-row--featured{
  border-color:rgba(255,183,3,.20);
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.12), transparent 36%),
    linear-gradient(180deg, #fffdf8, #fff9ef);
  box-shadow:
    0 16px 34px rgba(255,183,3,.09),
    inset 0 1px 0 rgba(255,255,255,.60);
}

.pd-spec-key{
  display:block;
  color:#718096;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  line-height:1.5;
}

.pd-spec-value{
  display:block;
  color:#111827;
  font-size:1.08rem;
  font-weight:1000;
  line-height:1.55;
  letter-spacing:-.01em;
  word-break:break-word;
}

.pd-spec-row--featured .pd-spec-value{
  font-size:1.14rem;
  color:#0f172a;
}

/* =========================
   STICKY CARD
========================= */
.pd-sticky-card{
  position:sticky;
  top:calc(var(--topbar-h, 84px) + 18px);
  border-radius:30px;
  padding:26px;
  background:linear-gradient(180deg, rgba(15,23,42,.96), rgba(11,18,32,.98));
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 70px rgba(2,6,23,.22);
  overflow:hidden;
}

.pd-sticky-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--pd-accent), var(--pd-accent-2));
}

.pd-sticky-kicker{
  color:rgba(255,255,255,.68);
  font-size:12px;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.pd-sticky-card h3{
  margin:0 0 18px;
  font-size:1.55rem;
  line-height:1.25;
  font-weight:1000;
  color:#fff;
}

.pd-sticky-price{
  margin-bottom:18px;
  font-size:clamp(2rem, 3vw, 2.55rem);
  font-weight:1000;
  line-height:1;
  letter-spacing:-.04em;
  background:linear-gradient(90deg, #ffd460 0%, #FFB703 45%, #FF9F1C 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.pd-sticky-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}

.pd-sticky-list li{
  min-height:48px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:space-between;
  gap:16px;
}

.pd-sticky-list span{
  color:rgba(255,255,255,.64);
  font-size:13px;
  font-weight:800;
}

.pd-sticky-list strong{
  color:#fff;
  font-size:13px;
  font-weight:900;
  text-align:end;
}

.pd-sticky-actions{
  display:grid;
  gap:12px;
  margin-top:18px;
}

.pd-sticky-actions .pd-btn{
  width:100%;
}

.pd-sticky-actions .pd-btn-secondary{
  color:var(--pd-text);
  background:var(--pd-surface);
  border:1px solid var(--pd-line);
}


/* =========================
   FEATURES — CLEAN FINAL
========================= */
.pd-section-card--features{
  position:relative;
  padding:34px;
  border-radius:32px;
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(250,252,255,.94) 100%);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:
    0 20px 54px rgba(2,6,23,.06),
    inset 0 1px 0 rgba(255,255,255,.85);
  isolation:isolate;
}

.pd-section-card--features::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg, #ffd15f 0%, var(--pd-accent) 45%, var(--pd-accent-2) 100%);
}

.pd-features-bg{
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,183,3,.10), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(255,159,28,.08), transparent 22%),
    radial-gradient(circle at 80% 88%, rgba(15,23,42,.04), transparent 22%);
}

.pd-section-head--features{
  position:relative;
  z-index:1;
  align-items:flex-start;
  margin-bottom:32px;
}

.pd-features-side{
  display:flex;
  align-items:center;
  gap:12px;
}

.pd-count-badge--features{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  min-width:138px;
  min-height:88px;
  padding:16px 18px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,250,235,.96) 0%, rgba(255,244,214,.88) 100%);
  border:1px solid rgba(255,183,3,.24);
  box-shadow:
    0 14px 34px rgba(255,183,3,.14),
    inset 0 1px 0 rgba(255,255,255,.75);
  text-align:center;
}

.pd-count-badge-num{
  display:block;
  color:#0f172a;
  font-size:1.65rem;
  line-height:1;
  font-weight:1000;
  letter-spacing:-.04em;
}

.pd-count-badge-text{
  display:block;
  color:#7c5a10;
  font-size:.78rem;
  font-weight:900;
  line-height:1.45;
}

.pd-feature-grid--premium{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
}

.pd-feature-item{
  position:relative;
  display:grid;
  grid-template-columns:64px minmax(0, 1fr);
  align-items:center;
  gap:16px;
  min-height:96px;
  padding:18px 20px;
  border-radius:26px;
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,250,252,.96) 100%);
  border:1px solid rgba(15,23,42,.08);
  box-shadow:
    0 12px 28px rgba(2,6,23,.045),
    inset 0 1px 0 rgba(255,255,255,.75);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background .28s ease;
  overflow:hidden;
}

.pd-feature-item::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, rgba(255,183,3,.88), rgba(255,159,28,.88));
  opacity:0;
  transition:opacity .28s ease;
}

.pd-feature-item::after{
  content:"";
  position:absolute;
  inset:auto -12% -42% auto;
  width:120px;
  height:120px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,183,3,.12), transparent 70%);
  pointer-events:none;
  opacity:0;
  transition:opacity .28s ease;
}

.pd-feature-item:hover{
  transform:translateY(-5px);
  border-color:rgba(255,183,3,.20);
  box-shadow:
    0 20px 42px rgba(2,6,23,.08),
    0 8px 24px rgba(255,183,3,.10),
    inset 0 1px 0 rgba(255,255,255,.82);
}

.pd-feature-item:hover::before,
.pd-feature-item:hover::after{
  opacity:1;
}

.pd-feature-item--featured{
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.12), transparent 32%),
    linear-gradient(180deg, #fffdf7 0%, #fffaf0 100%);
  transform:translateY(-2px);
  border-color:rgba(255,183,3,.30);
  box-shadow:
    0 22px 48px rgba(255,183,3,.14),
    inset 0 1px 0 rgba(255,255,255,.86);
}

.pd-feature-item--featured::before{
  opacity:1;
}

.pd-feature-icon{
  grid-column:1;
  justify-self:start;
  align-self:center;
  position:relative;
  width:64px;
  height:64px;
  border-radius:20px;
  display:grid;
  place-items:center;
  color:#0f172a;
  background:linear-gradient(180deg, #ffe29a 0%, #ffcf56 52%, #ffb703 100%);
  box-shadow:
    0 14px 28px rgba(255,183,3,.22),
    inset 0 1px 0 rgba(255,255,255,.65);
  flex-shrink:0;
}

.pd-feature-icon svg{
  width:22px;
  height:22px;
  stroke-width:2;
}

.pd-feature-body{
  grid-column:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.pd-feature-topline{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  width:100%;
}

.pd-feature-body strong{
  display:block;
  margin:0;
  color:#0f172a;
  font-size:1.04rem;
  font-weight:1000;
  line-height:1.5;
  letter-spacing:-.02em;
}

.pd-feature-body small{
  display:block;
  color:var(--pd-text-soft);
  font-size:.90rem;
  line-height:1.75;
}

.pd-feature-status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(34,197,94,.10);
  border:1px solid rgba(34,197,94,.16);
  color:#15803d;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.04em;
  white-space:nowrap;
}

.pd-feature-status-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:currentColor;
  box-shadow:0 0 0 5px rgba(34,197,94,.10);
  flex:0 0 8px;
}

/* LTR */
[dir="ltr"] .pd-feature-topline{
  flex-direction:row;
}

[dir="ltr"] .pd-feature-status{
  margin-left:auto;
}

/* RTL */
[dir="rtl"] .pd-feature-item{
  grid-template-columns:64px minmax(0, 1fr);
}

[dir="rtl"] .pd-feature-icon{
  grid-column:1;
  justify-self:start;
}

[dir="rtl"] .pd-feature-body{
  grid-column:2;
  direction:rtl;
  text-align:right;
}

[dir="rtl"] .pd-feature-topline{
  flex-direction:row;
  justify-content:flex-start;
}

[dir="rtl"] .pd-feature-status{
  margin-right:0;
  margin-left:0;
}


/* =========================
   RELATED V2 — REFINED
========================= */

.relatedSectionV2{
  position:relative;
  overflow:hidden;
  width:100%;
  margin-inline:0;
  padding:28px;
  border-radius:34px;
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.08), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,253,255,.95));
  border:1px solid rgba(15,23,42,.06);
  box-shadow:0 18px 48px rgba(2,6,23,.06);
}

.relatedSectionHead{
  margin-bottom:24px;
  align-items:center;
}

.relatedSectionHead h2{
  margin:0;
  color:#0f172a;
  font-size:clamp(1.5rem, 2.2vw, 2.2rem);
  line-height:1.15;
  font-weight:1000;
  letter-spacing:-.03em;
}

.relatedHeadNav{
  display:flex;
  align-items:center;
  gap:10px;
}

.relatedArrow{
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.08);
  background:#fff;
  color:#0f172a;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(2,6,23,.08);
  transition:transform .24s ease, box-shadow .24s ease, opacity .24s ease;
}

.relatedArrow:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 36px rgba(2,6,23,.12);
}

.relatedArrow:disabled{
  cursor:not-allowed;
  opacity:.45;
  pointer-events:none;
}

.relatedSliderWrap{
  position:relative;
  width:100%;
  overflow:hidden;
}

.relatedSliderV2,
.relatedSlider{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 44px) / 3);
  gap:22px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding:4px 2px 10px;
  scrollbar-width:none;
    scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
}

.relatedSliderV2::-webkit-scrollbar,
.relatedSlider::-webkit-scrollbar{
  display:none;
}

.relatedUnit{
  min-width:0;
    scroll-snap-align:start;

}

/* RELATED NAV RTL FIX */
.relatedHeadNav{
  display:flex;
  align-items:center;
  gap:10px;
}

[dir="rtl"] .relatedHeadNav{
  flex-direction:row-reverse;
}
.relatedCardX{
  height:100%;
  background:linear-gradient(180deg, #fbfbfc 0%, #f7f7f5 100%);
  border:1px solid rgba(255,183,3,.14);
  border-radius:28px;
  overflow:hidden;
  box-shadow:
    0 18px 44px rgba(15,23,42,.08),
    inset 0 1px 0 rgba(255,255,255,.75);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.relatedCardX:hover{
  transform:translateY(-6px);
  box-shadow:
    0 28px 60px rgba(2,6,23,.12),
    0 10px 24px rgba(255,183,3,.08);
  border-color:rgba(255,183,3,.24);
}

.relatedCardX-media{
  position:relative;
  display:block;
  aspect-ratio:16 / 10;
  background:#e9edf2;
  overflow:hidden;
}

.relatedCardX-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .7s ease;
}

.relatedCardX:hover .relatedCardX-media img{
  transform:scale(1.04);
}

.relatedCardX-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.12));
  pointer-events:none;
}

.relatedCardX-fallback{
  width:100%;
  min-height:240px;
  display:grid;
  place-items:center;
  color:#94a3b8;
  font-weight:900;
}

.relatedFav{
  position:absolute;
  top:14px;
  inset-inline-start:14px;
  z-index:3;
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#4b5563;
  display:grid;
  place-items:center;
  box-shadow:0 10px 24px rgba(2,6,23,.12);
}

.relatedMediaChip{
  position:absolute;
  top:14px;
  inset-inline-end:14px;
  z-index:3;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.96);
  color:#0f172a;
  font-size:12px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(2,6,23,.10);
}

.relatedFloatingBadge{
  position:absolute;
  bottom:14px;
  z-index:3;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:1000;
  box-shadow:0 10px 22px rgba(2,6,23,.14);
}

.relatedFloatingBadge-year{
  inset-inline-start:14px;
  background:#1b2436;
  color:#fff;
}

.relatedFloatingBadge-type{
  inset-inline-end:14px;
  background:rgba(255,255,255,.96);
  color:#111827;
}

.relatedCardX-body{
  padding:16px 16px 18px;
}

.relatedRefRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.relatedRefCode{
  min-height:36px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#f1f3f5;
  border:1px solid rgba(15,23,42,.08);
  color:#475569;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.relatedRefText{
  color:#64748b;
  font-size:12px;
  font-weight:900;
}

.relatedCardX-title{
  margin:0;
}

.relatedCardX-title a{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:2.5em;
  color:#0f172a;
  font-size:clamp(1.25rem, 1.6vw, 1.6rem);
  line-height:1.2;
  font-weight:1000;
  letter-spacing:-.03em;
}

.relatedPriceRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:16px;
}

.relatedPriceLabel{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border:1px solid rgba(34,197,94,.14);
  color:#22c55e;
  font-size:1.5rem;
  font-weight:1000;
  box-shadow:0 10px 22px rgba(2,6,23,.05);
  flex:0 0 auto;
}

.relatedPricePill{
  min-height:58px;
  padding:0 18px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  direction:ltr;
  unicode-bidi:isolate;
  text-align:left;
  white-space:nowrap;
  background:linear-gradient(180deg, #f6f1e4 0%, #f8f2df 100%);
  border:1px solid rgba(255,183,3,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7);
  flex:0 0 auto;
  max-width:100%;
}

.relatedPriceValue{
  color:#111827;
  font-size:1.40rem;
  font-weight:1000;
  letter-spacing:-.02em;
  line-height:1;
}

.relatedPriceCurrency{
  color:#6b7280;
  font-size:15px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1;
  white-space:nowrap;
}

.relatedSpecsMini{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
  margin-top:16px;
}

.relatedMiniBox{
  min-height:74px;
  padding:12px 10px;
  border-radius:16px;
  background:#f3f4f6;
  border:1px solid rgba(15,23,42,.06);
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
}

.relatedMiniBox span{
  display:block;
  color:#94a3b8;
  font-size:14px;
  font-weight:900;
  margin-bottom:6px;
  
  text-align:center;
}

.relatedMiniBox strong{
  display:block;
  color:#0f172a;
  font-size:1.1rem;
  font-weight:1000;
  line-height:1.35;
  
}

.relatedMainBtn{
  width:100%;
  min-height:52px;
  margin-top:14px;
  border-radius:16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, #07142b 0%, #06142d 100%);
  color:#fff;
  font-size:.98rem;
  font-weight:1000;
  box-shadow:0 14px 28px rgba(6,20,45,.20);
  transition:transform .24s ease, box-shadow .24s ease;
}

.relatedMainBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(6,20,45,.26);
}

.relatedCtaRow{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.relatedCta{
  min-height:44px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.92rem;
  font-weight:1000;
}

.relatedCta-whatsapp{
  background:linear-gradient(180deg, #2fd15f 0%, #22c55e 100%);
  color:#fff;
}

.relatedCta-quote{
  background:linear-gradient(180deg, #ffc42f 0%, #f7b500 100%);
  color:#0f172a;
}


/* =========================
   MOBILE CTA
========================= */
.pd-mobile-cta{
  position:fixed;
  inset-inline:0;
  bottom:0;
  z-index:1200;
  display:none;
  gap:12px;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.96));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-top:1px solid rgba(15,23,42,.08);
  box-shadow:0 -12px 32px rgba(2,6,23,.08);
}

.pd-mobile-btn{
  flex:1 1 0;
  min-height:56px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  font-size:14px;
  text-decoration:none;
}

.pd-mobile-btn-wa{
  color:#fff;
  background:linear-gradient(180deg, #22c55e, #16a34a);
  box-shadow:0 14px 28px rgba(22,163,74,.18);
}

.pd-mobile-btn-quote{
  color:#0f172a;
  background:linear-gradient(180deg, #ffd15f, #FFB703);
  box-shadow:0 14px 28px rgba(255,183,3,.18);
}

/* =========================
   COPY TOAST
========================= */
.copyToast{
  position:fixed;
  inset-inline-start:50%;
  bottom:26px;
  transform:translateX(-50%) translateY(16px);
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,20,25,.92);
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.03em;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
  z-index:2000;
}

.copyToast.show{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

/* =========================
   REVEAL
========================= */
.pd-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}

.pd-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   VIEWER — POLISHED FINAL
========================= */








.pdViewer-topbar{
  position:relative;
  z-index:6;
  display:grid;
  grid-template-columns:220px 1fr 220px;
  align-items:center;
  gap:16px;
  padding:20px 28px 8px;
}



.pdViewer-close span:first-child{
  font-size:1.4rem;
  line-height:1;
}

.pdViewer-countWrap{
  position:absolute;
  top:22px;
  left:50%;
  transform:translateX(-50%);
  z-index:10;
  pointer-events:none;
}

.pdViewer-count{
  color:#fff;
  font-size:1.1rem;
  font-weight:1000;
  letter-spacing:.05em;
  text-align:center;
}

.pdViewer-topActions{
  justify-self:end;
  display:flex;
  align-items:center;
  gap:10px;
}

.pdViewer-iconBtn{
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:1rem;
  cursor:pointer;
  border:1px solid rgba(255,255,255,.10);
}









.pdViewer-stage img.is-zoomed{
  cursor:grab;
}



.pdViewer-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:7;
  width:50px;
  height:50px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  transition:opacity .2s ease, transform .2s ease, background .2s ease;
}

.pdViewer-arrow:hover{
  background:rgba(255,255,255,.12);
}

.pdViewer-arrow--edge.prev{
  left:14px;
}

.pdViewer-arrow--edge.next{
  right:14px;
}





.pdViewer-thumb .is-video-badge{
  position:absolute;
  inset:auto 6px 6px auto;
  width:22px;
  height:22px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:10px;
}



/* =========================
   VIEWER RTL FIX
========================= */
[dir="rtl"] .pdViewer-shell{
  direction:rtl;
}

[dir="rtl"] .pdViewer-topbar{
  grid-template-columns:220px 1fr 220px;
}

[dir="rtl"] .pdViewer-close{
  justify-self:start;
  flex-direction:row-reverse;
}

[dir="rtl"] .pdViewer-countWrap{
  justify-self:center;
}

[dir="rtl"] .pdViewer-topActions{
  justify-self:end;
}

[dir="rtl"] .pdViewer-arrow--edge.prev{
  left:auto;
  right:14px;
}

[dir="rtl"] .pdViewer-arrow--edge.next{
  right:auto;
  left:14px;
}

[dir="rtl"] .pdViewer-thumbs{
  direction:rtl;
}



[dir="rtl"] .pdViewer-zoomHint{
  inset:auto auto 16px 16px;
}


.pdViewer-topbar.is-rtl{
  direction:rtl;
}

.pdViewer-topbar.is-ltr{
  direction:ltr;
}
/* =========================
   RTL TUNING
========================= */
[dir="rtl"] .pd-title,
[dir="rtl"] .pd-subtitle,
[dir="rtl"] .pd-card-note,
[dir="rtl"] .pd-empty-state p{
  text-align:right;
}

[dir="rtl"] .pd-breadcrumb,
[dir="rtl"] .pd-eyebrow-row,
[dir="rtl"] .pd-hero-actions,
[dir="rtl"] .pd-head-actions,
[dir="rtl"] .relatedMetaTop{
  direction:rtl;
}








[dir="rtl"] .pd-sticky-list strong,
[dir="rtl"] .relatedMiniBox strong{
  text-align:start;
}


/* =========================
   MOBILE CTA
========================= */
.pd-mobile-cta{
  position:fixed;
  inset-inline:0;
  bottom:0;
  z-index:1200;
  display:none;
  gap:12px;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.96));
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-top:1px solid rgba(15,23,42,.08);
  box-shadow:0 -12px 32px rgba(2,6,23,.08);
}

.pd-mobile-btn{
  flex:1 1 0;
  min-height:56px;
  border-radius:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
  font-size:14px;
  text-decoration:none;
}

.pd-mobile-btn-wa{
  color:#fff;
  background:linear-gradient(180deg, #22c55e, #16a34a);
  box-shadow:0 14px 28px rgba(22,163,74,.18);
}

.pd-mobile-btn-quote{
  color:#0f172a;
  background:linear-gradient(180deg, #ffd15f, #FFB703);
  box-shadow:0 14px 28px rgba(255,183,3,.18);
}

/* =========================
   COPY TOAST
========================= */
.copyToast{
  position:fixed;
  inset-inline-start:50%;
  bottom:26px;
  transform:translateX(-50%) translateY(16px);
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,20,25,.92);
  color:#fff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.03em;
  box-shadow:0 18px 40px rgba(0,0,0,.22);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, transform .28s ease, visibility .28s ease;
  z-index:2000;
}

.copyToast.show{
  opacity:1;
  visibility:visible;
  transform:translateX(-50%) translateY(0);
}

/* =========================
   REVEAL
========================= */
.pd-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .7s ease, transform .7s ease;
}

.pd-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   VIEWER
========================= */
.pdViewer{
  position:fixed;
  inset:0;
  z-index:4000;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
}

.pdViewer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}





.pdViewer-close{
  position:absolute;
  top:18px;
  inset-inline-end:18px;
  z-index:4;
  width:48px;
  height:48px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}





.pdViewer-nav{
  position:absolute;
  inset:50% 18px auto 18px;
  transform:translateY(-50%);
  z-index:3;
  display:flex;
  justify-content:space-between;
  pointer-events:none;
}

.pdViewer-arrow{
  pointer-events:auto;
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}









/* =========================
   RTL TUNING
========================= */
[dir="rtl"] .pd-title,
[dir="rtl"] .pd-subtitle,
[dir="rtl"] .pd-richtext,
[dir="rtl"] .pd-card-note,
[dir="rtl"] .pd-empty-state p{
  text-align:right;
}

[dir="rtl"] .pd-breadcrumb,
[dir="rtl"] .pd-eyebrow-row,
[dir="rtl"] .pd-hero-actions,
[dir="rtl"] .pd-head-actions,
[dir="rtl"] .relatedMetaTop{
  direction:rtl;
}









[dir="rtl"] .pd-sticky-list strong,
[dir="rtl"] .relatedMiniBox strong{
  text-align:start;
}












.pdViewer-stage img.is-dragging{
  cursor:grabbing;
}



/* =========================
   CONTENT GRID
========================= */
.pd-content-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:28px;
  align-items:start;
  margin-top:28px;
}

.pd-main-col,
.pd-side-col{
  min-width:0;
}

.pd-side-col{
  align-self:start;
}



/* =========================
   MEDIA GALLERY
========================= */
.pd-media-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.pd-media-main{
  position:relative;
  min-height:420px;
  height:clamp(420px, 58vw, 700px);
  overflow:hidden;
  border-radius:24px;
  background:#eef2f6;
  cursor:pointer;
  isolation:isolate;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pd-media-main img,
.pd-media-main video{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  transition:transform .7s ease, filter .4s ease;
}



.pd-media-main.is-portrait img,
.pd-media-main.is-portrait video{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:cover;
}

.pd-media-side{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:14px;
}

.pd-media-thumb{
  position:relative;
  height:170px;
  overflow:hidden;
  border-radius:16px;
  background:#e8edf3;
  cursor:pointer;
  isolation:isolate;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pd-media-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease, filter .4s ease;
}

.pd-media-main:hover img,
.pd-media-thumb:hover img{
  transform:scale(1.03);
}
/* =========================
   FULLSCREEN VIEWER
========================= */


.pdViewer-bottomBar{
  position:relative;
  z-index:6;
  padding:0 24px 18px;
  display:flex;
  justify-content:center;
}

.pdViewer-thumbs{
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  max-width:min(100%, 1200px);
  padding:4px 2px;
  scrollbar-width:none;
}

.pdViewer-thumbs::-webkit-scrollbar{
  display:none;
}

.pdViewer-thumb{
  position:relative;
  flex:0 0 var(--thumb-w);   /* العرض */
  width:var(--thumb-w);
  height:var(--thumb-h)   !important ;    /* الطول */
  overflow:hidden;
  border-radius:14px;
  border:2px solid transparent;
  background:#111;
  opacity:.75;
  cursor:pointer;
  transition:.25s ease;
   gap:14px;
  padding:8px 4px;
}
.pdViewer-thumb:hover{
  opacity:1;
  transform:translateY(-1px);
}

.pdViewer-thumb.is-active{
  opacity:1;
  border-color:#fff;
  box-shadow:0 0 0 2px rgba(255,255,255,.18);
  transform:scale(1.04);
}

.pdViewer-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* =========================
   OVERVIEW
========================= */
.pd-section-head--overview{
  align-items:flex-start;
  margin-bottom:22px;
  
}

.pd-overview{
  position:relative;
  border-radius:24px;
  overflow:hidden;
}

.pd-overview-subline{
  margin:10px 0 0;
  color:var(--pd-text-soft);
  font-size:.96rem;
  line-height:1.85;
}

.pd-overview-list{
  display:grid;
  gap:0;
  margin-top:4px;
}



.pd-overview-row:last-child{
  border-bottom:0;
}

.pd-overview-row:hover{
  background:rgba(255,183,3,.03);
}

.pd-overview-row.is-price{
  padding-top:2px;
  padding-bottom:18px;
}

.pd-overview-row{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid rgba(15,23,42,.08);
  transition:background .22s ease, transform .22s ease;
  
}

.pd-overview-label{
  display:block;
  color:#12c453;
  font-size:1.25rem;
  font-weight:900;
  line-height:1.25;
  letter-spacing:-.01em;
  text-align:right;
  justify-self:end;
}

.pd-overview-value{
  display:block;
  color:#000000;
  font-size:1.15rem;
  font-weight:700;
  line-height:1.5;
  text-align:left;
  justify-self:start;
  white-space:nowrap;
}


.pd-overview-row.is-price .pd-overview-label{
  color:#0f172a;
}

.pd-overview-row.is-price .pd-overview-value{
  color:#0f172a;
  font-size:1.18rem;
  font-weight:1000;
  letter-spacing:-.02em;
}

.pd-overview-seller{
  margin-top:22px;
  padding-top:22px;
  border-top:1px solid rgba(15,23,42,.08);
}

.pd-overview-seller-head{
  margin-bottom:10px;
}

.pd-overview-seller-kicker{
  display:inline-block;
  color:#0f172a;
  font-size:1rem;
  font-weight:1000;
  line-height:1.4;
}

.pd-overview-seller-name{
  color:#0f172a;
  font-size:1rem;
  font-weight:900;
  line-height:1.7;
}

.pd-overview-seller-link{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#64748b;
  font-size:1rem;
  font-weight:700;
  line-height:1.6;
}

.pd-overview-seller-link-icon{
  width:10px;
  height:10px;
  color:#22c55e;
  display:inline-grid;
  place-items:center;
  flex:0 0 10px;
}

.pd-overview-actions{
  display:grid;
  gap:12px;
  margin-top:24px;
}

.pd-overview-actions .pd-btn{
  width:100%;
}

.pd-overview .pd-btn-secondary{
  color:var(--pd-text);
  background:#ebe4dc;
  border:1px solid rgba(15,23,42,.10);
}

.pd-overview .pd-btn-secondary:hover{
  background:#f8fafc;
  border-color:rgba(255,183,3,.25);
}




/* =========================
   OVERVIEW RTL / LTR FIX
========================= */
.pd-overview-list{
  display:flex;
  flex-direction:column;
}

.pd-overview-row{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr);
  align-items:center;
  gap:16px;
}

.pd-overview-label{
  white-space:nowrap;
}

.pd-overview-value{
  min-width:0;
}

/* Arabic */
[dir="rtl"] .pd-overview-row{
  direction:rtl;
}

[dir="rtl"] .pd-overview-label{
  justify-self:start;
  text-align:right;
}

[dir="rtl"] .pd-overview-value{
  justify-self:end;
  text-align:left;
}

/* English */
[dir="ltr"] .pd-overview-row{
  direction:ltr;
}

[dir="ltr"] .pd-overview-label{
  justify-self:start;
  text-align:left;
}

[dir="ltr"] .pd-overview-value{
  justify-self:end;
  text-align:right;
}


/* =========================
   MEDIA SECTION — REFINED
========================= */

.pd-section-head--media{
  align-items:flex-start;
  gap:22px;
  margin-bottom:24px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.pd-section-head--media > div:first-child{
  flex:1 1 400px;
  min-width:0;
}

.pd-section-head--media .pd-title{
  margin:0;
  color:var(--pd-text);
  font-size:clamp(1.45rem, 2.1vw, 2.15rem);
  line-height:1.2;
  font-weight:1000;
  letter-spacing:-.035em;
  text-shadow:none;
  max-width:900px;
  text-wrap:balance;
}

.pd-head-actions--media{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:12px;
  flex:0 0 auto;
}

.pd-btn-media{
  min-height:54px;
  padding-inline:18px;
  gap:12px;
  border-radius:18px;
  font-size:14px;
  font-weight:900;
  box-shadow:0 10px 30px rgba(2,6,23,.06);
}

.pd-btn-media span:last-child{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.15;
}

.pd-btn-media small{
  margin-top:4px;
  font-size:11px;
  font-weight:800;
  opacity:.72;
}

.pd-btn-media-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(28, 139, 134, 0.14);
  color:#ffd15f;
  font-size:14px;
  flex:0 0 34px;
}

.pd-btn-media-video .pd-btn-media-icon{
  background:rgba(255,183,3,.16);
  color:#ffd15f;
}

/* =========================
   MEDIA GRID
========================= */





.pd-media-main::before{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgba(255,255,255,.55);
  border-radius:inherit;
  pointer-events:none;
  z-index:2;
}

.pd-media-main img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .55s ease, filter .35s ease;
}

.pd-media-main:hover img{
  transform:scale(1.03);
  filter:saturate(1.03) contrast(1.02);
}

.pd-media-main-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.02) 0%, rgba(15,23,42,0) 28%, rgba(15,23,42,.20) 100%),
    linear-gradient(90deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 20%);
  z-index:1;
  pointer-events:none;
}

.pd-media-main.is-video::after{
  content:"▶";
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%, -50%);
  width:74px;
  height:74px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(15,23,42,.56);
  color:#fff;
  font-size:24px;
  box-shadow:
    0 18px 34px rgba(2,6,23,.22),
    inset 0 1px 0 rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:3;
}

/* =========================
   BADGES / META
========================= */

.pd-media-badges{
  position:absolute;
  inset:auto auto 18px 18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  z-index:3;
  max-width:calc(100% - 150px);
}

.pd-media-badges .pd-chip{
  min-height:38px;
  padding:9px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 10px 24px rgba(2,6,23,.12);
}

.pd-media-corner-meta{
  position:absolute;
  inset:18px 18px auto auto;
  z-index:3;
}

.pd-media-counter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(15,23,42,.60);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  font-size:12px;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 12px 28px rgba(2,6,23,.16);
}

/* =========================
   SIDE THUMBS
========================= */



.pd-media-thumb{
  position:relative;
  display:block;
  width:100%;
  min-height:0;
  padding:0;
  border:0;
  border-radius:22px;
  overflow:hidden;
  cursor:pointer;
  background:#dbe3ec;
  box-shadow:
    0 12px 28px rgba(2,6,23,.08),
    inset 0 1px 0 rgba(255,255,255,.45);
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    filter .25s ease;
}

.pd-media-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgba(255,255,255,.55);
  border-radius:inherit;
  z-index:2;
  pointer-events:none;
}

.pd-media-thumb:hover{
  transform:translateY(-3px);
  box-shadow:
    0 18px 34px rgba(2,6,23,.12),
    0 0 0 1px rgba(255,183,3,.18);
}

.pd-media-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease, filter .35s ease;
}

.pd-media-thumb:hover img{
  transform:scale(1.05);
  filter:saturate(1.03);
}

.pd-media-thumb-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(15,23,42,.03) 0%, rgba(15,23,42,0) 35%, rgba(15,23,42,.32) 100%);
  z-index:1;
}

.pd-media-thumb.is-video::after{
  content:"▶";
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%, -50%);
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(15,23,42,.62);
  color:#fff;
  font-size:14px;
  z-index:3;
  box-shadow:0 10px 24px rgba(2,6,23,.18);
}

.pd-media-thumb-badge{
  position:absolute;
  inset:auto auto 10px 10px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,183,3,.92);
  color:#0f172a;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.04em;
  box-shadow:0 10px 20px rgba(255,183,3,.28);
}

.pd-media-thumb-more{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:
    linear-gradient(180deg, rgba(15,23,42,.84), rgba(15,23,42,.94)),
    radial-gradient(circle at top, rgba(255,183,3,.18), transparent 55%);
  color:#fff;
  text-align:center;
  padding:20px;
}

.pd-media-thumb-more::before{
  border:1px solid rgba(255,255,255,.10);
}

.pd-media-thumb-more:hover{
  transform:translateY(-3px);
  box-shadow:
    0 18px 34px rgba(2,6,23,.20),
    0 0 0 1px rgba(255,183,3,.20);
}

.pd-media-thumb-more-count{
  display:block;
  font-size:1.7rem;
  font-weight:1000;
  line-height:1;
  letter-spacing:-.04em;
  color:#ffd15f;
}

.pd-media-thumb-more-text{
  display:block;
  font-size:.92rem;
  font-weight:900;
  color:rgba(255,255,255,.88);
}

/* =========================
   EMPTY STATE
========================= */

.pd-empty-state-media{
  min-height:320px;
  border-radius:28px;
  border:1px dashed rgba(15,23,42,.10);
  background:
    radial-gradient(circle at top left, rgba(255,183,3,.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fafc);
  display:grid;
  place-items:center;
  text-align:center;
  padding:34px 24px;
}

.pd-empty-state-media .pd-empty-icon{
  width:72px;
  height:72px;
  margin:0 auto 14px;
  border-radius:22px;
  display:grid;
  place-items:center;
  font-size:28px;
  background:linear-gradient(180deg, #fff4cf, #ffe299);
  box-shadow:
    0 14px 30px rgba(255,183,3,.18),
    inset 0 1px 0 rgba(255,255,255,.75);
}

.pd-empty-state-media .pd-empty-title{
  color:var(--pd-text);
  font-size:1.15rem;
  font-weight:1000;
  margin-bottom:10px;
}

.pd-empty-state-media p{
  max-width:640px;
  margin:0 0 18px;
  color:var(--pd-text-soft);
  line-height:1.9;
}

/* =========================
   RTL / LTR POLISH
========================= */

[dir="rtl"] .pd-media-badges{
  inset:auto 18px 18px auto;
}

[dir="rtl"] .pd-media-corner-meta{
  inset:18px auto auto 18px;
}

[dir="rtl"] .pd-media-thumb-badge{
  inset:auto 10px 10px auto;
}


/* =========================
   FINAL CLEAN OVERRIDES
========================= */


.pd-content-grid--top{
  margin-top:28px;
}

.pd-main-col,
.pd-side-col{
  min-width:0;
}

.pd-main-stack > .pd-section-card:first-child,
.pd-main-stack > .relatedSectionV2:first-child{
  margin-top:28px;
}

.pd-main-stack .pd-section-card,
.pd-main-stack .relatedSectionV2{
  margin-top:28px;
}

.pd-media,
.pd-overview{
  margin:0;
  width:100%;
}

.pd-side-col{
  width:100%;
  align-self:start;
}

.pd-section-head--overview{
  align-items:flex-start;
  margin-bottom:24px;
}

.pd-overview-headcopy{
  max-width:100%;
}

.pd-overview-subline{
  margin:10px 0 0;
  color:var(--pd-text-soft);
  font-size:.96rem;
  line-height:1.8;
}

.pd-overview-list{
  display:grid;
  gap:0;
}



.pd-overview-row:last-child{
  border-bottom:0;
}



.pd-seller-box{
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid var(--pd-line);
  display:grid;
  gap:12px;
}

.pd-seller-title{
  color:var(--pd-text);
  font-size:1.05rem;
  font-weight:1000;
  line-height:1.4;
  text-transform:none;
  letter-spacing:0;
}

.pd-seller-box strong{
  color:var(--pd-text);
  font-size:1rem;
  font-weight:800;
  line-height:1.6;
}

.pd-seller-box a{
  color:#6b7280;
  font-size:1rem;
  font-weight:500;
  line-height:1.6;
  text-decoration:none;
}

/* =========================================================
   FINAL RESPONSIVE CLEAN VERSION
   Replace duplicated responsive blocks with this
========================================================= */

/* =========================
   DESKTOP / LARGE LAPTOP
========================= */
@media (max-width: 1400px){
  .relatedSliderV2,
  .relatedSlider{
    grid-auto-columns:calc((100% - 22px) / 2);
  }
}

/* =========================
   LAPTOP
========================= */
@media (max-width: 1200px){
  .pd-hero-grid{
    grid-template-columns:minmax(0, 1fr) 360px;
    padding:40px;
  }

  .pd-content-grid{
    grid-template-columns:minmax(0, 1fr) 320px;
    gap:24px;
  }

  .pd-media-grid{
    grid-template-columns:minmax(0, 1fr) 190px;
  }

  .pd-media-main,
  .pd-media-side{
    min-height:560px;
  }

  .pd-overview-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px){
  .pd-page{
    padding-top:calc(var(--topbar-h, 78px) + 18px);
    padding-bottom:110px;
  }

  .pd-hero{
    min-height:auto;
    border-radius:28px;
  }

  .pd-hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
    padding:28px;
    gap:22px;
    align-items:start;
  }

  .pd-hero-copy,
  .pd-hero-card{
    max-width:100%;
  }

  .pd-title{
    max-width:100%;
    font-size:clamp(2rem, 8vw, 3.3rem);
  }

  .pd-subtitle{
    max-width:100%;
    font-size:.98rem;
    line-height:1.85;
  }

  .pd-stat-row{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    max-width:100%;
  }

  .pd-content-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .pd-side-col{
    position:static;
    top:auto;
    order:0;
  }

  .pd-main-col{
    order:0;
  }

  .pd-sticky-card{
    position:relative;
    top:auto;
  }

  .pd-overview-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .pd-media-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .pd-media-main{
    min-height:420px;
  }

  .pd-media-side{
    min-height:auto;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    grid-template-rows:none;
  }

  .pd-media-thumb{
    min-height:180px;
    aspect-ratio:1 / .9;
  }

  .pd-section-head--media{
    align-items:flex-start;
  }

  .pd-head-actions--media{
    width:100%;
    justify-content:flex-start;
  }

  .pd-feature-grid--premium{
    grid-template-columns:1fr;
  }

  .relatedSectionV2{
    padding:22px;
    border-radius:24px;
  }

  .relatedHeadNav{
    width:100%;
    justify-content:flex-start;
  }

  .relatedSliderV2,
  .relatedSlider{
    grid-auto-columns:minmax(280px, 88%);
    gap:16px;
  }

  .relatedCardX-title a{
    font-size:1.45rem;
  }

  .relatedArrow{
    display:none;
  }

  .pd-mobile-cta{
    display:flex;
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){
  .pd-shell{
    width:min(calc(100% - 20px), var(--pd-shell));
  }

  .pd-breadcrumb{
    gap:8px;
    margin-bottom:16px;
    font-size:12px;
  }

  .pd-hero,
  .pd-media,
  .pd-overview,
  .pd-section-card,
  .pd-sticky-card{
    border-radius:24px;
  }

  .pd-hero-grid,
  .pd-media,
  .pd-overview,
  .pd-section-card,
  .pd-sticky-card{
    padding:20px;
  }

  .pd-eyebrow-row{
    gap:10px;
    margin-bottom:16px;
  }

  .pd-eyebrow,
  .pd-chip{
    min-height:38px;
    padding:8px 14px;
    font-size:11px;
    letter-spacing:.06em;
  }

  .pd-title{
    font-size:clamp(1.85rem, 9vw, 2.8rem);
    line-height:.98;
  }

  .pd-subtitle{
    margin-top:16px;
    font-size:.94rem;
    line-height:1.8;
  }

  

  .pd-stat-pill{
    padding:14px;
    border-radius:18px;
  }

   .pd-hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

    .pd-hero-actions .pd-btn{
    width:100%;
    min-height:50px;
  }

  /* الزر الثالث ياخد سطر كامل */
  .pd-hero-actions .pd-btn:nth-child(3){
    grid-column:1 / -1;
  }

  .pd-mini-specs,
  .pd-spec-grid,
  .pd-spec-grid--full{
  
    grid-template-columns:repeat(4, minmax(0, 1fr)); ;
  }

.pd-feature-grid{
  grid-template-columns: repeat(1, minmax(0, 1fr));
    gap:14px;
  }
  .pd-section-subline,
  .pd-overview-subline{
    font-size:.92rem;
    line-height:1.75;
  }

  .pd-overview{
    border-radius:22px;
  }

  .pd-overview-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .pd-overview-card{
    min-height:auto;
    padding:18px;
    border-radius:22px;
  }

  .pd-overview-card-top{
    margin-bottom:14px;
    gap:10px;
  }

  .pd-overview-icon{
    width:40px;
    height:40px;
    border-radius:13px;
    flex-basis:40px;
  }

  .pd-overview-row{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
    padding:14px 0;
  }

  .pd-overview-value{
    text-align:start;
    justify-self:start;
    white-space:normal;
    font-size:1.05rem;
    line-height:1.45;
  }

  .pd-overview-row.is-price .pd-overview-value,
  .pd-overview-card--featured .pd-overview-value{
    font-size:1.12rem;
  }

  .pd-media,
  .pd-section-card,
  .pd-overview{
    padding:20px;
    border-radius:24px;
  }

  .pd-section-head--media{
    gap:16px;
    margin-bottom:18px;
    padding-bottom:14px;
  }

  .pd-section-head--media .pd-title{
    font-size:clamp(1.15rem, 6vw, 1.55rem);
    line-height:1.3;
  }

 

  .pd-btn-media{
    width:100%;
    justify-content:center;
  }

  .pd-media-grid{
    gap:14px;
  }

  .pd-media-main{
    min-height:320px;
    border-radius:22px;
  }

  .pd-media-badges{
    top:14px;
    inset-inline-start:14px;
    inset-inline-end:auto;
    bottom:auto;
    max-width:calc(100% - 28px);
    gap:8px;
  }

  .pd-media-badges .pd-chip{
    min-height:34px;
    padding:8px 12px;
    font-size:11px;
  }

  .pd-media-corner-meta{
    top:auto;
    bottom:14px;
    inset-inline-end:14px;
    inset-inline-start:auto;
  }

  .pd-media-counter{
    min-height:34px;
    padding:0 12px;
    font-size:11px;
  }

  

  .pd-media-thumb,
  .pd-media-thumb-more{
    min-height:130px;
    border-radius:18px;
    aspect-ratio:1 / .88;
  }

  .pd-media-thumb-more-count{
    font-size:1.5rem;
  }

  .pd-media-thumb-more-text{
    font-size:.82rem;
  }

  [dir="rtl"] .pd-media-corner-meta{
    inset-inline-start:14px;
    inset-inline-end:auto;
  }

  .pd-section-card--features{
    padding:22px;
    border-radius:24px;
  }

  .pd-section-head--features{
    margin-bottom:20px;
  }

  .pd-count-badge--features{
    min-width:unset;
    width:100%;
    min-height:76px;
  }

  .pd-features-side{
    width:100%;
  }

  .pd-feature-item{
    grid-template-columns:54px minmax(0, 1fr);
    gap:14px;
    min-height:auto;
    padding:16px;
    border-radius:20px;
    align-items:start;
  }

  .pd-feature-icon{
    width:54px;
    height:54px;
    border-radius:16px;
  }

  .pd-feature-topline{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

  .pd-feature-body strong{
    font-size:.98rem;
  }

  .pd-feature-body small{
    font-size:.86rem;
    line-height:1.65;
  }

  .pd-feature-status{
    grid-column:1 / -1;
    justify-self:start;
    margin-top:4px;
  }

  

  

  .relatedSliderV2,
  .relatedSlider{
    grid-auto-columns:90%;
    gap:16px;
  }

  .relatedCardX{
    border-radius:26px;
  }

    .relatedSpecsMini{
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:8px;
  }

  .relatedMiniBox{
    min-height:68px;
    padding:10px 8px;
    border-radius:14px;
  }

  .relatedMiniBox span{
    font-size:11px;
    margin-bottom:4px;
  }

  .relatedMiniBox strong{
    font-size:.9rem;
    line-height:1.35;
  }

 .relatedCtaRow{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  

  .pd-sticky-card h3{
    font-size:1.3rem;
  }

  .pd-sticky-price{
    font-size:1.9rem;
  }

  .pd-section-card--desc,
  .pd-section-card--specs{
    padding:20px;
  }

  .pd-richtext--desc{
    font-size:.96rem;
    line-height:1.95;
  }

  .pd-spec-row{
    min-height:auto;
    padding:16px 18px;
    border-radius:20px;
  }

  .pd-spec-value{
    font-size:1rem;
    line-height:1.5;
  }

  .pd-spec-row--featured .pd-spec-value{
    font-size:1.05rem;
  }

  .pdViewer-topbar{
    padding:14px 14px 6px;
    gap:10px;
  }

  .pdViewer-close{
    min-height:38px;
    padding:0 10px;
    font-size:.92rem;
  }

  .pdViewer-close span:first-child{
    font-size:1.2rem;
  }

  .pdViewer-count{
    font-size:1rem;
  }

  .pdViewer-stageWrap{
    padding:6px 56px 14px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-height:calc(100dvh - 170px);
  }

  .pdViewer-arrow{
    width:44px;
    height:44px;
    font-size:1.6rem;
  }

  .pdViewer-arrow--edge.prev{
    left:8px;
  }

  .pdViewer-arrow--edge.next{
    right:8px;
  }

  [dir="rtl"] .pdViewer-arrow--edge.prev{
    left:auto;
    right:8px;
  }

  [dir="rtl"] .pdViewer-arrow--edge.next{
    right:auto;
    left:8px;
  }

  .pdViewer-bottomBar{
    padding:0 10px 14px;
  }

  
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 480px){
  .pd-shell{
    width:min(calc(100% - 14px), var(--pd-shell));
  }

  .pd-hero-grid{
    padding:16px;
  }

  .pd-title{
    font-size:1.7rem;
  }

  .pd-stat-row{
    grid-template-columns:1fr;
  }

  .pd-media-main{
    min-height:260px;
  }

  .pd-media-side{
    grid-auto-columns:160px;
  }

  .pd-media-counter{
    min-height:34px;
    padding:0 10px;
    font-size:11px;
  }

  .relatedSliderV2,
  .relatedSlider{
    grid-auto-columns:94%;
  }

  .relatedCardX-body{
    padding:14px;
  }

  .relatedCardX-title a{
    font-size:1.2rem;
  }

  .relatedCta{
    font-size:.88rem;
  }

  .pd-mobile-cta{
    padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    gap:10px;
  }

  .pd-mobile-btn{
    min-height:52px;
    font-size:13px;
  }

 

  .pd-richtext--desc{
    font-size:.94rem;
  }

  .pd-spec-row{
    padding:15px 16px;
  }
}

/* =========================================
   MOBILE FIXES — HERO / GALLERY / VIEWER
========================================= */
@media (max-width: 768px){

  /* 1) بوكسات الإحصائيات في أول صورة
     بدل ما تكون تحت بعض، خليهم جنب بعض 2×2 */
  .pd-stat-row{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:10px;
    margin-top:18px;
  }




  .pd-stat-pill{
    min-height:88px;
    padding:14px 12px;
    border-radius:18px;
  }

  .pd-stat-label{
    font-size:11px;
    margin-bottom:6px;
  }

  .pd-stat-value{
    font-size:.95rem;
    line-height:1.45;
  }

  /* 2) أزرار عرض الصور / الفيديوهات
     خليهم جنب بعض بدل stack */
  .pd-head-actions--media{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    width:100%;
    align-items:stretch;
  }

  .pd-btn-media{
    width:100%;
    min-height:54px;
    padding:0 12px;
    justify-content:center;
    border-radius:16px;
    gap:10px;
  }

  .pd-btn-media span{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    line-height:1.2;
    text-align:center;
  }

  .pd-btn-media span small{
    margin-top:2px;
    font-size:.78em;
  }

  .pd-btn-media-icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    border-radius:10px;
  }

  /* 3) الجاليري نفسه
     خليه صورة كبيرة فوق + ثمنيلات صغيرة كلها جنب بعض */
  .pd-media-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .pd-media-main{
    min-height:280px;
    height:280px;
    border-radius:20px;
  }

  .pd-media-side{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
  }

  .pd-media-thumb,
  .pd-media-thumb-more{
    min-height:auto;
    height:82px;
    aspect-ratio:auto;
    border-radius:14px;
  }

  .pd-media-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .pd-media-thumb-more-count{
    font-size:1rem;
  }

  .pd-media-thumb-more-text{
    font-size:.72rem;
  }

  .pd-media-thumb-badge{
    min-height:22px;
    padding:0 7px;
    font-size:9px;
    inset:auto auto 6px 6px;
  }

  /* البادجز فوق الصورة الكبيرة */
  .pd-media-badges{
    inset:auto 10px 10px 10px;
    gap:6px;
    max-width:calc(100% - 20px);
  }

  .pd-media-badges .pd-chip{
    min-height:30px;
    padding:6px 10px;
    font-size:10px;
  }

  .pd-media-corner-meta{
    inset:10px 10px auto auto;
  }

  .pd-media-counter{
    min-height:30px;
    padding:0 10px;
    font-size:10px;
  }

  /* 4) الفيوور — stage أكبر والثمنيلات أصغر */
  .pdViewer-shell{
    grid-template-rows:auto 1fr auto;
  }

  .pdViewer-topbar{
    padding:10px 12px;
    gap:8px;
  }

  .pdViewer-close{
    min-height:38px;
    padding:0 10px;
    font-size:.9rem;
  }

  .pdViewer-count{
    min-height:36px;
    padding:0 10px;
    font-size:.95rem;
  }

  .pdViewer-stageWrap{
    padding:8px 8px 10px;
  }

  .pdViewer-stage{
    border-radius:14px;
    height:100%;
    min-height:0;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-width:100%;
    max-height:calc(100dvh - 185px);
    width:auto;
    height:auto;
    object-fit:contain;
    border-radius:12px;
  }

  /* الأسهم في نص الصورة */
  .pdViewer-arrow{
    width:42px;
    height:42px;
    font-size:1.35rem;
    top:50%;
    bottom:auto;
    transform:translateY(-50%);
  }

  .pdViewer-arrow--edge.prev{
    left:8px;
  }

  .pdViewer-arrow--edge.next{
    right:8px;
  }

  [dir="rtl"] .pdViewer-arrow--edge.prev{
    left:auto;
    right:8px;
  }

  [dir="rtl"] .pdViewer-arrow--edge.next{
    right:auto;
    left:8px;
  }

  /* الثمنيلات تحت في صف واحد */
  .pdViewer-bottomBar{
    padding:0 8px 10px;
  }
 .pdViewer-thumbs{
    display:flex !important;
    gap:8px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding:2px 2px 4px !important;
    scrollbar-width:none !important;
    -webkit-overflow-scrolling:touch !important;
  }

   .pdViewer-thumbs::-webkit-scrollbar{
    display:none !important;
  }

  

  

    .pdViewer-thumb img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

}

/* موبايلات أصغر */
@media (max-width: 480px){

  /* لو الشاشة أصغر جدًا خفف شوية */
  .pd-stat-row{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .pd-stat-pill{
    min-height:82px;
    padding:12px 10px;
  }

  .pd-stat-value{
    font-size:.9rem;
  }



  .pd-btn-media{
    min-height:50px;
    padding:0 10px;
  }

  .pd-media-main{
    height:245px;
    min-height:245px;
  }

  .pd-media-side{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:82px;
  overflow-x:auto;
  overflow-y:hidden;
  gap:8px;
}

  .pd-media-thumb,
  .pd-media-thumb-more{
    height:70px;
    border-radius:12px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-height:calc(100dvh - 175px);
  }

  

  
}

@media (max-width: 768px){
  .relatedPriceRow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:row;
    gap:10px;
  }

  .relatedPriceLabel{
    width:auto;
    flex:0 0 auto;
    text-align:right;
    justify-content:center;
  }

  .relatedPricePill{
    width:auto;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    white-space:nowrap;
  }

  [dir="rtl"] .relatedPriceRow{
    direction:rtl;
  }

  [dir="rtl"] .relatedPriceLabel{
    text-align:right;
  }

  [dir="rtl"] .relatedPricePill{
    direction:ltr;
  }
.pd-feature-item{
  grid-template-columns:54px minmax(0, 1fr);
  gap:14px;
  min-height:auto;
  padding:16px;
  border-radius:20px;
  align-items:center;
}

.pd-feature-icon{
  width:54px;
  height:54px;
  border-radius:16px;
}

.pd-feature-topline{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  width:100%;
}

[dir="rtl"] .pd-feature-body{
  direction:rtl;
  text-align:right;
}

[dir="rtl"] .pd-feature-topline{
  flex-direction:row-reverse;
}

}



/* =========================================
   VIEWER FIX — TABLET + MOBILE
========================================= */

/* عام */
.pdViewer{
  position:fixed;
  inset:0;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease, visibility .25s ease;
}

.pdViewer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}





.pdViewer-topbar{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  background:linear-gradient(180deg, rgba(0,0,0,.52), rgba(0,0,0,.18));
}

.pdViewer-close,
.pdViewer-count,
.pdViewer-iconBtn{
  position:relative;
  z-index:3;
}

.pdViewer-close{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:0 14px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}

.pdViewer-countWrap{
  display:flex;
  justify-content:center;
}

.pdViewer-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  color:#fff;
  font-weight:900;
}

.pdViewer-topActions{
  display:flex;
  align-items:center;
  gap:10px;
}

.pdViewer-iconBtn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
}



.pdViewer-stage{
   position:relative;
  width:100%;
  height:100%;
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border-radius:2px;
 background:rgba(17,24,39,.98);
   user-select:none;
  -webkit-user-select:none;
  touch-action:none;
   cursor:zoom-in;
}





.pdViewer-bottomBar{
  padding:10px 14px 16px;
  background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.28));
}

.pdViewer-thumbs{
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:4px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
}

.pdViewer-thumbs::-webkit-scrollbar{
  height:6px;
}

.pdViewer-thumb{
  position:relative;
  flex:0 0 92px;
  width:92px;
  height:68px;
  border-radius:14px;
  overflow:hidden;
  border:2px solid transparent;
  background:#111;
  cursor:pointer;
}

.pdViewer-thumb img,
.pdViewer-thumb video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pdViewer-thumb.is-active{
  border-color:#fff;
  box-shadow:0 0 0 3px rgba(255,255,255,.15);
}

.pdViewer-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:54px;
  height:54px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.08);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:2rem;
  cursor:pointer;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.pdViewer-arrow--edge.prev{ left:14px; }
.pdViewer-arrow--edge.next{ right:14px; }

[dir="rtl"] .pdViewer-arrow--edge.prev{
  left:auto;
  right:14px;
}

[dir="rtl"] .pdViewer-arrow--edge.next{
  right:auto;
  left:14px;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px){
  .pdViewer-shell{
    width:min(calc(100vw - 18px), 1000px);
    height:min(calc(100dvh - 18px), 920px);
    margin:9px auto;
    border-radius:22px;
  }

  .pdViewer-topbar{
    padding:12px 14px;
  }

  .pdViewer-stageWrap{
    padding:10px 58px;
  }

  .pdViewer-stage{
    border-radius:18px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-height:calc(100dvh - 190px);
  }

  .pdViewer-arrow{
    width:46px;
    height:46px;
    font-size:1.5rem;
  }

  .pdViewer-arrow--edge.prev{ left:10px; }
  .pdViewer-arrow--edge.next{ right:10px; }

  [dir="rtl"] .pdViewer-arrow--edge.prev{
    left:auto;
    right:10px;
  }

  [dir="rtl"] .pdViewer-arrow--edge.next{
    right:auto;
    left:10px;
  }

  
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px){
  .pdViewer-shell{
    width:100vw;
    height:100dvh;
    margin:0;
    border-radius:0;
  }

  .pdViewer-topbar{
    grid-template-columns:auto 1fr auto;
    gap:8px;
    padding:10px 10px calc(10px + env(safe-area-inset-top));
  }

  .pdViewer-close{
    min-height:38px;
    padding:0 10px;
    font-size:.86rem;
  }

  .pdViewer-close span:last-child{
    display:none;
  }

  .pdViewer-count{
    min-height:36px;
    padding:0 10px;
    font-size:.9rem;
  }

  .pdViewer-topActions{
    gap:6px;
  }

  .pdViewer-iconBtn{
    width:38px;
    height:38px;
    font-size:.95rem;
  }

  .pdViewer-stageWrap{
    padding:8px 8px 6px;
  }

  .pdViewer-stage{
    border-radius:14px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-width:100%;
    max-height:calc(100dvh - 170px);
    object-fit:contain;
    border-radius:12px;
  }

  .pdViewer-arrow{
    width:42px;
    height:42px;
    font-size:1.35rem;
    top:50%;
    transform:translateY(-50%);
  }

  .pdViewer-arrow--edge.prev{ left:8px; }
  .pdViewer-arrow--edge.next{ right:8px; }

  [dir="rtl"] .pdViewer-arrow--edge.prev{
    left:auto;
    right:8px;
  }

  [dir="rtl"] .pdViewer-arrow--edge.next{
    right:auto;
    left:8px;
  }

  .pdViewer-bottomBar{
    padding:8px 8px calc(10px + env(safe-area-inset-bottom));
  }


  
}

/* =========================
   VERY SMALL MOBILE
========================= */
@media (max-width: 480px){
  .pdViewer-topbar{
    padding:8px 8px calc(8px + env(safe-area-inset-top));
  }

  .pdViewer-stageWrap{
    padding:6px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-height:calc(100dvh - 155px);
  }

  .pdViewer-arrow{
    width:38px;
    height:38px;
    font-size:1.1rem;
  }

  
}

/* =========================================
   VIEWER LOCKED MODE FOR MOBILE / TABLET
========================================= */
.pdViewer,
.pdViewer-shell{
  overscroll-behavior: contain;
}





@media (max-width: 1024px){
  .pdViewer,
  .pdViewer-shell,
  .pdViewer-stageWrap,
  .pdViewer-stage{
    touch-action: manipulation !important;
  }

  .pdViewer-stage{
    cursor: default !important;
  }

  .pdViewer-stage img{
    transform: none !important;
    transition: none !important;
    cursor: default !important;
  }
}


/* =========================================
   FINAL VIEWER / LIGHTBOX SYSTEM
   Premium + Responsive + Stable
========================================= */

.pdViewer{
  position:fixed;
  inset:0;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .28s ease, visibility .28s ease;
  overscroll-behavior:contain;
}

.pdViewer.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}




.pdViewer-shell::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:2px;
  background:linear-gradient(90deg, var(--pd-accent), var(--pd-accent-2));
  opacity:.95;
  z-index:1;
}

.pdViewer-topbar{
  position:relative;
  z-index:3;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}

.pdViewer-topbar.is-rtl{
  direction:rtl;
}

.pdViewer-topbar.is-ltr{
  direction:ltr;
}

.pdViewer-close,
.pdViewer-iconBtn,
.pdViewer-count{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:#fff;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}

.pdViewer-close{
  appearance:none;
  min-height:46px;
  padding:0 16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  font-weight:900;
  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.pdViewer-close:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.16);
}

.pdViewer-close span:first-child{
  font-size:1.35rem;
  line-height:1;
}

.pdViewer-countWrap{
  display:flex;
  align-items:center;
  justify-content:center;
}

.pdViewer-count{
  min-height:42px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.96rem;
  font-weight:1000;
  white-space:nowrap;
}

.pdViewer-topActions{
  display:flex;
  align-items:center;
  gap:10px;
}

.pdViewer-iconBtn{
  appearance:none;
  width:44px;
  height:44px;
  border-radius:999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:1rem;
  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease;
}

.pdViewer-iconBtn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.16);
}

.pdViewer-iconBtn.is-active{
  color:#ffcc57;
  border-color:rgba(255,183,3,.36);
  background:rgba(255,183,3,.10);
  box-shadow:
    0 10px 24px rgba(255,183,3,.14),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.pdViewer-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:
    0 12px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.05);
  transition:
    transform .24s ease,
    background .24s ease,
    border-color .24s ease,
    opacity .24s ease;
}

.pdViewer-arrow:hover{
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.18);
}

.pdViewer-arrow:active{
  transform:translateY(-50%) scale(.97);
}

.pdViewer-arrow.prev{
  left:18px;
}

.pdViewer-arrow.next{
  right:18px;
}

[dir="rtl"] .pdViewer-arrow.prev{
  left:auto;
  right:18px;
}

[dir="rtl"] .pdViewer-arrow.next{
  right:auto;
  left:18px;
}

.pdViewer-arrow[aria-disabled="true"]{
  opacity:.42 !important;
  pointer-events:none !important;
}











.pdViewer-stage img.is-dragging{
  transition:none !important;
}

.pdViewer-stage video{
  border-radius:18px;
  background:#000;
  box-shadow:0 14px 44px rgba(0,0,0,.20);
}

.pdViewer-bottomBar{
  position:relative;
  z-index:3;
  padding:12px 16px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.02));
}

.pdViewer-thumbs{
  display:flex;
  align-items:center;
  gap:10px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 6px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.22) transparent;
}

.pdViewer-thumbs::-webkit-scrollbar{
  height:6px;
}

.pdViewer-thumbs::-webkit-scrollbar-track{
  background:transparent;
}

.pdViewer-thumbs::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.20);
  border-radius:999px;
}

.pdViewer-thumb{
  appearance:none;
  position:relative;
  flex:0 0 96px;
  width:96px;
  height:70px;
  padding:0;
  border:2px solid transparent;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
  background:#0b1119;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    opacity .22s ease;
}

.pdViewer-thumb:hover{
  transform:translateY(-2px);
}

.pdViewer-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pdViewer-thumb.is-active{
  border-color:#fff;
  box-shadow:
    0 0 0 3px rgba(255,255,255,.12),
    0 12px 24px rgba(0,0,0,.18);
}

.pdViewer-thumb .is-video-badge{
  position:absolute;
  inset:auto auto 8px 8px;
  min-width:24px;
  height:24px;
  padding:0 7px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.68);
  color:#fff;
  font-size:.78rem;
  font-weight:900;
  border:1px solid rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}



/* =========================================
   LARGE TABLET / SMALL LAPTOP
========================================= */
@media (max-width: 1200px){
  .pdViewer-shell{
    width:min(calc(100vw - 20px), 1180px);
    height:min(calc(100dvh - 20px), 940px);
    margin:10px auto;
    border-radius:24px;
  }

  .pdViewer-stageWrap{
    padding:12px 68px;
  }

  .pdViewer-arrow{
    width:50px;
    height:50px;
    font-size:1.65rem;
  }

  .pdViewer-arrow.prev{ left:12px; }
  .pdViewer-arrow.next{ right:12px; }

  [dir="rtl"] .pdViewer-arrow.prev{
    left:auto;
    right:12px;
  }

  [dir="rtl"] .pdViewer-arrow.next{
    right:auto;
    left:12px;
  }
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 1024px){
  .pdViewer-shell{
    width:min(calc(100vw - 12px), 1000px);
    height:min(calc(100dvh - 12px), 920px);
    margin:6px auto;
    border-radius:20px;
  }

  .pdViewer-topbar{
    padding:12px 12px;
    gap:10px;
  }

  .pdViewer-close{
    min-height:40px;
    padding:0 12px;
    font-size:.92rem;
  }

  .pdViewer-close span:first-child{
    font-size:1.18rem;
  }

  .pdViewer-count{
    min-height:38px;
    padding:0 12px;
    font-size:.9rem;
  }

  .pdViewer-iconBtn{
    width:40px;
    height:40px;
    font-size:.95rem;
  }

  .pdViewer-stageWrap{
    padding:10px 56px 8px;
  }

  .pdViewer-stage{
    border-radius:18px;
    touch-action:manipulation !important;
  }

  .pdViewer-stage img{
    max-height:calc(100dvh - 190px);
    transform:none !important;
    transition:none !important;
    cursor:default !important;
  }

  .pdViewer-stage video{
    max-height:calc(100dvh - 190px);
  }

  .pdViewer-arrow{
    width:46px;
    height:46px;
    font-size:1.35rem;
  }

  .pdViewer-arrow.prev{ left:10px; }
  .pdViewer-arrow.next{ right:10px; }

  [dir="rtl"] .pdViewer-arrow.prev{
    left:auto;
    right:10px;
  }

  [dir="rtl"] .pdViewer-arrow.next{
    right:auto;
    left:10px;
  }

  .pdViewer-bottomBar{
    padding:8px 10px 12px;
  }

  
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px){
  .pdViewer-shell{
    width:100vw;
    height:100dvh;
    margin:0;
    border-radius:0;
    border-inline:0;
    border-bottom:0;
  }

  .pdViewer-topbar{
    padding:
      calc(8px + env(safe-area-inset-top))
      8px
      8px;
    gap:8px;
  }

  .pdViewer-close{
    min-height:36px;
    padding:0 10px;
    gap:6px;
    font-size:.84rem;
  }

  .pdViewer-close span:last-child{
    display:none;
  }

  .pdViewer-count{
    min-height:34px;
    padding:0 10px;
    font-size:.84rem;
  }

  .pdViewer-topActions{
    gap:6px;
  }

  .pdViewer-iconBtn{
    width:36px;
    height:36px;
    font-size:.88rem;
  }

  .pdViewer-stageWrap{
    padding:8px 8px 6px;
  }

  .pdViewer-stage{
    border-radius:14px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-width:100%;
    max-height:calc(100dvh - 158px);
    object-fit:contain;
  }

  .pdViewer-arrow{
    width:42px;
    height:42px;
    font-size:1.12rem;
    top:50%;
  }

  .pdViewer-arrow.prev{ left:8px; }
  .pdViewer-arrow.next{ right:8px; }

  [dir="rtl"] .pdViewer-arrow.prev{
    left:auto;
    right:8px;
  }

  [dir="rtl"] .pdViewer-arrow.next{
    right:auto;
    left:8px;
  }

  .pdViewer-bottomBar{
    padding:
      8px
      8px
      calc(10px + env(safe-area-inset-bottom));
  }



  .pdViewer-thumb{
    flex:0 0 88px !important;
    width: 81px !important;
    height:78px !important;
    border-radius:10px;
  }

  .pdViewer-thumb .is-video-badge{
    inset:auto auto 6px 6px;
    min-width:22px;
    height:22px;
    font-size:.72rem;
  }

  [dir="rtl"] .pdViewer-thumb .is-video-badge{
    inset:auto 6px 6px auto;
  }
}

/* =========================================
   VERY SMALL MOBILE
========================================= */
@media (max-width: 480px){
  .pdViewer-topbar{
    grid-template-columns:auto 1fr auto;
    padding:
      calc(7px + env(safe-area-inset-top))
      7px
      7px;
  }

  .pdViewer-stageWrap{
    padding:6px;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-height:calc(100dvh - 148px);
  }

  .pdViewer-arrow{
    width:38px;
    height:38px;
    font-size:1rem;
  }

  .pdViewer-thumb{
    flex:0 0 64px;
    width:64px;
    height:46px;
  }
}

/* =========================================
   REDUCED MOTION
========================================= */
@media (prefers-reduced-motion: reduce){
  .pdViewer,
  .pdViewer-close,
  .pdViewer-iconBtn,
  .pdViewer-arrow,
  .pdViewer-thumb,
  .pdViewer-stage img{
    transition:none !important;
    animation:none !important;
    scroll-behavior:auto !important;
  }
}

@media (max-width: 1024px){
  .pdViewer-thumbs{
    scroll-behavior: auto;
  }
}

/* =========================================
   SMART PREMIUM GALLERY
========================================= */

.pd-gallery-jf,
.pd-gallery-jf-stage{
  position:relative;
  width:100%;
}

.pd-gallery-jf-main{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  aspect-ratio:4 / 3;
  border:0;
  padding:0;
  background:#e9edf2;
  border-radius:24px;
  overflow:hidden;
  cursor:pointer;
}



.pd-gallery-jf-main.is-video img{
  object-fit:cover;
}

.pd-gallery-jf-main.is-portrait img,
.pd-gallery-jf-main.is-square img,
.pd-gallery-jf-main.is-landscape img{
  object-fit:cover;
  padding:0;
  border-radius:0;
  background:transparent;
}
.pd-gallery-jf-overlay{
  position:absolute;
  inset:auto 0 0 0;
  height:120px;
  background:linear-gradient(180deg, transparent, rgba(15,23,42,.08));
  pointer-events:none;
}

.pd-gallery-jf-play{
  position:absolute;
  inset:50% auto auto 50%;
  transform:translate(-50%,-50%);
  width:74px;
  height:74px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#fff;
  font-size:1.3rem;
  background:rgba(15,23,42,.65);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

/* =========================================
   THUMBS STRIP
========================================= */

.pd-gallery-jf-stripWrap{
  margin-top:14px;
  overflow:hidden;
}

.pd-gallery-jf-strip{
  display:flex;
  gap:12px;
  overflow-x:auto;
  padding-bottom:4px;
  scroll-behavior:smooth;
  scrollbar-width:none;
}

.pd-gallery-jf-strip::-webkit-scrollbar{
  display:none;
}

.pd-gallery-jf-thumb{
  position:relative;
  flex:0 0 138px;
  width:138px;
  height:92px;
  border:0;
  padding:0;
  border-radius:16px;
  overflow:hidden;
  background:#ddd;
  cursor:pointer;
  outline:2px solid transparent;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    outline-color .2s ease;
}

.pd-gallery-jf-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pd-gallery-jf-thumb:hover{
  transform:translateY(-2px);
}

.pd-gallery-jf-thumb.is-active{
  outline-color:#f59e0b;
  box-shadow:0 0 0 4px rgba(245,158,11,.16);
}

.pd-gallery-jf-badge{
  position:absolute;
  inset:auto 8px 8px auto;
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  font-size:11px;
  font-weight:800;
  color:#fff;
  background:rgba(15,23,42,.78);
}

/* =========================================
   GALLERY NAV
========================================= */

.pd-gallery-jf-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:18px;
  direction:ltr;
}

.pd-gallery-jf-arrow{
  width:56px;
  height:56px;
  border-radius:999px;
  border:2px solid #f59e0b;
  background:#fff;
  color:#f59e0b;
  display:grid;
  place-items:center;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,23,42,.12);
  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}

.pd-gallery-jf-arrow:hover{
  transform:translateY(-2px);
  background:#f59e0b;
  color:#fff;
}

.pd-gallery-jf-arrow:disabled,
.pd-gallery-jf-arrow.is-disabled{
  opacity:.35;
  cursor:not-allowed;
  pointer-events:none;
  background:#fff;
  color:#f59e0b;
  border-color:rgba(245,158,11,.28);
  box-shadow:none;
  transform:none;
}
/* =========================================
   VIEWER
========================================= */

.pdViewer{
  position:fixed;
  inset:0;
  z-index:9999;
  opacity:0;
  visibility:hidden;
  transition:opacity .25s ease, visibility .25s ease;
}

.pdViewer.is-open{
  opacity:1;
  visibility:visible;
}

.pdViewer-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.2);
  backdrop-filter:none;
  -webkit-backdrop-filter:blur(12px);
}

.pdViewer-shell{
  position:relative;
  width:min(96vw, 1420px);
  height:min(94vh, 1100px);
  margin:3vh auto;
  border-radius:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:rgba(17,24,39,.98);
}

.pdViewer-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  color:#fff;
}

.pdViewer-close{
  border:0;
  background:transparent;
  color:#fff;
  cursor:pointer;
}

.pdViewer-topActions{
  display:flex;
  align-items:center;
  gap:10px;
}

.pdViewer-iconBtn{
  min-width:42px;
  width:56px;
  height:56px;
  padding:0;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:
    background .2s ease,
    transform .2s ease,
    border-color .2s ease,
    opacity .2s ease;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.pdViewer-iconBtn:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.22);
  transform:translateY(-1px);
}

.pdViewer-iconBtn:active{
  transform:translateY(0);
}

.pdViewer-favBtn.is-active{
  color:#ff6b81;
  border-color:rgba(255,107,129,.38);
  background:rgba(255,107,129,.14);
}

.pdViewer-fsBtn{
  font-size:18px;
  line-height:1;
}

/* =========================================
   VIEWER STAGE
========================================= */

.pdViewer-stageWrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  padding:0;
}

.pdViewer-stage{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
}

.pdViewer-stage img,
.pdViewer-stage video{
  display:block;
  max-width:min(100vw, 1400px);
  max-height:calc(94vh - 190px);
  width:auto;
  height:auto;
}


.pdViewer-stage img{
  object-fit:cover;
  transition:transform .18s ease;
  transform-origin:center center;
  will-change:transform;
}

.pdViewer-stage video{
  object-fit:contain;
  background:#000;
}

.pdViewer-stage.is-zoomed img{
  cursor:grab;
}

.pdViewer-stage img.is-dragging{
  cursor:grabbing;
}

/* =========================================
   VIEWER BOTTOM THUMBS
========================================= */

.pdViewer-bottomBar{
  padding:12px 18px 18px;
}

.pdViewer-thumbs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  scrollbar-width:none;
}

.pdViewer-thumbs::-webkit-scrollbar{
  display:none;
}

.pdViewer-thumb{
  position:relative;
  flex:0 0 92px;
  width:92px;
  height:68px;
  border:0;
  border-radius:12px;
  overflow:hidden;
  padding:0;
  cursor:pointer;
  outline:2px solid transparent;
}

.pdViewer-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.pdViewer-thumb.is-active{
  outline-color:#fff;
}

.pdViewer-thumb .is-video-badge{
  position:absolute;
  inset:auto 6px 6px auto;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
  color:#fff;
  background:rgba(15,23,42,.78);
  border:1px solid rgba(255,255,255,.12);
}

/* =========================================
   VIEWER SIDE ARROWS
========================================= */

.pdViewer-arrow--edge{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(17,24,39,.42);
  color:#fff;
  display:grid;
  place-items:center;
  cursor:pointer;
  z-index:3;
}

.pdViewer-arrow.prev{
  left:18px;
}

.pdViewer-arrow.next{
  right:18px;
}

/* =========================================
   FULLSCREEN
========================================= */

.pdViewer-shell:fullscreen,
.pdViewer-shell:-webkit-full-screen{
  width:100vw;
  height:100vh;
  max-width:none;
  max-height:none;
  margin:0;
  border-radius:0;
  background:#02060d;
  overflow:hidden;
}

.pdViewer-shell:fullscreen .pdViewer-stageWrap,
.pdViewer-shell:-webkit-full-screen .pdViewer-stageWrap{
  width:100%;
  height:100%;
  padding:20px 44px 14px;
}

.pdViewer-shell:fullscreen .pdViewer-stage,
.pdViewer-shell:-webkit-full-screen .pdViewer-stage{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.pdViewer-shell:fullscreen .pdViewer-stage img,
.pdViewer-shell:-webkit-full-screen .pdViewer-stage img{
  max-width:96vw;
  max-height:calc(100vh - 180px);
  width:auto;
  height:auto;
  object-fit:contain;
}

.pdViewer-shell:fullscreen .pdViewer-stage video,
.pdViewer-shell:-webkit-full-screen .pdViewer-stage video{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  background:#000;
  transform:none !important;
}

/* native fullscreen for video itself */
video:fullscreen,
video:-webkit-full-screen{
  width:100vw !important;
  height:100vh !important;
  max-width:100vw !important;
  max-height:100vh !important;
  object-fit:contain !important;
  background:#000 !important;
}


/* === FORCE MAIN GALLERY TO FILL WITHOUT GAPS === */


.pd-gallery-jf-main > img{

  display:block;
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
  flex:0 0 100%;
}
.pd-gallery-jf-main > video{
  display:block;
  width:100%;
  height:100%;
  min-width:100%;
  max-height:none;
  object-fit:contain;
  object-position:center center;
  background:transparent;
  padding:0;
  margin:0;
  border-radius:0;
  flex:0 0 100%;
}

/* كل الحالات تملى البوكس */
.pd-gallery-jf-main.is-portrait > img,
.pd-gallery-jf-main.is-square > img,
.pd-gallery-jf-main.is-landscape > img,
.pd-gallery-jf-main.is-video > img{
  width:100% !important;
  height:100% !important;
  min-width:100% !important;
  min-height:100% !important;
  max-width:none !important;
  max-height:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;
  border-radius:0 !important;
}


/* =========================================
   AI DESCRIPTION / SMART FEATURES
========================================= */

.pd-section-card--desc{
  padding:32px;
  background:
    radial-gradient(circle at top right, rgba(255,183,3,.06), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fafb);
}

.pd-desc-ai{
  max-width:960px;
}

.pd-desc-lead{
  margin:0 0 18px;
  color:#0f172a;
  font-size:1.12rem;
  font-weight:800;
  line-height:2;
  letter-spacing:-.01em;
}

.pd-desc-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 20px;
}

.pd-desc-chip{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,183,3,.10);
  border:1px solid rgba(255,183,3,.18);
  color:#92400e;
  font-size:.92rem;
  font-weight:900;
  line-height:1;
}

.pd-desc-summary{
  margin:0 0 22px;
  padding:20px 22px;
  border-radius:22px;
  background:linear-gradient(180deg, #fffdf7, #fffaf0);
  border:1px solid rgba(255,183,3,.12);
  box-shadow:0 10px 26px rgba(15,23,42,.04);
}

.pd-desc-summary-title{
  margin-bottom:12px;
  color:#0f172a;
  font-size:.95rem;
  font-weight:900;
  letter-spacing:.02em;
}

.pd-desc-bullets{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.pd-desc-bullets li{
  position:relative;
  padding-inline-start:22px;
  color:#334155;
  font-size:1.25rem;
  line-height:1.9;
}

.pd-desc-bullets li::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:.82em;
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(180deg, #ffd15f 0%, var(--pd-accent) 100%);
  box-shadow:0 0 0 5px rgba(255,183,3,.10);
  transform:translateY(-50%);
}

.pd-desc-body{
  color:#475569;
}

.pd-desc-body p{
  margin:0 0 16px;
  font-size:1.02rem;
  line-height:2.02;
}

.pd-desc-body p:last-child{
  margin-bottom:0;
}

.pd-desc-body.is-collapsed{
  display:-webkit-box;
  -webkit-line-clamp:5;
  -webkit-box-orient:vertical;
  overflow:hidden;
  position:relative;
}

.pd-desc-body.is-collapsed::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:72px;
  background:linear-gradient(180deg, rgba(255,255,255,0), #fff 82%);
  pointer-events:none;
}

.pd-read-more{
  appearance:none;
  border:0;
  outline:0;
  margin-top:16px;
  padding:0;
  background:transparent;
  color:#a16207;
  font-size:.95rem;
  font-weight:900;
  cursor:pointer;
  transition:opacity .2s ease, transform .2s ease;
}

.pd-read-more:hover{
  opacity:.8;
  transform:translateY(-1px);
}

@media (max-width: 768px){
  .pd-section-card--desc{
    padding:24px 18px;
  }

  .pd-desc-lead{
    font-size:1.02rem;
    line-height:1.95;
  }

  .pd-desc-chip{
    min-height:36px;
    padding:8px 12px;
    font-size:.86rem;
  }

  .pd-desc-summary{
    padding:16px;
    border-radius:18px;
  }

  .pd-desc-body p{
    font-size:.97rem;
    line-height:1.95;
  }
}

/* =========================================
   JUFFALI GALLERY — MOBILE FINAL
========================================= */
@media (max-width: 768px){

  .pd-media.pd-media--juffali{
    padding:18px;
    border-radius:22px;
    margin-top:20px;
  }

  .pd-section-head--media.pd-section-head--juffali{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    margin-bottom:16px;
  }

  .pd-section-head--media.pd-section-head--juffali > div:first-child{
    width:100%;
  }

  .pd-gallery-heading{
    margin:0;
    font-size:1.08rem;
    line-height:1.5;
    letter-spacing:-.02em;
    word-break:break-word;
  }

  .pd-head-actions.pd-head-actions--media{
    width:100%;
    display:grid;
   grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .pd-btn-media{
    width:100%;
    min-height:50px;
    padding:0 16px;
    justify-content:center;
    border-radius:16px;
    font-size:.92rem;
  }

  .pd-btn-media span small{
    font-size:.82em;
  }

  .pd-gallery-jf{
    width:100%;
  }

  .pd-gallery-jf-main{
    width:100%;
    aspect-ratio:4 / 3;
    border-radius:18px;
    overflow:hidden;
    background:#edf1f5;
  }

  .pd-gallery-jf-main img,
  .pd-gallery-jf-main video{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center;
    background:#edf1f5;
  }

  .pd-gallery-jf-main.is-video img{
    object-fit:cover;
  }

  .pd-gallery-jf-overlay{
    border-radius:inherit;
  }

  .pd-gallery-jf-play{
    width:58px;
    height:58px;
    border-radius:999px;
    font-size:1rem;
  }

  .pd-gallery-jf-stripWrap{
    margin-top:12px;
    overflow:hidden;
  }

  .pd-gallery-jf-strip{
    display:flex;
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding:2px 2px 6px;
    scrollbar-width:none;
  }

  .pd-gallery-jf-strip::-webkit-scrollbar{
    display:none;
  }

  .pd-gallery-jf-thumb{
    flex:0 0 104px;
    width:104px;
    height:72px;
    border-radius:14px;
    overflow:hidden;
  }

  .pd-gallery-jf-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .pd-gallery-jf-thumb.is-active{
    transform:none;
  }

  .pd-gallery-jf-badge{
    inset-inline-start:6px;
    inset-inline-end:auto;
    bottom:6px;
    min-height:22px;
    padding:0 7px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
  }

  [dir="rtl"] .pd-gallery-jf-badge{
    inset-inline-start:auto;
    inset-inline-end:6px;
  }

  .pd-gallery-jf-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-top:14px;
  }

  .pd-gallery-jf-arrow{
    width:46px;
    height:46px;
    min-width:46px;
    border-radius:999px;
    flex:0 0 46px;
  }

  .pd-gallery-jf-arrow svg{
    width:21px;
    height:21px;
  }
}

/* =========================================
   JUFFALI GALLERY — TABLET
========================================= */
@media (min-width: 769px) and (max-width: 1024px){

  .pd-media.pd-media--juffali{
    padding:22px;
    border-radius:24px;
  }

  .pd-section-head--media.pd-section-head--juffali{
    gap:16px;
  }

  .pd-head-actions.pd-head-actions--media{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
  }

  .pd-btn-media{
    min-height:52px;
    padding:0 18px;
  }

  .pd-gallery-jf-main{
    border-radius:20px;
  }

  .pd-gallery-jf-thumb{
    flex:0 0 122px;
    width:122px;
    height:82px;
    border-radius:15px;
  }

  .pd-gallery-jf-nav{
    margin-top:16px;
  }

  .pd-gallery-jf-arrow{
    width:50px;
    height:50px;
  }

  .pd-gallery-jf-arrow svg{
    width:24px;
    height:24px;
  }
}



@media (max-width: 768px){
  .pdViewer{
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100dvh !important;
    z-index:999999 !important;
  }

  .pdViewer-backdrop{
    position:absolute !important;
    inset:0 !important;
    background:rgba(11,18,32,.82) !important;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }

  .pdViewer-shell{
    position:relative !important;
    width:100vw !important;
    height:100dvh !important;
    margin:0 !important;
    border-radius:0 !important;
    inset:auto !important;
    max-width:none !important;
    max-height:none !important;
    overflow:hidden !important;
    background:rgba(15,23,42,.98) !important;
  }
}

@media (max-width: 768px){
  .pdViewer-topbar{
    padding:
      calc(6px + env(safe-area-inset-top))
      8px
      6px !important;
    gap:6px !important;
  }

  .pdViewer-close,
  .pdViewer-count,
  .pdViewer-iconBtn{
    min-height:34px !important;
    height:34px !important;
  }

  .pdViewer-close{
    padding:0 10px !important;
    font-size:.82rem !important;
  }

  .pdViewer-count{
    padding:0 10px !important;
    font-size:.82rem !important;
  }

  .pdViewer-iconBtn{
    width:34px !important;
    min-width:34px !important;
    height:34px !important;
    font-size:.82rem !important;
  }
}

@media (max-width: 768px){
  .pdViewer-stageWrap{
    padding:6px 6px 8px !important;
  }

  .pdViewer-stage{
    border-radius:12px !important;
    background:rgba(17,24,39,.98) !important;
  }

  .pdViewer-stage img,
  .pdViewer-stage video{
    max-width:100% !important;
    max-height:calc(100dvh - 132px) !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
  }

  .pdViewer-arrow{
    width:38px !important;
    height:38px !important;
    font-size:1rem !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    background:rgba(15,23,42,.55) !important;
  }

  .pdViewer-arrow.prev{ left:6px !important; }
  .pdViewer-arrow.next{ right:6px !important; }

  [dir="rtl"] .pdViewer-arrow.prev{
    left:auto !important;
    right:6px !important;
  }

  [dir="rtl"] .pdViewer-arrow.next{
    right:auto !important;
    left:6px !important;
  }
}

/* =========================
   FIX CLOSE BUTTON VISIBILITY
========================= */

.pdViewer-close{
  color:#fff !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.pdViewer-close span{
  color:#fff !important;
}

/* Hover أحلى */
.pdViewer-close:hover{
  background:rgba(255,255,255,.16) !important;
  border-color:rgba(255,255,255,.28) !important;
}

/* نسخة أوضح للموبايل */
@media (max-width: 768px){
  .pdViewer-close{
    background:rgba(0,0,0,.55) !important;
    border:1px solid rgba(255,255,255,.22) !important;
  }
}

.pdViewer-close{
  background:rgba(15,23,42,.6) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.15) !important;
}


/* =========================
   FIX VIEWER CLOSE BUTTON
========================= */
.pdViewer-close{
  appearance:none !important;
  -webkit-appearance:none !important;
  position:absolute !important;
  top:12px !important;
  inset-inline-end:12px !important;
  inset-inline-start:auto !important;
  z-index:20 !important;

  width:44px !important;
  height:44px !important;
  min-height:44px !important;
  padding:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border:0 !important;
  border-radius:999px !important;
  background:rgba(0,0,0,.18) !important;
  color:#fff !important;
  box-shadow:none !important;
  backdrop-filter:blur(8px) !important;
  -webkit-backdrop-filter:blur(8px) !important;
  cursor:pointer !important;
}

.pdViewer-close span{
  display:block !important;
  color:#fff !important;
  font-size:30px !important;
  line-height:1 !important;
  font-weight:300 !important;
  text-shadow:
    0 2px 10px rgba(0,0,0,.75),
    0 0 2px rgba(0,0,0,.65) !important;
}

.pdViewer-close:hover{
  background:rgba(0,0,0,.28) !important;
  transform:none !important;
}

.pdViewer-topbar{
  position:relative !important;
  padding-inline-end:64px !important;
}

[dir="rtl"] .pdViewer-close{
  inset-inline-end:12px !important;
  inset-inline-start:auto !important;
}

@media (max-width: 768px){
  .pdViewer-close{
    top:10px !important;
    inset-inline-end:10px !important;
    width:40px !important;
    height:40px !important;
    min-height:40px !important;
  }

  .pdViewer-close span{
    font-size:26px !important;
  }

  .pdViewer-topbar{
    padding-inline-end:56px !important;
  }
}