/* ==========================================================================
   دار طيبة الدمشقية — DAR TAIBA AL-DIMASHQIYAH
   DEDICATED BOOK DETAILS STYLESHEET (product-details.css)
   Aesthetic: Royal Damascus Editorial, 3D Book Showcase, Bibliographical Dossier
   ========================================================================== */

/* ── 1. GLOBAL WRAPPER & BREADCRUMBS ──────────────────────────────────────── */
.book-details-page-wrap {
  background: #FBF9ED;
  min-height: 100vh;
  padding-bottom: 70px;
}

.book-breadcrumbs-bar {
  padding: 28px 0 16px;
  border-bottom: 1px solid rgba(186, 155, 50, 0.16);
  margin-bottom: 24px;
}

.book-breadcrumbs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.breadcrumbs-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(186, 155, 50, 0.35);
  color: #005943;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 89, 67, 0.04);
  transition: all 0.22s ease;
}

.breadcrumbs-back-btn:hover {
  background: #005943;
  color: #BA9B32;
  border-color: #005943;
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(0, 89, 67, 0.16);
}

.book-breadcrumbs-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #7a6e60;
  flex-wrap: wrap;
}

.book-breadcrumbs-nav a {
  color: #005943;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.book-breadcrumbs-nav a:hover {
  color: #BA9B32;
}

.book-breadcrumbs-nav .crumb-sep {
  font-size: 10px;
  color: #BA9B32;
  opacity: 0.65;
}

.book-breadcrumbs-nav .crumb-current {
  color: #8F7520;
  font-weight: 800;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── 2. BOOK SHOWCASE HERO STAGE ─────────────────────────────────────────── */
.book-showcase-stage {
  padding-bottom: 40px;
}

.book-showcase-grid {
  display: grid;
  grid-template-columns: 500px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── RIGHT COLUMN: BOOK VISUAL PODIUM ────────────────────────────────────── */
.book-gallery-podium {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book-visual-frame {
  position: relative;
  background: 
    radial-gradient(circle at 50% 35%, rgba(186, 155, 50, 0.12) 0%, transparent 70%),
    linear-gradient(-180deg, #ffffff 0%, #f6f0e4 100%);
  border: 1px solid rgba(186, 155, 50, 0.35);
  border-radius: 24px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 20px 45px -10px rgba(0, 89, 67, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

/* Inner Damascus Corner Motifs */
.book-visual-frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(186, 155, 50, 0.2);
  border-radius: 16px;
  pointer-events: none;
}

/* Badge Anchor */
.book-visual-badge-anchor {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
}

.book-badge-royal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(-135deg, #005943 0%, #00382b 100%);
  color: #E0C76C;
  border: 1px solid rgba(204, 168, 59, 0.5);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 43, 32, 0.25);
}

.book-badge-royal.badge-new {
  background: linear-gradient(-135deg, #8F7520 0%, #68480d 100%);
  color: #ffffff;
  border-color: #CCA83B;
}

/* Floating Wishlist Quick Action on Cover */
.book-cover-floating-wish {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(186, 155, 50, 0.35);
  color: #005943;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.22s ease;
}

.book-cover-floating-wish:hover {
  background: #005943;
  color: #CCA83B;
  border-color: #005943;
  transform: scale(1.08);
}

.book-cover-floating-wish.active-wish {
  background: #ffffff;
  color: #e11d48;
  border-color: #e11d48;
}

.book-cover-floating-wish.active-wish i {
  color: #e11d48;
}

/* 3D Book Presentation Structure — Large, Commanding, Sharp */
.book-3d-presentation {
  position: relative;
  width: 350px;
  max-width: 100%;
  height: 505px;
  perspective: 1200px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border-radius: 20px 8px 8px 20px;
  box-shadow: 
    18px 28px 52px rgba(0, 43, 32, 0.38),
    4px 8px 18px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(186, 155, 50, 0.28);
  overflow: hidden;
}

.book-3d-presentation:hover {
  transform: translateY(-8px) rotateY(4deg);
  box-shadow: 
    24px 36px 64px rgba(0, 43, 32, 0.45),
    6px 12px 24px rgba(0, 0, 0, 0.26),
    0 0 0 1.5px rgba(204, 168, 59, 0.45);
}

.book-3d-cover-wrap {
  width: 100%;
  height: 100%;
  border-radius: 20px 8px 8px 20px;
  overflow: hidden;
  position: relative;
  background: #002b20;
}

/* Realistic Spine Shadow */
.book-3d-cover-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 20px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.1) 40%, transparent);
  z-index: 3;
  pointer-events: none;
}

/* Cover Image */
.book-3d-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.02);
}

/* Artisan Leather Pure Cover (when cover image is not uploaded) */
.artisan-cover-pure-details {
  width: 100%;
  height: 100%;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  border: 4px double rgba(204, 168, 59, 0.55);
  box-sizing: border-box;
  color: #ffffff;
}

.artisan-cover-pure-details .artisan-logo {
  height: 38px;
  opacity: 0.9;
}

.artisan-cover-pure-details .artisan-title {
  font-family: 'Amiri', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fce49e;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.artisan-cover-pure-details .artisan-author {
  font-size: 16px;
  color: #d6cbba;
  font-weight: 600;
}

/* Gallery Action Dock */
.book-gallery-action-dock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
}

.btn-gallery-action {
  background: #ffffff;
  border: 1px solid rgba(186, 155, 50, 0.35);
  border-radius: 9999px;
  padding: 8px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: #005943;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gallery-action i {
  color: #BA9B32;
  font-size: 12px;
}

.btn-gallery-action:hover {
  background: #005943;
  color: #ffffff;
  border-color: #005943;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 89, 67, 0.15);
}

.btn-gallery-action:hover i {
  color: #E0C76C;
}

.btn-gallery-action.active-wish {
  background: #ffebee;
  border-color: #e57373;
  color: #c62828;
}

.btn-gallery-action.active-wish i {
  color: #c62828;
}

/* 4 Trust Guarantee Badges under book cover */
.book-guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(186, 155, 50, 0.25);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guarantee-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(186, 155, 50, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8F7520;
  font-size: 14px;
  flex-shrink: 0;
}

.guarantee-text {
  display: flex;
  flex-direction: column;
}

.guarantee-text strong {
  font-size: 12px;
  color: #005943;
  font-weight: 800;
  line-height: 1.25;
}

.guarantee-text span {
  font-size: 10.5px;
  color: #8c7d6d;
}

/* ── LEFT COLUMN: EDITORIAL & PURCHASING PAVILION ───────────────────────── */
.book-editorial-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Category & Discipline Pill */
.book-cat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.book-cat-anchor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(186, 155, 50, 0.12);
  border: 1px solid rgba(186, 155, 50, 0.32);
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 800;
  color: #8F7520;
  text-decoration: none;
  transition: all 0.2s;
}

.book-cat-anchor-badge i {
  color: #BA9B32;
  font-size: 11.5px;
}

.book-cat-anchor-badge:hover {
  background: #005943;
  color: #ffffff;
  border-color: #005943;
}

.book-isbn-tag {
  font-size: 12px;
  font-family: 'Inter', monospace, sans-serif;
  color: #8c7d6d;
  font-weight: 600;
  direction: rtl;
}

/* Book Main Title */
.book-main-title {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #005943;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.4px;
}

/* Lineage & Creator Meta */
.book-creators-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(186, 155, 50, 0.18);
}

.creator-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: #3f362c;
}

.creator-line i {
  color: #BA9B32;
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.creator-line strong {
  color: #005943;
  font-weight: 800;
}

/* Heritage Verification Pill */
.heritage-seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F1EEDB;
  border: 1px solid rgba(186, 155, 50, 0.35);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: #724f11;
  width: fit-content;
}

.heritage-seal-pill i {
  color: #BA9B32;
}

/* Rating & Reviews Bar */
.book-rating-strip {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-stars {
  color: #e5a526;
  font-size: 14px;
  display: inline-flex;
  gap: 3px;
}

.rating-score-num {
  font-weight: 900;
  color: #005943;
  font-size: 14px;
}

.rating-reviews-count {
  font-size: 12.5px;
  color: #8c7d6d;
}

/* Price & Availability Banner */
.book-price-stock-banner {
  background: #ffffff;
  border: 1.5px solid rgba(186, 155, 50, 0.35);
  border-radius: 18px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 6px 20px rgba(0, 89, 67, 0.04);
}

.price-display-cluster {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.price-val-hero {
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #005943;
}

.price-original-striked {
  font-size: 17px;
  color: #a39585;
  text-decoration: line-through;
  font-weight: 600;
}

.discount-pill-tag {
  background: #fde8e8;
  color: #c53030;
  border: 1px solid #feb2b2;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 800;
}

.stock-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  padding: 5px 14px;
}

.stock-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* Editorial Abstract */
.book-abstract-quote {
  background: linear-gradient(-135deg, rgba(186, 155, 50, 0.07) 0%, rgba(0, 89, 67, 0.03) 100%);
  border-left: 4px solid #BA9B32;
  border-radius: 14px 0 0 14px;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.8;
  color: #4a3e31;
  font-weight: 500;
}

/* Purchase Actions Dock */
.book-purchase-dock {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.qty-stepper-cluster {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid rgba(186, 155, 50, 0.35);
  border-radius: 9999px;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-qty-step {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #005943;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-qty-step:hover {
  background: #F1EEDB;
  color: #BA9B32;
}

.qty-val-input {
  width: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #005943;
  outline: none;
}

.btn-add-cart-hero {
  flex: 1;
  min-width: 220px;
  background: linear-gradient(-135deg, #005943 0%, #00382b 100%);
  color: #ffffff;
  border: 1px solid rgba(204, 168, 59, 0.5);
  border-radius: 9999px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 89, 67, 0.22);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-add-cart-hero i {
  font-size: 16px;
  color: #E0C76C;
  transition: transform 0.2s;
}

.btn-add-cart-hero:hover {
  background: linear-gradient(-135deg, #CCA83B 0%, #BA9B32 100%);
  color: #002b20;
  border-color: #ffe08a;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(204, 168, 59, 0.4);
}

.btn-add-cart-hero:hover i {
  color: #002b20;
  transform: scale(1.1);
}

/* Standard E-Commerce Wishlist Button beside Add to Cart */
.btn-wishlist-hero {
  background: #ffffff;
  color: #005943;
  border: 1.5px solid rgba(186, 155, 50, 0.45);
  border-radius: 9999px;
  padding: 14px 26px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 89, 67, 0.05);
  white-space: nowrap;
}

.btn-wishlist-hero i {
  font-size: 16px;
  color: #BA9B32;
  transition: transform 0.2s, color 0.2s;
}

.btn-wishlist-hero:hover {
  background: #005943;
  color: #BA9B32;
  border-color: #005943;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 89, 67, 0.16);
}

.btn-wishlist-hero:hover i {
  color: #E0C76C;
  transform: scale(1.15);
}

.btn-wishlist-hero.active-wish {
  background: #005943;
  color: #CCA83B;
  border-color: #CCA83B;
}

.btn-wishlist-hero.active-wish i {
  color: #e11d48;
}

/* Quick Share Button */
.btn-share-hero {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(186, 155, 50, 0.35);
  color: #005943;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.btn-share-hero:hover {
  background: #005943;
  color: #BA9B32;
  border-color: #005943;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 89, 67, 0.15);
}

/* ── 2.1 DEDICATED BOOK ATTRIBUTES & SPECIFICATIONS CARD ───────────────── */
/* (صندوق تفاصيل ومواصفات الكتاب المنسق في الواجهة الرئيسية) */
.book-spec-attributes-card {
  background: #ffffff;
  border: 1.5px solid rgba(186, 155, 50, 0.35);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 8px 24px rgba(0, 89, 67, 0.04);
  position: relative;
  overflow: hidden;
}

.book-spec-attributes-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(-90deg, #CCA83B 0%, #BA9B32 50%, #005943 100%);
}

.spec-card-header {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #005943;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(186, 155, 50, 0.2);
}

.spec-card-header i {
  color: #BA9B32;
  font-size: 15px;
}

.spec-attributes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.spec-attr-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(186, 155, 50, 0.16);
}

.spec-attr-row:last-child,
.spec-attr-row:nth-last-child(2) {
  border-bottom: none;
}

.spec-attr-row .attr-label {
  color: #7d6e5d;
  font-weight: 700;
  min-width: 86px;
  flex-shrink: 0;
}

.spec-attr-row .attr-val {
  color: #005943;
  font-weight: 800;
  word-break: break-word;
}

.spec-attr-row .attr-link {
  color: #005943;
  font-weight: 800;
  text-decoration: underline dotted #BA9B32;
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.spec-attr-row .attr-link:hover {
  color: #BA9B32;
  text-decoration: underline solid #BA9B32;
}

/* ── 2.2 MASTER PROFESSIONAL EDITORIAL TEXT DOSSIER ("لمحة عن الكتاب") ────── */
/* (بوكس نص احترافي متكامل: فخامة معمارية، شريط تذهيب، خط Cairo عالي الوضوح، زر نسخ تفاعلي) */
.book-synopsis-section {
  padding: 8px 0 45px;
}

.book-synopsis-card-pro {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  background: 
    radial-gradient(circle at 100% 0%, rgba(204, 168, 59, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(0, 89, 67, 0.03) 0%, transparent 40%),
    linear-gradient(-180deg, #ffffff 0%, #FBF9ED 100%);
  border: 1.5px solid rgba(186, 155, 50, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 16px 40px -10px rgba(0, 89, 67, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 24px 34px 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-synopsis-card-pro:hover {
  border-color: rgba(186, 155, 50, 0.55);
  box-shadow: 
    0 22px 50px -10px rgba(0, 89, 67, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Authentic Damascus Vertical Spine (Gilded leading accent edge in RTL) */
.book-synopsis-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(-180deg, #CCA83B 0%, #BA9B32 50%, #005943 100%);
}

/* Refined Metallic Top Accent Hairline */
.synopsis-pro-topbar {
  position: absolute;
  top: 0;
  left: 5px;
  right: 0;
  height: 3px;
  background: linear-gradient(-90deg, #CCA83B 0%, rgba(186, 155, 50, 0.25) 50%, transparent 100%);
}

/* Header Row: Title and Emblem */
.synopsis-pro-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 12px;
}

.synopsis-pro-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.synopsis-pro-emblem {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(-135deg, #005943 0%, #00382b 100%);
  border: 1px solid rgba(204, 168, 59, 0.45);
  color: #CCA83B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 3px 10px rgba(0, 89, 67, 0.16);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.book-synopsis-card-pro:hover .synopsis-pro-emblem {
  transform: rotate(6deg) scale(1.05);
}

.synopsis-pro-titles {
  display: flex;
  flex-direction: column;
}

.synopsis-pro-main-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #005943;
  margin: 0;
  letter-spacing: -0.2px;
}

/* Subtle Ornamental Divider */
.synopsis-pro-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(-90deg, transparent, rgba(186, 155, 50, 0.28) 40%, rgba(186, 155, 50, 0.28) 60%, transparent);
}

.divider-ornament {
  color: #CCA83B;
  font-size: 11px;
  opacity: 0.85;
}

/* The Dedicated Reading Canvas Frame */
.synopsis-pro-body-wrap {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(186, 155, 50, 0.22);
  border-radius: 12px;
  padding: 18px 26px 20px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.015);
}

.synopsis-pro-quote-mark {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(186, 155, 50, 0.14);
  border: 1px solid rgba(186, 155, 50, 0.38);
  color: #8F7520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(186, 155, 50, 0.08);
}

.synopsis-pro-body-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.1;
  color: #2b2319;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  position: relative;
  z-index: 2;
  padding-right: 28px;
}

.synopsis-pro-body-text p {
  margin: 0;
}

/* ── 4. INTERACTIVE DEEP-DIVE TABS ───────────────────────────────────────── */
.book-deep-tabs-section {
  padding-bottom: 50px;
}

.deep-tabs-container {
  background: #ffffff;
  border: 1.5px solid rgba(186, 155, 50, 0.3);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.03);
}

.deep-tabs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #f0eae0;
  padding-bottom: 12px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.deep-tab-btn {
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #6d5f50;
  padding: 10px 20px;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  white-space: nowrap;
}

.deep-tab-btn i {
  font-size: 13px;
  color: #BA9B32;
}

.deep-tab-btn:hover {
  background: #FBF9ED;
  color: #005943;
}

.deep-tab-btn.active {
  background: #005943;
  color: #ffffff;
}

.deep-tab-btn.active i {
  color: #E0C76C;
}

/* Tab Content Panes */
.deep-tab-pane {
  display: none;
  animation: fadeInPane 0.3s ease;
}

.deep-tab-pane.active {
  display: block;
}

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

/* Table of Contents List */
.toc-tiles-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.toc-tile-item {
  background: #FBF9ED;
  border: 1px solid rgba(186, 155, 50, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toc-index-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #005943;
  color: #E0C76C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.toc-tile-text {
  font-size: 14px;
  font-weight: 700;
  color: #005943;
}

/* Methodology & Manuscripts Content */
.methodology-rich-body {
  font-size: 15px;
  line-height: 1.9;
  color: #4a3e31;
}

.methodology-rich-body h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #005943;
  margin: 18px 0 8px 0;
}

.methodology-pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.methodology-card {
  background: #FBF9ED;
  border: 1px solid rgba(186, 155, 50, 0.25);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.methodology-card strong {
  color: #005943;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.methodology-card strong i {
  color: #BA9B32;
}

.methodology-card p {
  font-size: 12.5px;
  color: #6b5c4d;
  margin: 0;
  line-height: 1.6;
}

/* Craft & Paper Content */
.craft-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.craft-card {
  background: #FBF9ED;
  border: 1px solid rgba(186, 155, 50, 0.25);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.craft-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(186, 155, 50, 0.15);
  color: #8F7520;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.craft-card h5 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #005943;
  margin: 4px 0 0 0;
}

.craft-card p {
  font-size: 13px;
  color: #5c4e3f;
  line-height: 1.6;
  margin: 0;
}

/* Reviews List */
.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-item-card {
  background: #FBF9ED;
  border: 1px solid rgba(186, 155, 50, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #005943;
  color: #E0C76C;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.reviewer-meta strong {
  font-size: 14px;
  color: #005943;
  font-weight: 800;
}

.reviewer-meta span {
  font-size: 11.5px;
  color: #8c7d6d;
  display: block;
}

.review-comment {
  font-size: 13.5px;
  color: #4a3e31;
  line-height: 1.7;
  margin: 0;
}

/* ── 5. RELATED BOOKS SECTION ────────────────────────────────────────────── */
.related-books-section {
  padding: 20px 0 50px;
}

.related-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.related-title-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-kicker {
  font-size: 12px;
  font-weight: 800;
  color: #8F7520;
  letter-spacing: 0.8px;
}

.related-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #005943;
  margin: 0;
}

.btn-view-all-discipline {
  font-size: 13px;
  font-weight: 800;
  color: #005943;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.btn-view-all-discipline:hover {
  color: #BA9B32;
}

.related-books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── 6. RESPONSIVE BREAKPOINTS ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .book-showcase-grid {
    grid-template-columns: 380px 1fr;
    gap: 32px;
  }
  .book-3d-presentation {
    width: 300px;
    height: 430px;
  }
  .specs-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spec-matrix-cell.cell-wide {
    grid-column: span 2;
  }
  .related-books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .book-showcase-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-gallery-podium {
    position: static;
  }
  .book-visual-frame {
    padding: 30px 18px 24px;
  }
  .book-3d-presentation {
    width: 270px;
    height: 390px;
  }
  .book-main-title {
    font-size: 24px;
  }
  .book-price-stock-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .quick-specs-pills {
    grid-template-columns: repeat(2, 1fr);
  }
  .specs-dossier-card {
    padding: 22px 18px;
  }
  .specs-matrix-grid {
    grid-template-columns: 1fr;
  }
  .spec-matrix-cell.cell-wide {
    grid-column: span 1;
  }
  .toc-tiles-list,
  .methodology-pillars-row,
  .craft-specs-grid {
    grid-template-columns: 1fr;
  }
  .related-books-grid {
    grid-template-columns: 1fr;
  }
}
