/* Single Product Course Styles
   Primary color: #0b387e
   Mobile-first, modern UI with RTL support */



:root {
  --brand: #0b387e;
  --brand-600: #0a316f;
  --text: #212529;
  --muted: #6c757d;
  --bg: #ffffff;
  --soft: rgba(11, 56, 126, 0.08);
  --border: #e5e7eb;
  --radius-2xl: 16px;
  --shadow-soft: 0 10px 24px rgba(0,0,0,.06);
}
.elementor-12 .elementor-element.elementor-element-0e932e7 img {
  max-width: 130px!important;
}
.site-main 
{
  max-width: 100% !important;
}

.brand { color: var(--brand); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary:hover { background: var(--brand-600); }
.btn-outline {
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f6f9;
  color: var(--text);
  font-size: 14px;
}
.chip-ico { display: inline-flex; color: var(--brand); }
.chip-ico svg { width: 18px; height: 18px; display: inline-block; }
.chip-ico svg path,
.chip-ico svg line,
.chip-ico svg rect,
.chip-ico svg circle,
.chip-ico svg polyline { stroke: currentColor; }

.card { background: var(--bg); border: 1px solid var(--border); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.rounded-2xl { border-radius: var(--radius-2xl); }

.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 16px; }
.glightbox-clean .gslide-title{margin-bottom: 0!important;}
/* Hero */
.course-hero { padding: 24px 0; background: linear-gradient(135deg, rgba(11,56,126,1) 0%, rgba(11,56,126,.85) 50%, rgba(11,56,126,.7) 100%); color: #fff; min-height: 30vh; display: flex; align-items: flex-end; }
.course-hero .hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }
.course-hero .hero-center { text-align: center; padding: 24px 0; width: 100%; }
.course-hero .product_title { font-size:42px; line-height: 1.2; margin: 0; color: #fff; }
.course-hero .hero-badges { display: inline-flex; gap: 8px; }
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.15); color: #fff; font-weight: 600; font-size: 12px; }
.course-hero .hero-meta { margin-top: 8px; color: rgba(255,255,255,.85); font-size: 14px; }
.hero-share { margin-top: 12px; display: flex; gap: 8px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; color: #fff; text-decoration: none; }
.share-btn:hover { border-color: #fff; color: #fff; }

/* Main two-column */
.course-main { padding: 24px 0; }
.two-col { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .two-col { grid-template-columns: 1.1fr .9fr; gap: 28px; } }

/* Gallery */
.gallery { position: relative; }
.gallery-main { --swiper-navigation-color: var(--brand); --swiper-pagination-color: var(--brand); }
.gallery-main .swiper-slide a {height: 600px;display: block!important;}
.gallery-main .swiper-slide img { width: 100%; height: 100%;    object-fit: cover; display: block; border-radius: var(--radius-2xl); }
.gallery-thumbs { margin-top: 10px; }
.gallery-thumbs .swiper-slide { width: 80px; height: 64px; opacity: .6; cursor: pointer; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.gallery .video-badge { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); background: rgba(11,56,126,.9); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.gallery .video-badge.small { width: 28px; height: 28px; font-size: 12px; }
.thumb-video { position: relative; }
.swiper-button-prev, .swiper-container-rtl .swiper-button-next
{
  background-image: none!important;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev
{
  background-image: none!important;
}
/* Info panel */
.info-panel { padding: 16px; }
.price-row { font-size: 22px; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.from-badge { background: #eef3ff; color: var(--brand); font-size: 12px; padding: 2px 8px; border-radius: 999px; margin-inline-end: 6px; }
.includes-list { margin: 10px 0 16px; padding: 0 0 0 18px; color: var(--text); }
.includes-list li { margin: 6px 0; }
.cart-form form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ext-register { display: inline-block; margin-top: 10px; }

/* Chips */
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* Accordion */
.course-details { padding: 16px 0 8px; display: grid; gap: 10px; }
@media (min-width: 900px) {
  .course-details { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
.course-acc-item { overflow: hidden; }
.course-acc-toggle { width: 100%; text-align: start; background: #fff; border: 0; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--text); }
.course-acc-title { font-size: 16px; }
.course-acc-icon { color: var(--brand); font-weight: 700; }
.course-acc-content { border-top: 1px solid var(--border); }
.course-acc-body { padding: 14px 16px; color: var(--text); }

/* Description */
.course-description { padding: 16px 0 8px; }
.section-title { font-size: 22px; margin: 0 0 8px; color: var(--text); }
.desc-content { color: var(--text); }
.desc-content p { margin: 0 0 12px; }

/* Trust Row */
.course-trust { padding: 8px 0 24px; }
.trust-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px; align-items: center; }
@media (min-width: 600px) { .trust-row { grid-template-columns: repeat(3, 1fr); } }
.trust-link { color: var(--brand); text-decoration: none; font-weight: 600; }
.trust-link:hover { text-decoration: underline; }
.pay-logos { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); }
.pay-logo { background: #f3f4f6; border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; font-size: 12px; }

/* Related */
.course-related { padding: 8px 0 24px; }

/* Sticky CTA */
.sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 50; backdrop-filter: saturate(180%) blur(12px); background: rgba(255,255,255,.85); border-top: 1px solid var(--border); box-shadow: 0 -6px 16px rgba(0,0,0,.08); }
.sticky-cta .sticky-inner { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding: 10px 16px; min-height: 56px; }
.sticky-title { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
.sticky-price { color: var(--brand); font-weight: 700; }
.sticky-cta [data-sticky-add] { margin-inline-start: auto; }

/* RTL Support */
html[dir="rtl"] .includes-list { padding: 0 18px 0 0; }
html[dir="rtl"] .gallery .swiper-button-prev { right: auto; left: 56px; }
html[dir="rtl"] .gallery .swiper-button-next { left: auto; right: 56px; }
.is-rtl .includes-list { padding: 0 18px 0 0; }
.is-rtl .gallery .swiper-button-prev { right: auto; left: 56px; }
.is-rtl .gallery .swiper-button-next { left: auto; right: 56px; }

/* Focus States */
.share-btn:focus,
.btn-primary:focus,
.btn-outline:focus,
.course-acc-toggle:focus { outline: 3px solid rgba(11,56,126,.35); outline-offset: 2px; }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }


