/* E-Perpus Custom CSS */

/* ===== Book Catalog ===== */
.book-catalog {
  margin-top: 30px;
}

/* ===== Filter Section Styling ===== */
.filter-section {
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 100px;
  transition: all 0.3s ease;
}

.filter-section:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.filter-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  position: relative;
  padding-bottom: 12px;
}

.filter-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #ffc221;
  border-radius: 3px;
}

.search-box {
  position: relative;
  margin-bottom: 25px;
}

.search-box input {
  width: 100%;
  padding: 12px 18px;
  padding-right: 45px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background-color: #f9f9f9;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #2273e0;
  background-color: white;
  box-shadow: 0 4px 10px rgba(34, 115, 224, 0.1);
}

.search-box button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-box button:hover {
  color: #2273e0;
}

.category-filter,
.price-filter {
  margin-bottom: 25px;
}

.category-filter h5,
.price-filter h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #444;
}

.category-filter select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background-color: #f9f9f9;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
  transition: all 0.3s ease;
}

.category-filter select:focus {
  outline: none;
  border-color: #2273e0;
  background-color: white;
  box-shadow: 0 4px 10px rgba(34, 115, 224, 0.1);
}

.price-filter .price-inputs {
  display: flex;
  gap: 10px;
}

.price-filter .price-inputs input {
  width: 50%;
  padding: 12px 15px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  background-color: #f9f9f9;
  font-size: 14px;
  transition: all 0.3s ease;
}

.price-filter .price-inputs input:focus {
  outline: none;
  border-color: #2273e0;
  background-color: white;
  box-shadow: 0 4px 10px rgba(34, 115, 224, 0.1);
}

.filter-buttons {
  display: flex;
  gap: 10px;
}

.filter-buttons button {
  flex-grow: 1;
  padding: 12px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-buttons button i {
  margin-right: 8px;
  font-size: 16px;
}

.filter-buttons .apply-filter {
  background-color: #2273e0;
  color: white;
}

.filter-buttons .apply-filter:hover {
  background-color: #1a5bb9;
  box-shadow: 0 4px 12px rgba(34, 115, 224, 0.2);
  transform: translateY(-2px);
}

.filter-buttons .reset-filter {
  background-color: #f1f1f1;
  color: #555;
}

.filter-buttons .reset-filter:hover {
  background-color: #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* ===== Sort By Section ===== */
.sort-by {
  margin-bottom: 25px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: white;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.sort-by label {
  margin-right: 12px;
  font-size: 14px;
  color: #555;
}

.sort-by select {
  padding: 8px 30px 8px 15px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  background-color: #f9f9f9;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
  transition: all 0.3s ease;
}

.sort-by select:focus {
  outline: none;
  border-color: #2273e0;
  background-color: white;
}

/* ===== Book Card Styling ===== */
.book-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: white;
}

.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.book-card .book-img {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  background-color: #f9f9f9;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-card .book-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 80%,
    rgba(0, 0, 0, 0.02) 100%
  );
  z-index: 1;
}

.book-card .book-img img {
  max-height: 100%;
  max-width: 100%;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
  z-index: 2;
}

.book-card:hover .book-img img {
  transform: scale(1.08);
}

.book-card .book-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.book-card .book-category {
  display: inline-block;
  padding: 5px 12px;
  background-color: rgba(34, 115, 224, 0.1);
  color: #2273e0;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.book-card .book-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  height: 50px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
}

.book-card .book-author {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
  font-style: italic;
}

.book-card .rating {
  color: #ffc221;
  margin-bottom: 15px;
  font-size: 15px;
}

.book-card .rating i {
  margin-right: 2px;
}

.book-card .rating span {
  color: #777;
  font-size: 13px;
  margin-left: 5px;
}

.book-card .book-stock {
  font-size: 14px;
  margin-bottom: 15px;
  padding: 4px 0;
  display: flex;
  align-items: center;
}

.book-card .book-stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
}

.book-card .book-stock.in-stock {
  color: #27ae60;
}

.book-card .book-stock.in-stock::before {
  background-color: #27ae60;
}

.book-card .book-stock.low-stock {
  color: #f39c12;
}

.book-card .book-stock.low-stock::before {
  background-color: #f39c12;
}

.book-card .book-stock.out-of-stock {
  color: #e74c3c;
}

.book-card .book-stock.out-of-stock::before {
  background-color: #e74c3c;
}

.book-card .book-price {
  font-size: 16px;
  font-weight: 700;
  color: #2273e0;
  margin-bottom: 18px;
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping */
  align-items: center;
  gap: 8px; /* Reduced gap */
  overflow: hidden; /* Prevent overflow */
  white-space: nowrap; /* Keep all on single line */
}

.book-card .book-price .original-price {
  text-decoration: line-through;
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

.book-card .book-price .discount {
  background-color: #ff6b6b;
  color: white;
  padding: 2px 5px; /* Reduced padding */
  border-radius: 4px; /* Smaller radius */
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
}

.book-actions {
  display: flex;
  gap: 10px;
  height: 45px;
}

.book-actions .add-to-cart {
  flex-grow: 1;
  padding: 0 15px;
  background-color: #ffc221;
  color: #333;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  height: 100%;
}

.book-actions .add-to-cart:hover {
  background-color: #e6b01f;
  box-shadow: 0 4px 12px rgba(255, 194, 33, 0.3);
}

.book-actions .add-to-cart i {
  margin-right: 8px;
  font-size: 16px;
}

.book-actions .add-to-cart:disabled {
  background-color: #e0e0e0;
  color: #888;
  cursor: not-allowed;
}

.book-actions .view-detail {
  width: 45px;
  min-width: 45px;
  height: 100%;
  background-color: #2273e0;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-actions .view-detail:hover {
  background-color: #1a5bb9;
  box-shadow: 0 4px 12px rgba(34, 115, 224, 0.3);
  transform: translateY(-2px);
}

.book-actions .view-detail i {
  font-size: 18px;
}

/* ===== Empty results message ===== */
.no-results-found {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.no-results-found i {
  font-size: 48px;
  color: #ddd;
  margin-bottom: 20px;
}

.no-results-found h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.no-results-found p {
  color: #777;
  margin-bottom: 20px;
  font-size: 16px;
}

/* ===== Cart Button ===== */
.cart-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #2273e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 115, 224, 0.3);
  z-index: 100;
  transition: all 0.3s ease;
}

.cart-button:hover {
  background-color: #1a5bb9;
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(34, 115, 224, 0.4);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ===== Shopping Cart Container ===== */
.cart-container {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background-color: white;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-container.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
}

.cart-header h3 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #777;
  transition: all 0.2s ease;
}

.close-cart:hover {
  color: #e74c3c;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-right: 15px;
  overflow: hidden;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
  color: #333;
}

.cart-item-price {
  font-size: 15px;
  color: #2273e0;
  font-weight: 600;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cart-item-quantity button {
  width: 24px;
  height: 24px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cart-item-quantity button:hover {
  background-color: #e0e0e0;
}

.cart-item-quantity span {
  font-size: 14px;
  color: #555;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  transform: scale(1.2);
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.checkout-button {
  width: 100%;
  padding: 14px;
  background-color: #2273e0;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-button:hover {
  background-color: #1a5bb9;
  box-shadow: 0 4px 15px rgba(34, 115, 224, 0.3);
}

.checkout-button:before {
  content: "\eb40";
  font-family: "boxicons";
  margin-right: 10px;
  font-size: 18px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
  backdrop-filter: blur(3px);
}

.overlay.active {
  display: block;
}

/* ===== Empty Cart ===== */
.empty-cart {
  text-align: center;
  padding: 50px 0;
}

.empty-cart i {
  font-size: 60px;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-cart p {
  color: #777;
  margin-bottom: 25px;
  font-size: 16px;
}

.empty-cart .continue-shopping {
  padding: 12px 24px;
  background-color: #2273e0;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.empty-cart .continue-shopping:hover {
  background-color: #1a5bb9;
  box-shadow: 0 4px 15px rgba(34, 115, 224, 0.3);
}

.empty-cart .continue-shopping:before {
  content: "\ea9c";
  font-family: "boxicons";
  margin-right: 10px;
  font-size: 18px;
}

/* ===== Toast notification ===== */
.toast-notification {
  position: fixed;
  bottom: 25px;
  left: 25px;
  padding: 15px 20px;
  background-color: #2273e0;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
}

.toast-content i {
  margin-right: 12px;
  font-size: 22px;
  color: #b3ffb3;
}

/* ===== Book Detail Page ===== */
.book-detail-container {
  padding: 50px 0;
}

.book-detail-img {
  text-align: center;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.book-detail-img img {
  max-width: 100%;
  max-height: 400px;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.12));
  transition: transform 0.5s ease;
}

.book-detail-img:hover img {
  transform: scale(1.05);
}

.book-detail-info {
  padding: 0 20px;
}

.book-detail-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  line-height: 1.3;
}

.book-detail-author {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
  font-style: italic;
}

.book-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 25px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
}

.book-detail-meta-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #555;
}

.book-detail-meta-item i {
  margin-right: 8px;
  color: #2273e0;
  font-size: 18px;
}

.book-detail-price {
  font-size: 24px;
  font-weight: 700;
  color: #2273e0;
  margin: 25px 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 10px; /* Reduced gap */
  white-space: nowrap; /* Keep all on single line */
}

.book-detail-price .original-price {
  text-decoration: line-through;
  font-size: 16px;
  color: #aaa;
  font-weight: 400;
}

.book-detail-price .discount {
  background-color: #ff6b6b;
  color: white;
  padding: 3px 8px; /* Reduced padding */
  border-radius: 4px; /* Smaller radius */
  font-size: 12px;
  font-weight: 600;
}

.book-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #f9f9f9;
  padding: 8px 15px;
  border-radius: 8px;
}

.quantity-selector button {
  width: 35px;
  height: 35px;
  background-color: white;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-selector button:hover {
  background-color: #eaeaea;
}

.quantity-selector input {
  width: 50px;
  height: 35px;
  text-align: center;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  font-size: 15px;
  background-color: white;
}

.book-detail-add-to-cart {
  padding: 0 25px;
  height: 50px;
  background-color: #ffc221;
  color: #333;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.book-detail-add-to-cart:hover {
  background-color: #e6b01f;
  box-shadow: 0 5px 15px rgba(255, 194, 33, 0.3);
  transform: translateY(-2px);
}

.book-detail-add-to-cart i {
  margin-right: 10px;
  font-size: 20px;
}

.book-detail-buy-now {
  padding: 0 25px;
  height: 50px;
  background-color: #2273e0;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.book-detail-buy-now:hover {
  background-color: #1a5bb9;
  box-shadow: 0 5px 15px rgba(34, 115, 224, 0.3);
  transform: translateY(-2px);
}

.book-detail-buy-now i {
  margin-right: 10px;
  font-size: 20px;
}

.book-detail-description {
  margin: 40px 0;
  background-color: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.book-detail-description h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  color: #333;
}

.book-detail-description h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #2273e0;
  border-radius: 3px;
}

.book-detail-description p {
  line-height: 1.8;
  color: #555;
  font-size: 15px;
}

.book-detail-reviews {
  margin: 40px 0;
  background-color: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.book-detail-reviews h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  color: #333;
}

.book-detail-reviews h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #2273e0;
  border-radius: 3px;
}

.review-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.review-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  align-items: center;
}

.review-author {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.review-rating {
  color: #ffc221;
  font-size: 15px;
}

.review-content {
  line-height: 1.6;
  color: #555;
  font-size: 15px;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .filter-section {
    position: relative;
    top: 0;
    margin-bottom: 20px;
  }

  .book-card .book-img {
    height: 240px;
  }

  .book-detail-img img {
    max-height: 350px;
  }

  .book-detail-meta {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .cart-container {
    width: 100%;
    right: -100%;
  }

  .book-detail-img {
    margin-bottom: 20px;
  }

  .book-detail-actions {
    flex-direction: column;
    gap: 10px;
  }

  .quantity-selector {
    width: 100%;
    justify-content: space-between;
  }

  .book-detail-add-to-cart,
  .book-detail-buy-now {
    width: 100%;
    justify-content: center;
  }

  .book-card .book-img {
    height: 220px;
  }

  .sort-by {
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .filter-section {
    padding: 20px;
  }

  .book-card .book-img {
    height: 180px;
    padding: 15px;
  }

  .book-card .book-content {
    padding: 20px;
  }

  .book-actions {
    flex-direction: column;
    height: auto;
    gap: 8px;
  }

  .book-actions .add-to-cart {
    padding: 12px;
  }

  .book-actions .view-detail {
    width: 100% !important;
    padding: 10px;
  }

  .cart-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .floating-purchases-btn {
    width: 50px !important;
    height: 50px !important ;
    font-size: 20px;
  }

  .book-detail-title {
    font-size: 24px;
  }

  .book-detail-meta {
    flex-direction: column;
    gap: 10px;
  }

  .book-card .book-price {
    font-size: 14px;
    gap: 5px;
  }

  .book-card .book-price .original-price {
    font-size: 11px;
  }

  .book-detail-price {
    font-size: 20px;
    gap: 8px;
  }

  .book-detail-price .original-price {
    font-size: 14px;
  }
}
