/* ফন্ট ইমপোর্ট */
@import url('fonts.css');

/* সাধারণ স্টাইল */
body {
  font-family: "SolaimanLipi", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body a{
  text-decoration:none;
}

/* টপবার স্টাইল */
.topbar {
  background-color: #f8f9fa;
  font-size: 14px;
}

.topbar a {
  color: #666;
  text-decoration: none;
  margin-left: 15px;
}

.topbar a:hover {
  color: #0d6efd;
}

/* হেডার স্টাইল */
.header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
  font-family: "Kalpurush", Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}

.search-box {
  position: relative;
}

.search-box input {
  padding: 12px 100px 12px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 25px;
  width: 100%;
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #0d6efd;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.2);
}

.search-box input::placeholder {
  opacity: 0;
}

.search-box input {
  position: relative;
}

.search-box input::placeholder {
  color: #666;
  opacity: 1;
  animation: typewriter 4s steps(8) infinite;
}

@keyframes typewriter {
  0%, 100% { content: 'Search by book/writer'; opacity: 0.7; }
  20% { content: 'Search by book'; opacity: 1; }
  40% { content: 'Search by writer'; opacity: 1; }
  60% { content: 'বই খুঁজুন'; opacity: 1; }
  80% { content: 'লেখক খুঁজুন'; opacity: 1; }
}

.search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  height: calc(100% - 10px);
  width: 50px;
  background-color: #fefefe;
  color: #0d6efd;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button:hover {
  background-color: #0b5ed7;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cart-icon {
  font-size: 20px;
  color: #0d6efd;
}

/* মেনু স্টাইল */
.main-menu {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 25px;
  top: 30px;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1000;
}

.menu-icon {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #333;
  position: relative;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.menu-toggle.active .menu-icon {
  background-color: transparent;
}

.menu-toggle.active .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.main-menu .nav-link {
  color: #333;
  padding: 15px 20px;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.main-menu .nav-link:hover {
  color: #0d6efd;
  background-color: transparent;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #fff;
    padding: 60px 20px 20px;
    flex-direction: column;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
.mobile-menu-show{
  left: 0px;
}

  .main-menu .nav-link {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
  }
}

/* স্লাইডার স্টাইল */
.hero-slider {
  margin-bottom: 30px;
  position: relative;
}

.hero-slider .slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.slick-prev,
.slick-next {
  z-index: 1;
  width: 40px;
  height: 40px;
  background: rgba(131, 199, 240, 0.8);
  border-radius: 50%;
  transition: all 0.3s;
}

.slick-prev {
  left: 20px;
}

.slick-next {
  right: 20px;
}

.slick-prev:hover,
.slick-next:hover {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slick-dots {
  bottom: 20px;
}

.slick-dots li button:before {
  font-size: 12px;
  color: #fff;
  opacity: 0.7;
}

.slick-dots li.slick-active button:before {
  color: #fff;
  opacity: 1;
}

/* লেখক প্রোফাইল সেকশন স্টাইল */
.section-title {
  font-family: "Kalpurush", Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100px;
  background: linear-gradient(to right, #0d6efd, #00f2fe);
  animation: borderAnimation 2s ease-in-out infinite;
}

@keyframes borderAnimation {
  0% {
    width: 100px;
    left: 0;
  }
  50% {
    width: 150px;
    left: 50px;
  }
  100% {
    width: 100px;
    left: 0;
  }
}

/* বই সেকশন স্টাইল */
.book-slider {
  margin: 0 -10px;
  padding: 20px 0;
  position: relative;
}

.book-slider .slick-prev,
.book-slider .slick-next {
  width: 40px;
  height: 40px;
  background: rgba(13, 110, 253, 0.8);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s ease;
}

.book-slider .slick-prev {
  left: -5px;
}

.book-slider .slick-next {
  right: -5px;
}

.book-slider .slick-prev:hover,
.book-slider .slick-next:hover {
  background: rgba(13, 110, 253, 1);
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
}

.book-slider .slick-prev:before,
.book-slider .slick-next:before {
  font-size: 20px;
  opacity: 1;
}

.book-card {
  position: relative;
  margin: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: visible;
  z-index: 1;
  padding-bottom: 60px;
}

.book-card .add-to-cart-btn {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  padding: 8px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 5px;
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.book-card:hover .add-to-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.book-card .add-to-cart-btn:hover {
  background: #0b5ed7;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
  background: linear-gradient(to bottom right, #ffffff, #f8f9ff);
}

.book-card:hover img {
  transform: scale(1.05);
}

.book-card img {
  transition: transform 0.4s ease;
}

/* নতুন বই সেকশন স্টাইল */
.new-books-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
}

.new-book-slider {
  margin: 0 -15px;
  padding: 20px 0;
}

.new-book-card {
  position: relative;
  margin: 15px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  overflow: hidden;
}

.new-book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(13, 110, 253, 0.15);
}

.new-book-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.new-book-card:hover img {
  transform: scale(1.05);
}

.new-book-info {
  padding: 20px;
}

.new-book-title {
  font-family: "Kalpurush", Arial, sans-serif;
  font-size: 18px;
  color: #333;
  margin: 0 0 10px;
  font-weight: 600;
}

.new-book-author {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.new-book-rating {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.new-book-rating .stars {
  color: #ffc107;
  font-size: 14px;
  margin-right: 5px;
}

.new-book-rating .rating-count {
  font-size: 12px;
  color: #666;
}

.new-book-stock {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 15px;
}

.stock-in {
  background: #e8f5e9;
  color: #2e7d32;
}

.stock-low {
  background: #fff3e0;
  color: #ef6c00;
}

.stock-out {
  background: #ffebee;
  color: #c62828;
}

.new-book-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.new-price {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  color: #0d6efd;
}

.old-price {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
}

.discount-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff4444;
  color: white;
  padding: 5px 15px;
  border-radius: 25px;
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
}

.new-book-card .cart-btn {
  width: 100%;
  padding: 12px;
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 0 0 15px 15px;
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(100%);
}

.new-book-card:hover .cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.new-book-card .cart-btn:hover {
  background: #0b5ed7;
}

/* জনপ্রিয় ক্যাটাগরি সেকশন স্টাইল */
.categories-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
}

.category-slider {
  margin: 0 -15px;
  padding: 20px 0;
}

.category-item {
  text-align: center;
  padding: 25px;
  margin: 15px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.category-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-item:hover:before {
  opacity: 1;
}

.category-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-item:hover .category-icon img {
  transform: scale(1.1);
}

.category-item h3 {
  font-family: "Kalpurush", Arial, sans-serif;
  font-size: 18px;
  color: #2c3e50;
  margin: 0;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.category-item h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: #0d6efd;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-item:hover h3:after {
  opacity: 1;
}

.book-card .add-to-cart {
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  background: rgba(13, 110, 253, 0.9);
  color: white;
  padding: 12px;
  text-align: center;
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: top 0.3s ease;
  z-index: 2;
}

.book-card:hover .add-to-cart {
  top: 0;
}

.book-card .add-to-cart:hover {
  background: rgba(13, 110, 253, 1);
}

.book-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.book-info {
  padding: 15px;
  position: relative;
}

.book-rating {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.book-rating .stars {
  color: #ffc107;
  font-size: 14px;
  margin-right: 5px;
}

.book-rating .rating-count {
  color: #666;
  font-size: 12px;
}

.stock-status {
  position: absolute;
  bottom: -45px;
  left: 15px;
  right: 15px;
  padding: 8px;
  text-align: center;
  border-radius: 5px;
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
}

.in-stock {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.low-stock {
  background-color: #fff3e0;
  color: #ef6c00;
}

.out-of-stock {
  background-color: #ffebee;
  color: #c62828;
}

.book-title {
  font-family: "Kalpurush", Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.4;
}

.book-author {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.book-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.current-price {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #0d6efd;
}

.original-price {
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff4444;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-family: "SolaimanLipi", Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
}

.writer-slider {
  margin: 0 -10px;
  padding: 20px 0;
}

.writer-card {
  text-align: center;
  padding: 30px 20px;
  margin: 15px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.writer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.15);
  background: linear-gradient(to bottom right, #ffffff, #f8f9ff);
}

.writer-card img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 6px solid #fff;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.12);
  transition: transform 0.4s ease;
  display: block;
}

.writer-card:hover img {
  transform: scale(1.05);
}

.writer-card h3 {
  font-family: "Kalpurush", Arial, sans-serif;
  font-size: 20px;
  color: #333;
  margin: 0;
  font-weight: 700;
  transition: color 0.4s ease;
  position: relative;
  padding-bottom: 10px;
}

.writer-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #0d6efd;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.writer-card:hover h3::after {
  opacity: 1;
}

.writer-card:hover h3 {
  color: #0d6efd;
}

/* রেসপনসিভ স্টাইল */
.writer-slider .slick-prev,
.writer-slider .slick-next {
  width: 40px;
  height: 40px;
  background: rgba(13, 110, 253, 0.8);
  border-radius: 50%;
  z-index: 1;
}

.writer-slider .slick-prev:hover,
.writer-slider .slick-next:hover {
  background: rgba(13, 110, 253, 1);
}

.writer-slider .slick-prev:before,
.writer-slider .slick-next:before {
  font-size: 24px;
  opacity: 1;
}

.writer-slider .slick-prev {
  left: -10px;
}

.writer-slider .slick-next {
  right: -10px;
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .header .logo {
    text-align: center;
    margin-bottom: 15px;
  }

  .search-box {
    margin-bottom: 15px;
  }

  .main-menu .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .writer-card img {
    width: 100px;
    height: 100px;
  }
  #searchInput{
      margin-top:5px;
  }
  .hero-slider .slide img{
      height:186px;
      object-fit:fill;
  }
  .new-book-card{
     height:665px;
  }
}

@media (max-width: 576px) {
  .main-menu .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .writer-card img {
    width: 80px;
    height: 80px;
  }

  .writer-card h3 {
    font-size: 14px;
  }
}

/* ফুটার স্টাইল */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 60px 0 0;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact li i {
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #ffd700;
    color: #1e3c72;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
}
 .logo-img {
        width: 105px;
        transition: width 0.3s ease-in-out;
    }

    
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-logo,
    .footer h4 {
        margin-bottom: 20px;
    }
    .logo-img {
            width: 65px;
    }
    .mobile-header{
        background:#eeeaea;
    }
    .header {
        background-color: #f2f2f2;
        
    }
    
    
}

  .cart-table {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            margin: 30px 0;
        }
        .cart-table th {
            font-family: "Kalpurush", Arial, sans-serif;
            font-size: 16px;
            background: #f8f9fa;
            border-bottom: 2px solid #e5e5e5;
        }
        .cart-table td {
            vertical-align: middle;
            font-family: "SolaimanLipi", Arial, sans-serif;
        }
        .cart-img {
            width: 80px;
            height: 100px;
            object-fit: cover;
            border-radius: 5px;
        }
        .book-title {
            font-family: "Kalpurush", Arial, sans-serif;
            font-size: 16px;
            margin-bottom: 5px;
        }
        .book-author {
            font-size: 14px;
            color: #666;
        }
        .quantity-input {
            width: 70px;
            text-align: center;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 5px;
        }
        .remove-btn {
            color: #dc3545;
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s;
        }
        .remove-btn:hover {
            color: #c82333;
            transform: scale(1.1);
        }
        .cart-summary {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-family: "SolaimanLipi", Arial, sans-serif;
        }
        .summary-total {
            border-top: 2px solid #e5e5e5;
            padding-top: 15px;
            font-weight: bold;
            font-size: 18px;
        }
        .checkout-btn {
            background: #0d6efd;
            color: white;
            border: none;
            border-radius: 25px;
            padding: 12px 30px;
            font-family: "SolaimanLipi", Arial, sans-serif;
            font-size: 16px;
            width: 100%;
            margin-top: 20px;
            transition: all 0.3s;
        }
        .checkout-btn:hover {
            background: #0b5ed7;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
        }
        .empty-cart {
            text-align: center;
            padding: 50px 0;
        }
        .empty-cart i {
            font-size: 48px;
            color: #666;
            margin-bottom: 20px;
        }
        @media (max-width: 768px) {
            .cart-img {
                width: 60px;
                height: 75px;
            }
            .book-title {
                font-size: 14px;
            }
            .book-author {
                font-size: 12px;
            }
            .quantity-input {
                width: 50px;
            }
        }

     :root {
            --primary-color: #2563eb;
            --secondary-color: #1e40af;
            --accent-color: #3b82f6;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --bg-light: #f9fafb;
            --border-color: #e5e7eb;
        }
        
        body {
            font-family: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
            color: var(--text-dark);
            background-color: var(--bg-light);
        }
        
        .checkout-page {
            padding: 30px 0;
        }
        
        .page-header {
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .checkout-card {
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 25px;
            margin-bottom: 20px;
        }
        
        .section-title {
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--primary-color);
            font-size: 1.2rem;
            padding-bottom: 10px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .form-label {
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .form-control, .form-select {
            border-radius: 0.25rem;
            padding: 10px 15px;
            margin-bottom: 15px;
        }
        
        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.25);
        }
        
        .selected-books {
            background: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 20px;
        }
        
        .book-item {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .book-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        
        .book-img {
            width: 60px;
            height: 80px;
            object-fit: cover;
            border-radius: 0.25rem;
            margin-right: 15px;
        }
        
        .book-info {
            flex: 1;
        }
        
        .book-title {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 5px;
        }
        
        .book-author {
            font-size: 0.8rem;
            color: var(--text-light);
            margin-bottom: 5px;
        }
        
        .book-price {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 0.9rem;
        }
        
        .summary-table {
            width: 100%;
            margin: 20px 0;
        }
        
        .summary-table tr:not(:last-child) td {
            padding-bottom: 10px;
        }
        
        .summary-table tr:last-child td {
            padding-top: 10px;
            border-top: 1px solid var(--border-color);
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .summary-value {
            text-align: right;
        }
        
        .payment-method {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 0.25rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .payment-method:hover {
            border-color: var(--primary-color);
        }
        
        .payment-method.selected {
            border-color: var(--primary-color);
            background-color: rgba(37, 99, 235, 0.05);
        }
        
        .payment-icon {
            width: 40px;
            height: 40px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.2rem;
            color: var(--primary-color);
        }
        
        .payment-info {
            flex: 1;
        }
        
        .payment-name {
            font-weight: 600;
            margin-bottom: 3px;
        }
        
        .payment-desc {
            font-size: 0.8rem;
            color: var(--text-light);
        }
        
        .btn-confirm {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 12px;
            border-radius: 0.25rem;
            font-weight: 600;
            width: 100%;
            transition: all 0.2s ease;
            margin-top: 20px;
        }
        
        .btn-confirm:hover {
            background: var(--secondary-color);
        }
        
        .toast-notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
            background: #4CAF50;
            color: white;
            padding: 15px 25px;
            border-radius: 4px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            display: none;
            animation: slideIn 0.5s, fadeOut 0.5s 2.5s;
        }
        
        @keyframes slideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        
        @keyframes fadeOut {
            from { opacity: 1; }
            to { opacity: 0; }
        }
        
        .delivery-option {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 10px;
            border: 1px solid var(--border-color);
            border-radius: 0.25rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .delivery-option:hover {
            border-color: var(--primary-color);
        }
        
        .delivery-option.selected {
            border-color: var(--primary-color);
            background-color: rgba(37, 99, 235, 0.05);
        }
        
        .delivery-icon {
            width: 40px;
            height: 40px;
            background: #f8f9fa;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.2rem;
            color: var(--primary-color);
        }
        
        .delivery-info {
            flex: 1;
        }
        
        .delivery-name {
            font-weight: 600;
            margin-bottom: 3px;
        }
        
        .delivery-desc {
            font-size: 0.8rem;
            color: var(--text-light);
        }
        
        .delivery-price {
            font-weight: 600;
            color: var(--primary-color);
        }
 .payment-method {
        border: 1px solid #ddd;
        padding: 15px;
        margin-bottom: 10px;
        cursor: pointer;
        display: flex;
        align-items: center;
        border-radius: 5px;
    }

    .payment-method.selected {
        border-color: #28a745;
        background-color: #e8f5e9;
    }

    .payment-icon {
        font-size: 30px;
        margin-right: 15px;
        color: #28a745;
    }

    #payment-details {
        border: 1px solid #ddd;
        padding: 15px;
        border-radius: 5px;
        background-color: #f9f9f9;
    }

    #payment-details input, #payment-details select {
        margin-bottom: 10px;
    }


        
        
    body {
        font-family: 'Hind Siliguri', 'SolaimanLipi', Arial, sans-serif;
        color: var(--text-dark);
        background-color: var(--bg-light);
    }
    
    .book-page {
        padding: 20px 0;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        background-color: white;
        border-radius: 0.5rem;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 1.5rem;
    }
    
    .book-container {
        background: white;
        border-radius: 0.75rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }
    
    .book-gallery {
        padding: 1.5rem;
        border-right: 1px solid var(--border-color);
        text-align: center;
    }
    
    .book-image-container {
        position: relative;
        perspective: 2000px;
        margin-bottom: 1rem;
        background: #f8f9fa;
        border-radius: 0.5rem;
        padding: 2rem;
        height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .book-image {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        transition: all 0.5s ease;
        transform-style: preserve-3d;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .book-image-container:hover .book-image {
        transform: rotateY(20deg) scale(1.05);
        box-shadow: 5px 10px 30px rgba(0,0,0,0.3);
    }
    
    .badge {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 0.75rem;
        font-weight: 600;
        padding: 0.35rem 0.75rem;
        border-radius: 50rem;
    }
    
    .badge.discount {
        left: auto;
        right: 15px;
        background-color: #dc3545;
        color: white;
    }
    
    .thumbnail-gallery {
        display: flex;
        gap: 0.75rem;
        margin-top: 1rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        justify-content: center;
    }
    
    .thumbnail-gallery img {
        width: 70px;
        height: 100px;
        object-fit: cover;
        border: 2px solid var(--border-color);
        border-radius: 0.25rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .thumbnail-gallery img:hover, 
    .thumbnail-gallery img.active {
        border-color: var(--primary-color);
    }
    
    .book-info {
        padding: 1.5rem;
    }
    
    .book-title {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        line-height: 1.3;
        color: #1a365d;
    }
    
    .author-info {
        font-size: 1.1rem;
        color: var(--text-light);
        margin-bottom: 1rem;
    }
    
    .rating-section {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }
    
    .stars {
        color: #f59e0b;
        font-size: 1rem;
    }
    
    .rating {
        color: var(--text-dark);
        font-weight: 600;
        margin-left: 0.5rem;
    }
    
    .review-count {
        color: var(--text-light);
        font-size: 0.9rem;
    }
    
    .price-section {
        margin: 1.5rem 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    .current-price {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--primary-color);
    }
    
    .original-price {
        font-size: 1.25rem;
        text-decoration: line-through;
        color: var(--text-light);
        margin-left: 0.75rem;
    }
    
    .discount-percent {
        background: #fef2f2;
        color: #dc3545;
        font-size: 0.9rem;
        font-weight: 600;
        padding: 0.25rem 0.5rem;
        border-radius: 0.25rem;
        margin-left: 0.75rem;
    }
    
    .availability {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .in-stock {
        color: #10b981;
        font-weight: 600;
    }
    
    .delivery-info {
        color: var(--text-light);
        font-size: 0.9rem;
    }
    
    .book-meta {
        margin: 1.5rem 0;
        font-size: 0.9rem;
    }
    
    .meta-item {
        margin-bottom: 0.75rem;
        display: flex;
    }
    
    .meta-label {
        font-weight: 600;
        min-width: 120px;
        color: var(--text-dark);
    }
    
    .meta-value {
        color: var(--text-light);
    }
    
    .action-buttons {
        display: flex;
        gap: 1rem;
        margin: 2rem 0;
        flex-wrap: wrap;
    }
    
    .btn-add-to-cart {
        flex: 1;
        min-width: 200px;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 0.5rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .btn-add-to-cart:hover {
        background: var(--secondary-color);
    }
    
    .btn-buy-now {
        flex: 1;
        min-width: 200px;
        background: #10b981;
        color: white;
        border: none;
        padding: 0.75rem;
        border-radius: 0.5rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .btn-buy-now:hover {
        background: #0d9f6e;
    }
    
    .btn-wishlist {
        width: 50px;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 0.5rem;
        color: var(--text-light);
        transition: all 0.2s ease;
    }
    
    .btn-wishlist:hover, .btn-wishlist.active {
        color: #dc3545;
        border-color: #dc3545;
    }
    
    .book-tabs {
        margin-top: 3rem;
    }
    
    .nav-tabs .nav-link {
        color: var(--text-light);
        font-weight: 600;
        border: none;
        padding: 1rem 1.5rem;
    }
    
    .nav-tabs .nav-link.active {
        color: var(--primary-color);
        border-bottom: 3px solid var(--primary-color);
        background: transparent;
    }
    
    .tab-content {
        padding: 1.5rem;
        background: white;
        border-radius: 0 0 0.5rem 0.5rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    /* Related Books */
    .related-books {
        margin-top: 3rem;
    }
    
    .related-title {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: #1a365d;
    }
    
    .related-book-card {
        background: white;
        border-radius: 0.5rem;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        height: 100%;
    }
    
    .related-book-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    .related-book-img {
        height: 250px;
        background: #f8f9fa;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    
    .related-book-img img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        transition: all 0.3s ease;
    }
    
    .related-book-card:hover .related-book-img img {
        transform: scale(1.05);
    }
    
    .related-book-info {
        padding: 1rem;
    }
    
    .related-book-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #1a365d;
    }
    
    .related-book-author {
        font-size: 0.85rem;
        color: var(--text-light);
        margin-bottom: 0.5rem;
    }
    
    .related-book-price {
        font-weight: 700;
        color: var(--primary-color);
    }
    
    /* Responsive Styles */
    @media (max-width: 992px) {
        .book-gallery {
            border-right: none;
            border-bottom: 1px solid var(--border-color);
        }
        
        .book-image-container {
            height: 350px;
        }
    }
    
    @media (max-width: 768px) {
        .book-title {
            font-size: 1.5rem;
        }
        
        .current-price {
            font-size: 1.5rem;
        }
        
        .original-price {
            font-size: 1.1rem;
        }
        
        .action-buttons {
            flex-direction: column;
        }
        
        .btn-add-to-cart, .btn-buy-now {
            width: 100%;
        }
        
        .book-image-container {
            height: 300px;
        }
    }
    
    @media (max-width: 576px) {
        .book-image-container {
            height: 250px;
            padding: 1rem;
        }
        
        .thumbnail-gallery img {
            width: 50px;
            height: 75px;
        }
        
        .book-title {
            font-size: 1.3rem;
        }
    }
