/* Banner Section & Slider Styles - Hide Dots */
section.banner {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 25px;
  background: transparent;
}

.banner_img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
}

.banner_slider .slick-dots,
section.banner .slick-dots,
.slick-dots {
  display: none !important;
}

/* =================================================
   Sidebar Filter List Styles (Matching Design)
   ================================================= */
.sidebar-filter-wrapper {
  padding-right: 15px;
  margin-bottom: 30px;
}

.sidebar-filter-wrapper .filter-group {
  margin-bottom: 24px;
}

.sidebar-filter-wrapper .filter-heading {
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Custom Dropdown - ALWAYS OPENS DOWNWARDS */
.sidebar-filter-wrapper .custom-filter-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
}

.sidebar-filter-wrapper .dropdown-header-btn {
  width: 100%;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #d4dcd4;
  border-radius: 0px;
  font-size: 14px;
  color: #4a4a4a;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.sidebar-filter-wrapper .dropdown-header-btn:hover,
.sidebar-filter-wrapper .custom-filter-dropdown.open .dropdown-header-btn {
  border-color: #000000;
}

.sidebar-filter-wrapper .dropdown-arrow {
  font-size: 14px;
  color: #666666;
  transition: transform 0.2s ease;
}

.sidebar-filter-wrapper .custom-filter-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.sidebar-filter-wrapper .custom-dropdown-menu {
  position: absolute;
  top: 100% !important;
  /* ALWAYS opens downwards */
  left: 0;
  right: 0;
  width: 100%;
  max-height: 240px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid #d4dcd4;
  border-top: none;
  border-radius: 0 0 2px 2px;
  z-index: 1050 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: none;
  margin-top: 0;
  padding: 4px 0;
}

.sidebar-filter-wrapper .custom-filter-dropdown.open .custom-dropdown-menu {
  display: block !important;
}

.sidebar-filter-wrapper .dropdown-option-item {
  padding: 8px 14px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-filter-wrapper .dropdown-option-item:hover {
  background-color: #f5f5f5;
  color: #000000;
}

.sidebar-filter-wrapper .dropdown-option-item.active {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #be3240;
}

/* Scrollbar for Dropdown Menu */
.sidebar-filter-wrapper .custom-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.sidebar-filter-wrapper .custom-dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar-filter-wrapper .custom-dropdown-menu::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.sidebar-filter-wrapper .custom-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Fallback select */
.sidebar-filter-wrapper .filter-select {
  width: 100%;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #d4dcd4;
  border-radius: 0px;
  font-size: 14px;
  color: #4a4a4a;
  padding: 6px 12px;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.sidebar-filter-wrapper .filter-select:focus {
  border-color: #000000;
  box-shadow: none;
}

/* Price Filter Row */
.sidebar-filter-wrapper .price-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-filter-wrapper .price-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 38px;
  border: 1px solid #d4d4da;
  border-radius: 0px;
  padding: 4px 10px;
  font-size: 13.5px;
  color: #333333;
  background-color: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.sidebar-filter-wrapper .price-input::placeholder {
  color: #777777;
}

.sidebar-filter-wrapper .price-input:focus {
  border-color: #000000;
}

.sidebar-filter-wrapper .price-separator {
  font-size: 14px;
  color: #666666;
  padding: 0 2px;
  font-shrink: 0;
}

.sidebar-filter-wrapper .btn-price-go {
  height: 38px;
  background-color: #be3240;
  color: #ffffff;
  border: 1px solid #000000;
  border-radius: 0px;
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.sidebar-filter-wrapper .btn-price-go:hover {
  background-color: #333333;
  border-color: #333333;
  color: #ffffff;
}

/* Checkboxes */
.sidebar-filter-wrapper .filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sidebar-filter-wrapper .filter-checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
}

.sidebar-filter-wrapper .filter-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin: 0 10px 0 0;
  cursor: pointer;
  border: 1px solid #c0c0c0;
  border-radius: 2px;
  accent-color: #be3240;
  vertical-align: middle;
  position: relative;
  top: 0;
}

.sidebar-filter-wrapper .checkbox-text {
  font-size: 14.5px;
  color: #333333;
  font-weight: 400;
  user-select: none;
  line-height: 1.4;
}

.sidebar-filter-wrapper .filter-checkbox-label:hover .checkbox-text {
  color: #000000;
}

@media (max-width: 767.98px) {
  .sidebar-filter-wrapper {
    padding-right: 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
}

.product-pagination-nav {
  display: flex;
  justify-content: center;
  padding: 30px 0 10px;
  width: 100%;
}

.product-pagination {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.product-pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.product-pagination .page-item .page-link:hover {
  background: #f0f0f0;
  border-color: #bbb;
  color: #111;
}

.product-pagination .page-item.active .page-link {
  background: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.product-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}

.product-pagination .page-item.ellipsis .page-link {
  border: none;
  background: none;
  cursor: default;
  font-weight: 700;
  color: #999;
  min-width: 30px;
}

.product-pagination .page-item .page-link i {
  font-size: 14px;
}

@media (max-width: 576px) {
  .product-pagination .page-item .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 7px;
  }
}

#book-container .book-item {
  display: none;
  border: none !important;
  margin-bottom: 20px !important;
}

#book-container .book-item.active {
  display: block;
  border: none !important;
  margin-bottom: 20px !important;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.section-title {
  position: relative;
  margin-bottom: 25px;
}

.nav_arrow {
  position: absolute;
  right: 15px;
  top: -1px;
  display: flex;
  gap: 5px;
  z-index: 10;
  margin-bottom: 15px;
}

.nav_arrow button {
  background-color: #bb2839;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav_arrow button:hover {
  background-color: #9e1f2d;
}

.img-preBook {
  min-width: 100%;
  max-width: 100%;
  min-height: 20rem;
  max-height: 20rem;
  object-fit: contain;
}

.preBook-name {
  font-size: 22px;
}

.preBook-author {
  font-size: 18px;
}

.pre_book-offered-price {
  text-decoration: line-through;
  color: #060606;
}

.pre-book-details {
  padding-top: 6px;
}

/* About Us Page Styles */
.aboutus-container {
  font-family: Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #333;
  line-height: 1.6;
}

.aboutus-top-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
  padding-top: 40px;
}

.aboutus-top-text {
  flex: 1 1 50%;
  min-width: 300px;
  padding-right: 20px;
}

.aboutus-subtitle {
  color: #990000;
  font-weight: bold;
  margin-bottom: 10px;
}

.aboutus-title {
  color: #660000;
  font-size: 3em;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.aboutus-paragraph {
  margin-bottom: 15px;
}

.aboutus-top-image {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
  position: relative;
}

.aboutus-image-circle {
  background-color: #f9efe6;
  border-radius: 50%;
  width: 350px;
  height: 350px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.aboutus-image-text {
  font-size: 2em;
  color: #660000;
  font-weight: bold;
  line-height: 1.3;
}

.aboutus-image-logo {
  position: absolute;
  bottom: 20px;
  left: 0px;
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}

.aboutus-image-logo span {
  color: #990000;
  font-weight: bold;
}

.aboutus-features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #faf9f6;
  padding: 40px 20px;
  margin-bottom: 60px;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.aboutus-feature-box {
  flex: 1 1 22%;
  min-width: 200px;
  text-align: center;
  margin-bottom: 20px;
  border-right: 1px solid #eaeaea;
  padding: 0 15px;
}

.aboutus-feature-box.no-border {
  border-right: none;
}

.aboutus-feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fcebeb;
  color: #990000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 15px;
}

.aboutus-feature-icon img {
  width: 35px;
  height: 35px;
  object-fit: cover;
}

.aboutus-feature-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

.aboutus-feature-text {
  font-size: 0.9em;
  color: #666;
}

.aboutus-team-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 40px 20px;
  background-color: #faf9f6;
  border-radius: 10px;
}

.aboutus-team-text {
  flex: 1 1 45%;
  min-width: 300px;
  padding-right: 20px;
}

.aboutus-team-title {
  font-size: 2em;
  margin-bottom: 15px;
  color: #333;
}

.aboutus-team-divider {
  border: 0;
  height: 2px;
  background-color: #990000;
  width: 50px;
  margin-left: 0;
  margin-bottom: 20px;
}

.aboutus-team-subtitle {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: #555;
}

.aboutus-team-list {
  list-style-type: none;
  padding-left: 0;
}

.aboutus-team-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #444;
}

.aboutus-check-icon {
  color: #fff;
  background-color: #990000;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
}

.aboutus-team-image {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: center;
  padding: 20px;
}

.aboutus-team-illustration {
  background-color: #fcebeb;
  border-radius: 100px;
  padding: 50px;
  display: inline-block;
}

.aboutus-team-emoji {
  font-size: 100px;
}

@media (max-width: 768px) {
  .aboutus-feature-box {
    flex: 1 1 45%;
    border-right: none;
  }
}

@media (max-width: 480px) {
  .aboutus-feature-box {
    flex: 1 1 100%;
  }
}

/* About Us Image Styles */
.aboutus-hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.immage-input-product {
  width: 70% !important;
  vertical-align: middle !important;
  margin-bottom: 0px !important;
}