/* ============================
   GENERAL STYLES
============================ */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* ============================
   HEADLINE ROW
============================ */
.headline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.line {
  flex: 1;
  height: 1px;
  background-color: #000;
}

.headline-text {
  font-weight: bold;
  font-size: 1.25rem;
  white-space: nowrap;
  text-align: center;
}

/* ============================
   BANNER
============================ */
.banner-container {
  display: flex;
  align-items: center;
  height: 110px;
  background-image: url('assets/images/newbanner.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.svg-wrapper {
  margin-left: 10%;
  width: 425px;
  height: auto;
}

/* ============================
   CUSTOM CARD GRID
============================ */
.n-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  max-width: 1200px;
  margin: 0 auto;
}

.n-card {
  flex: 0 1 260px;
  min-width: 260px;
  padding: 0.5em;
  box-sizing: border-box;
}

.n-card .img {
  display: flex;
  align-items: center;
  gap: 1em;
}

.n-card .img img:first-child {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.n-card .img img:last-child {
  max-width: 150px;
  width: 100%;
  height: auto;
  flex-shrink: 1;
}

/* ============================
   IMAGE SIZING
============================ */
.icon {
  width: 30px;
  height: auto;
}

.logo {
  max-width: 150px;
  height: auto;
}

/* ============================
   BESTSELLER CARDS
============================ */

.label {
  font-family: "Times New Roman", serif;
  font-weight: bold;
  font-size: 12px;
}

/* ============================
   CUSTOM CARD STYLING
============================ */
.card {
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.price {
  font-size: 60px;
  font-weight: bold;
}

.offer-text {
  flex: 1;
  color: #99230E !important;   /* This is the dark red color */
  font-weight: bold;
  text-align: center;
}

.subtext {
  padding-left: 20px;
  font-size: 0.9em;
  color: black;
}

.buy-button {
  white-space: nowrap;
}

/* ============================
   RESPONSIVE TWEAKS
============================ */
@media (max-width: 768px) {
  .card-body {
    padding: 1rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .progress {
    height: 20px;
  }

  .progress-bar {
    font-size: 0.9rem;
    padding: 2px;
  }

body {
padding-bottom: 60px; /* Prevents content from hiding behind the sticky bar */
}


}

@media (max-width: 576px) {
.bestseller-logo {
  max-width: 80px !important;
}
.bestseller-badge {
  max-width: 24px !important;
}
  .headline-text {
    font-size: 12px !important;
  }
}

.book-cover {
  max-height: 275px; /* Applies to all unless overridden */
}

@media (min-width: 576px) {
  .book-cover {
    max-height: 450px;
  }
}

@media (min-width: 992px) {
  .book-cover {
    max-height: 550px;
  }
}
