:root {
  --detail-navy: #0d4f8b;
  --detail-blue: #218fd2;
  --detail-orange: #f28c18;
  --detail-green: #139b62;
  --detail-bg: #f4f8fc;
}
body {
  font-family: "Tajawal", sans-serif;
  text-align: right;
  background: var(--detail-bg);
}
body.parapharmacie-pack-page {
  --detail-navy: #075a55;
  --detail-blue: #1ab69d;
  --detail-green: #0b8a58;
  --detail-bg: #f2fbf9;
}
html[dir="ltr"] body {
  font-family: "Inter", sans-serif;
  text-align: left;
}
html[dir="ltr"] .included-list li {
  padding-right: 0;
  padding-left: 25px;
}
html[dir="ltr"] .included-list li::before {
  right: auto;
  left: 0;
}
html[dir="ltr"] .why-item {
  border-right: 0;
  border-left: 4px solid var(--detail-color, #1169b0);
}
html[dir="ltr"] .choice-steps li {
  padding: 13px 10px 13px 44px;
  text-align: left;
}
html[dir="ltr"] .choice-steps li::before {
  right: auto;
  left: 10px;
}
html[dir="ltr"] .choice-steps li:not(:last-child)::after {
  right: auto;
  left: -9px;
}
.detail-nav,
.detail-nav .container {
  height: 70px;
}
.detail-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.detail-brand {
  direction: ltr;
  color: var(--text-dark);
  font-family: Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.detail-brand span {
  color: var(--primary);
}
.detail-hero {
  padding: 58px 0 74px;
  color: #fff;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(255, 255, 255, 0.17),
      transparent 24%
    ),
    linear-gradient(135deg, var(--detail-navy), var(--detail-color, #1169b0));
}
.detail-hero .container {
  max-width: 930px;
}
.detail-kicker {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-weight: 800;
}
.detail-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.25rem);
}
.detail-hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
}
.detail-price-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 19px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 25px rgba(0, 0, 0, 0.16);
}
.detail-price-card strong {
  display: block;
  color: var(--detail-navy);
  font-size: 1.06rem;
}
.detail-price-card span {
  color: var(--text-muted);
}
.detail-price {
  direction: ltr;
  color: var(--detail-color, #1169b0);
  font-family: Arial, sans-serif;
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1;
}
.detail-price small {
  font-family: "Tajawal", sans-serif;
  font-size: 0.9rem;
}
.detail-main {
  padding: 42px 0 60px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}
.detail-card {
  padding: 26px;
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}
.detail-card h2 {
  margin: 0 0 10px;
  color: var(--detail-navy);
  font-size: 1.65rem;
}
.detail-card p {
  margin-bottom: 0;
}
.included-list {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.included-list li {
  position: relative;
  padding-right: 25px;
}
.included-list li::before {
  position: absolute;
  right: 0;
  color: var(--detail-green);
  content: "✓";
  font-weight: 800;
}
.why-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.why-item {
  padding: 13px;
  background: #f7fbfe;
  border-right: 4px solid var(--detail-color, #1169b0);
  border-radius: 8px;
}
.why-item strong {
  display: block;
  color: var(--detail-navy);
}
.fit-card {
  margin-top: 22px;
  padding: 25px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--detail-navy),
    var(--detail-color, #218fd2)
  );
  border-radius: 17px;
}
.fit-card h2,
.fit-card p {
  color: #fff;
}
.fit-card h2 {
  margin: 0 0 7px;
}
.fit-card strong {
  color: #ffe1a3;
}
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.feature-detail {
  padding: 16px;
  background: #f7fbfe;
  border: 1px solid #dce6f0;
  border-radius: 11px;
}
.feature-detail h3 {
  margin: 0 0 5px;
  color: var(--detail-navy);
  font-size: 1.06rem;
}
.feature-detail p {
  margin: 0;
  line-height: 1.45;
}
.compare-card {
  margin-top: 22px;
  padding: 26px;
  color: #fff;
  background: linear-gradient(135deg, #0d4f8b, #1169b0);
  border-radius: 17px;
}
.compare-card h2,
.compare-card p {
  color: #fff;
}
.compare-card h2 {
  margin: 0 0 7px;
}
.compare-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.compare-list a {
  display: block;
  padding: 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}
.faq-section {
  margin-top: 22px;
}
.faq-section h2 {
  margin-bottom: 14px;
  color: var(--detail-navy);
  font-size: 1.75rem;
}
.faq-section details {
  margin-bottom: 10px;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 11px;
}
.faq-section summary {
  color: var(--detail-navy);
  cursor: pointer;
  font-weight: 800;
}
.faq-section details p {
  margin: 10px 0 0;
}
.deployment-card {
  margin-top: 22px;
  padding: 26px;
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 17px;
  box-shadow: var(--shadow-sm);
}

.deployment-guide {
  margin-top: 20px;
  text-align: center;
}

.deployment-guide a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  color: var(--detail-navy);
  background: #fff;
  border: 1px solid #cbdce9;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

.deployment-guide a:hover {
  color: #fff;
  background: var(--detail-color, #1169b0);
  border-color: var(--detail-color, #1169b0);
}
.deployment-card h2 {
  margin: 0 0 8px;
  color: var(--detail-navy);
  font-size: 1.65rem;
}
.deployment-card > p {
  margin: 0;
}
.deployment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.deployment-option,
.deployment-option:visited {
  display: block;
  padding: 17px;
  color: var(--text-main);
  background: #f7fbfe;
  border: 1px solid #dce6f0;
  border-radius: 11px;
  text-decoration: none !important;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.deployment-option:hover {
  color: var(--text-main);
  text-decoration: none !important;
  border-color: var(--detail-color, #1169b0);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.deployment-option strong {
  display: block;
  margin-bottom: 5px;
  color: var(--detail-navy);
  font-size: 1.08rem;
}
.deployment-option p {
  margin: 0;
  line-height: 1.45;
}
.deployment-option.online {
  border-color: #f3d6a5;
  background: #fff9ef;
}
.deployment-option.online strong {
  color: #ad6300;
}
.deployment-option.online:hover {
  border-color: #e89d2a;
}
.choice-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.choice-steps li {
  position: relative;
  min-height: 74px;
  padding: 13px 44px 13px 10px;
  color: #145f45;
  text-align: right;
  background: #f4fbf7;
  border: 1px solid #cfe9db;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.45;
}
.choice-steps li::before {
  position: absolute;
  top: 50%;
  right: 10px;
  display: grid;
  width: 25px;
  height: 25px;
  color: #fff;
  content: counter(list-item);
  background: linear-gradient(135deg, #149567, #0c704c);
  border-radius: 50%;
  place-items: center;
  transform: translateY(-50%);
}
.choice-steps li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 1;
  width: 7px;
  height: 7px;
  content: "";
  background: #74c8a4;
  border-radius: 50%;
  transform: translateY(-50%);
}
.demo-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 26px;
  padding: 28px 32px;
  color: #fff;
  background: linear-gradient(135deg, #0f754d, #16956b);
  border-radius: 17px;
}
.demo-panel h2,
.demo-panel p {
  color: #fff;
}
.demo-panel h2 {
  margin: 0 0 6px;
}
.demo-panel .btn {
  min-height: 50px;
  color: #126b48;
  background: #fff;
}
.sticky-detail-cta {
  display: none;
}
@media (max-width: 768px) {
  body {
    padding-bottom: 82px;
  }
  .detail-hero {
    padding: 42px 0 56px;
  }
  .detail-price-card,
  .detail-grid,
  .demo-panel,
  .feature-detail-grid,
  .deployment-grid {
    grid-template-columns: 1fr;
  }
  .detail-price-card {
    text-align: center;
  }
  .detail-price {
    font-size: 3rem;
  }
  .detail-main {
    padding: 24px 0 40px;
  }
  .detail-card,
  .fit-card,
  .compare-card,
  .deployment-card {
    padding: 22px 18px;
  }
  .compare-list {
    grid-template-columns: 1fr;
  }
  .choice-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .choice-steps li {
    min-height: 58px;
  }
  .choice-steps li:not(:last-child)::after {
    top: auto;
    bottom: -8px;
    right: 50%;
    width: 2px;
    height: 6px;
    border-radius: 0;
    transform: translateX(50%);
  }
  .demo-panel {
    padding: 25px 20px;
    text-align: center;
  }
  .sticky-detail-cta {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dce6f0;
    box-shadow: 0 -8px 24px rgba(8, 47, 90, 0.12);
  }
  .sticky-detail-cta .btn {
    min-height: 46px;
    padding: 10px 8px;
    font-size: 0.9rem;
  }
}
