/* ═══════════════════════════════════════════
   PAGES.CSS — Shared styles for About, Books, Contact
   ═══════════════════════════════════════════ */

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, #1B2A4A 0%, #2D3E5F 60%, #3a506b 100%);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.banner-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.banner-content .breadcrumb {
  margin: 0;
  background: none;
  padding: 0;
}

.banner-content .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.banner-content .breadcrumb-item a:hover { color: #F5A623; }

.banner-content .breadcrumb-item.active {
  color: #F5A623;
  font-size: 0.9rem;
  font-weight: 500;
}

.banner-content .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

.banner-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(245,166,35,0.08);
}

.banner-shapes .shape-1 { width: 200px; height: 200px; top: -40px; left: 10%; }
.banner-shapes .shape-2 { width: 120px; height: 120px; bottom: -30px; right: 20%; background: rgba(255,255,255,0.04); }
.banner-shapes .shape-3 { width: 80px; height: 80px; top: 30%; right: 8%; background: rgba(245,166,35,0.12); }


/* ===== SECTION TAG ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F5A623;
  margin-bottom: 16px;
}

.section-tag i { font-size: 1rem; }


/* ═══════════════════════════════════════════
   ABOUT US PAGE
   ═══════════════════════════════════════════ */

/* --- About Intro --- */
.about-intro-section {
  padding: 90px 0;
  background: #fff;
}

.about-image-grid {
  position: relative;
}

.about-image-grid .img-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(27,42,74,0.12);
}

.about-image-grid .img-secondary {
  position: absolute;
  bottom: -30px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-image-grid .img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: 20px;
  left: -15px;
  background: #F5A623;
  color: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(245,166,35,0.35);
  animation: floatBadge 4s ease-in-out infinite;
}

.experience-badge .exp-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .exp-text {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  font-weight: 600;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1B2A4A;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-text {
  font-size: 0.95rem;
  color: #6B7B8D;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong { color: #1B2A4A; }

.about-highlights {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.highlight-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.highlight-icon {
  flex-shrink: 0;
  color: #F5A623;
  font-size: 1.3rem;
  margin-top: 2px;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: #1B2A4A;
  margin-bottom: 2px;
}

.highlight-item p {
  font-size: 0.85rem;
  color: #6B7B8D;
  margin: 0;
  line-height: 1.5;
}

/* --- Mission Vision --- */
.mission-vision-section {
  padding: 80px 0;
  background: #FDF8F0;
}

.mv-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  box-shadow: 0 4px 24px rgba(27,42,74,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #F5A623;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.mv-card:hover::before { transform: scaleX(1); }
.mv-card:hover { transform: translateY(-6px); box-shadow: 0 8px 40px rgba(27,42,74,0.12); }

.mv-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF4E0, #FFE8B5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #F5A623;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 14px;
}

.mv-card p {
  font-size: 0.9rem;
  color: #6B7B8D;
  line-height: 1.75;
  margin: 0;
}

/* --- Stats --- */
.stats-section {
  padding: 70px 0;
  background: #1B2A4A;
}

.counter-card {
  padding: 20px;
}

.counter-icon {
  font-size: 2rem;
  color: #F5A623;
  margin-bottom: 12px;
}

.counter-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.counter-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Our Brands --- */
.our-brands-section {
  padding: 80px 0;
  background: #fff;
}

.brand-showcase-card {
  background: #FDF8F0;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(245,166,35,0.15);
  transition: all 0.3s ease;
}

.brand-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(27,42,74,0.1);
}

.brand-showcase-logo {
  height: 55px;
  object-fit: contain;
  margin-bottom: 20px;
}

.brand-showcase-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 12px;
}

.brand-showcase-card p {
  font-size: 0.88rem;
  color: #6B7B8D;
  line-height: 1.7;
}


/* ═══════════════════════════════════════════
   BOOKS LISTING PAGE
   ═══════════════════════════════════════════ */

.books-listing-section {
  padding: 50px 0 80px;
  background: #FDF8F0;
}

/* --- Sidebar --- */
.sidebar-sticky {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(27,42,74,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.sidebar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-title i {
  color: #F5A623;
  font-size: 1rem;
}

.sidebar-search {
  display: flex;
  gap: 0;
}

.sidebar-search input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid #E0E4EA;
  border-radius: 10px 0 0 10px;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  border-right: none;
  transition: border-color 0.3s;
}

.sidebar-search input:focus {
  outline: none;
  border-color: #F5A623;
}

.sidebar-search button {
  padding: 10px 16px;
  background: #F5A623;
  color: #fff;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.sidebar-search button:hover { background: #E8951A; }

/* Sidebar Menu */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 2px;
}

.sidebar-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #6B7B8D;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.sidebar-menu li a:hover {
  background: #FFF4E0;
  color: #1B2A4A;
}

.sidebar-menu li.active a {
  background: #F5A623;
  color: #fff;
  font-weight: 600;
}

.sidebar-menu li.active a .badge-count {
  background: rgba(255,255,255,0.3);
  color: #fff;
}

.badge-count {
  margin-left: auto;
  background: #E0E4EA;
  color: #6B7B8D;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.sidebar-menu li a i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* Mobile Filter Toggle */
.btn-filter-toggle {
  background: #1B2A4A;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-filter-toggle:hover { background: #2D3E5F; }

/* --- Books Topbar --- */
.books-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left span {
  font-size: 0.9rem;
  color: #6B7B8D;
}

.topbar-left strong { color: #1B2A4A; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  padding: 8px 16px;
  border: 1.5px solid #E0E4EA;
  border-radius: 10px;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  color: #6B7B8D;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
}

.sort-select:focus { outline: none; border-color: #F5A623; }

.view-toggle {
  display: flex;
  gap: 4px;
  background: #fff;
  padding: 4px;
  border-radius: 10px;
  border: 1.5px solid #E0E4EA;
}

.view-btn {
  width: 36px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #6B7B8D;
  cursor: pointer;
  transition: all 0.25s;
}

.view-btn.active {
  background: #F5A623;
  color: #fff;
}

/* --- Books Grid --- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.book-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,42,74,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(27,42,74,0.12);
}

.book-image {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #E8F4FD, #F0E8FD);
}

.book-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.book-card:hover .book-image img {
  transform: scale(1.05);
}

.book-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
}

.badge-new { background: #22C55E; }
.badge-cce { background: #3B82F6; }
.badge-nep { background: #8B5CF6; }

.book-info {
  padding: 18px 20px 20px;
}

.book-class {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F5A623;
  background: #FFF4E0;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.book-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 4px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-author {
  font-size: 0.8rem;
  color: #6B7B8D;
  margin-bottom: 14px;
}

.book-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.book-subject {
  font-size: 0.78rem;
  color: #6B7B8D;
  font-weight: 500;
}

.book-view-btn {
  font-size: 0.82rem;
  font-weight: 600;
  color: #F5A623;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.3s;
}

.book-view-btn:hover { color: #E8951A; }

/* List View */
.books-grid.list-view {
  grid-template-columns: 1fr;
}

.books-grid.list-view .book-card {
  display: flex;
  flex-direction: row;
}

.books-grid.list-view .book-image {
  width: 200px;
  min-width: 200px;
  height: auto;
  min-height: 180px;
}

.books-grid.list-view .book-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Pagination */
.books-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.books-pagination .pagination {
  gap: 6px;
}

.books-pagination .page-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1.5px solid #E0E4EA;
  color: #6B7B8D;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s;
  background: #fff;
}

.books-pagination .page-item.active .page-link {
  background: #F5A623;
  border-color: #F5A623;
  color: #fff;
}

.books-pagination .page-link:hover {
  border-color: #F5A623;
  color: #F5A623;
}


/* ═══════════════════════════════════════════
   CONTACT US PAGE
   ═══════════════════════════════════════════ */

/* --- Contact Info Cards --- */
.contact-info-section {
  padding: 70px 0 40px;
  background: #fff;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.contact-info-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 30px rgba(27,42,74,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(27,42,74,0.14);
}

.info-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF4E0, #FFE8B5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #F5A623;
  margin: 0 auto 18px;
}

.contact-info-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 10px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: #6B7B8D;
  line-height: 1.65;
  margin-bottom: 14px;
}

.info-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #F5A623;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.info-link:hover { gap: 10px; color: #E8951A; }

/* --- Contact Form --- */
.contact-form-section {
  padding: 60px 0 90px;
  background: #fff;
}

.contact-form-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1B2A4A;
  margin-bottom: 12px;
}

.contact-form-desc {
  font-size: 0.9rem;
  color: #6B7B8D;
  line-height: 1.7;
  margin-bottom: 30px;
}

.form-floating-custom {
  position: relative;
  margin-bottom: 0;
}

.form-floating-custom label {
  font-size: 0.82rem;
  color: #6B7B8D;
  font-weight: 500;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-floating-custom label i { color: #F5A623; }

.form-control-custom {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E0E4EA;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: #1B2A4A;
  background: #FAFBFC;
  transition: all 0.3s;
}

.form-control-custom:focus {
  outline: none;
  border-color: #F5A623;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
  background: #fff;
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 130px;
}

select.form-control-custom {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7B8D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  padding-right: 36px;
}

.btn-submit {
  background: #F5A623;
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #E8951A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.3);
}

/* --- Map --- */
.map-wrapper {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,42,74,0.1);
  border: 3px solid #fff;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
}

/* --- Office Hours --- */
.office-hours {
  background: #FDF8F0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 24px;
  border: 1px solid rgba(245,166,35,0.12);
}

.office-hours h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.office-hours h5 i { color: #F5A623; }

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hours-item:last-child { border-bottom: none; }

.hours-item .day {
  font-size: 0.88rem;
  font-weight: 500;
  color: #1B2A4A;
}

.hours-item .time {
  font-size: 0.88rem;
  color: #6B7B8D;
  font-weight: 600;
}

.hours-item .time.closed { color: #EF4444; }

/* --- Social CTA --- */
.social-cta-section {
  padding: 70px 0;
  background: #FDF8F0;
}

.social-cta-section h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1B2A4A;
  margin-bottom: 10px;
}

.social-cta-section p {
  font-size: 0.92rem;
  color: #6B7B8D;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1B2A4A;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(27,42,74,0.08);
  border: 1.5px solid #E0E4EA;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #F5A623;
  color: #fff;
  border-color: #F5A623;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.3);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 991px) {
  .page-banner { padding: 50px 0 45px; }
  .banner-content h1 { font-size: 2rem; }
  .about-intro-section { padding: 60px 0; }
  .about-title { font-size: 1.8rem; }
  .about-image-grid .img-secondary { width: 160px; height: 160px; right: 0; bottom: -20px; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .books-grid.list-view .book-image { width: 160px; min-width: 160px; }
  .contact-form-title { font-size: 1.6rem; }
}

@media (max-width: 767px) {
  .page-banner { padding: 40px 0 35px; }
  .banner-content h1 { font-size: 1.7rem; }
  .about-image-grid .img-main img { height: 300px; }
  .about-image-grid .img-secondary { display: none; }
  .experience-badge { top: auto; bottom: -15px; left: 15px; }
  .about-title { font-size: 1.5rem; }
  .mission-vision-section { padding: 50px 0; }
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .book-image { height: 180px; }
  .books-grid.list-view { grid-template-columns: 1fr; }
  .books-grid.list-view .book-card { flex-direction: column; }
  .books-grid.list-view .book-image { width: 100%; min-height: 180px; }
  .map-wrapper { height: 300px; }
  .contact-info-section { margin-top: -20px; padding: 40px 0 20px; }
}

@media (max-width: 575px) {
  .books-grid { grid-template-columns: 1fr; }
  .book-image { height: 220px; }
  .counter-number { font-size: 2rem; }
  .topbar-right { flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════
   BOOK DETAIL POPUP  &  ENQUIRY POPUP
   ═══════════════════════════════════════════ */

/* Clickable cards */
.book-card { cursor: pointer; }

/* ── Overlay ── */
.bkp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}
.bkp-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Modal Box ── */
.bkp-modal {
  background: #fff;
  border-radius: 24px;
  max-width: 950px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  transform: scale(0.86) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.bkp-overlay.active .bkp-modal {
  transform: scale(1) translateY(0);
}
.bkp-modal::-webkit-scrollbar { width: 5px; }
.bkp-modal::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

/* ── Close ── */
.bkp-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f3f3f3;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #1B2A4A;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
}
.bkp-close:hover {
  background: #1B2A4A;
  color: #fff;
  transform: rotate(90deg);
}

/* ── Body: two-column ── */
.bkp-body {
  display: flex;
}

/* ── LEFT: Image ── */
.bkp-left {
  flex: 0 0 370px;
  background: linear-gradient(160deg, #FDF8F0 0%, #FFF3DB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  border-radius: 24px 0 0 24px;
}
.bkp-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(27,42,74,0.14);
  max-width: 270px;
  width: 100%;
  transition: transform 0.4s;
}
.bkp-img-wrap:hover { transform: scale(1.03); }
.bkp-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 320px;
  object-fit: cover;
}
.bkp-publisher-logo {
  margin-top: 22px;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.bkp-publisher-logo:hover { opacity: 1; }
.bkp-publisher-logo img { height: 34px; object-fit: contain; }

/* ── RIGHT: Details ── */
.bkp-right {
  flex: 1;
  padding: 38px 34px;
}

/* Badges */
.bkp-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.bkp-badge-subject {
  background: linear-gradient(135deg, #F5A623, #E8951A);
  color: #fff; padding: 4px 14px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.bkp-badge-class {
  background: #1B2A4A; color: #fff; padding: 4px 14px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}

/* Title */
.bkp-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.55rem; font-weight: 800; color: #1B2A4A;
  line-height: 1.25; margin-bottom: 6px;
}

/* Author */
.bkp-author {
  font-size: 0.86rem; color: #6B7B8D;
  display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.bkp-author i { color: #F5A623; }

/* Stars */
.bkp-stars {
  display: flex; align-items: center; gap: 3px; margin-bottom: 16px;
}
.bkp-stars i { color: #F5A623; font-size: 0.82rem; }
.bkp-stars span { font-size: 0.76rem; color: #6B7B8D; margin-left: 8px; font-weight: 500; }

/* Price Box */
.bkp-price-box {
  display: flex; align-items: baseline; gap: 12px;
  padding: 14px 18px; background: #FDF8F0;
  border-radius: 14px; border: 1px solid rgba(245,166,35,0.15);
  margin-bottom: 18px;
}
.bkp-price { font-size: 1.75rem; font-weight: 800; color: #1B2A4A; line-height: 1; }
.bkp-mrp   { font-size: 1rem; color: #999; text-decoration: line-through; font-weight: 500; }
.bkp-discount {
  font-size: 0.72rem; font-weight: 700; color: #fff;
  background: #22C55E; padding: 3px 10px; border-radius: 6px;
  text-transform: uppercase;
}

/* Description */
.bkp-desc {
  font-size: 0.86rem; color: #6B7B8D; line-height: 1.75; margin-bottom: 20px;
}

/* Details Grid */
.bkp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px;
}
.bkp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; background: #FAFBFC;
  border-radius: 10px; border: 1px solid #f0f0f0;
}
.bkp-item i { color: #F5A623; font-size: 1.05rem; flex-shrink: 0; }
.bkp-item small {
  display: block; font-size: 0.66rem; color: #999;
  text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; line-height: 1;
}
.bkp-item strong {
  display: block; font-size: 0.8rem; color: #1B2A4A;
  font-weight: 600; line-height: 1.3; margin-top: 2px;
}

/* ★ Action Buttons ★ */
.bkp-actions {
  display: flex; gap: 12px; margin-bottom: 18px;
}
.bkp-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 20px; border-radius: 14px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.86rem;
  text-decoration: none; cursor: pointer; transition: all 0.3s; border: 2px solid transparent;
}
.bkp-btn-sale {
  background: #F5A623; color: #fff; border-color: #F5A623;
}
.bkp-btn-sale:hover {
  background: #E8951A; border-color: #E8951A; color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 22px rgba(245,166,35,0.35);
}
.bkp-btn-enquiry {
  background: #fff; color: #1B2A4A; border-color: #1B2A4A;
}
.bkp-btn-enquiry:hover {
  background: #1B2A4A; color: #fff;
  transform: translateY(-2px); box-shadow: 0 6px 22px rgba(27,42,74,0.22);
}

/* Trust Row */
.bkp-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.bkp-trust span {
  font-size: 0.72rem; color: #999; font-weight: 500;
  display: flex; align-items: center; gap: 5px;
}
.bkp-trust span i { color: #22C55E; font-size: 0.8rem; }


/* ═══════════════════════════════════════════
   ENQUIRY FORM POPUP STYLES
   ═══════════════════════════════════════════ */
.enq-body { padding: 36px; }
.enq-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #FFF4E0, #FFE8B5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #F5A623; margin-bottom: 14px;
}
.enq-heading {
  font-size: 1.35rem; font-weight: 800; color: #1B2A4A; margin-bottom: 5px;
}
.enq-sub {
  font-size: 0.84rem; color: #6B7B8D; margin-bottom: 12px;
}
.enq-ref {
  font-size: 0.8rem; color: #1B2A4A; background: #FDF8F0;
  padding: 10px 16px; border-radius: 10px; margin-bottom: 20px;
  border-left: 3px solid #F5A623;
  display: flex; align-items: center; gap: 8px;
}
.enq-ref i { color: #F5A623; }
.enq-label {
  font-size: 0.76rem; color: #6B7B8D; font-weight: 600;
  margin-bottom: 4px; display: flex; align-items: center; gap: 5px;
}
.enq-label i { color: #F5A623; font-size: 0.82rem; }
.enq-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid #e8e8e8;
  border-radius: 10px; font-size: 0.85rem; font-family: 'Poppins', sans-serif;
  color: #1B2A4A; background: #FAFBFC; transition: border-color 0.3s;
}
.enq-input:focus {
  outline: none; border-color: #F5A623; background: #fff;
}
textarea.enq-input { resize: vertical; }


/* ═══════════════════════════════════════════
   POPUP RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 991px) {
  .bkp-modal { max-width: 700px; }
  .bkp-left  { flex: 0 0 280px; padding: 30px 20px; }
  .bkp-img-wrap img { min-height: 250px; }
}

@media (max-width: 767px) {
  .bkp-body { flex-direction: column; }
  .bkp-left {
    flex: none; border-radius: 24px 24px 0 0;
    padding: 28px 20px;
  }
  .bkp-img-wrap { max-width: 210px; }
  .bkp-img-wrap img { min-height: 230px; }
  .bkp-right { padding: 26px 22px; }
  .bkp-title { font-size: 1.28rem; }
  .bkp-price { font-size: 1.45rem; }
  .bkp-grid  { grid-template-columns: 1fr; gap: 10px; }
  .bkp-actions { flex-direction: column; }
  .bkp-trust { justify-content: center; }
  .enq-body  { padding: 28px 20px; }
}

@media (max-width: 575px) {
  .bkp-modal { border-radius: 18px; max-height: 95vh; }
  .bkp-left  { border-radius: 18px 18px 0 0; padding: 22px 14px; }
  .bkp-right { padding: 20px 16px; }
  .bkp-price-box { flex-wrap: wrap; gap: 8px; }
  .bkp-close { top: 10px; right: 10px; width: 34px; height: 34px; font-size: 0.88rem; }
}