/* ================================================================
   small-box.css
   Extracted from pricing.html — small-box scoped styles
   ================================================================ */

/* ── Hide ALL bottom navs on pricing page ── */
@media (max-width: 767px) {
  .sb-ipad-bottom-nav,
  .mobile-bottom-nav-global { display: none !important; }
  body[data-page="small-box"],
  body[data-page="big-box"],
  body[data-page="b2b"] { padding-bottom: 0 !important; }
  body[data-page="small-box"] #page-small-box .sb-mobile-page { padding-bottom: 0 !important; }

  /* Move selection bar to bottom when nav is hidden */
  body[data-page="small-box"] #page-small-box .sb-selection-bar {
    bottom: 10px !important;
  }

  html body[data-page="small-box"] #page-small-box.page .sb-mobile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; padding: 0 10px 12px !important; }
  html body[data-page="small-box"] #page-small-box.page .sb-product-card { height: auto !important; min-height: 238px !important; padding: 14px 10px 14px !important; border-radius: 17px !important; }
  html body[data-page="small-box"] #page-small-box.page .bb-item-img,
  html body[data-page="big-box"] #page-big-box.page .bb-item-img { height: 146px !important; margin-bottom: 12px !important; border-radius: 14px !important; }
  html body[data-page="small-box"] #page-small-box.page .box-product-icon { font-size: 52px !important; }

  /* Info section matching shop.html */
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-info { padding: 8px 8px 1px !important; min-height: 56px !important; }
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-name { font-size: 15px !important; line-height: 1.22 !important; margin-bottom: 2px !important; }

  /* Price unit text: inline, no dropdown box */
  body[data-page="small-box"] #page-small-box .sb-product-card .sb-p span {
    display: inline !important;
    order: unset !important;
    flex: none !important;
    height: auto !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    position: static !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .sb-p span::after {
    content: "" !important;
    display: none !important;
  }

  /* Push price row down to sit above Add button */
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-info {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .sb-p {
    margin-top: auto !important;
  }

  /* Small Box image + text (match shop.html) */
  .search-hidden { display: none !important; }
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-info::before {
    content: "fresho!" !important;
    display: block !important;
    margin: 0 0 2px !important;
    color: #8a8f8a !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-img.box-icon-only {
    position: relative !important;
    display: grid !important;
    width: 100% !important;
    height: 146px !important;
    margin-bottom: 12px !important;
    place-items: center !important;
    overflow: hidden !important;
    border-radius: 14px !important;
    background: radial-gradient(circle, #fbfcf9 0%, #fff 70%) !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-img.box-icon-only img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .bb-item-img.box-icon-only::after {
    content: none !important;
    display: none !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .sb-n {
    font-size: 12px !important;
    line-height: 1.22 !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card .sb-p {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  /* Quantity stepper: hide on unselected, show on selected */
  .sb-product-card:not(.sel) .sb-quantity,
  .sb-product-card:not(.sel) .bb-mobile-quantity {
    display: none !important;
  }
  .sb-product-card.sel .sb-add-btn { display: none !important; }
  .sb-product-card.sel .sb-quantity,
  .sb-product-card.sel .bb-mobile-quantity {
    display: grid !important;
  }

  /* Quantity stepper (shop.html style) */
  .sb-quantity,
  .bb-mobile-quantity {
    display: none;
    width: 100%;
    min-height: 36px;
    grid-template-columns: 36px minmax(0,1fr) 36px;
    margin-top: auto;
    overflow: hidden;
    border: 1.5px solid #dce5d6;
    border-radius: 10px;
    background: #f5f8f1;
  }
  .sb-quantity button,
  .bb-mobile-quantity button {
    display: grid;
    width: 36px;
    height: 34px;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #5B8C51;
    font-size: 14px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
  }
  .sb-quantity button:hover,
  .bb-mobile-quantity button:hover { background: #eef4e9; }
  .sb-quantity button:active,
  .bb-mobile-quantity button:active { transform: scale(.92); }
  .sb-quantity output,
  .bb-mobile-quantity output {
    display: grid;
    min-width: 0;
    height: 34px;
    place-items: center;
    border-right: 1px solid #dce5d6;
    border-left: 1px solid #dce5d6;
    background: #f5f8f1;
    color: #1a4d1a;
    font-size: 14px;
    font-weight: 900;
  }

  /* Override pricing-mobile-reference.css "Add" pseudo-element hack */
  body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity {
    display: none !important;
    background: transparent !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity button:first-child,
  body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity output,
  body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity button:last-child,
  body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity button:last-child::after {
    display: none !important;
    content: none !important;
  }

  /* Override red selected-state styles from pricing-mobile-reference.css */
  body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity button {
    display: grid !important;
    width: 36px !important;
    height: 34px !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #5B8C51 !important;
    font-size: 14px !important;
  }
  body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity output {
    display: grid !important;
    min-width: 0 !important;
    height: 34px !important;
    place-items: center !important;
    border-right: 1px solid #dce5d6 !important;
    border-left: 1px solid #dce5d6 !important;
    background: #f5f8f1 !important;
    color: #1a4d1a !important;
    font-size: 14px !important;
    font-weight: 900 !important;
  }
}

/* ================================================================
   OUTSIDE media query — global / small-box overrides
   ================================================================ */

/* Hide ALL bottom navs on pricing page (global) */
.search-hidden { display: none !important; }

/* ── Quantity stepper (shop.html style) — shared ── */
.sb-quantity,
.bb-mobile-quantity {
  display: none;
  width: 100%;
  min-height: 36px;
  grid-template-columns: 36px minmax(0,1fr) 36px;
  margin-top: auto;
  overflow: hidden;
  border: 1.5px solid #dce5d6;
  border-radius: 10px;
  background: #f5f8f1;
}
.sb-quantity button,
.bb-mobile-quantity button {
  display: grid;
  width: 36px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5B8C51;
  font-size: 14px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.sb-quantity button:hover,
.bb-mobile-quantity button:hover { background: #eef4e9; }
.sb-quantity button:active,
.bb-mobile-quantity button:active { transform: scale(.92); }
.sb-quantity output,
.bb-mobile-quantity output {
  display: grid;
  min-width: 0;
  height: 34px;
  place-items: center;
  border-right: 1px solid #dce5d6;
  border-left: 1px solid #dce5d6;
  background: #f5f8f1;
  color: #1a4d1a;
  font-size: 14px;
  font-weight: 900;
}

/* Override pricing-mobile-reference.css "Add" pseudo-element hack */
body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity {
  display: none !important;
  background: transparent !important;
}
body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity button:first-child,
body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity output,
body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity button:last-child,
body[data-page="small-box"] #page-small-box .sb-product-card:not(.sel) .sb-quantity button:last-child::after {
  display: none !important;
  content: none !important;
}

/* Override red selected-state styles from pricing-mobile-reference.css */
body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity button {
  display: grid !important;
  width: 36px !important;
  height: 34px !important;
  place-items: center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #5B8C51 !important;
  font-size: 14px !important;
}
body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity button:hover {
  background: #eef4e9 !important;
}
body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity button:active {
  transform: scale(.92) !important;
}
body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity output {
  display: grid !important;
  min-width: 0 !important;
  height: 34px !important;
  place-items: center !important;
  border-right: 1px solid #dce5d6 !important;
  border-left: 1px solid #dce5d6 !important;
  background: #f5f8f1 !important;
  color: #1a4d1a !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity output small {
  display: inline !important;
  margin-left: 2px !important;
  color: #1a4d1a !important;
  font-size: 11px !important;
}
body[data-page="small-box"] #page-small-box .sb-product-card.sel .sb-quantity {
  display: grid !important;
  border: 1.5px solid #dce5d6 !important;
  border-radius: 10px !important;
  background: #f5f8f1 !important;
  overflow: hidden !important;
}

/* ── Add button (shown when not selected) — shared ── */
.sb-add-btn {
  display: none !important;
  width: 100%;
  min-height: 34px;
  margin-top: auto;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: #5B8C51;
  color: #fff;
  font: 900 13px/1 'Nunito', sans-serif;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  align-items: center;
  justify-content: center;
}
.sb-product-card:not(.sel) .sb-add-btn {
  display: inline-flex !important;
}
.sb-add-btn:hover { background: #426d3b; }
.sb-add-btn:active { transform: scale(.98); }
.sb-add-btn i { margin-right: 6px; font-size: 13px; }
.sb-product-card.sel .sb-add-btn { display: none !important; }

/* ── Quantity stepper: hide on unselected, show on selected — shared ── */
.sb-product-card:not(.sel) .sb-quantity,
.sb-product-card:not(.sel) .bb-mobile-quantity {
  display: none !important;
}
.sb-product-card.sel .sb-add-btn { display: none !important; }
.sb-product-card.sel .sb-quantity,
.sb-product-card.sel .bb-mobile-quantity {
  display: grid !important;
}

/* ── Hero Banner (matches .shop-mobile-hero in shop.html) ── */
.sb-shop-hero {
  display: block !important;
  position: relative;
  margin: 0 16px 14px !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(43, 110, 43, .19) !important;
}
.sb-hero-banner-swiper { width: 100%; border-radius: 16px; overflow: hidden; }
.sb-hero-slide {
  position: relative !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
}
.sb-hero-bg {
  width: 100%;
  height: 110px;
  display: block;
  object-fit: cover;
  object-position: left center;
  line-height: 0;
}
.sb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 61, 27, .75) 0%, rgba(44, 120, 50, .58) 55%, rgba(91, 140, 81, .42) 100%);
  z-index: 1;
}
.sb-hero-content {
  position: relative;
  z-index: 2;
  padding: 16px 14px 18px;
  color: #fff;
}
.sb-hero-content h1 {
  display: block !important;
  margin: 0 0 4px !important;
  color: #fff !important;
  font-size: clamp(18px, 5vw, 22px) !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  font-family: 'Nunito', sans-serif !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.3) !important;
  letter-spacing: -.3px !important;
  white-space: nowrap !important;
}
.sb-hero-subtitle {
  display: block !important;
  margin: 0 0 6px !important;
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(11px, 3.2vw, 13px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  font-family: 'Nunito', sans-serif !important;
  text-shadow: 0 1px 6px rgba(0,0,0,.25) !important; word-wrap: break-word;
}
.sb-hero-tag {
  display: inline-block !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.25) !important;
  color: #fff !important;
  font-size: clamp(10px, 2.8vw, 12px) !important;
  font-weight: 800 !important;
  font-family: 'Nunito', sans-serif !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.2) !important;
}
.sb-shop-hero .swiper-pagination { display: none !important; }

.sb-mobile-sticky-head {
  margin: 0 16px !important;
}

/* ── Catalog Heading (matches .shop-catalog-heading in shop.html) ── */
.sb-mobile-products-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 !important;
  margin-bottom: 4px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #1f5f23 0%, #123d18 100%) !important;
  box-shadow: none !important;
}
.sb-mobile-catalog-heading {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
}
.sb-mobile-catalog-title {
  margin: 0 !important;
  color: #fff !important;
  font: 900 16px/1.1 'Nunito', sans-serif !important;
  letter-spacing: 0 !important;
}
.sb-mobile-product-count {
  color: rgba(255,255,255,.8) !important;
  font: 700 10px/1 'Nunito', sans-serif !important;
}
.sb-mobile-switch-quote {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  font: 800 12px/1 'Nunito', sans-serif !important;
  text-decoration: none !important;
  transition: all .25s ease !important;
}
.sb-mobile-switch-quote:hover {
  background: rgba(255,255,255,.24) !important;
}

/* Filter button (matches shop.html) */
.sb-mobile-products-header .shop-mobile-filter-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 32px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  box-shadow: none !important;
  font: 800 12px/1 'Nunito', sans-serif !important;
  cursor: pointer !important;
}
.sb-mobile-products-header .shop-mobile-filter-trigger i { font-size: 13px !important; }

/* Search box (matches shop.html) */
.sb-mobile-header-actions { display: inline-flex !important; align-items: center !important; gap: 8px !important; }
.sb-mobile-search-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 32px !important; height: 32px !important; border: 1px solid rgba(255,255,255,.25) !important; border-radius: 50% !important; background: rgba(255,255,255,.14) !important; color: #fff !important; box-shadow: none !important; font-size: 13px !important; cursor: pointer !important; transition: background .2s ease, transform .15s ease !important; flex-shrink: 0 !important; }
.sb-mobile-search-toggle:hover { background: rgba(255,255,255,.25) !important; }
.sb-mobile-search-toggle:active { transform: scale(.92) !important; }
.sb-mobile-search-box { display: flex !important; align-items: center !important; gap: 10px !important; margin: 0 14px 0 !important; padding: 0 12px !important; max-height: 0 !important; opacity: 0 !important; overflow: hidden !important; background: #f0f8ec !important; border: 1.5px solid #d4e8cd !important; border-radius: 14px !important; box-shadow: 0 4px 12px rgba(25,66,28,.06) !important; transition: max-height .3s ease, opacity .3s ease, padding .3s ease, margin .3s ease !important; }
.sb-mobile-search-box.is-open { max-height: 60px !important; opacity: 1 !important; padding: 10px 12px !important; margin-bottom: 8px !important; }
.sb-mobile-search-box-icon { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 32px !important; height: 32px !important; border-radius: 50% !important; background: #eef5ea !important; color: #4CAF50 !important; font-size: 13px !important; flex-shrink: 0 !important; }
.sb-mobile-search-box-input { flex: 1 !important; border: none !important; background: transparent !important; font: 600 14px/1 'Nunito', sans-serif !important; color: #000 !important; outline: none !important; }
.sb-mobile-search-box-input::placeholder { color: #9ca3af !important; }
.sb-mobile-search-box-input:focus::placeholder { color: transparent !important; }
.sb-mobile-search-close { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 28px !important; height: 28px !important; border: 0 !important; border-radius: 50% !important; background: #eef5ea !important; color: #5B8C51 !important; font-size: 11px !important; cursor: pointer !important; flex-shrink: 0 !important; transition: background .15s ease !important; }
.sb-mobile-search-close:hover { background: #dce8d6 !important; }

/* ── Filter Sheet (matches shop.html) — shared ── */
.shop-filter-sheet-backdrop { position: fixed; inset: 0; z-index: 100005; background: rgba(13, 31, 14, .46); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.shop-filter-sheet { position: fixed; right: 0; bottom: 0; left: 0; z-index: 100006; display: block; max-height: min(78vh, 620px); padding: 10px 22px calc(22px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; border-radius: 26px 26px 0 0; background: #fff; box-shadow: 0 -12px 36px rgba(11, 37, 13, .16); transform: translateY(105%); transition: transform .32s ease; }
body.shop-filter-sheet-open { overflow: hidden; }
body.shop-filter-sheet-open .sb-selection-bar,
body.shop-filter-sheet-open #sb-mobile-selection-bar,
body.shop-filter-sheet-open #bb-mobile-selection-bar,
body.shop-filter-sheet-open #page-small-box .sb-selection-bar.is-visible,
body.shop-filter-sheet-open #page-big-box .bb-selection-bar.sb-selection-bar.is-visible { display: none !important; }
body.shop-filter-sheet-open .shop-filter-sheet { transform: translateY(0); }
body.shop-filter-sheet-open .shop-filter-sheet-backdrop { opacity: 1; visibility: visible; }
.shop-filter-sheet__handle { width: 48px; height: 5px; margin: 0 auto 20px; border-radius: 999px; background: #dfe8dc; }
.shop-filter-sheet__heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.shop-filter-sheet__heading h2 { margin: 0; color: #173d1b; font-size: 25px; font-weight: 800; }
.shop-filter-sheet__actions { display: flex; align-items: center; gap: 8px; }
.shop-filter-sheet__heading button { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: #f1f6ef; color: #2f7d2c; font-size: 18px; }
.shop-filter-sheet__heading .shop-filter-sheet__clear { width: auto; min-width: 58px; padding: 0 12px; border-radius: 999px; background: transparent; color: #2f7d2c; font: 800 13px/1 'Nunito', sans-serif; }
.shop-filter-sheet__section { margin-bottom: 20px; }
.shop-filter-sheet__section h3 { margin: 0 0 10px; color: #314331; font-size: 16px; font-weight: 800; }
.shop-filter-sheet__chips { display: flex; flex-wrap: wrap; gap: 9px; }
.shop-filter-sheet__chips button { min-height: 38px; padding: 0 15px; border: 1px solid #e0e8dd; border-radius: 999px; background: #f9fbf8; color: #526052; font: 700 14px/1 'Nunito', sans-serif; transition: all .25s ease; }
.shop-filter-sheet__chips button.active { border-color: #5b8c51; background: #5b8c51; color: #fff; }
.shop-filter-sheet__apply { width: 100%; min-height: 54px; margin-top: 4px; border: 0; border-radius: 14px; background: #5b8c51; color: #fff; font: 800 17px/1 'Nunito', sans-serif; box-shadow: 0 8px 16px rgba(42, 98, 45, .22); }
.shop-filter-sheet__link-btn { display: inline-flex; align-items: center; min-height: 38px; padding: 0 15px; border: 1px solid #e0e8dc; border-radius: 999px; background: #f6faf4; color: #2f7d2c; font: 700 13px/1 'Nunito', sans-serif; cursor: pointer; transition: all .2s ease; text-decoration: none; appearance: none; -webkit-appearance: none; outline: none; box-shadow: none; }
.shop-filter-sheet__link-btn:hover { background: #2f7d2c; color: #fff; border-color: #2f7d2c; }
.shop-filter-sheet__link-btn.active { background: #2f7d2c; color: #fff; border-color: #2f7d2c; }
.shop-filter-badge { display: none; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #F2B233; color: #422006; font: 800 10px/1 'Nunito', sans-serif; }
.shop-filter-group-count { display: none; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 999px; background: #F2B233; color: #422006; font: 800 10px/1 'Nunito', sans-serif; vertical-align: middle; }

/* ── Selection bar checkout button (green "Add to Cart") — shared ── */
.sb-selection-checkout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
  min-width: 100px !important;
  height: 40px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: #F2B233 !important;
  color: #422006 !important;
  font: 800 13px/1 'Nunito', sans-serif !important;
  cursor: not-allowed !important;
  opacity: .45 !important;
  transition: opacity .25s ease, transform .2s ease, background .2s ease !important;
  white-space: nowrap !important;
  overflow: visible !important;
}
.sb-selection-checkout:not(:disabled) {
  opacity: 1 !important;
  cursor: pointer !important;
}
.sb-selection-checkout:not(:disabled):hover {
  background: #e0a32f !important;
  transform: translateY(-1px) !important;
}
.sb-selection-checkout:not(:disabled):active {
  transform: scale(.96) !important;
}
.sb-selection-checkout:disabled i { display: none !important; }

/* ── Selection bar — shared ── */
#page-small-box #sb-mobile-selection-bar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  grid-template-columns: unset !important;
  position: fixed !important;
  right: 12px !important;
  bottom: 12px !important;
  left: 12px !important;
  z-index: 99990 !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  min-height: 64px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 22px !important;
  background: linear-gradient(105deg, #1b5925, #116d24 55%, #205726) !important;
  box-shadow: 0 14px 34px rgba(12, 57, 21, .28) !important;
  color: #fff !important;
  font-family: 'Nunito', sans-serif !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(calc(100% + 28px)) !important;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease !important;
}
#page-small-box #sb-mobile-selection-bar.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
@keyframes pricingCartSlideUp {
  0% { transform: translateY(110%); opacity: 0; }
  60% { transform: translateY(-6%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
#page-small-box #sb-mobile-selection-bar.is-visible {
  animation: pricingCartSlideUp .45s cubic-bezier(.22,1,.36,1) forwards !important;
}
#sb-mobile-selection-bar .sb-selection-total {
  display: flex !important;
  align-items: center !important;
  font: 800 15px/1 'Nunito',sans-serif !important;
  color: #fff !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  border-right: 1px solid rgba(255,255,255,.22) !important;
  padding-right: 10px !important;
}
#sb-mobile-selection-total { display: flex !important; align-items: center !important; font: 800 15px/1 'Nunito',sans-serif !important; color: #fff !important; flex-shrink: 0 !important; margin-left: auto !important; border-right: 1px solid rgba(255,255,255,.22) !important; padding-right: 10px !important; }
#sb-mobile-selection-bar .sb-selection-copy {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
#sb-mobile-selection-bar .sb-selection-copy strong {
  color: #e8f0df !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#sb-mobile-selection-bar .sb-selection-copy span {
  color: rgba(232, 240, 223, .7) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
#sb-mobile-selection-bar .sb-selection-icon {
  position: relative !important;
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  flex-shrink: 0 !important;
  place-items: center !important;
  border-radius: 50% !important;
  background: rgba(107, 142, 72, .25) !important;
  color: #e8f0df !important;
  font-size: 20px !important;
}
#sb-mobile-selection-bar .sb-selection-badge {
  position: absolute !important;
  top: -4px !important;
  right: -4px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 4px !important;
  border-radius: 999px !important;
  background: #F2B233 !important;
  color: #422006 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 18px !important;
  text-align: center !important;
  display: none !important;
}
#sb-mobile-selection-bar .sb-selection-badge:not(:empty) {
  display: block !important;
}

/* ── Override button — small-box specific ── */
#page-small-box #sb-mobile-btn,
#page-small-box .sb-selection-action.sb-selection-checkout {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 100px !important;
  height: 40px !important;
  padding: 0 16px !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  background: #F2B233 !important;
  color: #422006 !important;
  font: 800 13px/1 'Nunito', sans-serif !important;
  border: 0 !important;
  border-radius: 18px !important;
  cursor: not-allowed !important;
  opacity: .45 !important;
  transition: opacity .25s ease, transform .2s ease, background .2s ease !important;
  white-space: nowrap !important;
}
#page-small-box #sb-mobile-btn:not(:disabled),
#page-small-box .sb-selection-action.sb-selection-checkout:not(:disabled) { opacity: 1 !important; cursor: pointer !important; }
#page-small-box #sb-mobile-btn:not(:disabled):hover,
#page-small-box .sb-selection-action.sb-selection-checkout:not(:disabled):hover { background: #e0a32f !important; transform: translateY(-1px) !important; }
#page-small-box #sb-mobile-btn:not(:disabled):active,
#page-small-box .sb-selection-action.sb-selection-checkout:not(:disabled):active { transform: scale(.96) !important; }
#page-small-box #sb-mobile-btn:disabled i,
#page-small-box .sb-selection-action.sb-selection-checkout:disabled i { display: none !important; }
#page-small-box #sb-mobile-btn i { margin-right: 4px; }

/* ── Category Scroll Bar (horizontal pill bar) ── */
.sb-mobile-cat-scroll {
  display: flex !important;
  gap: 8px !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  background: #eef5ea !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  white-space: nowrap !important;
}
.sb-mobile-cat-scroll::-webkit-scrollbar { display: none !important; }
.sb-mobile-cat-scroll .sb-rail-cat {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 5px !important;
  flex: 0 0 auto !important;
  min-height: 34px !important;
  padding: 0 12px !important;
  border: 1.5px solid #e0e8dd !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #3a4a3c !important;
  font: 700 11px/1 'Nunito', sans-serif !important;
  cursor: pointer !important;
  transition: all .25s ease !important;
  box-shadow: 0 2px 6px rgba(25,66,28,.06) !important;
}
.sb-mobile-cat-scroll .sb-rail-cat:active { transform: scale(.96) !important; }
.sb-mobile-cat-scroll .sb-rail-cat.active {
  border-color: #1a6b2a !important;
  background: linear-gradient(135deg, #1a6b2a, #228b34) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(26,107,42,.25) !important;
}
.sb-mobile-cat-scroll .sb-rail-cat.active .sb-rail-label { color: #fff !important; }
.sb-mobile-cat-scroll .sb-rail-icon {
  width: 18px !important;
  height: 18px !important;
  font-size: 14px !important;
  display: inline-flex !important;
  place-items: center !important;
}
.sb-mobile-cat-scroll .sb-rail-label {
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* ── Product card position + badges — small-box portion ── */
html body[data-page="small-box"] #page-small-box.page .sb-product-card { position: relative !important; }
html body[data-page="small-box"] #page-small-box.page .box-sale-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 4 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #E5A93C !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
  pointer-events: none !important;
}
html body[data-page="small-box"] #page-small-box.page .box-new-badge,
html body[data-page="small-box"] #page-small-box.page .box-organic-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  z-index: 4 !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: #3a8c28 !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .3px !important;
  pointer-events: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
}
html body[data-page="small-box"] #page-small-box.page .box-organic-badge::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  flex-shrink: 0 !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.8 3.2C13.2 3.7 7.3 6.1 4.6 10.4c-2.1 3.3-1.3 6.9-.7 8.6.1.4.7.5.9.1 1.2-2.2 2.7-4.2 4.6-5.9-1.1 1.6-2 3.4-2.7 5.3-.2.5.3 1 .8.8 5.6-2 9.6-5.7 11.8-10.8.9-2 1.3-3.8 1.7-4.7.1-.3-.1-.6-.2-.6Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
}
html body[data-page="small-box"] #page-small-box.page .box-new-badge {
  background: #5B8C51 !important;
  color: #fff !important;
}

/* ── Small Box header ── */
body[data-page="small-box"] #page-small-box .sb-mobile-header {
  grid-template-columns: 44px 1fr 52px !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 6px clamp(12px, 3vw, 24px) !important;
}
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-brand {
  display: flex !important;
  align-items: center !important;
  justify-self: center !important;
  gap: 8px !important;
  text-align: left !important;
}
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-brand img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
}
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-brand span {
  display: grid !important;
  gap: 0px !important;
}
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-brand strong {
  font-size: clamp(16px, 2.5vw, 22px) !important;
  font-weight: 900 !important;
  letter-spacing: -.5px !important;
  line-height: 1 !important;
}
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-brand small {
  color: #263528 !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-header-back,
body[data-page="small-box"] #page-small-box .sb-mobile-header .sb-header-menu {
  width: 34px !important;
  height: 34px !important;
  font-size: 14px !important;
}
