/* =============================================================================
   Booksfinity — design refinement layer (October 2026)
   Loaded after main.css and custom.css. Keeps the existing identity (emerald,
   ivory, gold, Playfair + Inter) and only harmonises spacing, typography,
   cards and components so every page reads as one system.
   ============================================================================= */

:root {
  --bf-section-space: clamp(48px, 6vw, 80px);
  --bf-card-radius: 12px;
  --bf-shadow-sm: 0 2px 10px rgba(10, 54, 34, 0.05);
  --bf-shadow-md: 0 14px 34px rgba(10, 54, 34, 0.10);
  --bf-focus: 0 0 0 3px rgba(185, 140, 53, 0.35);
}

/* ---------- Sections & headings ---------- */
.bf-section {
  padding: var(--bf-section-space) 0;
  margin: 0 !important;
  background: var(--bf-white);
}
.bf-section--tinted { background: var(--bf-ivory); }

.bf-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.bf-section-heading__title,
.section-heading__title {
  font-family: var(--heading-font) !important;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem) !important;
  font-weight: 500 !important;
  font-style: italic;
  line-height: 1.15 !important;
  color: var(--bf-emerald-dark) !important;
  margin: 0 !important;
}
.bf-section-heading__subtitle {
  margin: 8px 0 0;
  max-width: 560px;
  font-size: 0.95rem;
  color: var(--bf-muted);
}
.bf-section-heading__link {
  flex-shrink: 0;
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-emerald-dark) !important;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--bf-gold);
}
.bf-section-heading__link:hover { color: var(--bf-gold-dark) !important; }

/* ---------- Product grid ---------- */
.bf-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1399px) { .bf-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 991px)  { .bf-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .bf-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* ---------- Product card ---------- */
body .product-item {
  height: 100%;
  padding: 0 !important;
  background: var(--bf-white);
  border: 1px solid rgba(10, 54, 34, 0.07);
  border-radius: var(--bf-card-radius);
  box-shadow: none;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
body .product-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--bf-shadow-md);
  border-color: rgba(185, 140, 53, 0.35);
}
body .product-item__media { position: relative; }
body .product-item__thumb {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: 2 / 3;
  padding: 16px 18px !important;
  background: linear-gradient(180deg, #f8f3ea 0%, #f2ebdf 100%);
  border-radius: var(--bf-card-radius) var(--bf-card-radius) 0 0;
}
body .product-item__thumb img,
body .product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
  transition: transform 0.35s ease;
}
body .product-item:hover .product-card__image { transform: scale(1.03); }

body .product-item__content { padding: 14px 14px 16px !important; gap: 0; }
body .product-item__title { margin: 0 0 4px !important; }
body .product-item__title a {
  font-family: var(--heading-font);
  font-size: 0.98rem !important;
  font-weight: 600;
  line-height: 1.35 !important;
  min-height: calc(1.35em * 2);
  color: var(--bf-text-dark) !important;
}
body .product-item__title a:hover { color: var(--bf-emerald) !important; }
body .product-item__writing { margin: 0; }
body .writing-by,
body .writing-by a { font-size: 0.78rem !important; margin: 0; }

body .product-item__content__bottom {
  justify-content: center;
  margin: 10px 0 12px !important;
  padding: 0 !important;
}
body .product-item__price,
body .product-item__price .product-price {
  font-family: var(--body-font) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--bf-emerald-dark) !important;
}
body .product-item__price .amount-text,
body .product-item .price-group { justify-content: center; gap: 6px; }
body .product-item .price-group .old-price { font-size: 0.78rem !important; }

body .product-item .bf-add-to-cart-btn {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}
body .product-item .bf-add-to-cart-btn i { font-size: 0.78rem; }

/* "Save a Crumb" (wishlist) on covers */
body .product-item__media .cart-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(10, 54, 34, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--bf-emerald-dark);
  box-shadow: var(--bf-shadow-sm);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
body .product-item__media .cart-wishlist-btn:hover { transform: scale(1.08); background: #fff; }
body .product-item__media .cart-wishlist-btn.active { background: var(--bf-gold); color: #fff; border-color: var(--bf-gold); }

body .bf-product-badge {
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

/* mood page meta */
.product-item__mood-meta { margin-top: 8px; text-align: center; }
.product-item__stock {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bf-emerald-light);
}
.product-item__stock.is-out { color: var(--bf-sale-red); }
.product-item__excerpt {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--bf-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Curated slider: equal-height cards, tidy arrows ---------- */
.bf-curated-layout { display: block !important; }
.bf-curated-products { overflow: visible !important; position: relative; }
.bf-curated-slider .slick-track { display: flex !important; }
.bf-curated-slider .slick-slide { height: auto !important; padding: 4px 10px 12px; }
.bf-curated-slider .slick-slide > div,
.bf-curated-slide { height: 100%; }
.bf-curated-slider { margin: 0 -10px; }
.bf-curated-slider .slick-prev,
.bf-curated-slider .slick-next {
  position: absolute;
  top: 38%;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--bf-border);
  background: #fff;
  color: var(--bf-emerald-dark);
  box-shadow: var(--bf-shadow-sm);
}
.bf-curated-slider .slick-prev { left: -10px; }
.bf-curated-slider .slick-next { right: -10px; }
.bf-curated-slider .slick-prev:hover,
.bf-curated-slider .slick-next:hover { background: var(--bf-emerald-dark); color: #fff; }

/* ---------- Reading Room cards ---------- */
.blog .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10, 54, 34, 0.07);
  border-radius: var(--bf-card-radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog .blog-card:hover { transform: translateY(-3px); box-shadow: var(--bf-shadow-md); }
.blog .blog-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 !important; }
.blog .blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog .blog-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px 20px !important;
}
.blog .blog-card__title,
.blog .blog-card__title a {
  font-family: var(--heading-font);
  font-size: 1.1rem !important;
  line-height: 1.35;
  color: var(--bf-emerald-dark);
  margin: 0;
}
.blog .blog-card__footer { margin-top: auto; font-size: 0.82rem; color: var(--bf-muted); }
.blog .blog-card__date { font-size: 0.82rem !important; display: inline-flex; align-items: center; gap: 6px; }
.blog .blog-card__date svg { width: 16px; height: 16px; }

/* ---------- Newsletter split ---------- */
.bf-newsletter-section { margin: var(--bf-section-space) 0 !important; }
.bf-newsletter-split { min-height: 360px !important; }
.bf-newsletter-split__image { position: relative; min-height: 280px; }
.bf-newsletter-split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Buttons & forms: consistent radius / focus ---------- */
.bf-btn,
.btn--base,
.bf-header__search-btn { border-radius: 8px; }
.bf-btn:focus-visible,
.btn:focus-visible,
.bf-add-to-cart-btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none !important;
  box-shadow: var(--bf-focus) !important;
}
.form--control:focus,
.form-control:focus { border-color: var(--bf-emerald) !important; box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12) !important; }

/* ---------- Cookie consent card ---------- */
.cookies-card {
  position: fixed !important;
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
  width: calc(100% - 40px) !important;
  max-width: 440px !important;
  padding: 22px 22px 18px !important;
  background: #fff !important;
  border: 1px solid var(--bf-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 50px rgba(10, 54, 34, 0.18) !important;
  text-align: left !important;
  z-index: 1060 !important;
}
.cookies-card__icon {
  width: 44px !important;
  height: 44px !important;
  margin: 0 0 10px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--bf-cream) !important;
  color: var(--bf-gold-dark) !important;
  font-size: 1.4rem !important;
  position: static !important;
}
.cookies-card__content {
  margin: 0 !important;
  font-size: 0.86rem !important;
  line-height: 1.55 !important;
  color: var(--bf-text) !important;
}
.cookies-card__content a { color: var(--bf-emerald) !important; text-decoration: underline; }
.cookies-card__btn { justify-content: flex-start !important; margin-top: 14px !important; gap: 8px !important; }
.cookies-card__btn .btn {
  flex: 1 1 auto;
  min-height: 38px;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
.cookies-card__btn .policy-manage {
  background: transparent !important;
  color: var(--bf-emerald-dark) !important;
  border: 1px solid var(--bf-emerald-dark) !important;
}
@media (max-width: 575px) {
  .cookies-card { left: 10px !important; bottom: 10px !important; width: calc(100% - 20px) !important; }
}

/* ---------- Product details ---------- */
.product-details__desc,
.product-details__card .tab-content,
.product-details__card .tab-content p,
.product-details__card .tab-content span,
.product-details__card .tab-content li {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: var(--bf-text) !important;
}

/* ---------- Footer polish ---------- */
.footer-item__logo img { max-height: 64px; width: auto; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body .product-item,
  body .product-item:hover,
  .reading-mood-card:hover,
  .blog .blog-card:hover { transform: none !important; }
}

/* ---------- Product page: book facts, Save a Crumb, Pair It With ---------- */
.bf-book-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px 18px;
  margin: 14px 0 16px;
  padding: 14px 16px;
  background: var(--bf-ivory);
  border: 1px solid rgba(185, 140, 53, 0.18);
  border-radius: 10px;
}
.bf-book-facts__item dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bf-muted);
  margin: 0 0 2px;
}
.bf-book-facts__item dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bf-text-dark);
  word-break: break-word;
}
.product-details__info .btn--group { align-items: center; }
.product-details__info .btn--group .qtyAddCartBtn { min-height: 48px; padding: 12px 28px; border-radius: 8px; }
.product-details__info .btn--group .cart-wishlist-btn {
  width: auto;
  min-height: 48px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid var(--bf-emerald-dark);
  background: transparent;
  color: var(--bf-emerald-dark);
  font-weight: 600;
  font-size: 0.85rem;
}
.product-details__info .btn--group .cart-wishlist-btn.active { background: var(--bf-gold); border-color: var(--bf-gold); color: #fff; }
.bf-pair-it-with {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a3622, #1b4332);
  color: #f3ead8;
}
.bf-pair-it-with__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.bf-pair-it-with__eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bf-gold-light); }
.bf-pair-it-with__head a { font-size: 0.82rem; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bf-pair-it-with__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bf-pair-it-with__list li { display: flex; gap: 10px; align-items: baseline; font-size: 0.88rem; line-height: 1.45; }
.bf-pair-it-with__list i { color: var(--bf-gold-light); width: 16px; text-align: center; }
.bf-pair-it-with__list strong { color: #fff; font-weight: 600; }
.product-details__info .btn--group .cart-wishlist-btn span,
.product-details__info .btn--group .cart-wishlist-btn i { display: inline-block !important; color: inherit !important; background: none !important; width: auto !important; height: auto !important; font-size: 0.9rem; }
.product-details__info .btn--group .cart-wishlist-btn:hover { background: var(--bf-emerald-dark); color: #fff; }
.product-details__info .btn--group .cart-wishlist-btn.addToWishList {
  color: var(--bf-emerald-dark) !important;
  border: 1px solid var(--bf-emerald-dark) !important;
  background: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  position: static !important;
}
.product-details__info .btn--group .cart-wishlist-btn.addToWishList:hover { background: var(--bf-emerald-dark) !important; color: #fff !important; }
.product-details__info .btn--group .cart-wishlist-btn.addToWishList.active { background: var(--bf-gold) !important; border-color: var(--bf-gold) !important; color: #fff !important; }
.product-details__info .btn--group .cart-wishlist-btn.addToWishList { width: auto !important; height: auto !important; min-height: 48px; padding: 10px 20px !important; gap: 8px; border-radius: 8px !important; display: inline-flex !important; align-items: center; }

/* ---------- Login / Register ---------- */
.account .account-inner { background: none !important; padding: 0 !important; box-shadow: none !important; }
.account .account-inner::before,
.account .account-inner::after { display: none !important; }
.bf-auth-panel {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 52px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 85% 10%, rgba(185, 140, 53, 0.16), transparent 45%),
    linear-gradient(160deg, #fbf7f0 0%, #f3ebdd 100%);
  border: 1px solid rgba(185, 140, 53, 0.25);
}
.bf-auth-panel__logo { width: 150px; height: auto; object-fit: contain; margin-bottom: 22px; }
.bf-auth-panel__eyebrow { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bf-gold-dark); margin: 0 0 10px; }
.bf-auth-panel__title { font-family: var(--heading-font); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.15; color: var(--bf-emerald-dark); margin: 0 0 24px; }
.bf-auth-panel__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.bf-auth-panel__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; color: var(--bf-text); }
.bf-auth-panel__list i { flex-shrink: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--bf-emerald-dark); border: 1px solid rgba(185, 140, 53, 0.3); font-size: 0.9rem; }
.bf-auth-panel__note { font-size: 0.8rem; color: var(--bf-muted); margin: 0; }
.account .account-form {
  height: 100%;
  padding: clamp(24px, 4vw, 44px) !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(10, 54, 34, 0.08) !important;
  box-shadow: 0 18px 44px rgba(10, 54, 34, 0.07) !important;
}
.account .account-form__title { font-family: var(--heading-font); color: var(--bf-emerald-dark); }
.account .account-form__subtitle { color: var(--bf-gold-dark) !important; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.account .form--control,
.account .form-control,
.account .form-select { min-height: 48px; border-radius: 8px !important; border: 1px solid #d9d2c4 !important; background: #fff !important; }
.account .form--label { font-size: 0.85rem; font-weight: 600; color: var(--bf-text-dark); }
.account .btn--base.btn--lg,
.account button[type="submit"].btn--base { min-height: 50px; border-radius: 8px !important; font-weight: 600; letter-spacing: 0.04em; }
.account .input-popup { font-size: 0.8rem; }
.account .account-form::before,
.account .account-form::after { display: none !important; }
.account .position-relative > .password-show-hide,
.account .position-relative > .toggle-password { top: 24px !important; bottom: auto !important; transform: translateY(-50%) !important; }
.account .input-popup,
.account .input-popup p { font-size: 0.78rem !important; color: var(--bf-muted) !important; line-height: 1.6; margin: 6px 0 0; }

/* ---------- All Categories ---------- */
.bf-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-bottom: 32px; }
@media (max-width: 1199px) { .bf-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bf-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.bf-category-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid rgba(10, 54, 34, 0.07); border-radius: var(--bf-card-radius); overflow: hidden; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.bf-category-tile:hover { transform: translateY(-3px); box-shadow: var(--bf-shadow-md); }
.bf-category-tile__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; padding: 14px; background: linear-gradient(180deg, #f8f3ea, #f2ebdf); }
.bf-category-tile__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .14)); }
.bf-category-tile__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-family: var(--heading-font); font-style: italic; font-size: 3.4rem; color: var(--bf-gold-light); background: radial-gradient(circle at 30% 20%, rgba(214, 178, 96, .22), transparent 55%), linear-gradient(150deg, var(--bf-emerald), var(--bf-emerald-dark)); }
.bf-category-tile__name { padding: 14px 14px 4px; font-family: var(--heading-font); font-weight: 600; font-size: 1rem; line-height: 1.3; color: var(--bf-emerald-dark); }
.bf-category-tile__cta { margin-top: auto; padding: 0 14px 14px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bf-gold-dark); }

/* ---------- Curated + "Join Our Reading Community" ---------- */
.bf-curated-layout--with-club { display: grid !important; grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; align-items: stretch; }
@media (max-width: 1199px) { .bf-curated-layout--with-club { grid-template-columns: 1fr; } }
.bf-club {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 28px 28px;
  border-radius: 20px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(214, 178, 96, 0.30), transparent 55%),
    linear-gradient(160deg, #13573c 0%, #0a3622 60%, #072a1a 100%);
  box-shadow: 0 24px 50px rgba(10, 54, 34, 0.25);
}
.bf-club::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .10;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.5px), radial-gradient(circle at 70% 70%, #fff 0 1px, transparent 1.5px);
  background-size: 44px 44px, 70px 70px;
}
.bf-club__glow { position: absolute; width: 220px; height: 220px; right: -70px; bottom: -70px; border-radius: 50%; border: 1px solid rgba(230, 199, 125, .35); box-shadow: 0 0 0 26px rgba(230, 199, 125, .06), 0 0 0 52px rgba(230, 199, 125, .04); }
.bf-club__icon { position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: linear-gradient(145deg, #e6c77d, #b98c35); color: #fff; font-size: 1.3rem; box-shadow: 0 10px 22px rgba(0, 0, 0, .25); }
.bf-club__eyebrow { position: relative; z-index: 1; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #e6c77d; margin-bottom: 8px; }
.bf-club__title { position: relative; z-index: 1; font-family: var(--heading-font); font-style: italic; font-weight: 500; font-size: 1.85rem; line-height: 1.15; color: #fff !important; margin: 0 0 18px; background: none !important; }
.bf-club__perks { position: relative; z-index: 1; list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.bf-club__perks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255, 255, 255, .88); }
.bf-club__perks i { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .10); color: #e6c77d; font-size: .72rem; }
.bf-club__form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.bf-club__input { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: .92rem; }
.bf-club__input::placeholder { color: rgba(255, 255, 255, .6); }
.bf-club__input:focus { outline: none; border-color: #e6c77d; background: rgba(255, 255, 255, .12); }
.bf-club__btn { min-height: 48px; border: 0; border-radius: 10px; background: linear-gradient(135deg, #e0bf72, #b98c35); color: #0a3622; font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .2s ease, box-shadow .2s ease; }
.bf-club__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(185, 140, 53, .4); }
.bf-club__privacy { position: relative; z-index: 1; margin: 14px 0 0; font-size: .75rem; color: rgba(255, 255, 255, .62); }
.bf-club .bf-subscribe-msg { position: relative; z-index: 1; color: #e6c77d !important; }
.bf-curated-layout--with-club .bf-curated-products { overflow: hidden !important; }
.bf-curated-layout--with-club .bf-curated-slider .slick-prev { left: 14px; }
.bf-curated-layout--with-club .bf-curated-slider .slick-next { right: 14px; }
.bf-curated-layout--with-club .bf-curated-slider { margin: 0 !important; }
.bf-curated-layout--with-club .bf-curated-slider .slick-slide { padding: 4px 8px 12px; }

/* =============================================================================
   Overflow: "hidden" on html/body/containers created stray scroll areas and
   prevented sticky elements. "clip" cuts horizontal overflow without that.
   ============================================================================= */
html, body { overflow-x: clip !important; }
.container, .custom--container, .container-fluid { overflow-x: clip !important; overflow-y: visible !important; }

/* =============================================================================
   Header
   ============================================================================= */
.bf-header { padding: 16px 0 !important; background: linear-gradient(180deg, #fdfaf4 0%, var(--bf-ivory) 100%) !important; border-bottom: 1px solid rgba(185, 140, 53, 0.18) !important; }
.bf-header .container { gap: clamp(24px, 3vw, 48px) !important; }
.bf-header__logo { width: auto !important; }
.bf-header__logo-img { height: 68px; width: auto; max-width: 100%; object-fit: contain; display: block; transition: transform .3s ease; }
.bf-header__logo:hover .bf-header__logo-img { transform: scale(1.03); }
.bf-header__search { max-width: 620px !important; margin: 0 auto; }
.bf-header__search-input {
  height: 50px !important;
  padding: 0 64px 0 50px !important;
  border: 1px solid #ddd2bf !important;
  border-radius: 999px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b98c35' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E") no-repeat 20px center !important;
  box-shadow: 0 2px 8px rgba(10, 54, 34, 0.04) !important;
  font-size: 0.9rem !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bf-header__search-input:focus { border-color: var(--bf-gold) !important; box-shadow: 0 0 0 4px rgba(185, 140, 53, 0.15) !important; }
.bf-header__search-btn {
  top: 5px !important; bottom: 5px !important; right: 5px !important;
  width: 40px !important; height: 40px !important;
  border-radius: 50% !important;
  background: var(--bf-emerald-dark) !important;
  transition: background .2s ease, transform .2s ease;
}
.bf-header__search-btn:hover { background: var(--bf-gold) !important; transform: scale(1.05); }
.bf-header__actions { gap: 10px !important; }
.bf-header__action-item {
  gap: 6px !important;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  transition: background .2s ease, color .2s ease;
}
.bf-header__action-item:hover { background: rgba(185, 140, 53, 0.10); color: var(--bf-emerald-dark) !important; }
.bf-header__action-icon {
  width: 42px; height: 42px;
  display: flex !important; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(10, 54, 34, 0.08);
  font-size: 1.05rem !important;
  box-shadow: 0 2px 8px rgba(10, 54, 34, 0.05);
  transition: transform .2s ease, border-color .2s ease;
}
.bf-header__action-item:hover .bf-header__action-icon { transform: translateY(-2px); border-color: rgba(185, 140, 53, 0.45); }
.bf-header__cart-count {
  top: -4px !important; right: -4px !important;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 999px !important;
  background: var(--bf-gold) !important;
  color: #fff !important;
  font-size: 0.62rem !important;
  font-weight: 700;
  border: 2px solid #fff;
}

/* Category navigation: emerald band, sticky on scroll */
.bf-category-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: linear-gradient(90deg, #0a3622 0%, #0f4a33 50%, #0a3622 100%) !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(10, 54, 34, 0.12);
}
.bf-category-nav__list { gap: 2px !important; }
.bf-category-nav__link {
  position: relative;
  color: #f1e8d6 !important;
  border-bottom: 0 !important;
  padding: 15px 12px !important;
}
.bf-category-nav__link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: #e6c77d;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.bf-category-nav__link:hover,
.bf-category-nav__link[aria-current="page"] { color: #fff !important; }
.bf-category-nav__link:hover::after,
.bf-category-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.bf-category-nav__link.text--base { color: #e6c77d !important; }
.bf-category-nav__link.text--base::before { content: "✦ "; color: #e6c77d; }
.bf-category-nav__link--sale { color: #ffb4a2 !important; }
.bf-category-nav__link--sale::after { background: #ffb4a2; }
.bf-category-nav__link--shop-all {
  margin: 8px 6px 8px 0 !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #e0bf72, #b98c35) !important;
  color: #0a3622 !important;
  font-weight: 700 !important;
}
.bf-category-nav__link--shop-all::after { display: none; }
.bf-category-nav__link--shop-all:hover { filter: brightness(1.05); color: #0a3622 !important; }
@media (max-width: 1599px) { .bf-category-nav__link { padding: 15px 9px !important; } .bf-category-nav__link::after { left: 9px; right: 9px; } }

/* =====================================================================
   Footer — refined (service bar medallions, newsletter card, payments)
   ===================================================================== */
.bf-service-bar { background: #fbf8f1; padding: 26px 0; border-color: rgba(185, 140, 53, .18); }
.bf-service-bar__item { gap: 14px; justify-content: flex-start; padding: 4px 18px; border-right-color: rgba(185, 140, 53, .2); }
.bf-service-bar__icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; color: #0a3622;
  background: radial-gradient(circle at 30% 25%, #f6e3b0, #d9b45f 70%);
  box-shadow: 0 6px 16px rgba(185, 140, 53, .28), inset 0 0 0 3px rgba(255, 255, 255, .45);
  transition: transform .3s ease;
}
.bf-service-bar__item:hover .bf-service-bar__icon { transform: translateY(-3px) rotate(-6deg); }
.bf-service-bar__title { font-size: .74rem; letter-spacing: .08em; }
.bf-service-bar__desc { font-size: .78rem; margin-top: 2px; }

.bf-footer {
  position: relative;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(185, 140, 53, .10), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(30, 110, 75, .25), transparent 60%),
    linear-gradient(175deg, #0f3d2b 0%, #082619 100%);
  overflow: hidden;
}
.bf-footer__ornament {
  position: absolute; right: -120px; top: 120px; width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(230, 199, 125, .12);
  box-shadow: 0 0 0 40px rgba(230, 199, 125, .025), 0 0 0 80px rgba(230, 199, 125, .02);
  pointer-events: none;
}
.bf-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #b98c35 20%, #e6c77d 50%, #b98c35 80%, transparent);
}

/* newsletter card */
.bf-footer .bf-footer__newsletter {
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(22px, 3vw, 32px) clamp(22px, 3.5vw, 40px);
  border: 1px solid rgba(230, 199, 125, .22);
  border-radius: 22px;
  background: linear-gradient(120deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  backdrop-filter: blur(4px);
  display: grid; grid-template-columns: auto 1fr minmax(300px, 440px); align-items: center; gap: 22px;
}
.bf-footer__newsletter-icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; color: #0a3622;
  background: linear-gradient(135deg, #f1d796, #c99a3f);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  transform: rotate(-6deg);
}
.bf-footer .bf-footer__newsletter-text h4 { font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2.2vw, 1.65rem); color: #fff; margin: 0 0 6px; }
.bf-footer .bf-footer__newsletter-text p { margin: 0; color: rgba(250, 247, 240, .72); font-size: .92rem; line-height: 1.55; }
.bf-footer .bf-footer__newsletter-form {
  display: flex; max-width: none; width: 100%;
  padding: 5px; border-radius: 999px; background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}
.bf-footer .bf-footer__newsletter-input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: #1f2a24 !important; padding: 10px 18px; border-radius: 999px; box-shadow: none !important; }
.bf-footer .bf-footer__newsletter-input::placeholder { color: #8a8f88; }
.bf-footer .bf-footer__newsletter-btn {
  flex-shrink: 0; border: 0; border-radius: 999px; padding: 10px 22px;
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; color: #0a3622;
  background: linear-gradient(135deg, #e6c77d, #b98c35);
  display: inline-flex; align-items: center; gap: 8px; transition: filter .2s, transform .2s;
}
.bf-footer .bf-footer__newsletter-btn:hover { filter: brightness(1.08); transform: translateX(2px); }

/* columns */
.bf-footer .bf-footer__top { border-bottom: 0; padding-top: clamp(36px, 4.5vw, 60px); padding-bottom: clamp(28px, 4vw, 48px); }
.bf-footer .bf-footer__brand-logo { height: 78px; max-height: none; width: auto; max-width: 240px; display: block; margin-bottom: 18px; }
.bf-footer .bf-footer__brand-tagline { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.15rem; color: #e6c77d; line-height: 1.35; margin-bottom: 10px; }
.bf-footer .bf-footer__brand-desc { color: rgba(250, 247, 240, .68); font-size: .9rem; max-width: 300px; }
.bf-footer .bf-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.bf-footer .bf-footer__social a {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(230, 199, 125, .35); color: #f4e7c6; transition: all .25s ease;
}
.bf-footer .bf-footer__social a:hover { background: #e6c77d; border-color: #e6c77d; color: #0a3622; transform: translateY(-3px); }
.bf-footer .bf-footer__col-title {
  position: relative; font-family: var(--body-font); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: #e6c77d; padding-bottom: 12px; margin-bottom: 16px;
}
.bf-footer .bf-footer__col-title::before { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #e6c77d, transparent); }
.bf-footer .bf-footer__col-links li { margin-bottom: 10px; }
.bf-footer .bf-footer__col-links a { color: rgba(250, 247, 240, .8); font-size: .92rem; position: relative; display: inline-block; transition: color .2s, transform .2s; }
.bf-footer .bf-footer__col-links a:hover { color: #e6c77d; transform: translateX(4px); }

/* bottom bar */
.bf-footer .bf-footer__bottom { border-top: 1px solid rgba(230, 199, 125, .18); padding: 22px 0 26px; }
.bf-footer .bf-footer__copyright { color: rgba(250, 247, 240, .6); font-size: .85rem; }
.bf-footer__payments { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(250, 247, 240, .75); }
.bf-footer__payments .fab { font-size: 1.75rem; transition: color .2s; }
.bf-footer__payments .fab:hover { color: #e6c77d; }
.bf-footer__secure { font-size: .78rem; letter-spacing: .04em; color: rgba(250, 247, 240, .6); margin-right: 4px; }
.bf-footer__secure i { color: #e6c77d; margin-right: 4px; }

@media (max-width: 1199px) {
  .bf-footer .bf-footer__newsletter { grid-template-columns: auto minmax(0, 1fr); }
  .bf-footer__newsletter-side { grid-column: 1 / -1; }
}
@media (max-width: 991px) {
  .bf-service-bar__item { justify-content: center; }
}
@media (max-width: 575px) {
  .bf-footer .bf-footer__newsletter { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; display: grid; }
  .bf-footer .bf-footer__newsletter > * { min-width: 0; max-width: 100%; }
  .bf-footer__newsletter-side { width: 100%; }
  .bf-footer .bf-footer__newsletter-btn { padding: 10px 16px; }
  .bf-footer .bf-footer__col-title { margin-bottom: 0; padding: 14px 0; }
  .bf-footer .bf-footer__col-title::before { display: none; }
  .bf-footer .bf-footer__brand { text-align: center; }
  .bf-footer .bf-footer__brand-logo { margin-left: auto; margin-right: auto; }
  .bf-footer .bf-footer__brand-desc { margin: 0 auto; }
  .bf-footer .bf-footer__social { justify-content: center; }
  .bf-footer__payments { justify-content: center; }
  .bf-service-bar__icon { width: 40px; height: 40px; font-size: .95rem; }
}
@media (max-width: 575px) {
  .bf-service-bar__grid { grid-template-columns: 1fr 1fr !important; gap: 14px 10px; }
  .bf-service-bar__item { justify-content: flex-start !important; padding: 0 4px !important; border: 0 !important; gap: 10px; text-align: left; }
  .bf-service-bar__item:last-child { grid-column: 1 / -1; justify-content: center !important; }
  .bf-service-bar__title { font-size: .66rem; }
  .bf-service-bar__desc { font-size: .72rem; }
}

/* =====================================================================
   Phones: search panel, menu header, product cards, curated slider
   ===================================================================== */
button.bf-mobile-header__icon { background: none; border: 0; padding: 0; line-height: 1; cursor: pointer; }
.bf-mobile-header__icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s, color .2s; }
.bf-mobile-search-toggle.is-active { background: var(--bf-emerald-dark); color: #f1d796; }
.bf-mobile-header__search {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
}
.bf-mobile-header__search.is-open { max-height: 520px; opacity: 1; overflow: visible; padding: 12px 0 2px; }
.bf-mobile-header__search form {
  position: relative; display: flex; align-items: center;
  background: #fff; border: 1.5px solid rgba(10, 54, 34, .14); border-radius: 999px;
  padding: 4px 4px 4px 42px; box-shadow: 0 8px 22px rgba(10, 54, 34, .08);
}
.bf-mobile-header__search form:focus-within { border-color: var(--bf-gold); box-shadow: 0 0 0 3px rgba(185, 140, 53, .18); }
.bf-mobile-header__search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--bf-gold); font-size: .95rem; }
.bf-mobile-header__search-input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent; height: 40px; font-size: 16px; color: var(--bf-text-dark); box-shadow: none !important; }
.bf-mobile-header__search-input::-webkit-search-cancel-button { display: none; }
.bf-mobile-header__search-btn { flex-shrink: 0; border: 0; border-radius: 999px; padding: 0 18px; height: 40px; background: var(--bf-emerald-dark); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .04em; }

/* mobile menu: the header is dark green, so the logo and close button must be light */
.sidebar-menu__header img { filter: brightness(0) invert(1); width: auto !important; height: 46px; max-width: 150px; }
.sidebar-menu__header .sidebar-menu__close { color: #f1d796 !important; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(241, 215, 150, .35) !important; }
.sidebar-menu form input[name="search"] { font-size: 16px !important; border-radius: 999px !important; }

@media (max-width: 575px) {
  /* product cards */
  body .product-item__thumb { padding: 12px 14px !important; }
  body .product-item__content { padding: 12px 10px 12px !important; }
  body .product-item__title a {
    font-size: .9rem !important; min-height: calc(1.3em * 2); line-height: 1.3 !important;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  body .writing-by, body .writing-by a { font-size: .74rem !important; }
  body .product-item__content__bottom { margin: 8px 0 10px !important; }
  body .product-item .bf-add-to-cart-btn {
    width: 100%; min-height: 38px; padding: 8px 6px; gap: 6px;
    font-size: .66rem; letter-spacing: .05em; white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center;
  }
  body .bf-product-badge {
    top: 8px; left: 8px; font-size: .52rem !important; padding: 4px 8px !important;
    max-width: calc(100% - 58px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  body .product-item__media .cart-wishlist-btn { top: 6px; right: 6px; width: 32px; height: 32px; font-size: .8rem; }

  /* curated slider: one large centred card + peeking neighbours */
  .bf-curated-slider, .bf-curated-layout--with-club .bf-curated-slider { padding: 0 !important; margin: 0 -16px !important; }
  .bf-curated-slider .slick-list { margin: 0 !important; padding: 6px 52px !important; }
  .bf-curated-layout--with-club .bf-curated-slider .slick-slide { padding: 4px 7px 10px; }
  .bf-curated-slider .slick-slide { transition: transform .35s ease, opacity .35s ease; transform: scale(.92); opacity: .65; }
  .bf-curated-slider .slick-slide.slick-center { transform: scale(1); opacity: 1; }
  .bf-curated-slider .slick-dots { display: flex !important; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
  .bf-curated-slider .slick-dots li button { font-size: 0; width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(10, 54, 34, .2); transition: all .3s; }
  .bf-curated-slider .slick-dots li.slick-active button { width: 22px; background: var(--bf-gold); }
  .bf-curated-layout--with-club .bf-curated-products { overflow: visible !important; }
  .bf-curated-section { overflow-x: clip; }
}

/* ---------- New Releases: "see all" tile completing the grid ---------- */
.bf-more-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 100%; padding: 24px 16px; border-radius: var(--bf-card-radius); text-align: center; text-decoration: none;
  color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 0%, rgba(230, 199, 125, .28), transparent 70%), linear-gradient(160deg, #0f4a33, #072a1c);
  box-shadow: 0 14px 30px rgba(10, 54, 34, .18); transition: transform .25s ease, box-shadow .25s ease;
}
.bf-more-tile::after { content: ""; position: absolute; inset: 8px; border-radius: calc(var(--bf-card-radius) - 4px); border: 1px solid rgba(230, 199, 125, .25); pointer-events: none; }
.bf-more-tile:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(10, 54, 34, .25); color: #fff; }
.bf-more-tile__stack { position: relative; width: 120px; height: 120px; margin-bottom: 10px; }
.bf-more-tile__stack img {
  position: absolute; left: 50%; bottom: 0; width: 64px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 6px 6px 3px;
  transform-origin: 50% 100%; transform: translateX(calc(-50% + (var(--i) - 1) * 30px)) rotate(calc((var(--i) - 1) * 12deg));
  box-shadow: 0 10px 20px rgba(0, 0, 0, .35); transition: transform .35s ease;
}
.bf-more-tile__stack img:nth-child(2) { z-index: 2; bottom: 8px; }
.bf-more-tile:hover .bf-more-tile__stack img { transform: translateX(calc(-50% + (var(--i) - 1) * 38px)) rotate(calc((var(--i) - 1) * 16deg)); }
.bf-more-tile__eyebrow { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e6c77d; }
.bf-more-tile__title { font-family: var(--heading-font); font-style: italic; font-size: 1.3rem; line-height: 1.2; }
.bf-more-tile__btn { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: linear-gradient(135deg, #f1d796, #c99a3f); color: #0a3622; font-weight: 700; font-size: .78rem; letter-spacing: .04em; }
/* keep complete rows when there are 9 books: 4 columns -> 7 + tile, 3 columns -> 8 + tile */
@media (min-width: 992px) and (max-width: 1399px) { .bf-product-grid--nine > :not(.bf-more-tile):nth-child(n+8) { display: none !important; } }
@media (min-width: 768px) and (max-width: 991px)  { .bf-product-grid--nine > :not(.bf-more-tile):nth-child(n+9) { display: none !important; } }

/* ---------- Discovery strip on phones: compact 2 x 2 tiles ---------- */
@media (max-width: 575px) {
  .bf-discovery-strip__grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important; padding: 14px 0 !important; }
  .bf-discovery-strip__item {
    flex-direction: column !important; align-items: center !important; justify-content: flex-start !important; text-align: center !important;
    gap: 6px !important; padding: 14px 10px !important; border: 1px solid rgba(185, 140, 53, .18) !important; border-radius: 14px;
    background: rgba(255, 255, 255, .6);
  }
  .bf-discovery-strip__icon { font-size: 1.25rem !important; margin: 0 !important; }
  .bf-discovery-strip__title { font-size: .68rem !important; }
  .bf-discovery-strip__desc { font-size: .72rem !important; line-height: 1.35 !important; }
  .bf-more-tile { padding: 18px 10px; }
  .bf-more-tile__stack { width: 100px; height: 100px; }
  .bf-more-tile__stack img { width: 52px; }
  .bf-more-tile__title { font-size: 1.05rem; }
}

/* ---------- Shop page: title + Shop by mood chips ---------- */
.product-topbar { background: linear-gradient(120deg, #fffdf8, #f7f0e1) !important; border: 1px solid rgba(185, 140, 53, .2) !important; border-radius: 18px !important; padding: 18px 22px !important; }
.bf-shop-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bf-shop-title__eyebrow { font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bf-gold); }
.bf-shop-title__h { margin: 0; font-family: var(--heading-font); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; color: var(--bf-emerald-dark); overflow-wrap: anywhere; }
.bf-shop-moods { display: flex; align-items: center; gap: 12px; margin: -6px 0 24px; flex-wrap: wrap; }
.bf-shop-moods__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-emerald-dark); white-space: nowrap; }
.bf-shop-moods__label i { color: var(--bf-gold); margin-right: 4px; }
.bf-shop-moods__list { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-shop-moods__chip {
  --chip: #0a3622;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--bf-text-dark); text-decoration: none; background: #fff;
  border: 1px solid color-mix(in srgb, var(--chip) 25%, transparent); transition: all .2s ease;
}
.bf-shop-moods__chip i { color: var(--chip); }
.bf-shop-moods__chip:hover { background: var(--chip); color: #fff; border-color: var(--chip); transform: translateY(-2px); }
.bf-shop-moods__chip:hover i { color: #f1d796; }
@media (max-width: 575px) {
  .product-topbar { padding: 14px 16px !important; }
  .bf-shop-moods { margin-top: 0; }
  .bf-shop-moods__chip { font-size: .74rem; padding: 6px 11px; }
}
@media (max-width: 575px) {
  .bf-shop-moods__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; }
  .bf-shop-moods__chip { justify-content: flex-start; padding: 7px 10px; font-size: .7rem; line-height: 1.2; border-radius: 10px; }
}
.bf-shop-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bf-filter-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--bf-emerald-dark); background: var(--bf-emerald-dark); color: #fff;
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
}
.bf-filter-btn i { color: #f1d796; }
@media (max-width: 575px) {
  .bf-shop-tools { width: 100%; }
  .bf-shop-tools .filter-select-item { flex: 1; min-width: 0; }
}
@media (max-width: 575px) {
  .bf-shop-tools .select2-container { width: 100% !important; max-width: 100%; }
  .bf-shop-tools .filter-select-item .form-select { width: 100%; }
}


/* =====================================================================
   Homepage hero - refined
   ===================================================================== */
.bf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 64px) !important;
  background:
    radial-gradient(45% 70% at 100% 20%, rgba(185, 140, 53, .10), transparent 70%),
    var(--bf-ivory) !important;
}
.bf-hero__arc { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(185, 140, 53, .22); pointer-events: none; }
.bf-hero__arc--1 { width: 520px; height: 520px; left: -260px; top: -200px; }
.bf-hero__arc--2 { width: 760px; height: 760px; left: -380px; top: -320px; border-style: dashed; border-color: rgba(185, 140, 53, .14); }
.bf-hero .container { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) !important; gap: clamp(32px, 4vw, 64px) !important; }
.bf-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #8a6420; background: rgba(185, 140, 53, .12); border: 1px solid rgba(185, 140, 53, .25);
}
.bf-hero__description { max-width: 440px !important; font-size: clamp(15px, 1.15vw, 17px) !important; color: #5c5a55 !important; }
.bf-hero__actions { gap: 12px !important; }
.bf-hero__actions .bf-btn { gap: 10px; padding: 15px 28px; border-radius: 999px; font-size: .74rem; }
.bf-hero__actions .bf-btn--primary { box-shadow: 0 12px 26px rgba(10, 54, 34, .22); }
.bf-hero__actions .bf-btn--primary:hover { transform: translateY(-2px); }
.bf-hero__actions .bf-btn--primary i { transition: transform .2s; }
.bf-hero__actions .bf-btn--primary:hover i { transform: translateX(4px); }
.bf-hero__actions .bf-btn--outline { background: rgba(255, 255, 255, .6); }
.bf-hero__actions .bf-btn--outline i { color: var(--bf-gold); }
.bf-hero__actions .bf-btn--outline:hover i { color: #f1d796; }

.bf-hero__moods { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; text-decoration: none; }
.bf-hero__moods-stack { display: flex; }
.bf-hero__moods-stack span {
  width: 38px; height: 38px; margin-left: -10px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: #fff; border: 2.5px solid var(--bf-ivory);
  background: radial-gradient(circle at 30% 25%, var(--mood-main), var(--mood-dark));
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12); transition: transform .25s ease;
}
.bf-hero__moods-stack span:first-child { margin-left: 0; }
.bf-hero__moods:hover .bf-hero__moods-stack span { transform: translateY(-3px); }
.bf-hero__moods:hover .bf-hero__moods-stack span:nth-child(even) { transform: translateY(3px); }
.bf-hero__moods-text { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.bf-hero__moods-text strong { font-family: var(--heading-font); font-size: 1rem; color: var(--bf-emerald-dark); }
.bf-hero__moods-text small { font-size: .78rem; color: var(--bf-gold); font-weight: 600; }
.bf-hero__moods-text small i { font-size: .65rem; transition: transform .2s; }
.bf-hero__moods:hover small i { transform: translateX(3px); }

.bf-hero__visual { overflow: visible !important; padding: 0 0 26px 26px; }
.bf-hero__frame { position: relative; border-radius: 24px; }
.bf-hero__frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 24px; border: 1.5px solid rgba(185, 140, 53, .45); background: rgba(185, 140, 53, .06); }
.bf-hero__image { border-radius: 24px !important; height: clamp(320px, 36vw, 500px) !important; box-shadow: 0 30px 60px rgba(10, 54, 34, .18); }
.bf-hero__float {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px; text-decoration: none;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border: 1px solid rgba(185, 140, 53, .25);
  box-shadow: 0 18px 40px rgba(10, 54, 34, .18); animation: bfHeroFloat 5s ease-in-out infinite;
}
.bf-hero__float-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #f1d796; background: linear-gradient(135deg, #1d6b4b, #0a3622); flex-shrink: 0; }
.bf-hero__float strong { display: block; font-family: var(--heading-font); font-size: .98rem; color: var(--bf-emerald-dark); }
.bf-hero__float small { font-size: .78rem; font-weight: 600; color: var(--bf-gold); }
.bf-hero__float:hover { animation-play-state: paused; }
@keyframes bfHeroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 991px) {
  .bf-hero .container { grid-template-columns: 1fr !important; }
  .bf-hero__moods { justify-content: center; }
  .bf-hero__visual { padding: 0 14px 30px 14px; }
  .bf-hero__frame::before { inset: 12px -12px -12px 12px; }
  .bf-hero__image { height: clamp(240px, 55vw, 380px) !important; }
  .bf-hero__float { left: 50%; transform: translateX(-50%); animation: none; white-space: nowrap; }
}
@media (max-width: 575px) {
  .bf-hero__eyebrow { font-size: .6rem; }
  .bf-hero__actions .bf-btn { flex: 1 1 100%; }
  .bf-hero__moods-stack span { width: 32px; height: 32px; font-size: .7rem; }
  .bf-hero__float { padding: 10px 14px 10px 10px; }
  .bf-hero__float-icon { width: 38px; height: 38px; font-size: .95rem; }
  .bf-hero__float strong { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .bf-hero__float { animation: none; } }


/* =====================================================================
   Subscribe section ("Every great story begins here") - refined
   ===================================================================== */
.bf-newsletter-section .bf-newsletter-split {
  position: relative; border-radius: 28px; min-height: 420px; overflow: visible;
  background: radial-gradient(60% 80% at 0% 0%, rgba(214, 178, 96, .18), transparent 60%), linear-gradient(135deg, #0f4a33 0%, #082619 100%);
  box-shadow: 0 30px 70px rgba(10, 54, 34, .22);
}
.bf-newsletter-section .bf-newsletter-split::after {
  content: ""; position: absolute; inset: 12px; border-radius: 20px; border: 1px solid rgba(230, 199, 125, .22); pointer-events: none; z-index: 3;
}
.bf-newsletter-section .bf-newsletter-split__content { border-radius: 28px 0 0 28px; padding: clamp(40px, 5vw, 72px); background: none; }
.bf-newsletter-section .bf-newsletter-split__eyebrow {
  align-self: flex-start; padding: 7px 14px; border-radius: 999px; font-size: .7rem; letter-spacing: .16em;
  color: #f3dfa9; background: rgba(230, 199, 125, .12); border: 1px solid rgba(230, 199, 125, .3);
}
.bf-newsletter-section .bf-newsletter-split__title { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
.bf-newsletter-section .bf-newsletter-split__desc { color: rgba(255, 255, 255, .8); margin-bottom: 24px; }
.bf-newsletter-section .bf-newsletter-split__input-row {
  padding: 6px; border-radius: 999px; background: #fff; border: 0; box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}
.bf-newsletter-section .bf-newsletter-split__input { color: #1f2a24; padding: 12px 20px; font-size: 1rem; min-width: 0; }
.bf-newsletter-section .bf-newsletter-split__input::placeholder { color: #8a8f88; }
.bf-newsletter-section .bf-newsletter-split__input:focus { background: transparent; }
.bf-newsletter-section .bf-newsletter-split__btn {
  border-radius: 999px; padding: 12px 26px; color: #0a3622; letter-spacing: .06em;
  background: linear-gradient(135deg, #f1d796, #c99a3f); box-shadow: 0 8px 18px rgba(201, 154, 63, .35);
}
.bf-newsletter-section .bf-newsletter-split__btn:hover { background: linear-gradient(135deg, #f6e3b0, #d4a84a); }
.bf-newsletter-section .bf-newsletter-split__privacy { color: rgba(255, 255, 255, .55); }
.bf-newsletter-section .bf-newsletter-split__privacy i { color: #e6c77d; }
.bf-newsletter-section .bf-newsletter-split__image { border-radius: 0 28px 28px 0; }
.bf-newsletter-section .bf-newsletter-split__image img { transition: transform 6s ease; }
.bf-newsletter-section .bf-newsletter-split:hover .bf-newsletter-split__image img { transform: scale(1.05); }
.bf-newsletter-split__fade { position: absolute; inset: 0; background: linear-gradient(90deg, #0d4230 0%, rgba(13, 66, 48, .55) 18%, transparent 45%); pointer-events: none; }

.bf-newsletter-seal {
  position: absolute; left: 55%; top: 50%; z-index: 4; width: 124px; height: 124px; transform: translate(-50%, -50%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 30% 25%, #1d6b4b, #0a3622 70%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35), 0 0 0 6px rgba(230, 199, 125, .25), inset 0 0 0 2px rgba(230, 199, 125, .6);
}
.bf-newsletter-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: bfSealSpin 24s linear infinite; }
.bf-newsletter-seal text { fill: #e6c77d; font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px; font-family: var(--body-font, sans-serif); }
.bf-newsletter-seal i { font-size: 1.6rem; color: #f1d796; }
@keyframes bfSealSpin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .bf-newsletter-seal { left: 60%; width: 104px; height: 104px; }
}
@media (max-width: 767px) {
  .bf-newsletter-section .bf-newsletter-split { border-radius: 22px; }
  .bf-newsletter-section .bf-newsletter-split__content { border-radius: 22px 22px 0 0; padding: 36px 22px 30px; }
  .bf-newsletter-section .bf-newsletter-split__image { border-radius: 0 0 22px 22px; }
  .bf-newsletter-split__fade { background: linear-gradient(180deg, #0d4230 0%, rgba(13, 66, 48, .4) 25%, transparent 55%); }
  .bf-newsletter-seal { display: none; }
}
@media (max-width: 575px) {
  .bf-newsletter-section .bf-newsletter-split__input-row { flex-direction: column; border-radius: 18px; gap: 6px; }
  .bf-newsletter-section .bf-newsletter-split__btn { justify-content: center; border-radius: 14px; }
  .bf-newsletter-section .bf-newsletter-split__input { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .bf-newsletter-seal svg { animation: none; } }

/* =====================================================================
   Discovery strip - floating cards
   ===================================================================== */
.bf-discovery-strip {
  position: relative; z-index: 2;
  background: var(--bf-ivory) !important;
  border: 0 !important; padding: 0 0 clamp(32px, 4vw, 52px) !important;
}
.bf-discovery-strip__grid {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px !important; padding: 0 !important;
}
.bf-discovery-strip__item {
  position: relative; overflow: hidden;
  display: flex !important; flex-direction: row !important; align-items: flex-start !important; justify-content: flex-start !important; text-align: left !important;
  gap: 16px !important; padding: 22px 46px 22px 20px !important; min-height: 100%;
  background: #fff !important; border: 1px solid rgba(185, 140, 53, .18) !important; border-radius: 20px !important;
  box-shadow: 0 14px 34px rgba(10, 54, 34, .07); text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.bf-discovery-strip__item::before {
  content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #c99a3f, #f1d796, #c99a3f); transform: scaleX(.3); transform-origin: left; transition: transform .35s ease;
}
.bf-discovery-strip__item::after {
  content: "\f061"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; right: 18px; bottom: 18px; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: .7rem;
  color: var(--bf-emerald-dark); background: rgba(185, 140, 53, .12); transition: all .3s ease;
}
.bf-discovery-strip__item:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(10, 54, 34, .13); border-color: rgba(185, 140, 53, .45) !important; background: #fff !important; }
.bf-discovery-strip__item:hover::before { transform: scaleX(1); }
.bf-discovery-strip__item:hover::after { background: var(--bf-emerald-dark); color: #f1d796; transform: translateX(3px); }
.bf-discovery-strip__icon {
  flex-shrink: 0; width: 52px !important; height: 52px !important; margin: 0 !important; border-radius: 16px;
  display: flex !important; align-items: center; justify-content: center; font-size: 1.25rem !important; color: #0a3622 !important;
  background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%);
  box-shadow: 0 8px 18px rgba(185, 140, 53, .3), inset 0 0 0 3px rgba(255, 255, 255, .45);
  transform: rotate(-6deg); transition: transform .3s ease, background .3s ease, color .3s ease;
}
.bf-discovery-strip__item:hover .bf-discovery-strip__icon { transform: rotate(0) scale(1.06); background: radial-gradient(circle at 30% 25%, #1d6b4b, #0a3622 70%); color: #f1d796 !important; }
.bf-discovery-strip__title { font-family: var(--heading-font) !important; font-size: 1.08rem !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--bf-emerald-dark) !important; margin: 2px 0 4px !important; }
.bf-discovery-strip__desc { font-size: .86rem !important; line-height: 1.5 !important; color: #6b6a64 !important; }

@media (max-width: 1199px) {
  .bf-discovery-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 575px) {
  .bf-discovery-strip { padding: 4px 0 24px !important; }
  .bf-discovery-strip__grid { gap: 10px !important; }
  .bf-discovery-strip__item { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 10px !important; padding: 18px 12px 16px !important; border-radius: 16px !important; }
  .bf-discovery-strip__item::after { display: none; }
  .bf-discovery-strip__item::before { left: 30%; right: 30%; }
  .bf-discovery-strip__icon { width: 44px !important; height: 44px !important; font-size: 1.05rem !important; }
  .bf-discovery-strip__title { font-size: .92rem !important; }
  .bf-discovery-strip__desc { font-size: .74rem !important; }
}

/* =====================================================================
   Service bar - dark emerald trust ribbon that flows into the footer
   ===================================================================== */
.bf-service-bar {
  position: relative; overflow: hidden;
  padding: 30px 0 !important; border: 0 !important;
  background:
    radial-gradient(40% 120% at 0% 50%, rgba(230, 199, 125, .10), transparent 70%),
    radial-gradient(40% 120% at 100% 50%, rgba(230, 199, 125, .08), transparent 70%),
    linear-gradient(180deg, #0b3324 0%, #0f3d2b 100%) !important;
}
.bf-service-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #b98c35 20%, #e6c77d 50%, #b98c35 80%, transparent); }
.bf-service-bar::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 199, 125, .25), transparent); }
.bf-service-bar__grid { gap: 0 !important; }
.bf-service-bar__item {
  position: relative; gap: 14px !important; padding: 6px 20px !important; border-right: 0 !important;
  transition: transform .3s ease;
}
.bf-service-bar__item + .bf-service-bar__item::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 199, 125, .45), transparent);
}
.bf-service-bar__icon {
  position: relative; width: 50px !important; height: 50px !important; border-radius: 50% !important;
  color: #f1d796 !important; font-size: 1.1rem !important;
  background: rgba(255, 255, 255, .04) !important;
  border: 1.5px solid rgba(230, 199, 125, .55);
  box-shadow: inset 0 0 0 5px rgba(230, 199, 125, .07) !important;
  transition: all .35s ease !important;
}
.bf-service-bar__item:hover .bf-service-bar__icon {
  transform: translateY(-3px) !important; color: #0a3622 !important; border-color: transparent;
  background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .25) !important;
}
.bf-service-bar__title { color: #fdf8ec !important; font-size: .76rem !important; letter-spacing: .12em !important; }
.bf-service-bar__desc { color: rgba(250, 247, 240, .62) !important; font-size: .8rem !important; }
/* the footer below already starts with the same green: drop its gold top line to avoid a double rule */
.bf-service-bar + .bf-footer::before, .bf-service-bar ~ .bf-footer::before { display: none; }
@media (max-width: 1199px) {
  .bf-service-bar__item + .bf-service-bar__item::before { display: none; }
}
@media (max-width: 575px) {
  .bf-service-bar { padding: 22px 0 !important; }
  .bf-service-bar__icon { width: 40px !important; height: 40px !important; font-size: .9rem !important; }
  .bf-service-bar__title { font-size: .66rem !important; letter-spacing: .08em !important; }
  .bf-service-bar__desc { font-size: .72rem !important; }
}

/* ---------- Empty cart ---------- */
.bf-empty-cart { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(28px, 5vw, 48px) 16px; }
.bf-empty-cart__icon { position: relative; width: 84px; height: 84px; margin-bottom: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #0a3622; background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%); box-shadow: 0 14px 30px rgba(185, 140, 53, .3), 0 0 0 10px rgba(185, 140, 53, .08); }
.bf-empty-cart__title { margin: 0 0 6px; font-family: var(--heading-font); font-style: italic; font-size: 1.35rem; line-height: 1.3; color: var(--bf-emerald-dark); }
.bf-empty-cart__text { margin: 0 0 20px; font-size: .92rem; color: #6b6a64; max-width: 340px; }
.bf-empty-cart__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bf-empty-cart__btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none; color: #fff !important; background: var(--bf-emerald-dark); border: 1.5px solid var(--bf-emerald-dark); transition: transform .2s, background .2s; }
.bf-empty-cart__btn:hover { transform: translateY(-2px); background: #134b34; }
.bf-empty-cart__btn--ghost { color: var(--bf-emerald-dark) !important; background: transparent; }
.bf-empty-cart__btn--ghost i { color: var(--bf-gold); }
.bf-empty-cart__btn--ghost:hover { color: #fff !important; background: var(--bf-emerald-dark); }

/* =====================================================================
   Customer dashboard
   ===================================================================== */
.bf-dash-hero {
  position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 3.5vw, 36px); margin-bottom: 20px; border-radius: 22px; color: #fff;
  background: radial-gradient(50% 90% at 100% 0%, rgba(230, 199, 125, .22), transparent 70%), linear-gradient(135deg, #0f4a33, #072a1c);
  box-shadow: 0 20px 44px rgba(10, 54, 34, .18);
}
.bf-dash-hero__ring { position: absolute; z-index: -1; right: -90px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px dashed rgba(230, 199, 125, .3); }
.bf-dash-hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f3dfa9; }
.bf-dash-hero__title { margin: 6px 0 6px; font-family: 'Playfair Display', var(--heading-font), serif; font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; }
.bf-dash-hero__text { margin: 0; color: rgba(255, 255, 255, .78); }
.bf-dash-hero__coupon { display: flex; flex-direction: column; gap: 4px; min-width: 230px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(230, 199, 125, .6); text-align: center; }
.bf-dash-hero__coupon-label { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f3dfa9; }
.bf-dash-hero__coupon strong { font-family: var(--heading-font); font-size: 1.15rem; color: #fff; }
.bf-dash-hero__code { align-self: center; margin: 4px 0; padding: 6px 16px; border-radius: 999px; font-weight: 800; letter-spacing: .16em; color: #0a3622; background: linear-gradient(135deg, #f1d796, #c99a3f); }
.bf-dash-hero__coupon small { color: rgba(255, 255, 255, .65); }
.bf-dash-hero__shop { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; color: #0a3622 !important; background: linear-gradient(135deg, #f1d796, #c99a3f); text-decoration: none; }

.bf-dash-mood { --mood-main: #1d6b4b; --mood-dark: #0a3622; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 24px; margin-bottom: 20px; border-radius: 20px; background: #fff; border: 1px solid color-mix(in srgb, var(--mood-main) 25%, transparent); box-shadow: 0 10px 28px rgba(10, 54, 34, .06); position: relative; overflow: hidden; }
.bf-dash-mood::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--mood-main), var(--mood-dark)); }
.bf-dash-mood__medal { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; color: #fff; background: radial-gradient(circle at 30% 25%, var(--mood-main), var(--mood-dark)); box-shadow: 0 10px 22px rgba(0, 0, 0, .16), inset 0 0 0 3px rgba(255, 255, 255, .3); }
.bf-dash-mood--empty .bf-dash-mood__medal { color: #0a3622; background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%); }
.bf-dash-mood__copy { flex: 1; min-width: 200px; }
.bf-dash-mood__label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bf-gold); }
.bf-dash-mood__name { margin: 2px 0 0; font-family: var(--heading-font); font-size: 1.35rem; color: var(--mood-dark); }
.bf-dash-mood--empty .bf-dash-mood__name { color: var(--bf-emerald-dark); }
.bf-dash-mood__text { margin: 4px 0 0; font-size: .88rem; color: #6b6a64; }
.bf-dash-mood__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-dash-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; background: none; transition: transform .2s, background .2s, color .2s; }
.bf-dash-btn:hover { transform: translateY(-2px); }
.bf-dash-btn--gold { color: #0a3622 !important; background: linear-gradient(135deg, #f1d796, #c99a3f); }
.bf-dash-btn--ghost, .bf-dash-btn--outline { color: var(--bf-emerald-dark) !important; border-color: rgba(10, 54, 34, .25); }
.bf-dash-btn--ghost:hover, .bf-dash-btn--outline:hover { background: var(--bf-emerald-dark); color: #fff !important; }
.bf-dash-btn--dark { color: #fff !important; background: var(--bf-emerald-dark); }
.bf-dash-btn--link { color: #6b6a64; text-decoration: underline; padding-left: 6px; padding-right: 6px; }
.bf-dash-checkin { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 20px; border-radius: 16px; background: #fbf8f1; border: 1px solid rgba(185, 140, 53, .25); color: var(--bf-emerald-dark); }

.bf-dash-widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.bf-dash-widgets .bf-dash-widget--accent { grid-column: span 2; }
@media (max-width: 991px) { .bf-dash-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bf-dash-widget { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid rgba(10, 54, 34, .08); box-shadow: 0 6px 18px rgba(10, 54, 34, .04); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bf-dash-widget:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(10, 54, 34, .1); border-color: rgba(185, 140, 53, .4); }
.bf-dash-widget__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #f1d796; background: linear-gradient(135deg, #1d6b4b, #0a3622); }
.bf-dash-widget--accent { background: linear-gradient(135deg, #fffaf0, #f6ecd6); border-color: rgba(185, 140, 53, .35); }
.bf-dash-widget--accent .bf-dash-widget__icon { color: #0a3622; background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%); }
.bf-dash-widget__body { display: flex; flex-direction: column; line-height: 1.15; }
.bf-dash-widget__value { font-family: var(--heading-font); font-size: 1.7rem; font-weight: 600; color: var(--bf-emerald-dark); }
.bf-dash-widget__label { font-size: .78rem; font-weight: 600; color: #6b6a64; }
.bf-dash-widget__arrow { margin-left: auto; font-size: .75rem; color: rgba(10, 54, 34, .3); transition: transform .2s, color .2s; }
.bf-dash-widget:hover .bf-dash-widget__arrow { color: var(--bf-gold); transform: translateX(3px); }
@media (max-width: 575px) {
  .bf-dash-widgets { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bf-dash-widget { padding: 14px 12px; gap: 10px; }
  .bf-dash-widget__icon { width: 38px; height: 38px; font-size: .9rem; }
  .bf-dash-widget__arrow { display: none; }
  .bf-dash-hero__coupon { width: 100%; }
}

/* ---------- All Categories: cover fan for categories without image ---------- */
.bf-category-tile__media { position: relative; }
.bf-category-tile__fan { position: relative; width: 100%; height: 100%; display: block; border-radius: 10px; background: radial-gradient(circle at 50% 30%, rgba(214, 178, 96, .25), transparent 60%), linear-gradient(150deg, var(--bf-emerald), var(--bf-emerald-dark)); overflow: hidden; }
.bf-category-tile__fan img {
  position: absolute; left: 50%; bottom: 12%; width: 46%; aspect-ratio: 2 / 3; height: auto !important; object-fit: cover !important;
  border-radius: 3px 6px 6px 3px; transform-origin: 50% 100%; box-shadow: 0 10px 20px rgba(0, 0, 0, .35); filter: none !important;
  transform: translateX(calc(-50% + (var(--i) - 1) * 34%)) rotate(calc((var(--i) - 1) * 10deg)); transition: transform .35s ease;
}
.bf-category-tile__fan img:nth-child(2) { z-index: 2; bottom: 16%; }
.bf-category-tile__fan--1 img { transform: translateX(-50%); width: 52%; }
.bf-category-tile__fan--2 img { transform: translateX(calc(-50% + (var(--i) - .5) * 36%)) rotate(calc((var(--i) - .5) * 12deg)); }
.bf-category-tile:hover .bf-category-tile__fan--3 img { transform: translateX(calc(-50% + (var(--i) - 1) * 42%)) rotate(calc((var(--i) - 1) * 14deg)); }
.bf-category-tile__placeholder i { font-size: 2.6rem; font-style: normal; }
.bf-category-tile__count { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 3px 10px; border-radius: 999px; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bf-emerald-dark); background: rgba(255, 255, 255, .94); box-shadow: 0 4px 10px rgba(0, 0, 0, .1); }

/* ---------- Track Your Order ---------- */
.order-track.py-120 { padding: clamp(40px, 6vw, 72px) 0 !important; }
.order-track .track--card { position: relative; border-radius: 26px !important; border: 1px solid rgba(185, 140, 53, .2) !important; box-shadow: 0 24px 60px rgba(10, 54, 34, .08) !important; overflow: hidden; }
.order-track .track--card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #b98c35, #e6c77d, #b98c35); }
.order-track .track--card .card-body { padding: clamp(28px, 5vw, 56px) !important; text-align: center; }
.order-track .card-title { font-family: 'Playfair Display', var(--heading-font), serif; font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--bf-emerald-dark); }
.order-track .card-title::before { content: "\f0d1"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-style: normal; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; font-size: 1.5rem; color: #0a3622; background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%); box-shadow: 0 12px 26px rgba(185, 140, 53, .3); }
.order-track .card-desc { max-width: 520px; margin: 0 auto; color: #6b6a64; }
.order-track .order-track-form { display: flex; max-width: 560px; margin-left: auto !important; margin-right: auto !important; padding: 6px; border-radius: 999px; background: #fff; border: 1.5px solid rgba(10, 54, 34, .14); box-shadow: 0 10px 26px rgba(10, 54, 34, .07); }
.order-track .order-track-form:focus-within { border-color: var(--bf-gold); box-shadow: 0 0 0 4px rgba(185, 140, 53, .15); }
.order-track .order-track-form .form--control { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 18px; font-size: 1rem; }
.order-track .order-track-form .track-btn { flex-shrink: 0; border-radius: 999px !important; padding: 10px 28px !important; font-weight: 700; background: var(--bf-emerald-dark) !important; border: 0 !important; color: #fff !important; }
.order-track .order-track-step { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 16px !important; border-radius: 18px !important; background: #fbf8f1 !important; border: 1px solid rgba(185, 140, 53, .18) !important; text-align: center; transition: all .3s ease; }
.order-track .order-track-step__icon { width: 54px !important; height: 54px !important; border-radius: 50% !important; display: flex !important; align-items: center; justify-content: center; font-size: 1.5rem !important; color: var(--bf-emerald-dark) !important; background: #fff !important; border: 1.5px solid rgba(185, 140, 53, .4) !important; }
.order-track .order-track-step__title { font-family: var(--heading-font); font-size: 1.05rem; color: var(--bf-emerald-dark); margin: 0; }
.order-track .order-track-step__desc { font-size: .84rem; color: #6b6a64; margin: 0; }
.order-track .order-track-step.active { background: linear-gradient(160deg, #0f4a33, #072a1c) !important; border-color: transparent !important; box-shadow: 0 14px 30px rgba(10, 54, 34, .2); }
.order-track .order-track-step.active .order-track-step__icon { color: #0a3622 !important; border-color: transparent !important; background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%) !important; }
.order-track .order-track-step.active .order-track-step__title { color: #fff; }
.order-track .order-track-step.active .order-track-step__desc { color: rgba(255, 255, 255, .75); }
@media (max-width: 575px) {
  .order-track .order-track-form { border-radius: 18px; flex-direction: column; gap: 6px; }
  .order-track .order-track-form .track-btn { border-radius: 14px !important; }
}
.order-track .order-track-step__content { text-align: center; }

/* =====================================================================
   Login / Register - emerald brand panel + clearer form
   ===================================================================== */
.account.py-60 { padding-bottom: clamp(48px, 6vw, 80px) !important; }
.bf-auth-panel {
  position: relative; overflow: hidden; isolation: isolate; justify-content: flex-start !important; color: #fff;
  padding: 0 !important; border: 0 !important; border-radius: 26px !important;
  background: radial-gradient(60% 50% at 100% 0%, rgba(230, 199, 125, .22), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(30, 110, 75, .45), transparent 70%), linear-gradient(160deg, #0f4a33, #062419) !important;
  box-shadow: 0 24px 60px rgba(10, 54, 34, .2);
}
.bf-auth-panel::after { content: ""; position: absolute; inset: 12px; border-radius: 18px; border: 1px solid rgba(230, 199, 125, .2); pointer-events: none; z-index: -1; }
.bf-auth-panel__inner { position: sticky; top: 80px; padding: clamp(32px, 4vw, 52px); }
.bf-auth-panel__logo { filter: brightness(0) invert(1); width: 140px !important; }
.bf-auth-panel__eyebrow { color: #e6c77d !important; }
.bf-auth-panel__title { color: #fff !important; font-size: clamp(2rem, 3vw, 2.7rem) !important; }
.bf-auth-panel__offer { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .07); border: 1px dashed rgba(230, 199, 125, .6); }
.bf-auth-panel__offer-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: #0a3622; background: linear-gradient(135deg, #f1d796, #c99a3f); transform: rotate(-6deg); }
.bf-auth-panel__offer strong { display: block; font-family: var(--heading-font); font-size: 1.15rem; color: #fff; }
.bf-auth-panel__offer small { color: rgba(255, 255, 255, .75); font-size: .85rem; }
.bf-auth-panel__offer b { color: #f1d796; letter-spacing: .08em; }
.bf-auth-panel__list li { color: rgba(255, 255, 255, .88) !important; }
.bf-auth-panel__list i { background: rgba(255, 255, 255, .06) !important; color: #f1d796 !important; border-color: rgba(230, 199, 125, .5) !important; }
.bf-auth-panel__fan { position: relative; height: 190px; margin: 8px 0 18px; }
.bf-auth-panel__fan img {
  position: absolute; left: 50%; bottom: 0; width: 108px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px 8px 8px 4px; transform-origin: 50% 100%;
  transform: translateX(calc(-50% + (var(--i) - (var(--n) - 1) / 2) * 78px)) rotate(calc((var(--i) - (var(--n) - 1) / 2) * 11deg));
  box-shadow: 0 16px 30px rgba(0, 0, 0, .4);
}
.bf-auth-panel__fan img:nth-child(2) { z-index: 2; bottom: 10px; }
.bf-auth-panel__moods { display: flex; align-items: center; margin-bottom: 18px; }
.bf-auth-panel__moods span { width: 32px; height: 32px; margin-left: -8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; color: #fff; border: 2px solid #0b3a28; background: radial-gradient(circle at 30% 25%, var(--mm), var(--md)); }
.bf-auth-panel__moods span:first-child { margin-left: 0; }
.bf-auth-panel__moods small { margin-left: 12px; font-size: .8rem; color: #e6c77d; font-weight: 600; }
.bf-auth-panel__note { color: rgba(255, 255, 255, .55) !important; }
.bf-auth-panel__note i { color: #e6c77d; margin-right: 4px; }

.account .social-auth__inner { margin-bottom: 8px; }
.account .social-auth-link { border-radius: 999px !important; min-height: 48px; font-weight: 600; border: 1.5px solid rgba(10, 54, 34, .14) !important; transition: border-color .2s, box-shadow .2s; }
.account .social-auth-link:hover { border-color: var(--bf-gold) !important; box-shadow: 0 6px 16px rgba(10, 54, 34, .08); }
.bf-auth-divider { position: relative; display: flex; align-items: center; gap: 14px; margin: 18px 0 4px !important; font-size: .78rem !important; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a8882 !important; }
.bf-auth-divider::before, .bf-auth-divider::after { content: ""; flex: 1; height: 1px; background: rgba(10, 54, 34, .12); }

.bf-form-step { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(185, 140, 53, .25); font-family: var(--heading-font); font-size: 1.2rem; color: var(--bf-emerald-dark); }
.bf-form-step__num { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: var(--body-font); font-size: .82rem; font-weight: 700; color: #0a3622; background: radial-gradient(circle at 30% 25%, #f6e3b0, #d4ab55 70%); }
.bf-form-step small { font-family: var(--body-font); font-size: .74rem; font-weight: 600; color: #8a8882; margin-left: auto; }

.account .form--control:focus, .account .form-control:focus, .account .form-select:focus { border-color: var(--bf-gold) !important; box-shadow: 0 0 0 3px rgba(185, 140, 53, .15) !important; }
.account .input-popup { position: static !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fbf8f1 !important; border: 1px solid rgba(185, 140, 53, .2); box-shadow: none !important; opacity: 1 !important; visibility: visible !important; transform: none !important; width: auto !important; }
.account .input-popup::before, .account .input-popup::after { display: none !important; }
.account .input-popup p { position: relative; margin: 0 !important; padding-left: 22px !important; font-size: .76rem !important; color: #8a8882 !important; }
.account .input-popup p::before { content: "" !important; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); border-radius: 50%; border: 1.5px solid rgba(10, 54, 34, .25); background: none !important; }
.account .input-popup p.success { color: var(--bf-emerald-dark) !important; }
.account .input-popup p.success::before { border-color: transparent; background: var(--bf-emerald) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222.4%22 d=%22M4 8.5l2.5 2.5L12 5.5%22/%3E%3C/svg%3E") center / 10px no-repeat !important; }

.bf-consent { margin: 6px 0 18px; padding: 16px 18px; border-radius: 14px; background: #fbf8f1; border: 1px solid rgba(185, 140, 53, .2); display: grid; gap: 12px; }
.bf-consent .form-group { margin-bottom: 0; }
.bf-consent .form-check-label { font-size: .86rem; line-height: 1.55; color: #4a4a45; }
.bf-consent .form-check-label a { color: var(--bf-emerald); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bf-consent .form-check-input { accent-color: var(--bf-emerald-dark); }
.bf-consent__opt { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a8882; background: rgba(10, 54, 34, .06); }
.account button[type="submit"].btn--base { border-radius: 999px !important; background: var(--bf-emerald-dark) !important; box-shadow: 0 12px 26px rgba(10, 54, 34, .2); }
@media (max-width: 575px) { .account .input-popup { grid-template-columns: 1fr; } .bf-form-step small { margin-left: 0; width: 100%; } }
.account .input-popup { grid-template-columns: 1fr !important; }
.account .row > .bf-consent { width: auto; margin-left: calc(var(--bs-gutter-x, 1.5rem) * .5); margin-right: calc(var(--bs-gutter-x, 1.5rem) * .5); }
.account label[for="address_line2"] { white-space: nowrap; }
.account label[for="address_line2"] small, .account label[for="address_line2"] span { font-size: .72rem; font-weight: 500; color: #8a8882; }

/* Page titles promoted to H1 (Authors, The Reading Room): same look as before, correct heading level */
h1.all-author-top__title { font-family: var(--heading-font); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: var(--bf-emerald-dark); margin: 0; }
