/* =====================================================================
   BOOKSFINITY — Complete Redesign Overrides
   Brand: Deep Emerald / Ivory / Muted Gold
   Typography: Playfair Display (headings) + Inter (body)
   ===================================================================== */

/* ========================= Global Resets ========================= */
body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bf-ivory);
  color: var(--bf-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container, .custom--container {
  width: 100%;
  max-width: 1600px !important;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 80px) !important;
  padding-right: clamp(20px, 4vw, 80px) !important;
}

h1, h2, h3, h4, h5, h6,
.section-heading__title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-weight: 600;
}

a {
  color: var(--bf-emerald);
  transition: color 0.25s ease;
}

a:hover {
  color: var(--bf-emerald-light);
}

/* ========================= Cart Sidebar (moved from inline) ========================= */
.cart__header {
  align-items: center;
}
.cart__header .cart__page__link {
  color: #f7f7f7;
  text-decoration: underline;
  font-size: 14px;
}
.cart__item .product-short-info,
.cart-item-bottom__content .product-short-info {
  font-size: 0.875rem;
  font-weight: 500;
}
.cart__discount__area .discount-title,
.cart__discount__area .discount-price {
  font-size: 12px;
}
.cart__sidebar .cart-bottom .subtotal-title,
.cart__sidebar .cart-bottom .subtotal-price {
  font-size: 1rem;
}
.cart__sidebar .cart-bottom {
  align-items: center;
}

/* ========================= Announcement Bar (Top Header) ========================= */
.bf-announcement-bar {
  background-color: #0A3622; /* Darker emerald from mockup */
  color: #fff;
  font-family: var(--body-font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 10px 0;
}

.bf-announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bf-announcement-bar__message {
  text-align: center;
  flex: 1;
}

.bf-announcement-bar__message i {
  color: #D4AF37; /* Gold */
  margin-right: 6px;
}

.bf-announcement-bar__links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bf-announcement-bar__links a, .bf-announcement-bar__links span {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}

.bf-announcement-bar__links a:hover {
/* ========================= Main Header ========================= */
.bf-header {
  background-color: var(--bf-ivory);
  padding: 16px 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.bf-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Logo */
.bf-header__logo {
  flex-shrink: 0;
}

.bf-header__logo img {
  height: 55px;
  width: auto;
}

.bf-header__logo-tagline {
  display: block;
  font-family: var(--body-font);
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  width: 100%;
  max-width: 320px;
  height: auto;
  object-fit: contain;
}

.bf-header__search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.bf-header__search-input {
  width: 100%;
  padding: 12px 56px 12px 24px;
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: 8px;
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: var(--bf-text-dark);
  background: var(--bf-cream);
  height: 52px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.bf-header__search-input::placeholder {
  color: var(--bf-text-muted);
  font-size: 0.9rem;
}

.bf-header__search-input:focus {
  outline: none;
  border-color: var(--bf-emerald);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

.bf-header__search-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 40px;
  background: var(--bf-emerald);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.bf-header__search-btn:hover {
  background: var(--bf-emerald-dark);
}

/* Header Icons */
.bf-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex-shrink: 0;
}

.bf-header__action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--bf-emerald-dark);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.bf-header__action-item:hover {
  color: var(--bf-emerald-light);
}

.bf-header__action-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.bf-header__cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--bf-emerald);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body-font);
}

/* ========================= Category Navigation Bar ========================= */
.bf-category-nav {
  background-color: var(--bf-ivory);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bf-category-nav::-webkit-scrollbar {
  display: none;
}

.bf-category-nav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.bf-category-nav__item {
  flex-shrink: 0;
}

.bf-category-nav__link {
  display: block;
  padding: 16px 8px;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bf-emerald-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.bf-category-nav__link:hover {
  color: var(--bf-emerald);
}

.bf-category-nav__link--active,
.bf-category-nav__link--shop-all {
  background: var(--bf-emerald-dark);
  color: #fff !important;
  border-radius: 4px;
  padding: 8px 20px;
}

.bf-category-nav__link--shop-all i {
  margin-right: 8px;
}

.bf-category-nav__link--sale {
  color: #b78a32 !important; /* Gold/brown accent */
}

.bf-category-nav__link--shop-all:hover {
  background: var(--bf-emerald-light);
  color: #fff;
  border-bottom-color: transparent;
}

.bf-category-nav__link--sale {
  color: var(--bf-sale-red);
  font-weight: 700;
}

.bf-category-nav__link--sale:hover {
  color: #e74c3c;
  border-bottom-color: var(--bf-sale-red);
}

/* ========================= Hero Section ========================= */
.bf-hero {
  background-color: var(--bf-ivory);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}.bf-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: 60px;
}

.bf-hero__content {
  padding: 40px 0;
}

.bf-hero__title {
  font-family: var(--heading-font);
  font-size: clamp(48px, 4vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--bf-emerald-dark);
  margin-bottom: 24px;
}

.bf-hero__accent-container {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.bf-hero__accent {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--bf-gold);
}

.bf-hero__description {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--bf-text-dark);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 420px;
}

.bf-hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 52px;
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bf-btn--primary {
  background: var(--bf-emerald);
  color: #fff;
  border: 1px solid var(--bf-emerald);
}

.bf-btn--primary:hover {
  background: var(--bf-emerald-dark);
  color: #fff;
}

.bf-btn--outline {
  background: var(--bf-ivory);
  color: var(--bf-emerald-dark);
  border: 1px solid var(--bf-gold);
}

.bf-btn--outline:hover {
  background: var(--bf-emerald);
  color: #fff;
  border-color: var(--bf-emerald);
}

/* Hero Visual */
.bf-hero__visual {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.bf-hero__image {
  width: 100%;
  height: clamp(390px, 45vh, 470px);
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.bf-hero__editor-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bf-emerald-dark);
  color: var(--bf-gold-light);
  font-family: var(--body-font);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  border-radius: 3px;
  z-index: 5;
}

.bf-hero__book-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 0.75rem;
  color: var(--bf-emerald-dark);
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: absolute;
  white-space: nowrap;
}

.bf-hero__book-item .author {
  color: var(--bf-text-muted);
  font-weight: 400;
  font-size: 0.7rem;
}

/* ========================= Discovery Strip ========================= */
.bf-discovery-strip {
  background: #0A3622;
  padding: 0;
}

.bf-discovery-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bf-discovery-strip__item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s;
  padding: 30px 24px;
  border-right: 1px solid rgba(212, 175, 55, 0.2); /* Subtle gold separator */
}

.bf-discovery-strip__item:last-child {
  border-right: none;
}

.bf-discovery-strip__item:hover {
  transform: translateY(-2px);
  color: #fff;
}

.bf-discovery-strip__icon {
  font-size: 2.2rem;
  color: #D4AF37;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bf-discovery-strip__title {
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.bf-discovery-strip__desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* ========================= Section Headings ========================= */
.bf-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.bf-section-heading__title {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--bf-emerald-dark);
  margin: 0;
}

.bf-section-heading__link {
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bf-emerald);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.bf-section-heading__link:hover {
  gap: 10px;
  color: var(--bf-emerald-light);
}

/* ========================= Curated by Booksfinity Layout ========================= */
.bf-curated-section {
  padding: 80px 0;
  background-color: var(--bf-ivory);
}

.bf-curated-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
  gap: 40px;
  align-items: stretch;
}

.bf-curated-products {
  min-width: 0; /* Prevents slider from breaking grid */
}

/* Newsletter Card */
.bf-newsletter-card {
  background-color: var(--bf-cream);
  border: 1px solid rgba(27, 67, 50, 0.08);
  border-radius: 8px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bf-newsletter-card__title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 16px;
}

.bf-newsletter-card__desc {
  font-size: 0.95rem;
  color: var(--bf-text-dark);
  line-height: 1.5;
  margin-bottom: 24px;
}

.bf-newsletter-card__form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.bf-newsletter-card__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(27, 67, 50, 0.2);
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 0.9rem;
}

.bf-newsletter-card__input:focus {
  outline: none;
  border-color: var(--bf-emerald);
}

.bf-newsletter-card__btn {
  background-color: var(--bf-emerald-dark);
  color: #fff;
  border: none;
  padding: 0 24px;
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.bf-newsletter-card__btn:hover {
  background-color: var(--bf-emerald);
}

.bf-newsletter-card__privacy {
  font-size: 0.8rem;
  color: var(--bf-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.bf-newsletter-card__privacy i {
  color: var(--bf-emerald);
}

/* ========================= Product Cards (Redesigned) ========================= */
.product-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.product-item:hover {
  box-shadow: 0 8px 30px rgba(27, 67, 50, 0.1);
  transform: translateY(-3px);
}

.product-item__thumb {
  background: transparent;
  padding: 0;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-item__thumb img,
.product-card__image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-item:hover .product-item__thumb img,
.product-item:hover .product-card__image {
  transform: scale(1.03);
}

.product-item__content {
  padding: 16px;
}

.product-item__title {
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-item__title a {
  color: var(--bf-emerald-dark);
  text-decoration: none;
}

.product-item__title a:hover {
  color: var(--bf-emerald-light);
}

.product-item__writing {
  margin-bottom: 6px;
}

.product-item__writing .writing-by {
  font-size: 0.78rem;
  color: var(--bf-text-muted);
  font-weight: 400;
}

.product-item__writing .writing-by a {
  color: var(--bf-text-muted);
  text-decoration: none;
}

.product-item__writing .writing-by a:hover {
  color: var(--bf-emerald);
}

.product-item__content__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(27, 67, 50, 0.06);
}

.product-item__price .amount-text {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--bf-emerald-dark);
}

.product-item__price .old-price {
  text-decoration: line-through;
  color: var(--bf-text-muted);
  font-weight: 400;
  font-size: 0.85rem;
  margin-right: 6px;
}

.product-item__price .sale-price {
  color: var(--bf-sale-red);
  font-weight: 700;
}

/* Product Badge Overlays */
.bf-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--body-font);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 3;
}

.bf-product-badge--editor {
  background: var(--bf-emerald-dark);
  color: var(--bf-gold-light);
}

.bf-product-badge--new {
  background: var(--bf-gold);
  color: #fff;
}

.bf-product-badge--sale {
  background: var(--bf-sale-red);
  color: #fff;
}

/* Cart Icon Button */
.product-item__cart-btn,
.bf-cart-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--bf-gold);
  border-radius: 50%;
  color: var(--bf-gold);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  flex-shrink: 0;
}

.product-item__cart-btn:hover,
.bf-cart-icon-btn:hover {
  background: var(--bf-gold);
  color: #fff;
  border-color: var(--bf-gold);
}



/* ========================= Service Bar (above Footer) ========================= */
.bf-service-bar {
  background: var(--bf-ivory);
  border-top: 1px solid var(--bf-gold);
  border-bottom: 1px solid var(--bf-gold);
  height: 80px;
  display: flex;
  align-items: center;
}

.bf-service-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.bf-service-bar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.bf-service-bar__item:last-child {
  border-right: none;
}

.bf-service-bar__icon {
  color: var(--bf-gold);
  font-size: 1.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.bf-service-bar__title {
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bf-emerald-dark);
}

/* ========================= Footer Redesign ========================= */
.footer-area {
  background: var(--bf-emerald-dark);
  color: rgba(255, 255, 255, 0.85);
}

.footer-area .py-70 {
  padding: 60px 0;
}

.footer-item__logo img {
  max-height: 45px;
  filter: brightness(0) invert(1);
}

.footer-item__desc {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-item__title {
  font-family: var(--heading-font);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-item__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--bf-gold);
}

.footer-menu__link {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
  padding: 4px 0;
}

.footer-menu__link:hover {
  color: var(--bf-gold-light);
  padding-left: 4px;
}

.footer-contact-menu__item-icon {
  color: var(--bf-gold);
}

.footer-contact-menu__item-content p,
.footer-contact-menu__item-content a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

.footer-contact-menu__item-content a:hover {
  color: var(--bf-gold-light);
}

.social-list__link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: all 0.25s;
}

.social-list__link:hover {
  background: var(--bf-gold);
  color: var(--bf-emerald-dark);
}

.bottom-footer {
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-footer-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.bottom-footer-text a.text--base {
  color: var(--bf-gold-light) !important;
}

/* Footer Top / Services */
.footer-top.footer-top-bg {
  background: var(--bf-emerald-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.services-card {
  text-align: center;
}

.services-card__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
}

/* ========================= Product Section Styles ========================= */
.best-selling-products,
.best-featured {
  background: var(--bf-ivory);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-heading__title {
  font-family: var(--heading-font);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--bf-emerald-dark);
}

.section-heading__link.pill {
  background: transparent;
  color: var(--bf-emerald);
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
  border: none;
  padding: 0;
}

.section-heading__link.pill:hover {
  gap: 10px;
  color: var(--bf-emerald-light);
}

/* ========================= Banner / Slider Overrides ========================= */
.banner-section {
  background: var(--bf-ivory);
}

.banner-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* ========================= Buttons Global ========================= */
.btn--base {
  background: var(--bf-emerald);
  border-color: var(--bf-emerald);
  font-family: var(--body-font);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn--base:hover {
  background: var(--bf-emerald-light);
  border-color: var(--bf-emerald-light);
}

/* ========================= Star Ratings ========================= */
.rating-list .icon {
  color: var(--bf-gold);
}

/* ========================= Breadcrumb ========================= */
.breadcrumb-area {
  background: var(--bf-cream);
}

/* ========================= Scroll to Top ========================= */
.scroll-top {
  background: var(--bf-emerald);
  color: #fff;
}

.scroll-top:hover {
  background: var(--bf-emerald-light);
}

/* ========================= Preloader Override ========================= */
.preloader .preloader-img img {
  filter: none;
}

/* ========================= Mobile Header ========================= */
.bf-mobile-header {
  display: none;
  background: var(--bf-ivory);
  padding: 12px 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.bf-mobile-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bf-mobile-header__logo img {
  height: 38px;
  width: auto;
}

.bf-mobile-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bf-mobile-header__icon {
  color: var(--bf-emerald-dark);
  font-size: 1.25rem;
  text-decoration: none;
  position: relative;
}

.bf-mobile-hamburger {
  background: none;
  border: none;
  color: var(--bf-emerald-dark);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* ========================= Books by Mood ========================= */
.bf-mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.bf-mood-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(27, 67, 50, 0.08);
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
  padding: 32px 20px;
}

.bf-mood-card:hover {
  box-shadow: 0 8px 30px rgba(27, 67, 50, 0.12);
  transform: translateY(-4px);
}

.bf-mood-card__icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
  display: block;
}

.bf-mood-card__name {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bf-emerald-dark);
  margin-bottom: 6px;
}

.bf-mood-card__desc {
  font-size: 0.8rem;
  color: var(--bf-text-muted);
  line-height: 1.5;
}

/* ========================= Responsive ========================= */
@media (max-width: 1199px) {
  .bf-header__logo img {
    height: 45px;
  }

  .bf-header__actions {
    gap: 18px;
  }

  .bf-category-nav__link {
    padding: 10px 14px;
    font-size: 0.7rem;
  }
}

@media (max-width: 991px) {
  .bf-header {
    display: none;
  }

  .bf-category-nav {
    display: none;
  }

  .bf-mobile-header {
    display: block;
  }

  .bf-hero .container {
    flex-direction: column;
    text-align: center;
  }

  .bf-hero__content {
    max-width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .bf-hero__title {
    font-size: 2.5rem;
  }

  .bf-hero__accent {
    margin: 16px auto;
  }

  .bf-hero__description {
    max-width: 100%;
  }

  .bf-hero__actions {
    justify-content: center;
  }

  .bf-hero__visual {
    min-height: 260px;
  }

  .bf-discovery-strip__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .bf-curated-layout {
    grid-template-columns: 1fr;
  }

  .bf-service-bar__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .bf-hero__title {
    font-size: 2rem;
  }

  .bf-hero {
    padding: 40px 0 30px;
  }

  .bf-discovery-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .bf-service-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .bf-section-heading__title,
  .section-heading__title {
    font-size: 1.35rem;
  }

  .bf-announcement-bar__links {
    display: none;
  }

  .bf-announcement-bar__message {
    font-size: 0.68rem;
  }
}

@media (max-width: 575px) {
  .bf-hero__title {
    font-size: 1.75rem;
  }

  .bf-discovery-strip__grid {
    grid-template-columns: 1fr;
  }

  .bf-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .bf-btn {
    width: 100%;
    justify-content: center;
  }

  .bf-service-bar__grid {
    grid-template-columns: 1fr;
  }

  .bf-mood-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================= Product Details Redesign ========================= */
.product-details__card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(27, 67, 50, 0.08);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.product-details__thumb {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bf-cream);
  padding: 20px;
}

.product-details__title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.product-details__description {
  color: var(--bf-text-muted);
  line-height: 1.6;
}

.product-details__price {
  font-family: var(--body-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bf-emerald);
}

.nav-tabs.custom--tab .nav-link {
  font-family: var(--body-font);
  font-weight: 600;
  color: var(--bf-text-muted);
  border: none;
  border-bottom: 2px solid transparent;
}

.nav-tabs.custom--tab .nav-link.active {
  color: var(--bf-emerald-dark);
  border-bottom-color: var(--bf-gold);
  background: transparent;
}

/* ========================= Cart Page Redesign ========================= */
.cart-wrapper {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(27, 67, 50, 0.08);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.cart-header {
  background: var(--bf-ivory);
  padding: 20px 30px;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.cart-header__title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-size: 1.5rem;
  font-weight: 600;
}

.singleCartItem {
  border-bottom: 1px solid rgba(27, 67, 50, 0.05);
  padding: 20px 30px;
}

.singleCartItem:last-child {
  border-bottom: none;
}

.checkout-information {
  background: var(--bf-cream);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(197, 165, 90, 0.2);
}

.checkout-information .title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-weight: 600;
}

/* ========================= Checkout Page Redesign ========================= */
.checkout-wrapper {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(27, 67, 50, 0.08);
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.checkout-title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-weight: 600;
  margin-bottom: 24px;
}

.form-group label {
  font-weight: 500;
  color: var(--bf-emerald-dark);
  font-size: 0.9rem;
}

.form--control {
  border: 1px solid rgba(27, 67, 50, 0.15);
  border-radius: 6px;
  padding: 12px 16px;
}

.form--control:focus {
  border-color: var(--bf-emerald);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.08);
}

/* ========================= Authentication Pages (Login/Register) ========================= */
.account {
  background-color: var(--bf-ivory);
}

.account-inner {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(27, 67, 50, 0.08);
}

.account-thumb {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bf-emerald-dark);
  padding: 40px;
}

.account-thumb img {
  border-radius: 12px;
  max-height: 500px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.account-form {
  padding: 50px 40px;
}

@media (max-width: 991px) {
  .account-form {
    padding: 30px 20px;
  }
}

.account-form__title {
  font-family: var(--heading-font);
  color: var(--bf-emerald-dark);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.account-form__subtitle {
  color: var(--bf-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.social-login-btn {
  border: 1px solid rgba(27, 67, 50, 0.15);
  color: var(--bf-emerald-dark);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.social-login-btn:hover {
  background-color: var(--bf-cream);
  border-color: var(--bf-emerald);
  color: var(--bf-emerald);
}

.have-account__link {
  color: var(--bf-emerald);
  font-weight: 600;
  text-decoration: underline;
}

.have-account__link:hover {
  color: var(--bf-emerald-light);
}

/* ========================= Mobile & Tablet Responsive Overrides ========================= */
@media (max-width: 1200px) {
  .bf-hero .container {
    gap: 40px;
  }
  .bf-hero__title {
    font-size: clamp(36px, 4vw, 54px);
  }
}

@media (max-width: 991px) {
  .bf-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bf-hero__content {
    padding: 20px 0 0;
  }
  .bf-hero__accent-container {
    justify-content: center;
  }
  .bf-hero__description {
    margin: 0 auto 32px;
  }
  .bf-hero__actions {
    justify-content: center;
  }
  
  .bf-curated-layout {
    grid-template-columns: 1fr;
  }
  
  .bf-discovery-strip__grid,
  .bf-service-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bf-service-bar {
    height: auto;
    padding: 24px 0;
  }
  .bf-service-bar__item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 575px) {
  .bf-discovery-strip__grid,
  .bf-service-bar__grid {
    grid-template-columns: 1fr;
  }
  .bf-discovery-strip__item,
  .bf-service-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
  }
  .bf-discovery-strip__item:last-child,
  .bf-service-bar__item:last-child {
    border-bottom: none;
  }
}