/* Salam Baba Product Review CSS - compatible with full HTML body fragments
   Put this file at: /price/assets/css/sb-product-review-compatible.css
   Then import it from phase43-product-entity.css.
   All selectors are scoped under .p43-description-body so product tabs, variants, reviews and Q&A do not break.
*/

/* Keep short and long descriptions stacked. A full review must not be squeezed into a half column. */
.p43-desc-grid{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:18px !important;
}
.p43-desc-grid > article{
  width:100% !important;
  max-width:100% !important;
}

/* Base wrapper for the HTML fragment saved in product description */
.p43-description-body .page{
  --sb-blue:#2563eb;
  --sb-red:#ef4444;
  --sb-green:#16a34a;
  --sb-yellow:#f59e0b;
  --ink:#0f172a;
  --muted:#64748b;
  --soft:#f8fafc;
  --line:#e2e8f0;
  --card:#ffffff;
  --shadow:0 24px 70px rgba(15,23,42,.12);
  --radius:26px;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:18px;
  direction:rtl;
  color:var(--ink);
  line-height:1.95;
  font-family:inherit;
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.12), transparent 35%),
    radial-gradient(circle at top left, rgba(245,158,11,.13), transparent 32%),
    linear-gradient(180deg,#fff 0%,#f8fafc 48%,#eef2f7 100%);
  border-radius:26px;
  overflow:hidden;
  isolation:isolate;
}
.p43-description-body .page *,
.p43-description-body .page *::before,
.p43-description-body .page *::after{
  box-sizing:border-box;
}
.p43-description-body .page a{
  color:inherit;
  text-decoration:none;
}

/* Top bar */
.p43-description-body .page .topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
  margin-bottom:22px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(226,232,240,.95);
  border-radius:22px;
  box-shadow:0 10px 30px rgba(15,23,42,.07);
  position:relative;
  top:auto;
  z-index:2;
}
.p43-description-body .page .logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:-.5px;
  font-size:22px;
  white-space:nowrap;
}
.p43-description-body .page .logo-mark{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  overflow:hidden;
  box-shadow:0 12px 24px rgba(15,23,42,.12);
  transform:rotate(45deg);
  flex:0 0 auto;
}
.p43-description-body .page .logo-mark span:nth-child(1){background:var(--sb-blue)}
.p43-description-body .page .logo-mark span:nth-child(2){background:var(--sb-red)}
.p43-description-body .page .logo-mark span:nth-child(3){background:var(--sb-green)}
.p43-description-body .page .logo-mark span:nth-child(4){background:var(--sb-yellow)}
.p43-description-body .page .logo-text span:nth-child(1){color:var(--sb-blue)}
.p43-description-body .page .logo-text span:nth-child(2){color:var(--sb-red)}
.p43-description-body .page .logo-text span:nth-child(3){color:var(--sb-green)}
.p43-description-body .page .logo-text span:nth-child(4){color:var(--sb-yellow)}
.p43-description-body .page .nav{
  display:flex;
  align-items:center;
  gap:8px;
  overflow:auto;
  scrollbar-width:none;
  padding-bottom:2px;
}
.p43-description-body .page .nav::-webkit-scrollbar{display:none}
.p43-description-body .page .nav a{
  color:#334155;
  font-size:13px;
  font-weight:800;
  background:#f1f5f9;
  border:1px solid #e2e8f0;
  padding:8px 12px;
  border-radius:999px;
  white-space:nowrap;
}

/* Hero */
.p43-description-body .page .hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:22px;
  align-items:stretch;
  margin:20px 0 26px;
}
.p43-description-body .page .hero-card{
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 52%,#334155 100%);
  color:#fff;
  border-radius:var(--radius);
  padding:34px;
  min-height:420px;
  position:relative;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.p43-description-body .page .hero-card::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(37,99,235,.55),transparent 65%);
  left:-90px;
  top:-80px;
}
.p43-description-body .page .hero-card::after{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(245,158,11,.35),transparent 62%);
  right:-80px;
  bottom:-80px;
}
.p43-description-body .page .hero-inner{position:relative;z-index:2}
.p43-description-body .page .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.16);
  color:#dbeafe;
  font-size:13px;
  font-weight:900;
  margin-bottom:18px;
}
.p43-description-body .page h1{
  margin:0 0 16px;
  font-size:clamp(28px,4vw,48px);
  line-height:1.35;
  letter-spacing:-1px;
  color:inherit;
}
.p43-description-body .page .hero-card p{
  color:#e2e8f0;
  font-size:16px;
  margin:0 0 24px;
  max-width:720px;
  text-align:right;
}
.p43-description-body .page .badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:24px 0 0;
}
.p43-description-body .page .badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 12px;
  border-radius:15px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  font-weight:900;
  font-size:13px;
}
.p43-description-body .page .tv-card{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(226,232,240,.95);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:26px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  position:relative;
}
.p43-description-body .page .tv-visual{
  aspect-ratio:16/10;
  border-radius:22px;
  background:
    linear-gradient(135deg,rgba(37,99,235,.95),rgba(15,23,42,.95)),
    radial-gradient(circle at 65% 25%, rgba(255,255,255,.9), transparent 28%);
  border:10px solid #111827;
  box-shadow:0 22px 45px rgba(15,23,42,.2);
  position:relative;
  display:grid;
  place-items:center;
  color:#fff;
  text-align:center;
  overflow:hidden;
}
.p43-description-body .page .tv-visual::before{
  content:"";
  position:absolute;
  inset:-30%;
  background:conic-gradient(from 90deg, rgba(255,255,255,.28), transparent, rgba(245,158,11,.25), transparent, rgba(22,163,74,.22));
  animation:sb-review-spin 10s linear infinite;
}
.p43-description-body .page .tv-visual strong{position:relative;z-index:2;font-size:30px;letter-spacing:.5px;color:#fff}
.p43-description-body .page .tv-visual small{position:relative;z-index:2;display:block;color:#dbeafe;margin-top:8px;font-size:14px}
@keyframes sb-review-spin{to{transform:rotate(360deg)}}
.p43-description-body .page .stand{
  width:44%;
  height:18px;
  background:#111827;
  margin:0 auto;
  border-radius:0 0 18px 18px;
  box-shadow:0 15px 30px rgba(15,23,42,.17);
}
.p43-description-body .page .mini-note{
  margin:22px 0 0;
  padding:16px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
  font-size:14px;
  font-weight:800;
}

/* Quick specs */
.p43-description-body .page .quick-specs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:26px 0;
}
.p43-description-body .page .spec{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow:0 14px 35px rgba(15,23,42,.06);
}
.p43-description-body .page .spec .icon{
  width:42px;
  height:42px;
  border-radius:15px;
  display:grid;
  place-items:center;
  margin-bottom:12px;
  font-size:20px;
  background:#eff6ff;
}
.p43-description-body .page .spec strong{display:block;font-size:15px;margin-bottom:3px;color:#0f172a}
.p43-description-body .page .spec span{color:var(--muted);font-size:13px}

/* Layout */
.p43-description-body .page .layout{
  display:grid;
  grid-template-columns:285px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.p43-description-body .page .toc{
  position:sticky;
  top:12px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
  box-shadow:0 16px 45px rgba(15,23,42,.06);
}
.p43-description-body .page .toc h2{margin:0 0 12px;font-size:17px;color:#0f172a}
.p43-description-body .page .toc a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:10px 12px;
  border-radius:14px;
  color:#334155;
  font-weight:900;
  font-size:13px;
}
.p43-description-body .page .toc a:hover{background:#f1f5f9;color:#0f172a}
.p43-description-body .page .content{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.p43-description-body .page .section{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:0 18px 48px rgba(15,23,42,.06);
  scroll-margin-top:110px;
}
.p43-description-body .page .section h2{
  margin:0 0 14px;
  font-size:clamp(21px,2.5vw,30px);
  line-height:1.45;
  letter-spacing:-.4px;
  color:#0f172a;
}
.p43-description-body .page .section p{
  margin:0;
  color:#334155;
  font-size:15.5px;
  text-align:justify;
}
.p43-description-body .page .section-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
}
.p43-description-body .page .section-title .num{
  width:38px;
  height:38px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:#eff6ff;
  color:var(--sb-blue);
  font-weight:900;
  flex:0 0 auto;
}
.p43-description-body .page .feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.p43-description-body .page .feature{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:16px;
}
.p43-description-body .page .feature strong{display:block;margin-bottom:4px;font-size:14px;color:#0f172a}
.p43-description-body .page .feature span{color:#64748b;font-size:13px;line-height:1.8}
.p43-description-body .page .verdict{
  background:linear-gradient(135deg,#ecfeff,#f0fdf4);
  border-color:#bbf7d0;
}
.p43-description-body .page .verdict-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:18px;
}
.p43-description-body .page .verdict-list div{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(187,247,208,.95);
  border-radius:18px;
  padding:14px;
  font-weight:900;
  color:#14532d;
  font-size:14px;
}
.p43-description-body .page .warning{
  background:#fffbeb;
  border:1px solid #fde68a;
  color:#92400e;
  border-radius:18px;
  padding:14px 16px;
  margin-top:18px;
  font-size:14px;
  font-weight:900;
}
.p43-description-body .page .cta{
  margin:22px 0 8px;
  padding:26px;
  border-radius:28px;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
  display:grid;
  grid-template-columns:1fr auto;
  gap:18px;
  align-items:center;
  box-shadow:0 24px 60px rgba(37,99,235,.25);
}
.p43-description-body .page .cta h2{margin:0 0 6px;font-size:24px;color:#fff}
.p43-description-body .page .cta p{margin:0;color:#dbeafe;text-align:right}
.p43-description-body .page .cta .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:16px;
  background:#fff;
  color:#1d4ed8;
  font-weight:900;
  white-space:nowrap;
}
.p43-description-body .page footer{
  text-align:center;
  color:#64748b;
  font-size:13px;
  padding:20px 0 8px;
}

@media(max-width:980px){
  .p43-description-body .page .hero{grid-template-columns:1fr}
  .p43-description-body .page .quick-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p43-description-body .page .layout{grid-template-columns:1fr}
  .p43-description-body .page .toc{position:relative;top:auto}
  .p43-description-body .page .feature-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .p43-description-body .page{padding:12px;border-radius:20px}
  .p43-description-body .page .topbar{align-items:flex-start;flex-direction:column;position:relative;top:auto}
  .p43-description-body .page .hero-card,
  .p43-description-body .page .tv-card,
  .p43-description-body .page .section,
  .p43-description-body .page .cta{border-radius:22px;padding:20px}
  .p43-description-body .page .quick-specs,
  .p43-description-body .page .feature-grid,
  .p43-description-body .page .verdict-list,
  .p43-description-body .page .cta{grid-template-columns:1fr}
  .p43-description-body .page .hero-card{min-height:auto}
  .p43-description-body .page .tv-visual strong{font-size:24px}
  .p43-description-body .page .nav{width:100%}
  .p43-description-body .page .cta .btn{width:100%}
}
