/* Shurooq — shared branding */
:root {
  --sh-primary: #cd3b71;
  --sh-accent: #fe6fc7;
  --sh-black: #000000;
  --sh-white: #ffffff;
  --sh-primary-dark: #a52d5c;
  --sh-soft-pink: #fff5fb;
  --sh-gradient: linear-gradient(135deg, #cd3b71 0%, #fe6fc7 55%, #ffb8e8 100%);
  --sh-gradient-nav: linear-gradient(120deg, #1a0510 0%, #3d0f24 35%, #5c1535 55%, #2a0618 100%);
  --sh-gradient-footer: linear-gradient(145deg, #0d0408 0%, #2a0a18 40%, #4a1230 70%, #12060c 100%);
  --sh-shadow: 0 24px 60px rgba(205, 59, 113, 0.18);
  --sh-radius: 1.25rem;
  --sh-font: "Tajawal", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 5.5rem;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sh-font);
  background: var(--sh-soft-pink);
  color: var(--sh-black);
  overflow-x: hidden;
}

/* —— Section corner patterns (single vector, no repeat) —— */
.section-wrap {
  position: relative;
  overflow: hidden;
}
.section-pattern {
  position: absolute;
  width: min(420px, 55vw);
  height: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  color: var(--sh-primary);
}
/* Physical corners: top-right & bottom-left */
.section-pattern--tr {
  top: -36px;
  right: -72px;
  left: auto;
  transform: rotate(8deg);
}
.section-pattern--bl {
  bottom: -48px;
  left: -88px;
  right: auto;
  transform: rotate(-14deg);
}
.section-wrap > .container {
  position: relative;
  z-index: 1;
}

/* —— Content reveal (inner blocks, not whole section) —— */
.reveal-content > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-content.is-visible > * {
  opacity: 1;
  transform: none;
}
.reveal-content.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-content.is-visible > *:nth-child(2) {
  transition-delay: 0.12s;
}
.reveal-content.is-visible > *:nth-child(3) {
  transition-delay: 0.18s;
}
.reveal-content.is-visible > *:nth-child(4) {
  transition-delay: 0.24s;
}
.reveal-content.is-visible > *:nth-child(5) {
  transition-delay: 0.3s;
}
.reveal-content.is-visible > *:nth-child(6) {
  transition-delay: 0.36s;
}
.reveal-content.is-visible > *:nth-child(7) {
  transition-delay: 0.42s;
}
.reveal-content.is-visible > *:nth-child(8) {
  transition-delay: 0.48s;
}

/* —— 3D buttons (site-wide) —— */
.btn-sh-3d {
  transform-style: preserve-3d;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}
.btn-sh-3d:focus-visible {
  outline: 3px solid rgba(254, 111, 199, 0.65);
  outline-offset: 3px;
}
.btn-sh-primary.btn-sh-3d {
  border: none;
  box-shadow: 0 6px 0 #7c2345, 0 14px 28px rgba(205, 59, 113, 0.45);
}
.btn-sh-primary.btn-sh-3d:hover {
  transform: translateY(-4px) perspective(500px) rotateX(6deg);
  box-shadow: 0 10px 0 #7c2345, 0 22px 40px rgba(205, 59, 113, 0.55);
  filter: brightness(1.05);
}
.btn-sh-primary.btn-sh-3d:active {
  transform: translateY(2px) perspective(500px) rotateX(0);
  box-shadow: 0 2px 0 #7c2345, 0 6px 16px rgba(205, 59, 113, 0.35);
}

.btn-sh-outline.btn-sh-3d {
  box-shadow: 0 5px 0 rgba(205, 59, 113, 0.35), 0 10px 24px rgba(205, 59, 113, 0.12);
}
.btn-sh-outline.btn-sh-3d:hover {
  transform: translateY(-4px) perspective(500px) rotateX(5deg);
  box-shadow: 0 9px 0 rgba(205, 59, 113, 0.4), 0 18px 36px rgba(205, 59, 113, 0.2);
}
.btn-sh-outline.btn-sh-3d:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(205, 59, 113, 0.3), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-sh-light.btn-sh-3d {
  background: linear-gradient(180deg, #fff 0%, #f8f0f4 100%);
  color: #2a0a18 !important;
  border: none;
  font-weight: 800;
  box-shadow: 0 6px 0 #c9b8c0, 0 14px 28px rgba(0, 0, 0, 0.2);
}
.btn-sh-light.btn-sh-3d:hover {
  transform: translateY(-4px) perspective(500px) rotateX(6deg);
  box-shadow: 0 10px 0 #b8a8b0, 0 22px 44px rgba(254, 111, 199, 0.35);
  color: #1a0510 !important;
}
.btn-sh-light.btn-sh-3d:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #c9b8c0, 0 6px 14px rgba(0, 0, 0, 0.15);
}

.btn-sh-primary {
  --bs-btn-bg: var(--sh-primary);
  --bs-btn-border-color: var(--sh-primary);
  --bs-btn-hover-bg: var(--sh-primary-dark);
  --bs-btn-hover-border-color: var(--sh-primary-dark);
  --bs-btn-active-bg: var(--sh-primary-dark);
  --bs-btn-active-border-color: var(--sh-primary-dark);
  --bs-btn-color: var(--sh-white);
  font-weight: 800;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
}
.btn-sh-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--sh-white);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
.btn-sh-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--sh-white);
  border-color: var(--sh-white);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  line-height: 0;
  pointer-events: none;
  z-index: 4;
  margin-bottom: -3px;
  transform: translateZ(0);
}
.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-wave svg path {
  shape-rendering: geometricPrecision;
}

/* —— Navbar (dark + brand gradient) —— */
.navbar-shurooq {
  background: var(--sh-gradient-nav);
  border-bottom: 1px solid rgba(254, 111, 199, 0.25);
  transition: box-shadow 0.3s ease;
}
.navbar-shurooq-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}
.navbar-shurooq .navbar-desktop {
  min-width: 0;
}
.navbar-shurooq .navbar-desktop .navbar-nav {
  flex-direction: row !important;
}
.navbar-shurooq .navbar-desktop-center {
  padding-inline: 0.25rem;
}
@media (max-width: 991.98px) {
  .navbar-shurooq .navbar-menu-btn.navbar-toggler {
    margin-inline-start: auto;
  }
}
.navbar-shurooq.scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.navbar-shurooq .navbar-brand img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.navbar-shurooq .nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700;
  padding: 0.5rem 0.9rem !important;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}
.navbar-shurooq .nav-link:hover,
.navbar-shurooq .nav-link:focus {
  color: #fff !important;
  background: rgba(254, 111, 199, 0.22);
}
/* Mobile menu button — white hamburger → X */
.navbar-shurooq .navbar-menu-btn.navbar-toggler {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0.65rem;
  line-height: 1;
}
.navbar-shurooq .navbar-menu-btn.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-menu-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}
.navbar-menu-icon {
  position: relative;
  width: 1.45rem;
  height: 1.1rem;
  display: block;
}
.navbar-menu-icon-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}
.navbar-menu-icon-bar:nth-child(1) {
  top: 0;
}
.navbar-menu-icon-bar:nth-child(2) {
  top: 7px;
}
.navbar-menu-icon-bar:nth-child(3) {
  top: 14px;
}
.navbar-menu-btn[aria-expanded="true"] .navbar-menu-icon-bar:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.navbar-menu-btn[aria-expanded="true"] .navbar-menu-icon-bar:nth-child(2) {
  opacity: 0;
}
.navbar-menu-btn[aria-expanded="true"] .navbar-menu-icon-bar:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* Fullscreen mobile menu (Bootstrap 5.3 has no .offcanvas-fullscreen — we implement it) */
.sh-offcanvas-menu.sh-offcanvas-fullscreen.offcanvas-start,
.sh-offcanvas-menu.sh-offcanvas-fullscreen.offcanvas-end {
  --bs-offcanvas-width: 100vw;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  top: 0 !important;
  bottom: 0 !important;
  border: 0 !important;
  box-sizing: border-box;
}
.sh-offcanvas-menu {
  background: var(--sh-gradient-nav);
  color: #fff;
}
.sh-offcanvas-menu .offcanvas-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.sh-offcanvas-menu .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  border-radius: 0.75rem;
}
.sh-offcanvas-menu .nav-link:hover,
.sh-offcanvas-menu .nav-link:focus {
  color: #fff !important;
  background: rgba(254, 111, 199, 0.2);
}
.sh-offcanvas-menu .offcanvas-body .navbar-nav {
  flex-direction: column !important;
  width: 100%;
  max-width: 22rem;
}
.sh-offcanvas-menu .offcanvas-body .nav-link {
  display: block;
  width: 100%;
}
.sh-offcanvas-menu .offcanvas-brand-logo {
  height: 48px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

/* Fixed WhatsApp — physical left */
.wa-fab {
  position: fixed;
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  left: max(1rem, env(safe-area-inset-left, 0px));
  right: auto;
  z-index: 1038;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #fff !important;
  background: linear-gradient(145deg, #25d366, #128c7e);
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.45), 0 0 0 3px rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover {
  transform: scale(1.06);
  color: #fff !important;
  box-shadow: 0 14px 36px rgba(18, 140, 126, 0.55), 0 0 0 3px rgba(255, 255, 255, 0.2);
}
.wa-fab:active {
  transform: scale(0.96);
}

/* —— Hero —— */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 5.5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-section > .section-pattern {
  z-index: 2;
  opacity: 0.28;
  color: #fe6fc7;
}
.hero-parallax-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background-image: url("../images/photos/hero-bg-pexe1552242.jpg");
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      120deg,
      rgba(13, 4, 8, 0.88) 0%,
      rgba(61, 15, 36, 0.78) 38%,
      rgba(90, 21, 53, 0.65) 65%,
      rgba(13, 4, 8, 0.82) 100%
    ),
    linear-gradient(0deg, rgba(205, 59, 113, 0.15), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Animated offer badge */
.hero-badge-wrap {
  display: inline-block;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cd3b71, #fe6fc7, #ffb8e8, #fe6fc7, #cd3b71);
  background-size: 300% 100%;
  animation: sh-border-flow 3.5s linear infinite;
  box-shadow: 0 0 24px rgba(254, 111, 199, 0.45);
}
@keyframes sh-border-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 3, 8, 0.75);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  margin: 1rem 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero-title span {
  background: linear-gradient(120deg, #ffb8e8, #fe6fc7, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  line-height: 1.8;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

/* Stat cards */
.stat-grid {
  margin-top: 0.5rem;
}
.stat-card {
  position: relative;
  border-radius: 1.35rem;
  padding: 1.35rem 1rem 1.15rem;
  text-align: center;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(254, 111, 199, 0.35);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 120deg, transparent, rgba(254, 111, 199, 0.12), transparent 40%);
  animation: sh-stat-shine 5s linear infinite;
  pointer-events: none;
}
@keyframes sh-stat-shine {
  to {
    transform: rotate(360deg);
  }
}
.stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 24px 56px rgba(205, 59, 113, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.stat-card-inner {
  position: relative;
  z-index: 1;
}
.stat-card .stat-value {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, #fe6fc7, #ffb8e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-card .stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

/* —— Section titles —— */
.section-head {
  margin-bottom: 2.5rem;
}
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sh-primary);
  margin-bottom: 0.35rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  color: var(--sh-black);
}
.section-sub {
  color: #444;
  max-width: 40rem;
  margin-top: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* —— Programs —— */
.programs-section {
  padding: 4.5rem 0;
  margin-top: -2px;
}
.programs-section-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.programs-section-deco::before {
  content: "";
  position: absolute;
  top: -8%;
  inset-inline-end: -6%;
  width: min(72vw, 480px);
  height: min(72vw, 480px);
  border-radius: 50%;
  border: 2px dashed rgba(205, 59, 113, 0.14);
  background: radial-gradient(circle at 42% 38%, rgba(254, 111, 199, 0.07), transparent 62%);
  opacity: 0.95;
  transform: rotate(-8deg);
}
.programs-section-deco::after {
  content: "";
  position: absolute;
  bottom: -6%;
  inset-inline-start: -10%;
  width: min(65vw, 420px);
  height: min(48vw, 280px);
  background-image: radial-gradient(rgba(205, 59, 113, 0.16) 1.5px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(165deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  mask-image: linear-gradient(165deg, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  opacity: 0.55;
}
.program-card {
  height: 100%;
  border: none;
  border-radius: 1.85rem;
  overflow: hidden;
  background: var(--sh-white);
  box-shadow: 0 20px 50px rgba(205, 59, 113, 0.12);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  position: relative;
  border: 1px solid rgba(205, 59, 113, 0.08);
}
.program-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 2px transparent, 0 0 0 0 rgba(254, 111, 199, 0);
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}
.program-card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 36px 70px rgba(205, 59, 113, 0.28);
}
.program-card:hover::after {
  opacity: 1;
  box-shadow: inset 0 0 0 2px rgba(254, 111, 199, 0.55), 0 0 40px rgba(205, 59, 113, 0.2);
}
.program-card .card-img-top,
.program-card .ratio {
  overflow: hidden;
}
.program-card .card-img-top img,
.program-card .ratio img {
  transition: transform 0.6s ease;
}
.program-card:hover .card-img-top img,
.program-card:hover .ratio img {
  transform: scale(1.06);
}
.program-card .card-img-top {
  height: 240px;
  object-fit: cover;
}
.program-card .program-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.program-card .program-title-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--sh-primary);
  background: linear-gradient(145deg, rgba(205, 59, 113, 0.12), rgba(254, 111, 199, 0.22));
  flex-shrink: 0;
}
.program-card .card-title {
  font-weight: 900;
  color: var(--sh-black);
  margin: 0;
}
.program-card .badge-program {
  background: rgba(205, 59, 113, 0.1);
  color: var(--sh-primary);
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

/* Header row: title block on one side, pricing card on the opposite edge */
.program-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.program-card-head-text {
  flex: 0 1 auto;
  min-width: 0;
}

/* Pricing card — pinned to the opposite (inline-end) edge of the card head */
.program-pricing {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-inline-start: auto;
  max-width: 13rem;
  position: relative;
  padding: 0.75rem 0.95rem;
  border-radius: 0.95rem;
  color: #ffffff;
  background:
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(254, 111, 199, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 0%, rgba(205, 59, 113, 0.30), transparent 60%),
    linear-gradient(135deg, #2a0918 0%, #5c1632 55%, #7a1f44 100%);
  border: 1px solid rgba(254, 111, 199, 0.28);
  box-shadow: 0 10px 24px -14px rgba(122, 31, 68, 0.55);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.program-pricing::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 3px;
  background: linear-gradient(180deg, #fe6fc7 0%, #cd3b71 100%);
  opacity: 0.85;
}
.program-pricing-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
}
.program-pricing-old {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: line-through;
  text-decoration-color: rgba(254, 111, 199, 0.7);
  text-decoration-thickness: 2px;
}
.program-pricing-new {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(254, 111, 199, 0.25);
  line-height: 1.05;
}
.program-pricing-gift {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0.3rem 0.7rem 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px dashed rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 100%;
  backdrop-filter: blur(2px);
}
.program-pricing-gift > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.program-pricing-gift-icon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(205, 59, 113, 0.35);
}
@media (max-width: 575.98px) {
  .program-card-head {
    gap: 0.85rem;
  }
  .program-card-head.has-pricing .program-card-head-text {
    flex: 1 1 100%;
  }
  .program-pricing {
    max-width: 100%;
    width: 100%;
    margin-inline-start: 0;
  }
  .program-pricing::before {
    inset-inline-end: auto;
    inset-inline-start: 0;
  }
  .program-pricing-new {
    font-size: 1.35rem;
  }
}

.program-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.program-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
}
.program-list .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sh-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  box-shadow: 0 4px 12px rgba(205, 59, 113, 0.4);
}

/* —— Includes (dark) —— */
.includes-section {
  padding: 4.5rem 0;
  position: relative;
  background: var(--sh-gradient-footer);
  border-top: 1px solid rgba(254, 111, 199, 0.15);
  border-bottom: 1px solid rgba(254, 111, 199, 0.12);
}
.includes-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(205, 59, 113, 0.28), transparent 52%),
    radial-gradient(ellipse 70% 45% at 100% 100%, rgba(254, 111, 199, 0.12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.includes-section > .container {
  position: relative;
  z-index: 1;
}
.includes-section.section-wrap .section-pattern {
  opacity: 0.38;
  color: #fe6fc7;
}
.includes-section .section-eyebrow {
  color: #ffb8e8;
}
.includes-section .section-title {
  color: #fff;
}
.includes-section .section-sub {
  color: rgba(255, 255, 255, 0.78);
}
.include-item {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1.35rem;
  padding: 1.6rem 1.4rem;
  height: 100%;
  border: 1px solid rgba(254, 111, 199, 0.22);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.include-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(254, 111, 199, 0.55);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(205, 59, 113, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.include-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(205, 59, 113, 0.55), rgba(254, 111, 199, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(205, 59, 113, 0.35);
  margin-bottom: 1rem;
}
.include-icon i {
  display: block;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.include-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}
.include-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* —— Pricing —— */
.pricing-section {
  padding: 4.5rem 0;
}
.pricing-card {
  border-radius: 2rem;
  background: var(--sh-black);
  color: var(--sh-white);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(254, 111, 199, 0.35), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(205, 59, 113, 0.45), transparent 40%);
  opacity: 0.9;
  pointer-events: none;
}
.pricing-card > * {
  position: relative;
  z-index: 1;
}
.pricing-card .price-old {
  text-decoration: line-through;
  opacity: 0.75;
  font-size: 1.1rem;
}
.pricing-card .price-new {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.1;
}
.pricing-card .price-note {
  font-size: 0.95rem;
  opacity: 0.9;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.btn-cta-pulse {
  animation: sh-cta-pulse 2.2s ease-in-out infinite;
}
@keyframes sh-cta-pulse {
  0%,
  100% {
    box-shadow: 0 6px 0 #7c2345, 0 14px 28px rgba(205, 59, 113, 0.45), 0 0 0 0 rgba(254, 111, 199, 0.55);
  }
  50% {
    box-shadow: 0 6px 0 #7c2345, 0 14px 36px rgba(205, 59, 113, 0.65), 0 0 0 14px rgba(254, 111, 199, 0);
  }
}

/* —— Form —— */
.register-section {
  padding: 4.5rem 0 5rem;
}
.form-shurooq {
  background: var(--sh-white);
  border-radius: 2rem;
  padding: 2.25rem 2rem;
  box-shadow: var(--sh-shadow);
  border: 1px solid rgba(205, 59, 113, 0.1);
}
.form-shurooq .form-control,
.form-shurooq .form-select {
  border-radius: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.75rem 1rem;
}
.form-shurooq .input-rtl {
  direction: rtl;
  text-align: right;
}
.form-shurooq .form-control:focus,
.form-shurooq .form-select:focus {
  border-color: var(--sh-accent);
  box-shadow: 0 0 0 0.2rem rgba(254, 111, 199, 0.2);
}
.form-shurooq label {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.select-sh-wrap {
  position: relative;
  z-index: 0;
}
.select-sh-wrap .form-select {
  appearance: none;
  padding-right: 2.75rem;
  padding-left: 1rem;
  background-color: #fffdf9;
  background-image: none;
  border: 2px solid rgba(205, 59, 113, 0.18);
  font-weight: 600;
  cursor: pointer;
}
.select-sh-wrap .form-select:hover {
  border-color: rgba(205, 59, 113, 0.35);
}
.select-sh-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  left: auto;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--sh-primary);
  transform: translateY(-35%);
  pointer-events: none;
  opacity: 0.85;
}

.form-submit-row {
  margin-top: 1.25rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--sh-gradient-footer);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 1.75rem;
  position: relative;
  border-top: 1px solid rgba(254, 111, 199, 0.2);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(205, 59, 113, 0.25), transparent 55%);
  pointer-events: none;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}
.footer-col-title {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
  color: #ffb8e8;
  background: linear-gradient(95deg, #ffffff 0%, #ffb8e8 22%, #fe6fc7 48%, #cd3b71 72%, #fe6fc7 88%, #fff5fb 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sh-footer-title-shine 8s ease-in-out infinite;
}
@supports not (-webkit-background-clip: text) {
  .footer-col-title {
    color: #fe6fc7;
    -webkit-text-fill-color: unset;
    background: none;
  }
}
@keyframes sh-footer-title-shine {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.site-footer .footer-brand img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
  margin-bottom: 1rem;
}
.site-footer .footer-desc {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  max-width: 22rem;
  margin: 0 auto;
}
@media (min-width: 992px) {
  .site-footer .footer-desc {
    margin: 0;
  }
}
.site-footer .social-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .social-links li {
  margin-bottom: 0.65rem;
}
.site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, transform 0.2s;
}
.site-footer .social-links a:hover {
  color: #fff;
  transform: translateX(-4px);
}
.site-footer .social-links svg {
  width: 22px;
  height: 22px;
  opacity: 0.95;
}
.site-footer .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .contact-list li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.site-footer .contact-list a {
  color: var(--sh-accent);
  text-decoration: none;
}
.site-footer .contact-list a:hover {
  text-decoration: underline;
  color: #fff;
}
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy-text {
  margin: 0;
  /* RTL: copyright text sits on the right (start) edge */
  order: 1;
}
.footer-policy-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  /* RTL: policy links sit on the left (end) edge */
  order: 2;
  margin-inline-start: auto;
}
.footer-policy-links li {
  display: inline-flex;
  align-items: center;
}
.footer-policy-links li + li::before {
  content: "·";
  margin-inline-end: 1rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-policy-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-policy-links a:hover,
.footer-policy-links a:focus-visible {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 575.98px) {
  .footer-copy {
    justify-content: center;
    text-align: center;
  }
  .footer-policy-links {
    margin-inline-start: 0;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-content > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-badge-wrap {
    animation: none;
  }
  .stat-card::before {
    animation: none;
  }
  .btn-cta-pulse {
    animation: none;
  }
  .footer-col-title {
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }
  .navbar-shurooq .navbar-brand img {
    height: 40px;
    max-width: min(200px, 50vw);
    width: auto;
  }
}

/* —— Course page (course.html) —— */
.page-course .course-hero-section {
  position: relative;
  min-height: min(92vh, 920px);
  padding-top: 5.5rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(13, 4, 8, 0.94) 0%, rgba(61, 15, 36, 0.9) 42%, rgba(90, 21, 53, 0.82) 100%),
    linear-gradient(180deg, rgba(205, 59, 113, 0.2), transparent 55%), var(--sh-soft-pink);
}
.page-course .course-hero-section > .section-pattern {
  z-index: 1;
  opacity: 0.26;
  color: #fe6fc7;
}
.page-course .course-hero-section .hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
/* Course hero — highlighted price */
.course-price-shell {
  display: inline-block;
  padding: 3px;
  border-radius: 1.4rem;
  background: linear-gradient(120deg, #cd3b71, #fe6fc7, #ffb8e8, #fe6fc7, #cd3b71);
  background-size: 260% 100%;
  animation: sh-border-flow 4s linear infinite;
  box-shadow: 0 0 36px rgba(254, 111, 199, 0.55), 0 18px 44px rgba(0, 0, 0, 0.28);
  margin-bottom: 1rem;
}
.course-price-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.5rem;
  padding: 1.1rem 1.4rem 1.15rem;
  border-radius: calc(1.4rem - 3px);
  background: rgba(6, 2, 5, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 576px) {
  .text-lg-start .course-price-inner {
    justify-content: flex-start;
  }
}
.course-price-old {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  font-weight: 800;
  font-size: 1.05rem;
}
.course-price-new {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(120deg, #ffffff, #ffb8e8, #fe6fc7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.course-price-badge {
  background: linear-gradient(90deg, #fff, #ffe8f5);
  color: #4a1230 !important;
  font-weight: 900;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.35);
}
.course-community-bonus-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(145deg, #cd3b71, #fe6fc7);
  box-shadow: 0 6px 18px rgba(205, 59, 113, 0.45);
}
/* Shared promo line — hero intro + checkout */
.course-community-bonus--promo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 1.35rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: start;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.92);
}
.course-community-bonus--promo .course-community-bonus-text {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
  width: auto;
  height: auto;
  line-height: 1.65;
}
.course-community-bonus--promo .course-community-bonus-icon {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.course-community-bonus--promo .course-community-bonus-text strong {
  font-weight: 900;
  background: linear-gradient(90deg, #ffffff, #ffb8e8, #fe6fc7, #ffb8e8, #ffffff);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sh-community-text-flow 3.2s linear infinite;
}
.page-course .course-hero-section .course-community-bonus--promo {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 0;
  border-top: none;
  justify-content: center;
}
@media (min-width: 992px) {
  .text-lg-start .course-community-bonus--promo {
    justify-content: flex-start;
  }
}
.course-community-bonus--checkout {
  margin-top: 2.5rem;
}
.pricing-card .course-community-bonus--checkout {
  text-align: start;
}
@keyframes sh-community-text-flow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .course-community-bonus--promo .course-community-bonus-text strong {
    animation: none;
    background: none;
    color: #ffb8e8;
  }
}
.course-hero-visual {
  position: relative;
}
.page-course .course-hero-visual::before {
  display: none;
}
.course-hero-img-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(110vw, 720px);
  height: min(110vw, 720px);
  max-width: 760px;
  max-height: 760px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 45% 42%,
    rgba(254, 111, 199, 0.38) 0%,
    rgba(205, 59, 113, 0.22) 38%,
    rgba(205, 59, 113, 0.08) 58%,
    transparent 72%
  );
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.course-hero-img-frame {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: min(100%, 680px);
  margin-inline: auto;
}
.course-hero-parallax-outer {
  animation: course-hero-float 5.5s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
@keyframes course-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .course-hero-parallax-outer {
    animation: none;
  }
  .guarantee-card-shell {
    animation: none;
  }
}
.course-hero-parallax-inner {
  --par-rx: 0deg;
  --par-ry: 0deg;
  --par-lift: 0px;
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  will-change: transform;
  transform: perspective(920px) rotateX(var(--par-rx)) rotateY(var(--par-ry)) translateY(var(--par-lift));
}
.course-hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  background: none;
  box-shadow: none;
  filter: contrast(1.08) saturate(1.12) brightness(1.04);
  image-rendering: auto;
  display: block;
}
.btn-course-hero-cta {
  background: #ffffff;
  color: #2a0a18 !important;
  font-weight: 800;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.85rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-course-hero-cta:hover {
  background: #fff8fc;
  color: #1a0510 !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(205, 59, 113, 0.28);
}
.btn-course-hero-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}
.page-course .course-hero-section .hero-wave {
  z-index: 3;
}
.guarantee-section {
  margin-top: -2px;
  padding: 3.5rem 0 4.5rem;
}
/* Same idea as .course-price-shell: animated ring only; inner card is solid */
.guarantee-card-shell {
  display: block;
  width: 100%;
  padding: 3px;
  border-radius: calc(1.85rem + 3px);
  background: linear-gradient(120deg, #cd3b71, #fe6fc7, #ffb8e8, #fe6fc7, #cd3b71);
  background-size: 260% 100%;
  animation: sh-border-flow 4s linear infinite;
  box-shadow: 0 0 32px rgba(254, 111, 199, 0.45), 0 16px 40px rgba(0, 0, 0, 0.12);
}
.guarantee-card-shell .guarantee-card {
  border: none;
  border-radius: 1.85rem;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.guarantee-with-badge .guarantee-badge-wrap {
  display: flex;
  justify-content: center;
}
@media (min-width: 992px) {
  .guarantee-with-badge .guarantee-badge-wrap {
    justify-content: flex-start;
  }
}
.guarantee-badge-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 32px rgba(205, 59, 113, 0.28));
}
.guarantee-card {
  position: relative;
  border-radius: 1.85rem;
  padding: 2.25rem 2rem;
  background: linear-gradient(165deg, rgba(205, 59, 113, 0.08) 0%, rgba(254, 111, 199, 0.1) 100%);
  border: 2px solid rgba(205, 59, 113, 0.22);
  box-shadow: 0 24px 60px rgba(205, 59, 113, 0.12);
  text-align: center;
}
.guarantee-with-badge .guarantee-card {
  text-align: start;
}
.guarantee-with-badge .guarantee-card-lead,
.guarantee-with-badge .guarantee-checks {
  margin-inline: 0;
}
.guarantee-card-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #fff;
  background: var(--sh-gradient);
  box-shadow: 0 10px 28px rgba(205, 59, 113, 0.35);
}
.guarantee-card-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  color: var(--sh-black);
  margin-bottom: 1rem;
}
.guarantee-card-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #444;
  max-width: 38rem;
  margin-inline: auto;
}
.guarantee-checks {
  text-align: start;
  max-width: 26rem;
  margin-inline: auto;
}
.guarantee-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
  color: #333;
}
.guarantee-checks i {
  color: var(--sh-primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.about-course-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #fff 0%, #fff5fb 100%);
}
.about-course-section--deco {
  position: relative;
  overflow: hidden;
}
.about-course-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-course-ring {
  position: absolute;
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  border-radius: 50%;
  border: 2px solid rgba(205, 59, 113, 0.14);
  opacity: 0.85;
}
.about-course-ring--tr {
  top: -12%;
  inset-inline-end: -8%;
  transform: rotate(-12deg);
}
.about-course-ring--bl {
  bottom: -18%;
  inset-inline-start: -10%;
  width: min(55vw, 420px);
  height: min(55vw, 420px);
  border-color: rgba(254, 111, 199, 0.12);
  transform: rotate(8deg);
}
.about-course-dotgrid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(205, 59, 113, 0.2) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
.about-course-section--deco > .container {
  position: relative;
  z-index: 1;
}
.about-course-section--deco .about-point-card {
  text-align: center;
}
.about-course-section--deco .about-point-icon {
  margin-inline: auto;
}
.about-course-section .section-sub a {
  color: var(--sh-primary);
  font-weight: 800;
}
.about-point-card {
  height: 100%;
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(205, 59, 113, 0.1);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(205, 59, 113, 0.12);
}
.about-point-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--sh-primary);
  background: linear-gradient(145deg, rgba(205, 59, 113, 0.1), rgba(254, 111, 199, 0.18));
  margin-bottom: 0.75rem;
}
.results-course-section {
  padding: 4.5rem 0;
  margin-top: -1px;
}
.results-course-section--dark {
  background: var(--sh-gradient-footer);
  position: relative;
  border-top: 1px solid rgba(254, 111, 199, 0.15);
  overflow: hidden;
}
.results-course-section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(205, 59, 113, 0.35), transparent 55%);
  pointer-events: none;
}
.results-course-section--dark > .container {
  position: relative;
  z-index: 1;
}
.results-course-section--dark .section-eyebrow {
  color: #ffb8e8;
}
.results-course-section--dark .section-title {
  color: #fff;
}
.results-course-section--dark .section-sub {
  color: rgba(255, 255, 255, 0.78);
}
.result-card-elegant {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1.35rem 1.25rem;
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(254, 111, 199, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.result-card-elegant:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 184, 232, 0.45);
  box-shadow: 0 20px 50px rgba(205, 59, 113, 0.25);
}
.result-card-elegant .result-card-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, rgba(205, 59, 113, 0.95), rgba(254, 111, 199, 0.85));
  box-shadow: 0 8px 22px rgba(205, 59, 113, 0.4);
}
.result-card-elegant .result-card-text {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  margin: 0;
}
.reviews-course-section {
  padding: 4.5rem 0;
  background: var(--sh-gradient-footer);
  position: relative;
  border-top: 1px solid rgba(254, 111, 199, 0.15);
}
.reviews-course-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(205, 59, 113, 0.22), transparent 55%);
  pointer-events: none;
}
.reviews-course-section > .container {
  position: relative;
  z-index: 1;
}
.reviews-course-section .section-eyebrow {
  color: #ffb8e8;
}
.reviews-course-section .section-title {
  color: #fff;
}
.reviews-course-section .section-sub {
  color: rgba(255, 255, 255, 0.78);
}
.reviews-course-section--light {
  background: linear-gradient(180deg, #ffffff 0%, #fff8fc 100%);
  border-top: 1px solid rgba(205, 59, 113, 0.1);
}
.reviews-course-section--light::before {
  display: none;
}
.reviews-course-section--light .section-title {
  color: var(--sh-black);
}
.reviews-course-section--light .section-sub {
  color: #444;
}
.review-shot-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(205, 59, 113, 0.12);
  box-shadow: 0 18px 48px rgba(205, 59, 113, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: zoom-in;
}
.review-shot-card.review-shot-trigger {
  -webkit-appearance: none;
  appearance: none;
}
.review-shot-card:hover,
.review-shot-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(205, 59, 113, 0.18);
  outline: none;
}
.review-shot-card:focus-visible {
  box-shadow: 0 26px 60px rgba(205, 59, 113, 0.18),
    0 0 0 3px rgba(205, 59, 113, 0.35);
}
.review-shot-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  transition: transform 0.4s ease;
}
.review-shot-card:hover img {
  transform: scale(1.04);
}
.review-shot-zoom {
  position: absolute;
  inset-block-end: 0.75rem;
  inset-inline-end: 0.75rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 1.05rem;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.review-shot-card:hover .review-shot-zoom,
.review-shot-card:focus-visible .review-shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

/* —— Reviews lightbox modal —— */
.reviews-lightbox .modal-dialog {
  margin: auto;
}
.reviews-lightbox__content {
  background: linear-gradient(165deg, #0b0a10 0%, #14131a 60%, #050409 100%);
  color: #fff;
  border: 1px solid rgba(254, 111, 199, 0.12);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.reviews-lightbox__header {
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: #fff;
}
.reviews-lightbox__header .modal-title {
  color: #ffe1f0;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.reviews-lightbox__header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.reviews-lightbox__body {
  background: #06050a;
}
.reviews-lightbox__carousel {
  position: relative;
}
.reviews-lightbox__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  max-height: 82vh;
  padding: 1.25rem;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(205, 59, 113, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(254, 111, 199, 0.18), transparent 55%),
    #06050a;
}
.reviews-lightbox__slide img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 0.85rem;
  box-shadow: 0 22px 52px -10px rgba(205, 59, 113, 0.5),
    0 8px 24px -6px rgba(0, 0, 0, 0.65);
}
.reviews-lightbox__control {
  width: 4.5rem;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.reviews-lightbox__control:hover {
  opacity: 1;
  transform: scale(1.05);
}
.reviews-lightbox__control .carousel-control-prev-icon,
.reviews-lightbox__control .carousel-control-next-icon {
  width: 2.25rem;
  height: 2.25rem;
  background-size: 1.4rem 1.4rem;
  background-color: rgba(205, 59, 113, 0.55);
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.reviews-lightbox__dots {
  margin: 0 auto 0.85rem;
  inset: auto 0 0.4rem 0;
}
.reviews-lightbox__dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  margin: 0 0.18rem;
  opacity: 0.7;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.reviews-lightbox__dots button.active {
  width: 1.6rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #fe6fc7, #cd3b71);
  opacity: 1;
}
@media (max-width: 575.98px) {
  .reviews-lightbox__slide {
    min-height: 70vh;
    max-height: 88vh;
    padding: 0.5rem;
  }
  .reviews-lightbox__slide img {
    max-height: 84vh;
  }
  .reviews-lightbox__control {
    width: 3rem;
  }
  .reviews-lightbox__control .carousel-control-prev-icon,
  .reviews-lightbox__control .carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 1.15rem 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .review-shot-card,
  .review-shot-card img,
  .review-shot-zoom,
  .reviews-lightbox__control,
  .reviews-lightbox__dots button {
    transition: none;
  }
}
.review-quote-card {
  height: 100%;
  margin: 0;
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(254, 111, 199, 0.25);
  backdrop-filter: blur(10px);
  color: #fff;
}
.review-quote-card .stars {
  color: #ffb8e8;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
.review-quote-card blockquote {
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.65;
  margin: 0;
}
.course-checkout-section {
  padding: 4.5rem 0 5rem;
}
.course-checkout-section--deco {
  position: relative;
  overflow: hidden;
}
.checkout-course-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.checkout-course-deco::before {
  content: "";
  position: absolute;
  top: -5%;
  inset-inline-end: -8%;
  width: min(48vw, 380px);
  height: min(120%, 520px);
  background: repeating-linear-gradient(
    125deg,
    transparent 0,
    transparent 18px,
    rgba(205, 59, 113, 0.06) 18px,
    rgba(205, 59, 113, 0.06) 19px
  );
  border-radius: 35% 65% 40% 60% / 55% 40% 60% 45%;
  opacity: 0.85;
}
.checkout-course-deco::after {
  content: "";
  position: absolute;
  bottom: -18%;
  inset-inline-start: -12%;
  width: min(58vw, 440px);
  height: min(55vw, 360px);
  background: linear-gradient(35deg, rgba(254, 111, 199, 0.14) 0%, transparent 55%, transparent 100%);
  border-radius: 50% 45% 55% 50%;
  filter: blur(0.5px);
  opacity: 0.75;
}
.course-checkout-section--deco > .container {
  position: relative;
  z-index: 1;
}
.course-checkout-pricing {
  max-width: 36rem;
  margin-inline: auto;
}
@media (max-width: 991.98px) {
  .page-course .course-hero-section {
    min-height: auto;
    padding-bottom: 4.5rem;
  }
}

/* —— Course details page —— */
.page-course-details {
  background: #fff8fc;
}
.page-course-details .navbar-shurooq .nav-link.active,
.page-course-details .navbar-shurooq .nav-link:focus-visible {
  color: #ffb8e8;
}
.cd-hero {
  position: relative;
  padding-top: 6.5rem;
  padding-bottom: 5rem;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, rgba(13, 4, 8, 0.96) 0%, rgba(61, 15, 36, 0.92) 42%, rgba(90, 21, 53, 0.85) 100%);
}
.cd-hero-glow {
  position: absolute;
  inset: -10% -10% auto auto;
  width: min(60vw, 720px);
  height: min(60vw, 720px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(254, 111, 199, 0.35) 0%,
    rgba(205, 59, 113, 0.18) 40%,
    transparent 70%
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.cd-hero-inner {
  position: relative;
  z-index: 1;
}
.cd-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 1rem 0 1rem;
}
.cd-hero-title span {
  background: linear-gradient(120deg, #fff, #ffb8e8, #fe6fc7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd-hero-lead {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  max-width: 38rem;
  margin: 0 auto 1.25rem;
}
@media (min-width: 992px) {
  .text-lg-start .cd-hero-lead {
    margin-inline: 0;
  }
}
.cd-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  justify-content: center;
}
@media (min-width: 992px) {
  .text-lg-start .cd-meta-strip {
    justify-content: flex-start;
  }
}
.cd-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}
.cd-meta i {
  color: #ffb8e8;
  font-size: 1.05rem;
}
.cd-meta strong {
  font-weight: 900;
  color: #fff;
  margin-inline-end: 0.15rem;
}
.cd-hero-preview {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  isolation: isolate;
}
.cd-hero-preview-btn {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline: none;
}
.cd-hero-preview-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(1.05) contrast(1.05);
}
.cd-hero-preview-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}
.cd-hero-preview-btn:hover img,
.cd-hero-preview-btn:focus-visible img {
  transform: scale(1.04);
}
.cd-hero-preview-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.cd-hero-preview-play i {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--sh-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 12px 30px rgba(205, 59, 113, 0.5), 0 0 0 6px rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease;
}
.cd-hero-preview-btn:hover .cd-hero-preview-play i,
.cd-hero-preview-btn:focus-visible .cd-hero-preview-play i {
  transform: scale(1.06);
}
.cd-hero-preview-label {
  position: absolute;
  bottom: 1rem;
  inset-inline-start: 1.15rem;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Body layout */
.cd-body {
  padding: 4rem 0 5rem;
}
.cd-section-head {
  margin-bottom: 1.5rem;
}
.cd-section-head .section-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 900;
}

/* Sidebar */
.cd-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 992px) {
  .cd-side-stack {
    position: sticky;
    top: 5.75rem;
  }
}
.cd-side-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 18px 48px rgba(205, 59, 113, 0.1);
  border: 1px solid rgba(205, 59, 113, 0.08);
}
.cd-side-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--sh-primary);
  margin-bottom: 0.85rem;
}
.cd-progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.cd-progress-count {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--sh-black);
  line-height: 1;
}
.cd-progress-of {
  font-size: 0.9rem;
  font-weight: 600;
  color: #999;
  margin: 0 0.25rem;
}
.cd-progress-percent {
  font-weight: 800;
  color: var(--sh-primary);
  font-size: 1.05rem;
}
.cd-progress-track {
  margin-top: 0.85rem;
  height: 10px;
  border-radius: 999px;
  background: rgba(205, 59, 113, 0.1);
  overflow: hidden;
}
.cd-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--sh-gradient);
  border-radius: inherit;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cd-reset-btn {
  font-size: 0.82rem;
  color: var(--sh-primary);
  text-decoration: none;
  font-weight: 700;
}
.cd-reset-btn:hover {
  text-decoration: underline;
  color: var(--sh-primary-dark);
}
.cd-lesson-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cdlsn;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cd-lesson-list li {
  counter-increment: cdlsn;
}
.cd-lesson-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: transparent;
  border: 1px solid transparent;
  text-align: start;
  font-weight: 600;
  color: #2a0a18;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cd-lesson-list button:hover {
  background: rgba(205, 59, 113, 0.06);
  border-color: rgba(205, 59, 113, 0.18);
}
.cd-lesson-list button.is-active {
  background: rgba(205, 59, 113, 0.1);
  border-color: rgba(205, 59, 113, 0.28);
}
.cd-lesson-list .cd-dot {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid rgba(205, 59, 113, 0.3);
  flex-shrink: 0;
  font-size: 0.75rem;
  color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cd-lesson-list button.is-done .cd-dot {
  background: var(--sh-primary);
  border-color: var(--sh-primary);
  color: #fff;
}
.cd-lesson-list .cd-li-title {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
}
.cd-instructor-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--sh-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(205, 59, 113, 0.35);
}
.btn-outline-sh {
  background: transparent;
  color: var(--sh-primary) !important;
  border: 1.5px solid rgba(205, 59, 113, 0.5);
  border-radius: 999px;
  font-weight: 800;
  padding: 0.55rem 1.15rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-outline-sh:hover {
  background: var(--sh-primary);
  color: #fff !important;
  border-color: var(--sh-primary);
}

/* Accordion */
.cd-accordion {
  --bs-accordion-bg: #ffffff;
  --bs-accordion-border-color: transparent;
  --bs-accordion-border-radius: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cd-accordion .accordion-item.cd-lesson {
  border: 1px solid rgba(205, 59, 113, 0.1);
  border-radius: var(--bs-accordion-border-radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(205, 59, 113, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cd-accordion .accordion-item.cd-lesson.is-done {
  border-color: rgba(205, 59, 113, 0.35);
  box-shadow: 0 14px 32px rgba(205, 59, 113, 0.18);
}
.cd-accordion .accordion-button {
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: #2a0a18;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cd-accordion .accordion-button:not(.collapsed) {
  background: #fff5fb;
  color: var(--sh-primary);
  box-shadow: none;
}
.cd-accordion .accordion-button::after {
  margin-inline-start: 0;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cd3b71'%3E%3Cpath d='M3.204 5L8 10.481 12.796 5l.708.708-5.5 6.25-5.5-6.25z'/%3E%3C/svg%3E");
}
.cd-lesson-no {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sh-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(205, 59, 113, 0.35);
}
.cd-lesson-head-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  min-width: 0;
}
.cd-lesson-title {
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
}
.cd-lesson-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}
.cd-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(205, 59, 113, 0.08);
  color: var(--sh-primary);
  font-size: 0.75rem;
  font-weight: 700;
}
.cd-pill i {
  font-size: 0.85rem;
}
.cd-lesson-status {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(205, 59, 113, 0.06);
  color: rgba(205, 59, 113, 0.45);
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.cd-lesson.is-done .cd-lesson-status {
  background: var(--sh-primary);
  color: #fff;
}
.cd-lesson.is-done .cd-lesson-status i::before {
  content: "\f26b";
}
.cd-accordion .accordion-body {
  background: #ffffff;
  padding: 1.25rem;
  border-top: 1px dashed rgba(205, 59, 113, 0.18);
}
.cd-lesson-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 768px) {
  .cd-lesson-grid {
    grid-template-columns: 250px 1fr;
  }
}
.cd-lesson-thumb {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cd-lesson-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease, filter 0.3s ease;
  filter: saturate(1.05) brightness(0.97);
}
.cd-lesson-thumb:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(205, 59, 113, 0.28);
}
.cd-lesson-thumb:hover img {
  transform: scale(1.05);
  filter: saturate(1.1) brightness(1);
}
.cd-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.cd-thumb-play i {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease, transform 0.25s ease;
}
.cd-lesson-thumb:hover .cd-thumb-play i {
  background: var(--sh-primary);
  transform: scale(1.06);
}
.cd-lesson-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 0.5rem;
}
.cd-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cd-bullets li {
  position: relative;
  padding-inline-start: 1.5rem;
  color: #333;
  font-weight: 600;
  line-height: 1.65;
}
.cd-bullets li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sh-gradient);
  box-shadow: 0 0 0 4px rgba(205, 59, 113, 0.12);
}
.cd-bullets--compact li {
  font-weight: 500;
  font-size: 0.92rem;
}

/* Attachments */
.cd-attachments-title {
  font-weight: 800;
  color: var(--sh-primary);
  margin-bottom: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.cd-attachment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cd-attachment-list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 576px) {
  .cd-attachment-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .cd-attachment-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .cd-attachment-list--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cd-attachment {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #fff 0%, #fff5fb 100%);
  border: 1px solid rgba(205, 59, 113, 0.18);
  color: #2a0a18;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.cd-attachment:hover {
  transform: translateY(-2px);
  border-color: rgba(205, 59, 113, 0.5);
  box-shadow: 0 12px 28px rgba(205, 59, 113, 0.15);
  color: #2a0a18;
}
.cd-att-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f43f5e, #ff6f91);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(244, 63, 94, 0.35);
}
.cd-att-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.cd-att-text strong {
  font-weight: 800;
  font-size: 0.97rem;
  line-height: 1.35;
}
.cd-att-text small {
  color: #6f6f6f;
  font-size: 0.78rem;
}
.cd-att-cta {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(205, 59, 113, 0.1);
  color: var(--sh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.cd-attachment:hover .cd-att-cta {
  background: var(--sh-primary);
  color: #fff;
}

.cd-all-resources {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px dashed rgba(205, 59, 113, 0.2);
}

/* Player modal */
.cd-player-modal .modal-content {
  border: none;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0d0408;
  color: #fff;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}
.cd-player-modal .modal-header {
  background: linear-gradient(120deg, #1a0510 0%, #3d0f24 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.95rem 1.25rem;
}
.cd-player-modal .modal-header .btn-close {
  filter: invert(1) brightness(1.4);
}
.cd-player-modal .modal-footer {
  background: #16060d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.25rem;
}
.cd-player-video-wrap {
  background: #000;
}
.cd-player-video-wrap video {
  width: 100%;
  height: 100%;
  background: #000;
}
.cd-player-footer {
  padding: 1rem 1.25rem;
  background: #16060d;
  color: rgba(255, 255, 255, 0.88);
}
.cd-player-footer .cd-bullets li {
  color: rgba(255, 255, 255, 0.88);
}
.cd-player-footer .cd-bullets li::before {
  background: linear-gradient(120deg, #ffb8e8, #fe6fc7);
  box-shadow: 0 0 0 4px rgba(254, 111, 199, 0.15);
}
.cd-player-modal .btn-outline-sh {
  color: #ffb8e8 !important;
  border-color: rgba(255, 184, 232, 0.6);
}
.cd-player-modal .btn-outline-sh:hover {
  background: #ffb8e8;
  color: #2a0a18 !important;
  border-color: #ffb8e8;
}

/* Footer tweak so the page is balanced */
.page-course-details .site-footer {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .cd-hero {
    padding-top: 5.25rem;
    padding-bottom: 4rem;
  }
  .cd-body {
    padding: 3rem 0 4rem;
  }
}
/* —— Course purchase + Paymob —— */
.course-purchase-section {
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(254, 111, 199, 0.10), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(205, 59, 113, 0.10), transparent 55%),
    linear-gradient(180deg, #fffaff 0%, #ffeef6 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.course-purchase-shell {
  margin-top: 2.5rem;
}
.course-purchase-summary {
  height: 100%;
  background: linear-gradient(160deg, #1a0510 0%, #4a1230 55%, #7a1f44 100%);
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(205, 59, 113, 0.45);
}
.course-purchase-summary::after {
  content: "";
  position: absolute;
  inset: -40px -60px auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(254, 111, 199, 0.45), transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}
.cps-price-old {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.cps-price-new {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #ffffff 0%, #ffe1f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
  .cps-price-new {
    color: #fff;
    -webkit-text-fill-color: unset;
  }
}
.cps-currency {
  font-size: 1.1rem;
  vertical-align: middle;
  color: #fff;
  -webkit-text-fill-color: #fff;
  margin-inline-start: 0.25rem;
}
.cps-summary {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}
.cps-benefits {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.25rem;
}
.cps-benefits li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cps-benefits li:last-child {
  border-bottom: 0;
}
.cps-benefits i {
  color: #fe6fc7;
  font-size: 1.1rem;
}
.cps-paymob-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
}
.cps-paymob-badge i {
  color: #fe6fc7;
}
.course-purchase-card {
  height: 100%;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(205, 59, 113, 0.12);
  box-shadow: 0 22px 52px -22px rgba(205, 59, 113, 0.35),
    0 6px 16px -6px rgba(15, 23, 42, 0.10);
}
.course-purchase-card .form-label {
  color: #4a1230;
  font-weight: 700;
}
.course-purchase-card .form-control {
  border-radius: 0.75rem;
  border-color: #f1d8e4;
  padding: 0.7rem 0.95rem;
}
.course-purchase-card .form-control:focus {
  border-color: rgba(205, 59, 113, 0.55);
  box-shadow: 0 0 0 4px rgba(205, 59, 113, 0.12);
}
.cps-config-warn {
  display: flex;
  gap: 0.65rem;
  background: #fff4f9;
  border: 1px solid #f1c4d8;
  color: #7a1f44;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.cps-config-warn i {
  font-size: 1.3rem;
  margin-top: 0.1rem;
  color: #cd3b71;
}
.cps-config-warn code {
  background: rgba(205, 59, 113, 0.1);
  padding: 0.05rem 0.35rem;
  border-radius: 0.35rem;
  font-size: 0.85em;
}

/* —— Course purchase — 2-step wizard —— */
.cps-stepper {
  list-style: none;
  margin: 0 auto 1.75rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 22rem;
}
.cps-stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-width: 4.5rem;
}
.cps-stepper-line {
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(122, 31, 68, 0.15), rgba(254, 111, 199, 0.25));
  transform: translateY(-0.8rem);
  max-width: 6rem;
}
.cps-stepper-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(122, 31, 68, 0.22);
  color: #7a1f44;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.cps-stepper-check {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.cps-stepper-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #8b6a7b;
  transition: color 0.25s ease;
}
.cps-stepper-item[data-state="active"] .cps-stepper-dot {
  background: linear-gradient(135deg, #7a1f44 0%, #cd3b71 55%, #fe6fc7 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(205, 59, 113, 0.55);
  transform: scale(1.08);
}
.cps-stepper-item[data-state="active"] .cps-stepper-label {
  color: #7a1f44;
}
.cps-stepper-item[data-state="completed"] .cps-stepper-dot {
  background: linear-gradient(135deg, #1f7a3f 0%, #2eab57 100%);
  border-color: transparent;
  color: #fff;
}
.cps-stepper-item[data-state="completed"] .cps-stepper-num {
  display: none;
}
.cps-stepper-item[data-state="completed"] .cps-stepper-check {
  display: inline-flex;
}
.cps-stepper-item[data-state="completed"] .cps-stepper-label {
  color: #1f7a3f;
}

.cps-step-panel {
  animation: cpsStepIn 320ms ease-out;
}
.cps-step-panel[hidden] {
  display: none !important;
}
.cps-step-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.cps-step-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #4a1a2c;
  margin: 0 0 0.35rem;
}
.cps-step-sub {
  color: #8b6a7b;
  font-size: 0.95rem;
  margin: 0;
}
.cps-step-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
}
.cps-step-head-row .cps-step-heading,
.cps-step-head-row .cps-step-sub {
  text-align: start;
}
.cps-step-back {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

/* —— Paymob embedded inline payment frame —— */
.cpm-iframe-wrap {
  position: relative;
  width: 100%;
  min-height: 820px;
  background: #fff;
  border-radius: 0.85rem;
  border: 1px solid rgba(122, 31, 68, 0.10);
  overflow: hidden;
}
.cpm-iframe-wrap iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 820px;
  background: #fff;
}
.cpm-iframe-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #7a1f44;
  z-index: 1;
}
.cpm-iframe-loader .spinner-border {
  color: #cd3b71;
  width: 2.5rem;
  height: 2.5rem;
}
.cpm-iframe-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  color: #7a1f44;
  background: #fff;
  min-height: 360px;
}
.cpm-iframe-placeholder i {
  font-size: 2.5rem;
  opacity: 0.7;
}

@keyframes cpsStepIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 575.98px) {
  .cps-step-head-row {
    flex-direction: column;
    align-items: stretch;
  }
  .cps-step-back {
    align-self: flex-start;
  }
  .cpm-iframe-wrap,
  .cpm-iframe-wrap iframe {
    min-height: 760px;
    height: 760px;
  }
}
.cpm-iframe-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #7a1f44;
  z-index: 2;
}
.cpm-iframe-loader .spinner-border {
  color: #cd3b71;
  width: 2.5rem;
  height: 2.5rem;
}

/* —— Payment result page —— */
body.page-payment-result {
  background: #ffffff;
}
.payment-result-section {
  position: relative;
  padding: 8rem 0 6rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(254, 111, 199, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(205, 59, 113, 0.08), transparent 60%),
    #ffffff;
  color: #2a1521;
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.payment-result-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(122, 31, 68, 0.12);
  border-radius: 1.5rem;
  padding: 3.5rem 2.25rem 2.75rem;
  box-shadow:
    0 30px 80px -30px rgba(122, 31, 68, 0.25),
    0 8px 24px -16px rgba(122, 31, 68, 0.15);
  overflow: hidden;
  animation: prCardIn 420ms cubic-bezier(.2, .9, .25, 1.05);
}
.payment-result-stripe {
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, #7a1f44 0%, #cd3b71 55%, #fe6fc7 100%);
}
.payment-result-card.is-failed .payment-result-stripe {
  background: linear-gradient(90deg, #a01c2e 0%, #d63f4d 55%, #ff7a90 100%);
}
.payment-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background: linear-gradient(135deg, #7a1f44 0%, #cd3b71 55%, #fe6fc7 100%);
  box-shadow: 0 12px 28px -10px rgba(205, 59, 113, 0.55);
  animation: prIconPop 520ms cubic-bezier(.2, 1.2, .3, 1.1);
}
.payment-result-card.is-failed .payment-result-icon {
  background: linear-gradient(135deg, #a01c2e 0%, #d63f4d 55%, #ff7a90 100%);
  box-shadow: 0 12px 28px -10px rgba(214, 63, 77, 0.55);
}
.payment-result-eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
  color: #b13a73;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 0.35rem;
}
.payment-result-card.is-failed .payment-result-eyebrow {
  color: #c0394a;
}
.payment-result-title {
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 0.85rem;
  background: linear-gradient(120deg, #4a1a2c 0%, #cd3b71 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.payment-result-card.is-failed .payment-result-title {
  background: linear-gradient(120deg, #4a1a2c 0%, #c0394a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@supports not (-webkit-background-clip: text) {
  .payment-result-title {
    color: #4a1a2c;
    -webkit-text-fill-color: unset;
  }
}
.payment-result-text {
  color: #5a4451;
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 36rem;
  margin: 0 auto;
}
.payment-result-meta {
  background: linear-gradient(180deg, #fbf6f9 0%, #f6eef3 100%);
  border: 1px solid rgba(122, 31, 68, 0.10);
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  margin: 1.75rem auto;
  max-width: 30rem;
  color: #4a1a2c;
  font-size: 0.95rem;
  text-align: start;
}
.prm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
}
.prm-row + .prm-row {
  border-top: 1px dashed rgba(122, 31, 68, 0.12);
}
.prm-label {
  color: #8b6a7b;
  font-weight: 600;
  font-size: 0.88rem;
}
.prm-row strong {
  color: #4a1a2c;
  font-weight: 700;
  font-size: 0.95rem;
}
.prm-status-badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.prm-status-badge.is-success {
  background: rgba(31, 122, 63, 0.10);
  color: #1f7a3f;
}
.prm-status-badge.is-failed {
  background: rgba(192, 57, 74, 0.10);
  color: #c0394a;
}
.payment-result-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.btn.btn-sh-outline {
  border: 2px solid rgba(122, 31, 68, 0.25);
  color: #7a1f44;
  background: #fff;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn.btn-sh-outline:hover,
.btn.btn-sh-outline:focus {
  background: #fbf6f9;
  color: #7a1f44;
  border-color: rgba(122, 31, 68, 0.5);
  box-shadow: 0 8px 18px -10px rgba(122, 31, 68, 0.4);
  transform: translateY(-1px);
}
.payment-result-debug {
  margin: 1.5rem 0 0;
  padding: 0.6rem 0.85rem;
  background: #fff7e8;
  border: 1px solid #ffd58a;
  border-radius: 0.6rem;
  color: #7a4a00;
  font-size: 0.85rem;
}
@keyframes prCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes prIconPop {
  0%   { opacity: 0; transform: scale(0.4); }
  60%  { opacity: 1; transform: scale(1.12); }
  100% { transform: scale(1); }
}
@media (max-width: 575.98px) {
  .payment-result-card {
    padding: 2.5rem 1.25rem 2rem;
  }
  .payment-result-title {
    font-size: 1.6rem;
  }
  .payment-result-actions .btn {
    width: 100%;
  }
}
@media (max-width: 575.98px) {
  .course-purchase-summary,
  .course-purchase-card {
    padding: 1.5rem 1.25rem;
  }
  .cps-price-new {
    font-size: 2rem;
  }
}

/* —— Loading submit button —— */
.btn.is-loading {
  cursor: progress;
  pointer-events: none;
  opacity: 0.92;
}
.btn.is-loading .spinner-border {
  --bs-spinner-border-width: 0.18em;
  width: 1rem;
  height: 1rem;
  vertical-align: -0.18em;
}

/* —— Bottom-right toast stack —— */
.sh-toast-stack {
  position: fixed;
  inset-block-end: 1.25rem;
  inset-inline-end: 1.25rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
  max-width: min(380px, calc(100vw - 2rem));
}
.sh-toast {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  background: linear-gradient(160deg, #ffffff 0%, #fff4f9 65%, #ffe7f3 100%);
  border: 1px solid rgba(205, 59, 113, 0.22);
  border-radius: 14px;
  box-shadow: 0 22px 52px -18px rgba(205, 59, 113, 0.45),
    0 6px 18px -6px rgba(15, 23, 42, 0.18);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.9, 0.25, 1.1),
    opacity 0.28s ease;
  direction: rtl;
  text-align: start;
}
.sh-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.sh-toast.is-leaving {
  transform: translateY(8px) scale(0.98);
  opacity: 0;
}
.sh-toast__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px -6px rgba(205, 59, 113, 0.55),
    inset 0 0 0 4px rgba(255, 255, 255, 0.85);
}
.sh-toast__body {
  min-width: 0;
}
.sh-toast__title {
  margin: 0;
  font-weight: 800;
  font-size: 0.98rem;
  color: #7a1f44;
  letter-spacing: -0.01em;
}
.sh-toast__message {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #4b0822;
}
.sh-toast__close {
  align-self: flex-start;
  background: transparent;
  border: 0;
  font-size: 1.35rem;
  line-height: 1;
  color: #7a1f44;
  opacity: 0.55;
  cursor: pointer;
  padding: 0 0.15rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.sh-toast__close:hover {
  opacity: 0.9;
  transform: scale(1.1);
}
@media (max-width: 575.98px) {
  .sh-toast-stack {
    inset-inline-end: 0.75rem;
    inset-block-end: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }
  .sh-toast {
    padding: 0.75rem 0.85rem;
    grid-template-columns: 38px 1fr auto;
    gap: 0.7rem;
  }
  .sh-toast__icon {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sh-toast {
    transition: opacity 0.18s ease;
    transform: none !important;
  }
}

@media (max-width: 575.98px) {
  .cd-accordion .accordion-button {
    padding: 0.85rem 0.9rem;
    gap: 0.75rem;
  }
  .cd-lesson-title {
    font-size: 0.98rem;
  }
  .cd-lesson-no {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.95rem;
  }
}

/* —— Navbar user-pill (shown when logged in) —— */
.sh-nav-user {
  display: inline-flex;
  align-items: center;
}
.sh-nav-user-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
html[dir='rtl'] .sh-nav-user-link {
  padding: 0.4rem 1rem 0.4rem 0.5rem;
}
.sh-nav-user-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(254, 111, 199, 0.55);
  transform: translateY(-1px);
}
.sh-nav-user-greeting {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: start;
}
.sh-nav-user-hello {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
.sh-nav-user-name {
  font-size: 0.95rem;
  font-weight: 700;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sh-nav-user-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(205, 59, 113, 0.45);
  flex-shrink: 0;
}
.sh-offcanvas-user {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.55rem 1.25rem 0.55rem 0.55rem;
  text-decoration: none;
}
html[dir='rtl'] .sh-offcanvas-user {
  padding: 0.55rem 0.55rem 0.55rem 1.25rem;
}
.sh-offcanvas-user:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}
.sh-offcanvas-user-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.sh-offcanvas-user-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.sh-offcanvas-user-hello {
  font-size: 0.78rem;
  opacity: 0.7;
}
.sh-offcanvas-user-name {
  font-size: 1.05rem;
  font-weight: 700;
}

/* —— Profile page —— */
body.page-profile {
  background: #ffffff;
}
.profile-section {
  position: relative;
  padding: 7rem 0 5rem;
  background: #ffffff;
}
.profile-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 45% at 12% 12%, rgba(254, 111, 199, 0.13), transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 88%, rgba(205, 59, 113, 0.10), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.profile-section .container {
  position: relative;
  z-index: 1;
}
.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.profile-header-text {
  flex: 1 1 auto;
  min-width: 0;
}
.profile-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cd3b71;
  background: rgba(254, 111, 199, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.profile-title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  color: #2a1521;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}
.profile-subtitle {
  margin: 0;
  color: #5b3d4d;
  font-size: 0.95rem;
  line-height: 1.7;
}
.profile-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.profile-btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}
.profile-btn--primary {
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  color: #ffffff;
  box-shadow: 0 14px 28px -14px rgba(205, 59, 113, 0.55);
}
.profile-btn--primary:hover {
  color: #ffffff;
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.profile-btn--ghost {
  background: #ffffff;
  color: #7a1f44;
  border: 1px solid #f3e3eb;
  box-shadow: 0 6px 18px -10px rgba(122, 31, 68, 0.25);
}
.profile-btn--ghost:hover {
  color: #4b0822;
  background: #fff5fa;
  border-color: rgba(205, 59, 113, 0.4);
}
.profile-btn--logout {
  background: #fff;
  color: #7a1f44;
  border: 1px dashed rgba(205, 59, 113, 0.35);
}
.profile-btn--logout:hover {
  color: #4b0822;
  background: #fff5fa;
}
.profile-btn--invoice {
  background: #fff;
  color: #7a1f44;
  border: 1px solid #f3e3eb;
  box-shadow: 0 6px 16px -10px rgba(122, 31, 68, 0.25);
}
.profile-btn--invoice:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  border-color: transparent;
  transform: translateY(-1px);
}
.profile-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.profile-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid #f3e3eb;
  border-radius: 1.25rem;
  padding: 0.85rem;
  box-shadow: 0 20px 50px -28px rgba(122, 31, 68, 0.18);
  position: sticky;
  top: 7.5rem;
  align-self: start;
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
}
.profile-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 0;
  background: transparent;
  text-align: start;
  color: #5b3d4d;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.profile-tab i {
  font-size: 1.1rem;
  color: #b08294;
}
.profile-tab:hover {
  background: #fff5fa;
  color: #4b0822;
}
.profile-tab[data-state='active'] {
  background: linear-gradient(135deg, rgba(163, 39, 87, 0.08), rgba(254, 111, 199, 0.10));
  color: #4b0822;
  box-shadow: inset 0 0 0 1px rgba(205, 59, 113, 0.2);
}
.profile-tab[data-state='active'] i {
  color: #cd3b71;
}
.profile-tab-count {
  margin-inline-start: auto;
  background: #fff5fa;
  color: #7a1f44;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
  min-width: 1.6rem;
  text-align: center;
}
.profile-panels {
  min-width: 0;
}
.profile-panel {
  background: #ffffff;
  border: 1px solid #f3e3eb;
  border-radius: 1.5rem;
  padding: 2rem 1.85rem;
  box-shadow: 0 24px 60px -34px rgba(122, 31, 68, 0.22);
}
.profile-panel + .profile-panel {
  margin-top: 1.5rem;
}
.profile-panel-head {
  margin-bottom: 1.5rem;
}
.profile-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: #2a1521;
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.profile-panel-title i {
  color: #cd3b71;
}
.profile-panel-subtitle {
  margin: 0;
  color: #5b3d4d;
  font-size: 0.92rem;
}
.profile-alert {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
}
.profile-alert--success {
  background: rgba(34, 197, 94, 0.08);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.18);
}
.profile-alert i {
  font-size: 1.1rem;
}

.profile-empty {
  text-align: center;
  padding: 2.5rem 1rem 1rem;
  color: #5b3d4d;
}
.profile-empty i {
  font-size: 2.5rem;
  color: rgba(205, 59, 113, 0.45);
  display: block;
  margin-bottom: 0.75rem;
}
.profile-empty h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2a1521;
  margin: 0 0 0.4rem;
}
.profile-empty p {
  margin: 0 0 1.25rem;
}

.profile-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.profile-order {
  background: #fff;
  border: 1px solid #f3e3eb;
  border-radius: 1.1rem;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.profile-order:hover {
  border-color: rgba(205, 59, 113, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -18px rgba(122, 31, 68, 0.28);
}
.profile-order-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.profile-order-info {
  flex: 1 1 60%;
  min-width: 0;
}
.profile-order-ref {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}
.profile-order-ref-label {
  font-size: 0.75rem;
  color: #9b6a7d;
  font-weight: 600;
}
.profile-order-ref code {
  font-family: 'DM Sans', system-ui, monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #2a1521;
  background: #fff5fa;
  padding: 0.15rem 0.55rem;
  border-radius: 0.45rem;
  display: inline-block;
  width: max-content;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-order-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: #5b3d4d;
  font-size: 0.88rem;
}
.profile-order-meta i {
  color: #cd3b71;
  margin-inline-end: 0.25rem;
}
.profile-order-foot {
  margin-top: 0.85rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.profile-badge--lg {
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}
.profile-badge--success {
  background: rgba(34, 197, 94, 0.12);
  color: #166534;
}
.profile-badge--danger {
  background: rgba(220, 38, 38, 0.12);
  color: #991b1b;
}
.profile-badge--warning {
  background: rgba(234, 179, 8, 0.14);
  color: #92400e;
}
.profile-badge--muted {
  background: #f1f5f9;
  color: #475569;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.profile-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.profile-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.profile-form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4b0822;
}
.profile-form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ecdfe6;
  border-radius: 0.85rem;
  background: #fff;
  color: #2a1521;
  font-size: 0.96rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.profile-form-input:focus {
  outline: none;
  border-color: rgba(205, 59, 113, 0.55);
  box-shadow: 0 0 0 4px rgba(205, 59, 113, 0.12);
}
.profile-form-input[disabled],
.profile-form-input[readonly] {
  background: #faf3f6;
  color: #7a4e62;
}
.profile-form-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.profile-form-error {
  color: #dc2626;
  font-size: 0.82rem;
}
.profile-form-hint {
  font-size: 0.78rem;
  color: #9b6a7d;
  margin: 0;
}
.profile-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Order detail page */
.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: #7a1f44;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.profile-back:hover {
  color: #4b0822;
}
.profile-order-detail-card {
  background: #ffffff;
  border: 1px solid #f3e3eb;
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 28px 70px -34px rgba(122, 31, 68, 0.24);
}
.profile-order-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.profile-order-detail-title {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: #2a1521;
  margin: 0.35rem 0 0.45rem;
  letter-spacing: -0.01em;
}
.profile-order-detail-title code {
  background: #fff5fa;
  padding: 0.15rem 0.55rem;
  border-radius: 0.45rem;
  font-family: 'DM Sans', system-ui, monospace;
  color: #4b0822;
}
.profile-order-detail-sub {
  margin: 0;
  color: #5b3d4d;
  font-size: 0.9rem;
}
.profile-order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.profile-order-detail-cell {
  background: #fbf3f7;
  border: 1px solid #f3e3eb;
  border-radius: 0.95rem;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.profile-order-detail-label {
  font-size: 0.78rem;
  color: #9b6a7d;
  font-weight: 600;
}
.profile-order-detail-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #2a1521;
  word-break: break-word;
}
.profile-order-detail-amount {
  font-size: 1.35rem;
  color: #cd3b71;
}
.profile-order-detail-amount small {
  font-size: 0.85rem;
  color: #7a1f44;
  margin-inline-start: 0.25rem;
}
.profile-order-detail-section {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2a1521;
  margin: 0.5rem 0 1rem;
}
.profile-order-detail-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
  }
  .profile-tab {
    flex: 1 1 auto;
    justify-content: center;
  }
  .profile-tab-count {
    margin-inline-start: 0.45rem;
  }
}
@media (max-width: 767.98px) {
  .profile-section {
    padding: 6rem 0 4rem;
  }
  .profile-panel {
    padding: 1.5rem 1.25rem;
    border-radius: 1.25rem;
  }
  .profile-form-row {
    grid-template-columns: 1fr;
  }
  .profile-order-detail-grid {
    grid-template-columns: 1fr;
  }
  .sh-nav-user-greeting {
    display: none;
  }
  .sh-nav-user-link {
    padding: 0.35rem;
  }
}

/* —— Customer login page —— */
body.page-login {
  background: #ffffff;
}
/* —— Page header with breadcrumb (used on auth pages, etc.) —— */
.sh-page-head {
  position: relative;
  padding: 7.5rem 0 2rem;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(254, 111, 199, 0.20), transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(205, 59, 113, 0.16), transparent 60%),
    linear-gradient(180deg, #1a0510 0%, #3d0f24 55%, #5c1535 100%);
  color: #fff;
  overflow: hidden;
}
.sh-page-head::before {
  content: "";
  position: absolute;
  inset: auto -6% -55% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(254, 111, 199, 0.35), transparent 70%);
  pointer-events: none;
  filter: blur(2px);
}
.sh-page-head > .container {
  position: relative;
  z-index: 1;
}
.sh-page-head-title {
  margin: 0.85rem 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
}
.sh-breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.sh-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}
.sh-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
/* RTL-aware separator before every item except the first */
.sh-breadcrumb li + li::before {
  content: "\203A"; /* › */
  color: rgba(254, 111, 199, 0.75);
  font-weight: 800;
  /* Visually point to the prior item in RTL */
  display: inline-block;
  transform: scaleX(-1);
}
.sh-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sh-breadcrumb a:hover,
.sh-breadcrumb a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(254, 111, 199, 0.45);
  color: #fff;
}
.sh-breadcrumb [aria-current="page"] {
  color: #fff;
  font-weight: 700;
}
@media (max-width: 575.98px) {
  .sh-page-head {
    padding: 6rem 0 1.5rem;
  }
  .sh-page-head-title {
    font-size: 1.4rem;
  }
}

.customer-login-section {
  position: relative;
  padding: 7rem 0 5rem;
  background: #ffffff;
  overflow: hidden;
}
.customer-login-section--with-head {
  padding-top: 3rem;
}
@media (max-width: 575.98px) {
  .customer-login-section--with-head {
    padding-top: 2rem;
  }
}
.customer-login-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 45% at 12% 12%, rgba(254, 111, 199, 0.13), transparent 60%),
    radial-gradient(ellipse 55% 40% at 88% 88%, rgba(205, 59, 113, 0.10), transparent 60%);
  z-index: 0;
}
.customer-login-section .container {
  position: relative;
  z-index: 1;
}
.customer-login-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: stretch;
}
.customer-login-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #f3e3eb;
  box-shadow: 0 30px 70px -28px rgba(122, 31, 68, 0.25), 0 14px 36px -22px rgba(15, 23, 42, 0.12);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
}
.customer-login-card-head {
  margin-bottom: 1.75rem;
}
.customer-login-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cd3b71;
  background: rgba(254, 111, 199, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.customer-login-title {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: #2a1521;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}
.customer-login-subtitle {
  margin: 0;
  color: #5b3d4d;
  font-size: 0.95rem;
  line-height: 1.7;
}
.customer-login-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(34, 197, 94, 0.08);
  color: #166534;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  border: 1px solid rgba(34, 197, 94, 0.18);
}
.customer-login-status i {
  font-size: 1.1rem;
}
.customer-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.customer-login-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.customer-login-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4b0822;
}
.customer-login-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.customer-login-input-icon {
  position: absolute;
  inset-inline-start: 0.95rem;
  color: #b08294;
  font-size: 1rem;
  pointer-events: none;
}
.customer-login-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border: 1px solid #ecdfe6;
  border-radius: 0.85rem;
  background: #fff;
  color: #2a1521;
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
html[dir='rtl'] .customer-login-input {
  padding: 0.85rem 2.6rem 0.85rem 1rem;
}
.customer-login-input::placeholder {
  color: #c8a8b6;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.customer-login-input:focus {
  outline: none;
  border-color: rgba(205, 59, 113, 0.55);
  box-shadow: 0 0 0 4px rgba(205, 59, 113, 0.12);
}
.customer-login-input.is-invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.customer-login-toggle {
  position: absolute;
  inset-inline-end: 0.85rem;
  background: transparent;
  border: 0;
  color: #b08294;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.45rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.customer-login-toggle:hover {
  color: #7a1f44;
  background: rgba(254, 111, 199, 0.1);
}
.customer-login-error {
  color: #dc2626;
  font-size: 0.82rem;
  margin-top: 0.1rem;
}
.customer-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #5b3d4d;
  cursor: pointer;
  user-select: none;
}
.customer-login-remember input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #cd3b71;
}
.customer-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  padding: 0.95rem 1.5rem;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(205, 59, 113, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.customer-login-submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -10px rgba(205, 59, 113, 0.6);
}
.customer-login-submit:active {
  transform: translateY(0);
}
.customer-login-submit i {
  font-size: 1.05rem;
}
.customer-login-foot {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #f3e3eb;
}
.customer-login-foot-text {
  margin: 0;
  color: #5b3d4d;
  font-size: 0.92rem;
  text-align: center;
}
.customer-login-foot-text a {
  color: #cd3b71;
  font-weight: 700;
  text-decoration: none;
}
.customer-login-foot-text a:hover {
  text-decoration: underline;
}

.customer-login-aside {
  display: flex;
}
.customer-login-aside-card {
  background: linear-gradient(160deg, rgba(254, 111, 199, 0.08) 0%, rgba(205, 59, 113, 0.05) 100%);
  border: 1px solid rgba(205, 59, 113, 0.16);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.customer-login-aside-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #a32757 0%, #cd3b71 55%, #fe6fc7 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 12px 24px -10px rgba(205, 59, 113, 0.55);
}
.customer-login-aside-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #2a1521;
  margin: 0 0 0.6rem;
  line-height: 1.4;
}
.customer-login-aside-text {
  color: #5b3d4d;
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}
.customer-login-aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.customer-login-aside-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #2a1521;
  font-size: 0.92rem;
  font-weight: 500;
}
.customer-login-aside-list i {
  color: #cd3b71;
  font-size: 1.05rem;
}

@media (max-width: 991.98px) {
  .customer-login-wrap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .customer-login-aside {
    order: -1;
  }
  .customer-login-aside-card {
    padding: 1.5rem 1.5rem;
  }
  .customer-login-aside-title {
    font-size: 1.15rem;
  }
}
@media (max-width: 575.98px) {
  .customer-login-section {
    padding: 6rem 0 4rem;
  }
  .customer-login-card {
    padding: 1.75rem 1.25rem;
    border-radius: 1.25rem;
  }
  .customer-login-title {
    font-size: 1.4rem;
  }
  .customer-login-submit {
    width: 100%;
  }
}

/* —— Policy page (return & refund, etc.) —— */
.page-policy {
  background: linear-gradient(180deg, #fff 0%, #fff5fb 100%);
}
.policy-hero {
  position: relative;
  padding: 9rem 0 3.5rem;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(254, 111, 199, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(205, 59, 113, 0.18), transparent 60%),
    linear-gradient(180deg, #1a0510 0%, #3d0f24 55%, #5c1535 100%);
  color: #fff;
  overflow: hidden;
}
.policy-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(254, 111, 199, 0.45), transparent 70%);
  pointer-events: none;
  filter: blur(4px);
}
.policy-hero-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.policy-hero-eyebrow {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(254, 111, 199, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(6px);
}
.policy-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin: 0 0 0.85rem;
  line-height: 1.25;
}
.policy-hero-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.policy-hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
  color: #fff;
}
.policy-hero-divider {
  color: rgba(254, 111, 199, 0.7);
}
.policy-body {
  padding: 4rem 0 5rem;
}
.policy-intro-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.75rem;
  border: 1px solid rgba(205, 59, 113, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.75rem;
  position: relative;
}
.policy-intro-card::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 999px;
  background: var(--sh-gradient);
}
.policy-intro-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.95;
  color: #2a1018;
}
.policy-intro-card strong {
  color: var(--sh-primary);
  font-weight: 800;
}
.policy-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.85rem 1.75rem;
  border: 1px solid rgba(205, 59, 113, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(205, 59, 113, 0.12);
}
.policy-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(205, 59, 113, 0.18);
}
.policy-card-index {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: var(--sh-gradient);
  color: #fff;
  font-weight: 900;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(205, 59, 113, 0.6);
}
.policy-card-titles {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.policy-card-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sh-primary);
  letter-spacing: 0.02em;
}
.policy-card-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--sh-black);
  line-height: 1.4;
}
.policy-card-body {
  color: #2a1018;
  font-size: 1rem;
  line-height: 1.95;
}
.policy-card-body p {
  margin: 0 0 0.85rem;
}
.policy-card-body p:last-child {
  margin-bottom: 0;
}
.policy-list {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.policy-list li {
  position: relative;
  padding-inline-start: 2.1rem;
  padding-block: 0.15rem;
  line-height: 1.85;
}
.policy-list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.15rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}
.policy-list--check li::before {
  content: "✓";
  background: rgba(46, 204, 113, 0.12);
  color: #1f8f5a;
  border: 1px solid rgba(46, 204, 113, 0.35);
}
.policy-list--cross li::before {
  content: "✗";
  background: rgba(231, 76, 60, 0.1);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.35);
}
.policy-card--contact {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(254, 111, 199, 0.10), transparent 60%),
    #fff;
  border-color: rgba(205, 59, 113, 0.22);
}
.policy-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.policy-contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(205, 59, 113, 0.05);
  border: 1px solid rgba(205, 59, 113, 0.14);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
a.policy-contact-item:hover {
  background: rgba(205, 59, 113, 0.09);
  border-color: rgba(205, 59, 113, 0.32);
  transform: translateY(-2px);
}
.policy-contact-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: var(--sh-gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.policy-contact-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.policy-contact-label {
  font-size: 0.8rem;
  color: #6a4555;
  font-weight: 700;
}
.policy-contact-value {
  font-weight: 800;
  color: var(--sh-black);
  word-break: break-all;
}
.policy-notice {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(205, 59, 113, 0.08), rgba(254, 111, 199, 0.12));
  border: 1px dashed rgba(205, 59, 113, 0.35);
  color: #2a1018;
  line-height: 1.9;
}
.policy-notice p {
  margin: 0 0 0.5rem;
}
.policy-notice p:last-child {
  margin-bottom: 0;
}
.policy-notice-strong {
  font-weight: 800;
  color: var(--sh-primary-dark);
}
@media (max-width: 767.98px) {
  .policy-hero {
    padding: 7.5rem 0 2.5rem;
  }
  .policy-body {
    padding: 2.5rem 0 4rem;
  }
  .policy-card {
    padding: 1.4rem 1.15rem;
    border-radius: 1.15rem;
  }
  .policy-card-index {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.15rem;
  }
  .policy-card-title {
    font-size: 1.15rem;
  }
  .policy-contact-grid {
    grid-template-columns: 1fr;
  }
  .policy-intro-card {
    padding: 1.35rem 1.25rem;
  }
}
