body.theme-pro {
  background: #fff;
  color: var(--text);
}
body.has-cta {
  padding-bottom: 92px;
}

/* Intro block */
.content-block.container .h2 {
  color: #0069c8;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-align: center;
}
.content-block.container .lead {
  color: #344256;
  line-height: 1.9;
  background: #f8fafc;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 8px;
}

.categories {
  padding-top: 48px !important;
}
.categories .categories-title {
  margin-bottom: 20px;
}

/* FAQ (details/summary) */
.faq-item {
  background: #f8fafc;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #0069c8;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-inline-start: auto;
  color: #117bc7;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}
.faq-item .answer {
  color: #334155;
  line-height: 1.9;
  padding-top: 8px;
  border-top: 1px solid #e6eef5;
  margin-top: 8px;
}

/* Read More panel*/
.readmore-section.container {
  margin-bottom: 10px;
}
.readmore-bar {
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 22px rgba(0, 105, 200, 0.18);
}
.readmore-content {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 0 16px;
  color: #344256;
}
.readmore-content p {
  margin: 0 0 12px;
}
.readmore-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.3s ease;
  padding: 0 16px;
}
.readmore-content.open {
  max-height: 2200px;
  padding: 16px;
}

/* Breadcrumbs*/
.breadcrumbs a {
  border-bottom: 1px dashed rgba(56, 189, 248, 0.35);
}

/* Buttons/links consistency */
.cat-link {
  border-bottom-width: 2px;
  font-weight: 800;
}

/* Small spacing polish */
.content-block.container {
  padding-top: 20px;
}
.cta-bar {
  position: fixed;
  inset-inline: 16px;
  inset-block-end: 16px;
  z-index: 60;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}
.cta-bar__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #0069c8, #004a8f);
  text-decoration: none;
}
.cta-bar__btn.cta-alt {
  background: #13b07b;
}
@media (max-width: 520px) {
  .cta-bar {
    inset-inline: 10px;
  }
}
.specs {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 12px;
}
.specs > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed #e6eef5;
  border-radius: 10px;
  background: #f9fbfd;
}
.specs span {
  color: #617486;
}
.specs strong {
  color: #1d2b36;
}
@media (max-width: 640px) {
  .specs {
    grid-template-columns: 1fr;
  }
}
.swatches {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 8px;
}
.swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e6eef5;
  padding: 8px 10px;
  border-radius: 10px;
  color: #334155;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c);
}
.packs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pack {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 10px;
  padding: 8px 10px;
  color: #334155;
  font-weight: 700;
}
.swatch .dot {
  flex: 0 0 18px;
}
.swatch {
  align-items: center;
}

.product-details {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.product-details .section-title {
  margin-bottom: 20px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #0069c8;
  text-align: center;
}

.product-details .seg-col {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 12px;
  padding: 18px;
}
.product-details .seg-col .h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1d2b36;
}
/* Center page header title (and breadcrumb) */
.page-header__inner {
  display: flex;
  justify-content: center;
}
.page-header__text {
  text-align: center;
  margin-inline: auto;
  max-width: 900px;
}
.page-header__text h1 {
  margin: 0 0 8px;
}
.page-header .breadcrumbs {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
/* Gradient background for Page Header */
.page-header {
  background: linear-gradient(135deg, #004a8f 0%, #0069c8 100%);
  color: #fff;
  padding: 60px 20px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Card hover */
.cat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 28px rgba(0, 105, 200, 0.25);
}

/* FAQ smooth expand */
.faq-item {
  transition: all 0.3s ease;
}
.faq-item[open] {
  background: #eef6fc;
  border-color: #b3dcff;
}

/* Shine animation */
.cat-media img {
  position: relative;
  overflow: hidden;
}
.cat-media img::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
}
.cat-card:hover .cat-media img::after {
  left: 125%;
  transition: left 0.75s ease;
}
/*  */
/* ===== Headline Icons + Gradient Dividers ===== */

/* Product Details */
.product-details .section-title {
  position: relative;
  padding-top: 2px;
}
.product-details .section-title::before {
  content: "\f0ca"; /* list icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #0069c8;
  margin-inline-end: 10px;
}
.product-details .section-title::after {
  content: "";
  display: block;
  width: min(180px, 50%);
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #0069c8 0%,
    rgba(0, 105, 200, 0.65) 55%,
    rgba(0, 105, 200, 0) 100%
  );
}

/* FAQ */
.seg-faq .h2 {
  position: relative;
  padding-top: 2px;
}
.seg-faq .h2::before {
  content: "\f059"; /* circle-question */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #0069c8;
  margin-inline-end: 10px;
}
.seg-faq .h2::after {
  content: "";
  display: block;
  width: min(180px, 50%);
  height: 3px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #0069c8 0%,
    rgba(0, 105, 200, 0.65) 55%,
    rgba(0, 105, 200, 0) 100%
  );
}
/* ===== CTA Pulse/Glow ===== */
.cta-bar__btn {
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 105, 200, 0.22);
}
.cta-bar__btn:hover {
  transform: translateY(-1px);
  animation: cta-pulse 1.2s ease-out 1;
  box-shadow: 0 12px 28px rgba(0, 105, 200, 0.32);
  filter: saturate(1.05);
}
@keyframes cta-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 105, 200, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 105, 200, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 105, 200, 0);
  }
}

.cta-bar__btn.cta-alt {
  box-shadow: 0 8px 18px rgba(19, 176, 123, 0.22);
}
.cta-bar__btn.cta-alt:hover {
  animation: cta-pulse-green 1.2s ease-out 1;
  box-shadow: 0 12px 28px rgba(19, 176, 123, 0.32);
}
@keyframes cta-pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(19, 176, 123, 0.35);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(19, 176, 123, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(19, 176, 123, 0);
  }
}

.cta-bar__btn:focus-visible {
  outline: 3px solid rgba(0, 105, 200, 0.5);
  outline-offset: 2px;
}

:root {
  --grad-en: linear-gradient(135deg, #0288d1 0%, #005fa3 100%);
  --grad-ar: linear-gradient(135deg, #003970 0%, #0a4f95 100%);
  --text: #0b1220;
  --bg: #fff;
  --muted: #dfe6ee;
  --ring: #3b82f6;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6edf6;
    --bg: #0b1220;
    --muted: #2c3545;
    --grad-en: linear-gradient(135deg, #2d7ef0 0%, #1153c6 100%);
    --grad-ar: linear-gradient(135deg, #1a4f8f 0%, #0e3566 100%);
  }
}

/* تنسيق الشريط */
.readmore-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--muted);
  border-radius: 12px;
  background: #f7fafc;
  cursor: pointer;
  user-select: none;
}
.readmore-bar .fa-chevron-down {
  margin-inline-start: 8px;
}

/* مجموعة الأزرار (Pills) */
.lang-toggle.skin--insection {
  display: flex;
  gap: 8px;
}
.lang-toggle.skin--insection .lang-btn {
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--muted);
  background: color-mix(in oklab, #000 3%, var(--bg));
  color: var(--text);
  font: 600 13.5px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.06s;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.lang-toggle.skin--insection .lang-btn:hover {
  background: color-mix(in oklab, #000 6%, var(--bg));
  border-color: color-mix(in oklab, var(--muted) 70%, #0288d1);
}
.lang-toggle.skin--insection .lang-btn:active {
  transform: translateY(1px);
}

/* المفعّل بمتدرّج */
.lang-toggle.skin--insection .lang-btn.is-active[data-lang="en"] {
  background: var(--grad-en);
  border-color: transparent;
  color: #fff;
}
.lang-toggle.skin--insection .lang-btn.is-active[data-lang="ar"] {
  background: var(--grad-ar);
  border-color: transparent;
  color: #fff;
}

/* فوكس واضح ولمعان خفيف */
.lang-toggle.skin--insection .lang-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 35%, transparent);
}
.lang-toggle.skin--insection .lang-btn.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0) 30%
  );
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.2s;
}
.lang-toggle.skin--insection .lang-btn.is-active:hover::after,
.lang-toggle.skin--insection .lang-btn.is-active:focus-visible::after {
  opacity: 0.25;
}

#readmore-wp[dir="rtl"] .readmore-bar {
  direction: ltr;
}
#readmore-wp[dir="rtl"] .lang-toggle .lang-btn {
  direction: rtl;
}

@media (max-width: 380px) {
  .lang-toggle.skin--insection .lang-btn {
    min-height: 38px;
    padding: 0.4rem 0.7rem;
    font-size: 12.5px;
  }
}

