/* ==========================================================================
   CHEKAH ACADEMY - DEDICATED BOOK PRODUCT DESIGN SYSTEM (CSS)
   Tailored exclusively for physical and educational books
   Palette: Prussian Blue (#00304D), Azure (#2E6F97), Tiger Orange (#E98322)
   ========================================================================== */

/* 1. HERO SECTION */
.ck-b-hero {
  background: linear-gradient(135deg, #001A2C 0%, #00304D 60%, #00233A 100%) !important;
  padding: 44px 0 50px 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  direction: rtl;
  font-family: var(--ck-font, 'Vazirmatn', sans-serif);
}

.ck-b-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(233, 131, 34, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.ck-b-hero::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(46, 111, 151, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.ck-b-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 22px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.ck-b-breadcrumbs a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.18s ease;
}

.ck-b-breadcrumbs a:hover {
  color: #E98322;
}

.ck-b-bc-sep {
  color: rgba(255, 255, 255, 0.28);
}

.ck-b-bc-current {
  color: #FFFFFF;
  font-weight: 700;
}

.ck-b-hero-content {
  max-width: 920px;
  position: relative;
  z-index: 1;
}

/* Badges */
.ck-b-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ck-b-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
}

.ck-b-badge-orange {
  background: rgba(233, 131, 34, 0.18);
  color: #F4A460;
  border: 1px solid rgba(233, 131, 34, 0.45);
}

.ck-b-badge-book {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.ck-b-badge-shipping {
  background: rgba(16, 185, 129, 0.18);
  color: #6EE7B7;
  border: 1px solid rgba(16, 185, 129, 0.38);
}

.ck-b-dot {
  width: 7px;
  height: 7px;
  background: #E98322;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #E98322;
}

/* Main Title */
.ck-b-title {
  font-family: var(--ck-font, 'Vazirmatn', sans-serif) !important;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.45;
  color: #FFFFFF;
  margin: 0 0 16px;
}

@media (max-width: 768px) {
  .ck-b-title {
    font-size: 24px;
  }
}

.ck-b-excerpt {
  font-family: var(--ck-font, 'Vazirmatn', sans-serif) !important;
  font-size: 15.5px;
  line-height: 1.85;
  color: #CBD5E1;
  margin-bottom: 24px;
  max-width: 820px;
}

/* Hero Meta Row */
.ck-b-hero-meta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ck-b-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ck-b-meta-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F4A460;
  flex-shrink: 0;
}

.ck-b-meta-item small {
  display: block;
  font-size: 11.5px;
  color: #94A3B8;
  margin-bottom: 2px;
}

.ck-b-meta-item strong {
  display: block;
  font-size: 13.5px;
  color: #FFFFFF;
  font-weight: 700;
}

.ck-b-meta-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .ck-b-meta-divider {
    display: none;
  }
  .ck-b-hero-meta {
    gap: 14px;
  }
}

/* 2. STICKY TABS BAR */
.ck-b-tabs-nav {
  position: sticky;
  top: 74px;
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8EE;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 48, 77, 0.04);
  direction: rtl;
}

.ck-b-tabs-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ck-b-tabs-list::-webkit-scrollbar {
  display: none;
}

.ck-b-tab {
  display: flex;
  align-items: center;
  padding: 16px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #5A6B77;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.ck-b-tab:hover {
  color: #E98322;
}

.ck-b-tab.active {
  color: #00304D;
  border-bottom-color: #E98322;
}

/* 3. MAIN LAYOUT GRID */
.ck-b-main-container {
  padding-top: 36px;
  padding-bottom: 80px;
  direction: rtl;
  font-family: var(--ck-font, 'Vazirmatn', sans-serif);
}

.ck-b-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  grid-template-areas:
    "sidebar media"
    "sidebar content";
  gap: 32px;
  align-items: start;
}

@media (max-width: 1080px) {
  .ck-b-layout {
    grid-template-columns: 320px 1fr;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .ck-b-main-container {
    padding-top: 18px !important;
    padding-bottom: 96px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .ck-b-tabs-nav {
    top: 60px !important;
    z-index: 99 !important;
  }

  .ck-b-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .ck-b-media-block {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 14px !important;
  }

  .ck-b-col-sidebar {
    order: 2 !important;
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ck-b-sidebar-card {
    position: static !important;
    top: auto !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(0, 48, 77, 0.06) !important;
  }

  .ck-b-col-content {
    order: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
  }
}

/* 4. MEDIA BLOCK (BOOK 3D PRESENTATION) */
.ck-b-media-block {
  grid-area: media;
  background: #FFFFFF;
  border: 1px solid #E2E8EE;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 48, 77, 0.04);
  text-align: center;
}

.ck-b-book-showcase {
  position: relative;
  display: inline-block;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.ck-b-book-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow:
    0 10px 25px -5px rgba(0, 48, 77, 0.15),
    0 25px 50px -12px rgba(0, 48, 77, 0.25);
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
}

.ck-b-book-showcase:hover .ck-b-book-img {
  transform: translateY(-6px) scale(1.02);
  box-shadow:
    0 15px 35px -5px rgba(0, 48, 77, 0.2),
    0 35px 65px -15px rgba(0, 48, 77, 0.3);
}

.ck-b-media-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #E2E8EE;
  flex-wrap: wrap;
}

.ck-b-perk-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #F6F8FB;
  border: 1px solid #E2E8EE;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  color: #00304D;
}

/* 5. SIDEBAR PURCHASE CARD (STICKY) */
.ck-b-col-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 140px;
}

.ck-b-sidebar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8EE;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0, 48, 77, 0.06);
}

/* Price Box */
.ck-b-price-box {
  background: #F6F8FB;
  border: 1px solid #E2E8EE;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.ck-b-price-old-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ck-b-price-old {
  font-size: 14px;
  color: #475569;
  text-decoration: line-through;
  font-weight: 600;
}

.ck-b-disc-pill {
  background: #FFEDD5;
  color: #9A3412;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 12px;
  border: 1px solid rgba(233, 131, 34, 0.3);
}

.ck-b-price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ck-b-price-val {
  font-size: 30px;
  font-weight: 900;
  color: #00304D;
  line-height: 1;
}

.ck-b-price-curr {
  font-size: 14px;
  font-weight: 700;
  color: #5A6B77;
}

.ck-b-stock-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 12px;
  color: #059669;
  font-weight: 700;
}

.ck-b-stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

/* CTA Buttons */
.ck-b-cta-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ck-b-btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 20px;
  background: #E98322 !important;
  color: #FFFFFF !important;
  font-family: var(--ck-font, 'Vazirmatn', sans-serif) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(233, 131, 34, 0.38) !important;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ck-b-btn-buy:hover {
  background: #C96A12 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(233, 131, 34, 0.48) !important;
}

.ck-b-btn-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  background: #FFFFFF;
  color: #00304D;
  font-family: var(--ck-font, 'Vazirmatn', sans-serif) !important;
  font-size: 14.5px;
  font-weight: 700;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ck-b-btn-consult:hover {
  border-color: #00304D;
  background: #F6F8FB;
  transform: translateY(-2px);
}

/* Book Specs List in Sidebar */
.ck-b-specs-list {
  border-top: 1px solid #E2E8EE;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ck-b-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #E2E8EE;
}

.ck-b-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ck-b-spec-lbl {
  color: #5A6B77;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ck-b-spec-val {
  color: #00304D;
  font-weight: 750;
  text-align: left;
}

/* Guarantee Box */
.ck-b-guarantee-box {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(233, 131, 34, 0.06);
  border: 1px solid rgba(233, 131, 34, 0.22);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ck-b-guar-icon {
  color: #E98322;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ck-b-guarantee-box strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #00304D;
  margin-bottom: 4px;
}

.ck-b-guarantee-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #5A6B77;
}

/* 6. CONTENT COLUMN */
.ck-b-col-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 4 Value Props Grid */
.ck-b-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 600px) {
  .ck-b-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.ck-b-highlight-card {
  background: #FFFFFF;
  border: 1px solid #E2E8EE;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 4px 14px rgba(0, 48, 77, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ck-b-highlight-card:hover {
  transform: translateY(-3px);
  border-color: #2E6F97;
}

.ck-b-h-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.ck-b-highlight-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #00304D;
}

.ck-b-highlight-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5A6B77;
}

/* Standard Content Block */
.ck-b-block {
  background: #FFFFFF;
  border: 1px solid #E2E8EE;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 48, 77, 0.04);
  scroll-margin-top: 130px;
}

@media (max-width: 900px) {
  .ck-b-block {
    scroll-margin-top: 115px !important;
  }
}

@media (max-width: 600px) {
  .ck-b-block {
    padding: 22px 18px;
  }
}

.ck-b-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
  color: #00304D;
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid #F6F8FB;
}

.ck-b-b-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(233, 131, 34, 0.12);
  color: #E98322;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Typography Inside Book Content */
.ck-b-typography {
  font-size: 15px;
  line-height: 2;
  color: #1C2B22;
}

.ck-b-typography p {
  margin-bottom: 16px;
}

.ck-b-typography h2,
.ck-b-typography h3,
.ck-b-typography h4 {
  color: #00304D;
  font-weight: 800;
  margin: 24px 0 12px;
}

.ck-b-typography ul,
.ck-b-typography ol {
  padding-right: 22px;
  margin-bottom: 18px;
}

.ck-b-typography li {
  margin-bottom: 8px;
  line-height: 1.8;
}

/* Detailed Technical Specs Table (شناسنامه فنی کتاب) */
.ck-b-tech-specs-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width: 650px) {
  .ck-b-tech-specs-table {
    grid-template-columns: 1fr;
  }
}

.ck-b-tech-row {
  background: #F6F8FB;
  border: 1px solid #E2E8EE;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ck-b-tech-label {
  font-size: 13.5px;
  color: #5A6B77;
  font-weight: 600;
}

.ck-b-tech-value {
  font-size: 14px;
  font-weight: 800;
  color: #00304D;
}

/* Chapter / TOC Accordion */
.ck-b-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ck-b-acc-item {
  border: 1px solid #E2E8EE;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ck-b-acc-item.active {
  border-color: #2E6F97;
  box-shadow: 0 4px 14px rgba(46, 111, 151, 0.08);
}

.ck-b-acc-head {
  width: 100%;
  background: #F6F8FB;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: right;
  direction: rtl;
  font-family: var(--ck-font, 'Vazirmatn', sans-serif);
}

.ck-b-acc-head-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ck-b-ch-num {
  background: #00304D;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.ck-b-acc-head strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #00304D;
}

.ck-b-acc-arrow {
  font-size: 16px;
  color: #5A6B77;
  transition: transform 0.2s ease;
}

.ck-b-acc-item.active .ck-b-acc-arrow {
  transform: rotate(180deg);
  color: #E98322;
}

.ck-b-acc-body {
  padding: 18px 22px;
  background: #FFFFFF;
  display: none;
  font-size: 14px;
  line-height: 1.85;
  color: #5A6B77;
}

.ck-b-acc-item.active .ck-b-acc-body {
  display: block;
}

.ck-b-lessons-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ck-b-lessons-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #E2E8EE;
}

.ck-b-lessons-list li:last-child {
  border-bottom: none;
}

.ck-b-lesson-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E98322;
  flex-shrink: 0;
}

/* Audience Comparison Grid */
.ck-b-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 650px) {
  .ck-b-audience-grid {
    grid-template-columns: 1fr;
  }
}

.ck-b-aud-box {
  border-radius: 16px;
  padding: 22px;
}

.ck-b-aud-green {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.ck-b-aud-blue {
  background: rgba(46, 111, 151, 0.06);
  border: 1px solid rgba(46, 111, 151, 0.22);
}

.ck-b-aud-box h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ck-b-aud-green h3 { color: #047857; }
.ck-b-aud-blue h3 { color: #00304D; }

.ck-b-aud-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ck-b-aud-box li {
  position: relative;
  padding-right: 20px;
  margin-bottom: 10px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #1C2B22;
}

.ck-b-aud-box li::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 800;
}

.ck-b-aud-green li::before { color: #10B981; }
.ck-b-aud-blue li::before { color: #2E6F97; }

/* Author Profile Card */
.ck-b-author-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #F6F8FB;
  border: 1px solid #E2E8EE;
  border-radius: 16px;
  padding: 24px;
}

@media (max-width: 600px) {
  .ck-b-author-card {
    flex-direction: column;
    text-align: center;
  }
}

.ck-b-author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 48, 77, 0.12);
  flex-shrink: 0;
}

.ck-b-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ck-b-author-details {
  flex-grow: 1;
}

.ck-b-author-badge {
  display: inline-block;
  background: rgba(233, 131, 34, 0.14);
  color: #C96A12;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
}

.ck-b-author-name {
  font-size: 18px;
  font-weight: 900;
  color: #00304D;
  margin: 0 0 6px;
}

.ck-b-author-bio {
  font-size: 13.5px;
  line-height: 1.8;
  color: #5A6B77;
  margin: 0;
}

/* Shipping & FAQ */
.ck-b-shipping-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .ck-b-shipping-grid {
    grid-template-columns: 1fr;
  }
}

.ck-b-shipping-step {
  background: #F6F8FB;
  border: 1px solid #E2E8EE;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.ck-b-step-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

.ck-b-shipping-step strong {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: #00304D;
  margin-bottom: 6px;
}

.ck-b-shipping-step p {
  margin: 0;
  font-size: 12.5px;
  color: #5A6B77;
  line-height: 1.65;
}

/* 7. MOBILE BOTTOM STICKY BAR */
.ck-b-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8EE;
  padding: 12px 18px;
  box-shadow: 0 -4px 20px rgba(0, 48, 77, 0.1);
  z-index: 9998;
  direction: rtl;
}

@media (max-width: 900px) {
  .ck-b-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}

.ck-b-mb-price {
  display: flex;
  flex-direction: column;
}

.ck-b-mb-old {
  font-size: 12px;
  color: #475569;
  text-decoration: line-through;
}

.ck-b-mb-current {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ck-b-mb-current strong {
  font-size: 20px;
  font-weight: 900;
  color: #00304D;
}

.ck-b-mb-current small {
  font-size: 12px;
  color: #5A6B77;
}

.ck-b-mb-cta {
  flex-shrink: 0;
}

.ck-b-mb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #B45309 !important;
  color: #FFFFFF !important;
  font-family: var(--ck-font, 'Vazirmatn', sans-serif) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 10px !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35) !important;
  cursor: pointer;
}

/* Hide Digipay instalment widgets on book product pages */
.digipay-widget,
.single-product.product-cat-%da%a9%d8%aa%d8%a7%d8%a8 .digipay-widget,
.single-product.product-cat-کتاب .digipay-widget,
.single-product.postid-4996 .digipay-widget,
.single-product.postid-14911 .digipay-widget {
  display: none !important;
}


/* 8. REVIEWS & RATINGS IN BOOK PRODUCT */
.ck-reviews-area {
  background: #FFFFFF;
  border: 1px solid #E2E8EE;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 24px rgba(0, 48, 77, 0.04);
  margin-top: 24px;
}
.ck-reviews-header-box {
  padding-bottom: 20px;
  border-bottom: 2px solid #F6F8FB;
  margin-bottom: 24px;
}
.ck-reviews-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.ck-reviews-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(247, 127, 0, 0.12);
  color: #D97706;
}
.ck-reviews-title {
  font-size: 21px;
  font-weight: 900;
  color: #00304D;
  margin: 0;
}
.ck-reviews-count-pill {
  font-size: 12.5px;
  font-weight: 800;
  background: rgba(233, 131, 34, 0.14);
  color: #E06D00;
  padding: 3px 12px;
  border-radius: 20px;
  margin-inline-start: auto;
}
.ck-reviews-subtitle {
  font-size: 13.5px;
  color: #5A6B77;
  margin: 0;
  line-height: 1.7;
}
.ck-reviews-summary-card {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 24px;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8EE;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.ck-rating-score-box {
  text-align: center;
  padding-inline-end: 20px;
  border-inline-end: 1px solid #E2E8EE;
}
.ck-rating-big-num {
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
  color: #00304D;
  margin-bottom: 6px;
}
.ck-rating-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}
.ck-rating-total-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  display: block;
}
.ck-rating-bars-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ck-rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.ck-bar-label {
  width: 50px;
  font-weight: 700;
  color: #475569;
  text-align: right;
  flex-shrink: 0;
}
.ck-bar-track {
  flex: 1;
  height: 8px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ck-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.ck-bar-percent {
  width: 36px;
  text-align: left;
  font-weight: 700;
  color: #64748B;
  flex-shrink: 0;
}
.ck-rating-action-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline-start: 20px;
  border-inline-start: 1px solid #E2E8EE;
}
.ck-btn-write-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #F77F00 0%, #E06D00 100%);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(247, 127, 0, 0.28);
  transition: all 0.2s ease;
  width: 100%;
  max-width: 200px;
}
.ck-btn-write-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(247, 127, 0, 0.38);
  color: #FFFFFF !important;
}
.ck-action-hint {
  font-size: 11px;
  color: #64748B;
  margin-top: 8px;
}
.ck-reviews-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ck-review-item {
  position: relative;
}
.ck-review-card {
  background: #FAFAFC;
  border: 1px solid #E2E8EE;
  border-radius: 16px;
  padding: 20px 22px;
  transition: all 0.2s ease;
}
.ck-review-card:hover {
  border-color: rgba(46, 111, 151, 0.35);
  box-shadow: 0 4px 16px rgba(0, 48, 77, 0.04);
}
.ck-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.ck-review-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ck-review-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 48, 77, 0.1);
  display: block;
}
.ck-review-author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ck-review-author-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #00304D;
}
.ck-badge-verified {
  font-size: 11px;
  font-weight: 700;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
}
.ck-review-meta-row {
  margin-top: 3px;
}
.ck-review-date {
  font-size: 11.5px;
  color: #64748B;
}
.ck-review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  background: #FFFFFF;
  border: 1px solid #E2E8EE;
  padding: 4px 10px;
  border-radius: 10px;
}
.ck-review-score-num {
  font-size: 12.5px;
  font-weight: 800;
  color: #B45309;
  margin-inline-start: 4px;
}
.ck-review-body {
  font-size: 14px;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 10px;
}
.ck-review-footer {
  display: flex;
  justify-content: flex-end;
}
.ck-no-reviews-box {
  text-align: center;
  padding: 40px 20px;
  background: #F8FAFC;
  border: 2px dashed #CBD5E1;
  border-radius: 16px;
  margin-bottom: 28px;
}
.ck-no-r-icon {
  margin-bottom: 12px;
}
.ck-no-reviews-box strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #00304D;
  margin-bottom: 6px;
}
.ck-no-reviews-box p {
  font-size: 13.5px;
  color: #64748B;
  margin: 0;
}
.ck-review-form-wrapper {
  background: #F8FAFC;
  border: 1px solid #E2E8EE;
  border-radius: 18px;
  padding: 28px;
  margin-top: 24px;
}
.ck-rating-picker-group {
  margin-bottom: 20px;
}
.ck-star-picker-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.ck-star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}
.ck-pick-star {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  outline: none;
  transition: transform 0.15s ease;
}
.ck-pick-star:hover,
.ck-pick-star:focus {
  transform: scale(1.2);
}
.ck-pick-star svg {
  fill: #CBD5E1;
  stroke: #94A3B8;
  stroke-width: 1.5;
  transition: all 0.2s ease;
}
.ck-pick-star.filled svg,
.ck-pick-star.active svg {
  fill: #F59E0B;
  stroke: #D97706;
}
.ck-star-picker-label {
  font-size: 13px;
  font-weight: 800;
  color: #D97706;
  background: #FEF3C7;
  padding: 4px 12px;
  border-radius: 8px;
}
.ck-btn-submit-review {
  background: linear-gradient(135deg, #F77F00 0%, #E06D00 100%) !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 12px 30px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(247, 127, 0, 0.28) !important;
  transition: all 0.2s ease !important;
}
.ck-btn-submit-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(247, 127, 0, 0.38) !important;
}
@media (max-width: 900px) {
  .ck-reviews-summary-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .ck-rating-score-box {
    border-inline-end: none;
    border-bottom: 1px solid #E2E8EE;
    padding-bottom: 16px;
    padding-inline-end: 0;
  }
  .ck-rating-action-box {
    border-inline-start: none;
    border-top: 1px solid #E2E8EE;
    padding-top: 16px;
    padding-inline-start: 0;
    width: 100%;
  }
  .ck-btn-write-review {
    max-width: 100%;
  }
  .ck-reviews-area {
    padding: 20px 16px;
  }
  .ck-review-form-wrapper {
    padding: 20px 16px;
  }
}
