/** Shopify CDN: Minification failed

Line 1539:15 Unterminated string token

**/
/* ============================
   BRAND OVERRIDES (custom.css)
   ============================ */

/* Root brand colors */
:root {
  --bnf-accent:        #ffd100;   /* yellow */
  --bnf-accent-hover:  #e6c200;   /* yellow hover */
  --bnf-green:         #009d24;   /* brand green */
  --bnf-green-hover:   #007a1c;   /* green hover */
  --bnf-fore:          #131313;   /* primary text */
  --bnf-light-bg:      #fafafa;   /* light surface */
  --bnf-border:        #e2e8f0;   /* borders */
  --bnf-shadow: 0 4px 12px rgba(0,0,0,0.08);
  --bnf-shadow-hover: 0 6px 16px rgba(0,0,0,0.12);
  --font: 'Inter', 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
}
/* --------------------------------
   HEADINGS
-----------------------------------*/

h1, h2, h3, h4, h5, h6,
.h0, .h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-heading-family, 'Inter', sans-serif);
  font-weight: 700;  
  word-break: break-word;
}

/* Yellow underline for main headings */

h2, .h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}


h2::after, .h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--bnf-accent);
  margin-top: 0.6rem;
  border-radius: 2px;
}

/* Sub-headings (H3+) stay clean, black only */
h3, .h3,
h4, .h4,
h5, .h5 {
  color: var(--bnf-fore);
}

/* --------------------------------
   LINKS
-----------------------------------*/

a, .link, .customer a {
  color: var(--bnf-green);
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}

a:hover, .link:hover, .customer a:hover {
  color: var(--bnf-green-hover);
  text-decoration-thickness: 0.2rem;
}

/* --------------------------------
   BUTTONS
-----------------------------------*/

.button,
.shopify-challenge__button,
.customer button {
  background: var(--bnf-accent);
  color: #000;
  
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.button:hover,
.shopify-challenge__button:hover,
.customer button:hover {
  background: var(--bnf-accent-hover);
  color: #000
  
}

/* Secondary buttons */
.button--secondary,
.button--tertiary {
  background: transparent;
  color: var(--bnf-fore);
  border: none;
}

.button--secondary:hover,
.button--tertiary:hover {
  background: none;
  color: #000;
}

/* --------------------------------
   CART BUBBLE
-----------------------------------*/

.cart-count-bubble,
.cart-count {
  background: var(--bnf-green);
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  pointer-events: none; /* don’t block clicks */
}

/* ============================
   ARTICLE HEADER STYLES
   ============================ */

.article-bnf__header {
  margin-bottom: 3rem;
  text-align: center;
}

.article-bnf__hero {
  margin-bottom: 2rem;
}

.article-bnf__image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--bnf-shadow);
  max-width: 500px;
  max-height: 400px;
  margin: 0 auto;
}

.article-bnf__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;  /* crops neatly instead of stretching */
  transition: transform 0.5s ease;
}

.article-bnf__image-container:hover .article-bnf__image {
  transform: scale(1.03);
}

.article-bnf__title-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-bnf__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--bnf-fore);
  margin: 0 0 1.5rem 0;
  position: relative;
  display: inline-block;
}

.article-bnf__title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--bnf-accent);
  border-radius: 2px;
  margin: 1rem auto 0;
}

.article-bnf__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.article-bnf__author {
  font-weight: 600;
  color: var(--bnf-green);
}

.article-bnf__date {
  opacity: 0.8;
}

.article-bnf__read-time {
  background: var(--bnf-light-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 500;
}

.article-bnf__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.article-bnf__tag {
  padding: 0.4rem 0.8rem;
  background: var(--bnf-accent);
  color: var(--bnf-fore);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-bnf__tag:hover {
  background: var(--bnf-accent-hover);
  transform: translateY(-2px);
}

.article-bnf__content {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-bnf__content > * {
  margin-bottom: 1.5rem;
}

.article-bnf__content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bnf-green);
  margin: 2.5rem 0 1rem;
}

.article-bnf__content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bnf-fore);
  margin: 2rem 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-bnf__meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .article-bnf__title {
    font-size: 2rem;
  }
  
  .article-bnf__content {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .article-bnf__image-container {
    max-width: 100%;
    max-height: 350px;
  }


}




/* ===== CART DRAWER INTEGRATION CSS ===== */

/* Ensure header z-index is proper */
.header-container {
  position: relative;
  z-index: 100;
}

.main-header {
  z-index: 100;
}

/* Cart icon and count styles */
.cart-toggle {
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  font-size: inherit;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--bnf-green, #009d24);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1;
}

/* Animation for cart count */
.cart-count.updated {
  animation: bump 0.3s ease;
}

@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ===== SEARCH MODAL STYLES ===== */

.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.search-modal-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  position: relative;
}

.search-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/* ===== HEADER ACTIONS STYLING ===== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon, .search-toggle {
  background: none;
  border: none;
  font-size: 18px;
  color: inherit;
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.header-icon:hover, .search-toggle:hover {
  color: var(--bnf-green, #009d24);
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 768px) {
  .cart-count {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -6px;
    right: -6px;
  }
  
  .header-actions {
    gap: 15px;
  }
}

/* Make sure cart bubble doesn't block the icon */
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px; /* keeps numbers centered */
  background: var(--bnf-green, #009d24);
  color: #fff;
  border-radius: 50%; /* always a circle */
  font-size: 11px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* 👈 lets clicks pass through to the cart icon */
  z-index: 2;
}

/* Fix icon spacing */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px; /* tighter spacing */
}


/* ===== DEBUG STYLES (Temporary) ===== */

/* Add borders to see elements during testing */
/*
.cart-toggle {
  border: 2px solid red !important;
}

cart-drawer {
  border: 2px solid blue !important;
}

#CartDrawer {
  border: 2px solid green !important;
}
*/

/* ============================
   PRODUCT FILTER EXPERIENCE
   ============================ */

.bnf-filter-section {
  --bnf-filter-grid-gap: 30px;
  --bnf-filter-sidebar-width: 280px;
  --bnf-filter-sticky-offset-desktop: 120px;
  --bnf-filter-sticky-offset-mobile: 0px;
  --bnf-filter-card-radius: 12px;
  --bnf-filter-animation-duration: 0.3s;
  font-family: var(--font);
  color: var(--bnf-fore);
  background: transparent;
  position: relative;
}

.bnf-filter-section[data-ready="false"] {
  opacity: 1;
}

.bnf-filter__mobile-toggle {
  display: none;
  background: var(--bnf-green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  width: 100%;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background var(--bnf-filter-animation-duration) ease;
}

.bnf-filter__mobile-toggle:hover,
.bnf-filter__mobile-toggle:focus-visible {
  background: var(--bnf-green-hover);
}

.bnf-filter__layout {
  display: grid;
  grid-template-columns: var(--bnf-filter-sidebar-width) 1fr;
  gap: var(--bnf-filter-grid-gap);
  align-items: start;
}

.bnf-filter__sidebar {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--bnf-border);
  box-shadow: var(--bnf-shadow);
  padding: 24px;
  position: sticky;
  top: var(--bnf-filter-sticky-offset-desktop);
  max-height: calc(100vh - var(--bnf-filter-sticky-offset-desktop) - 40px);
  overflow-y: auto;
  transform-origin: top left;
  transition: opacity var(--bnf-filter-animation-duration) ease,
              transform var(--bnf-filter-animation-duration) ease;
}

.bnf-filter__sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.bnf-filter__sidebar-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bnf-filter__sidebar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--bnf-fore);
}

.bnf-filter__sidebar-close {
  display: none;
  border: none;
  background: none;
  font-size: 26px;
  color: #718096;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.bnf-filter__sidebar-close:hover,
.bnf-filter__sidebar-close:focus-visible {
  color: var(--bnf-fore);
}

.bnf-filter__sidebar-reset {
  background: none;
  border: none;
  color: var(--bnf-green);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.bnf-filter__sidebar-reset:hover,
.bnf-filter__sidebar-reset:focus-visible {
  text-decoration: underline;
}

.bnf-filter__grid {
  display: grid;
  gap: 20px;
}

.bnf-filter__group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bnf-filter__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--bnf-fore);
}

.bnf-filter__select,
.bnf-filter__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bnf-border);
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bnf-filter__select:focus,
.bnf-filter__input:focus {
  outline: none;
  border-color: var(--bnf-green);
  box-shadow: 0 0 0 3px rgba(0, 157, 36, 0.12);
}

.bnf-filter__select:hover,
.bnf-filter__input:hover {
  border-color: #cbd5e0;
}

.bnf-filter__inputs-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bnf-filter__price-divider {
  color: #718096;
  font-weight: 600;
}

.bnf-filter__actions {
  margin-top: 24px;
  border-top: 1px solid var(--bnf-border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bnf-filter__button {
  padding: 12px 18px;
  border-radius: 6px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--bnf-filter-animation-duration) ease,
              color var(--bnf-filter-animation-duration) ease,
              border-color var(--bnf-filter-animation-duration) ease;
}

.bnf-filter__button--secondary {
  background: #f7fafc;
  color: var(--bnf-fore);
  border: 1px solid var(--bnf-border);
}

.bnf-filter__button--secondary:hover,
.bnf-filter__button--secondary:focus-visible {
  background: #edf2f7;
}

.bnf-filter__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.bnf-filter__results {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.bnf-filter__count {
  font-size: 16px;
  font-weight: 500;
  color: #4a5568;
}

.bnf-filter__products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

@media (min-width: 1024px) {
  .bnf-filter__products {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bnf-filter__card {
  background: #fff;
  border-radius: var(--bnf-filter-card-radius);
  overflow: hidden;
  box-shadow: var(--bnf-shadow);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.bnf-filter__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bnf-shadow-hover);
}

.bnf-filter__image-wrapper {
  position: relative;
  padding-top: 70%;
  overflow: hidden;
}

.bnf-filter__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bnf-light-bg);
  transition: transform 0.3s ease;
}

.bnf-filter__card:hover .bnf-filter__image {
  transform: scale(1.04);
}

.bnf-filter__quick-add {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 18px);
  background: var(--bnf-accent);
  color: var(--bnf-fore);
  padding: 11px 26px;
  border: none;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}

.bnf-filter__card:hover .bnf-filter__quick-add {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.bnf-filter__quick-add:hover,
.bnf-filter__quick-add:focus-visible {
  background: var(--bnf-accent-hover);
}

.bnf-filter__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bnf-filter__vendor {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #718096;
  font-weight: 600;
}

.bnf-filter__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bnf-fore);
  line-height: 1.4;
}

.bnf-filter__type {
  font-size: 13px;
  color: #718096;
}

.bnf-filter__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.bnf-filter__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--bnf-green);
}

.bnf-filter__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.bnf-filter__badge--in-stock {
  background: rgba(0, 157, 36, 0.12);
  color: var(--bnf-green);
}

.bnf-filter__badge--low-stock {
  background: rgba(237, 137, 54, 0.12);
  color: #dd6b20;
}

.bnf-filter__badge--out-of-stock {
  background: rgba(229, 62, 62, 0.12);
  color: #e53e3e;
}

.bnf-filter__empty,
.bnf-filter__error,
.bnf-filter__loading {
  text-align: center;
  padding: 64px 20px;
  color: #718096;
  border-radius: 12px;
  border: 1px dashed var(--bnf-border);
  background: rgba(249, 250, 251, 0.6);
}

.bnf-filter__empty-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--bnf-fore);
  margin-bottom: 8px;
}

/* Skeleton Loader */
.bnf-filter__skeleton-card {
  border-radius: var(--bnf-filter-card-radius);
  border: 1px solid var(--bnf-border);
  background: #fff;
  padding: 16px;
  box-shadow: var(--bnf-shadow);
  display: grid;
  gap: 16px;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.bnf-filter__skeleton-image {
  height: 180px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
  position: relative;
}

.bnf-filter__skeleton-lines {
  display: grid;
  gap: 10px;
}

.bnf-filter__skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f3f4f6 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.bnf-filter__skeleton-line[data-length="short"] { width: 55%; }
.bnf-filter__skeleton-line[data-length="medium"] { width: 75%; }
.bnf-filter__skeleton-line[data-length="long"] { width: 90%; }

.bnf-filter__skeleton-card::after,
.bnf-filter__skeleton-image::after,
.bnf-filter__skeleton-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
  transform: translateX(-100%);
  animation: bnf-filter-shimmer 1.4s infinite;
}

@keyframes bnf-filter-shimmer {
  100% {
    transform: translateX(100%);
  }
}

/* Toast */
.bnf-filter__toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--bnf-green);
  color: #fff;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--bnf-shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--bnf-filter-animation-duration) ease,
              transform var(--bnf-filter-animation-duration) ease;
  z-index: 1050;
}

.bnf-filter__toast[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}

.bnf-filter__mobile-overlay {
  display: none;
}

@media (max-width: 1023px) {
  .bnf-filter__layout {
    grid-template-columns: 1fr;
  }

  .bnf-filter__mobile-toggle {
    display: block;
  }

  .bnf-filter__mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--bnf-filter-animation-duration) ease;
    z-index: 1070;
  }

  .bnf-filter__mobile-overlay[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .bnf-filter__sidebar {
    position: fixed;
    inset: 0 auto auto 0;
    width: min(90vw, 360px);
    max-width: 90vw;
    max-height: 100vh;
    transform: translateX(-110%);
    opacity: 0;
    top: 0;
    border-radius: 0;
    z-index: 1080;
  }

  .bnf-filter__sidebar-close {
    display: inline-flex;
  }

  .bnf-filter__sidebar[data-open="true"] {
    transform: translateX(0);
    opacity: 1;
  }

  .bnf-filter__mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--bnf-filter-animation-duration) ease;
    z-index: 1070;
  }

  .bnf-filter__mobile-overlay[data-visible="true"] {
    opacity: 1;
    pointer-events: auto;
  }

  .bnf-filter__products {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bnf-filter__image-wrapper {
    padding-top: 65%;
  }

  .bnf-filter__quick-add {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    font-size: 11px;
    padding: 10px 20px;
  }
}

@media (max-width: 640px) {
  .bnf-filter__toast {
    padding: 12px 18px;
    font-size: 13px;
    min-width: 200px;
  }
}

/* Variant Modal */
.bnf-filter__modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1090;
  padding: 24px;
}

.bnf-filter__modal[data-open="true"] {
  display: flex;
}

.bnf-filter__modal-body {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  max-width: 520px;
  width: min(520px, 94vw);
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: bnf-filter-modal-in var(--bnf-filter-animation-duration) ease;
}

@keyframes bnf-filter-modal-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bnf-filter__modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #718096;
}

.bnf-filter__modal-product {
  display: flex;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--bnf-border);
  margin-bottom: 20px;
}

.bnf-filter__modal-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bnf-light-bg);
}

.bnf-filter__modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.bnf-filter__modal-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--bnf-green);
}

.bnf-filter__modal-options {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.bnf-filter__modal-option-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--bnf-fore);
  margin-bottom: 10px;
  display: block;
}

.bnf-filter__modal-option-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bnf-filter__modal-option-button {
  padding: 10px 18px;
  border-radius: 8px;
  border: 2px solid var(--bnf-border);
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.bnf-filter__modal-option-button:hover,
.bnf-filter__modal-option-button:focus-visible {
  border-color: var(--bnf-green);
}

.bnf-filter__modal-option-button[data-selected="true"] {
  border-color: var(--bnf-green);
  background: rgba(0, 157, 36, 0.1);
  color: var(--bnf-green);
}

.bnf-filter__modal-option-button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.bnf-filter__modal-submit {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  background: var(--bnf-accent);
  color: var(--bnf-fore);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bnf-filter__modal-submit:hover:not([disabled]),
.bnf-filter__modal-submit:focus-visible:not([disabled]) {
  background: var(--bnf-accent-hover);
}

.bnf-filter__modal-submit[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.bnf-filter__modal-error {
  margin-top: 12px;
  text-align: center;
  color: #e53e3e;
  font-size: 14px;
  min-height: 18px;
}

@media (max-width: 768px) {
  .bnf-filter__modal-body {
    padding: 24px 18px;
  }

  .bnf-filter__modal-product {
    flex-direction: column;
    align-items: flex-start;
  }

  .bnf-filter__modal-image {
    width: 120px;
    height: 120px;
  }
}

/* Mini Cart Drawer */
.bnf-filter__cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--bnf-filter-animation-duration) ease;
  z-index: 1080;
}

.bnf-filter__cart-overlay[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
}

.bnf-filter__cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: min(360px, 90vw);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
  border-left: 1px solid #eee;
  transition: right var(--bnf-filter-animation-duration) ease;
  z-index: 1090;
}

.bnf-filter__cart-drawer[data-open="true"] {
  right: 0;
}

.bnf-filter__cart-header,
.bnf-filter__cart-footer {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bnf-filter__cart-footer {
  border-bottom: none;
  border-top: 1px solid #eee;
  background: #f7fafc;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.bnf-filter__cart-title {
  font-size: 18px;
  font-weight: 700;
}

.bnf-filter__cart-close {
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: #4a5568;
  line-height: 1;
}

.bnf-filter__cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: grid;
  gap: 16px;
}

.bnf-filter__cart-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--bnf-border);
  padding-bottom: 14px;
}

.bnf-filter__cart-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bnf-filter__cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bnf-light-bg);
}

.bnf-filter__cart-item-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

.bnf-filter__cart-item-variant {
  font-size: 12px;
  color: #718096;
  margin-bottom: 8px;
}

.bnf-filter__cart-item-price {
  font-weight: 700;
  font-size: 14px;
  color: var(--bnf-green);
  margin-top: 8px;
}

.bnf-filter__cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.bnf-filter__cart-qty input {
  width: 66px;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid var(--bnf-border);
  font-size: 14px;
}

.bnf-filter__cart-remove {
  background: none;
  border: none;
  color: #e53e3e;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.bnf-filter__cart-subtotal {
  font-weight: 700;
  font-size: 16px;
  width: 100%;
  text-align: left;
}

.bnf-filter__checkout-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--bnf-green);
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.bnf-filter__checkout-btn:hover,
.bnf-filter__checkout-btn:focus-visible {
  background: var(--bnf-green-hover);
}

@media (max-width: 768px) {
  .bnf-filter__cart-item {
    grid-template-columns: 1fr;
  }

  .bnf-filter__cart-item-image {
    width: 100%;
    height: 160px;
  }
}

/* ============================
   ARTICLE BNF — Enhanced BNF Brand Styles
   ============================ */

.article-bnf {
  --bnf-accent: #ffd100;               /* Yellow accent */
  --bnf-accent-hover: #e6c200;         /* Yellow hover */
  --bnf-green: #009d24;                /* Brand green */
  --bnf-green-hover: #007a1c;          /* Green hover */
  --bnf-fore: #131313;                 /* Text color */
  --bnf-light-bg: #fafafa;             /* Light background */
  --bnf-border: #ececec;               /* Border color */  
  font-family: var(--font);
  color: var(--bnf-fore);
  line-height: 1.6;
}

/* --- Table of Contents --- */
.article-toc {
  border: 1px solid var(--bnf-border);
  padding: 1.5rem;
  margin: 2.5rem 0;
  background: var(--bnf-light-bg);
  border-radius: 12px;
  font-family: var(--font);
  position: relative;
  transition: all 0.3s ease;
}

.article-toc:hover {
  box-shadow: var(--bnf-shadow);
  transform: translateY(-2px);
}

.article-toc h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bnf-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-toc h3::before {
  content: "📋";
  font-size: 1.1rem;
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.article-toc li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  counter-increment: toc-counter;
}

.article-toc li::before {
  content: counter(toc-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--bnf-accent);
}

.article-toc a {
  color: var(--bnf-fore);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  padding: 0.25rem 0;
}

.article-toc a:hover {
  color: var(--bnf-green);
  transform: translateX(4px);
}

.article-toc--sticky {
  position: sticky;
  top: 100px;
  z-index: 10;
}

/* --- Callouts --- */
.article-callout {
  padding: 1.5rem;
  margin: 2.5rem 0;
  border-left: 6px solid;
  border-radius: 8px;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-callout:hover {
  transform: translateY(-2px);
  box-shadow: var(--bnf-shadow);
}

.article-callout h4 {
  margin-bottom: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-callout--info {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3e0 100%);
  border-color: var(--bnf-accent);
}

.article-callout--info h4::before {
  content: "💡";
}

.article-callout--warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border-color: #ff9800;
}

.article-callout--warning h4::before {
  content: "⚠️";
}

.article-callout--success {
  background: linear-gradient(135deg, #e6f9ed 0%, #d4f5e0 100%);
  border-color: var(--bnf-green);
}

.article-callout--success h4::before {
  content: "✅";
}

.article-callout--error {
  background: linear-gradient(135deg, #ffe6e6 0%, #ffd6d6 100%);
  border-color: #dc3545;
}

.article-callout--error h4::before {
  content: "❌";
}

/* --- Pull Quotes --- */
.article-pullquote {
  font-size: 1.5rem;
  font-style: italic;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--bnf-light-bg) 0%, #f5f5f5 100%);
  border-left: 4px solid var(--bnf-green);
  border-radius: 12px;
  font-family: var(--font);
  position: relative;
  max-width: 800px;
  transition: all 0.3s ease;
}

.article-pullquote:hover {
  transform: scale(1.02);
  box-shadow: var(--bnf-shadow);
}

.article-pullquote::before {
  content: """;
  font-size: 4rem;
  color: var(--bnf-accent);
  position: absolute;
  top: -1rem;
  left: 1rem;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.article-pullquote.align-left { 
  text-align: left; 
  margin-left: 0;
  margin-right: auto;
}

.article-pullquote.align-right { 
  text-align: right; 
  margin-left: auto;
  margin-right: 0;
}

.article-pullquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: #666;
  font-style: normal;
  font-weight: 500;
}

.article-pullquote cite::before {
  content: "— ";
}

/* --- Divider --- */
.article-divider {
  margin: 3rem 0;
  position: relative;
  text-align: center;
}

.article-divider--solid {
  border-top: 2px solid var(--bnf-border);
}

.article-divider--dotted {
  border-top: 2px dotted var(--bnf-border);
}

.article-divider--dashed {
  border-top: 2px dashed var(--bnf-border);
}

.article-divider--solid::before,
.article-divider--dotted::before,
.article-divider--dashed::before {
  content: "✦";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 0 1rem;
  color: var(--bnf-accent);
  font-size: 1.2rem;
}

/* --- Product --- */
.article-product {
  border: 1px solid var(--bnf-border);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  border-radius: 16px;
  background: #fff;
  font-family: var(--font);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.article-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--bnf-shadow-hover);
  border-color: var(--bnf-accent);
}

.article-product::before {
  content: "🛒";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  opacity: 0.1;
}

.article-product h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--bnf-green);
  font-size: 1.3rem;
}

.article-product .product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.article-product .product-card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.article-product:hover .product-card img {
  transform: scale(1.05);
}

.article-product .price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bnf-green);
  margin: 0.5rem 0;
}

.article-product .btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bnf-green);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.article-product .btn:hover {
  background: var(--bnf-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 157, 36, 0.3);
}

.article-product .btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-product .btn:hover::after {
  transform: translateX(4px);
}

/* --- Newsletter --- */
.article-newsletter {
  padding: 3rem 2rem;
  margin: 3rem 0;
  text-align: center;
  border-radius: 16px;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-newsletter:hover {
  transform: translateY(-2px);
  box-shadow: var(--bnf-shadow-hover);
}

.article-newsletter::before {
  content: "✉️";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.1;
}

.article-newsletter--accent-1 {
  background: linear-gradient(135deg, var(--bnf-accent) 0%, #ffea80 100%);
  color: var(--bnf-fore);
}

.article-newsletter--accent-2 {
  background: linear-gradient(135deg, var(--bnf-green) 0%, #00c853 100%);
  color: #fff;
}

.article-newsletter--background-1 {
  background: var(--bnf-light-bg);
  color: var(--bnf-fore);
  border: 1px solid var(--bnf-border);
}

.article-newsletter--background-2 {
  background: #fff;
  color: var(--bnf-fore);
  border: 1px solid var(--bnf-border);
  box-shadow: var(--bnf-shadow);
}

.article-newsletter h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  position: relative;
  z-index: 2;
}

.article-newsletter p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.article-newsletter .btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bnf-fore);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.article-newsletter .btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.article-newsletter .btn::after {
  content: "→";
  transition: transform 0.3s ease;
}

.article-newsletter .btn:hover::after {
  transform: translateX(4px);
}

/* --- Related Articles --- */
.article-related {
  margin: 3rem 0;
  font-family: var(--font);
}

.article-related h2 {
  margin-bottom: 2rem;
  color: var(--bnf-green);
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  position: relative;
}

.article-related h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--bnf-accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.article-related--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.article-related--list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-related--carousel {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--bnf-accent) var(--bnf-light-bg);
}

.article-related--carousel::-webkit-scrollbar {
  height: 6px;
}

.article-related--carousel::-webkit-scrollbar-track {
  background: var(--bnf-light-bg);
  border-radius: 3px;
}

.article-related--carousel::-webkit-scrollbar-thumb {
  background: var(--bnf-accent);
  border-radius: 3px;
}

.related-article {
  background: #fff;
  border: 1px solid var(--bnf-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.related-article:hover {
  transform: translateY(-4px);
  box-shadow: var(--bnf-shadow-hover);
  border-color: var(--bnf-accent);
}

.related-article a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.related-article img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-article:hover img {
  transform: scale(1.05);
}

.related-article h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--bnf-fore);
  line-height: 1.4;
}

.related-article time {
  padding: 0 1.5rem 1.5rem;
  display: block;
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .article-toc--sticky {
    position: static;
  }
  
  .article-pullquote {
    font-size: 1.25rem;
    padding: 1.5rem;
  }
  
  .article-related--grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .article-product .product-card img {
    width: 150px;
    height: 150px;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.article-toc,
.article-callout,
.article-pullquote,
.article-product,
.article-newsletter,
.related-article {
  animation: fadeInUp 0.6s ease-out;
}

/* Focus states for accessibility */
.article-toc a:focus,
.article-product .btn:focus,
.article-newsletter .btn:focus,
.related-article a:focus {
  outline: 2px solid var(--bnf-accent);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .article-toc,
  .article-callout,
  .article-pullquote,
  .article-product,
  .article-newsletter,
  .related-article,
  .article-toc a,
  .article-product .btn,
  .article-newsletter .btn {
    transition: none;
    animation: none;
  }
  
  .article-toc:hover,
  .article-callout:hover,
  .article-pullquote:hover,
  .article-product:hover,
  .article-newsletter:hover,
  .related-article:hover {
    transform: none;
  }
}



