/** Shopify CDN: Minification failed

Line 247:0 Expected "}" to go with "{"

**/
/* Discover Range — grid, filter chips, and product modal.
   Component CSS only for what Tailwind can't express cleanly:
   sticky offset wiring, chip active state, the +/- accordion markers,
   the modal transition, and the nutrition table. */

/* Container follows the shared brand container (.container-brand) — same as
   every other section. No bespoke width/gutter override here. */

/* ---- Filter bar ---- */
.discover-grid__filter-bar {
  top: var(--filter-top, 0px);
}

/* Mobile: chips scroll horizontally in a single row instead of wrapping.
   Hide the scrollbar; the chips keep their size so they overflow and scroll. */
.discover-grid__filter-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.discover-grid__filter-track::-webkit-scrollbar {
  display: none;
}

.discover-grid__filter-label,
.discover-grid__chip {
  flex-shrink: 0;
}

/* Drag-to-scroll via <scroll-carousel> (same component as the grocery carousel).
   The component adds .is-dragging while a pointer drag is in progress. */
.discover-grid__filter-carousel {
  display: block;
}

@media (max-width: 767px) {
  .discover-grid__filter-track {
    cursor: grab;
  }
  .discover-grid__filter-carousel{
    padding-left: 20px;
  }
}

.discover-grid__filter-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.discover-grid__chip {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 400;
  border: 1.5px solid var(--color-cream-mid);
  color: rgb(31 61 44 / 0.6);
  background: #fff;
  cursor: pointer;
  text-transform: capitalize;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.discover-grid__chip:hover,
.discover-grid__chip.is-active {
  background: var(--color-sage);
  color: var(--color-cream);
  border-color: var(--color-sage);
}

/* Card filtered out */
.range-card.hidden {
  display: none;
}

/* ---- Modal ---- */
.discover-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgb(20 40 25 / 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s;
}

.discover-modal[hidden] {
  display: none;
}

.discover-modal.is-open {
  opacity: 1;
}

.discover-modal__box {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 860px;
  max-width: 94vw;
  max-height: 88vh;
  overflow: hidden auto;
  background: var(--color-cream);
  border-radius: 20px;
  box-shadow: var(--shadow-modal);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.28s var(--ease-modal);
}

.discover-modal.is-open .discover-modal__box {
  transform: translateY(0) scale(1);
}

.discover-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgb(31 61 44 / 0.1);
  color: var(--color-sage);
  cursor: pointer;
  transition: background 0.15s;
}

.discover-modal__close:hover {
  background: rgb(31 61 44 / 0.2);
}

/* ---- Accordions (native details/summary with +/- markers) ---- */
.range-modal__acc {
  border-bottom: 1px solid rgb(31 61 44 / 0.08);
}

.range-modal__acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 32px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-sage);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.15s;
}

.range-modal__acc-head::-webkit-details-marker {
  display: none;
}

.range-modal__acc-head:hover {
  background: rgb(31 61 44 / 0.03);
}

/* +/- marker drawn with CSS so no icon asset is needed. */
.range-modal__acc-head::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-left: 16px;
  background:
    linear-gradient(var(--color-sage), var(--color-sage)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--color-sage), var(--color-sage)) center / 1.5px 14px no-repeat;
  opacity: 0.55;
  transition: transform 0.22s, opacity 0.15s;
}

/* Open => hide the vertical bar so it reads as a minus. */
.range-modal__acc[open] > .range-modal__acc-head::after {
  background:
    linear-gradient(var(--color-sage), var(--color-sage)) center / 14px 1.5px no-repeat;
  transform: rotate(180deg);
}

.range-modal__acc-body {
  padding: 4px 32px 20px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: rgb(31 61 44 / 0.72);
}

/* Allergens are marked with <strong> in the ingredients metafield. The brand
   forbids bold, so emphasise with an underline instead. */
.range-modal__acc-body strong {
  font-weight: 400;
  text-decoration: underline;
}

/* ---- Retailer logos ("Available in" chips) ----
   Capped at 60px wide so a wide wordmark can't outrun a compact one. Height is
   the h-8 utility on the img; object-contain letterboxes inside the 60x32 box,
   so a wide logo lands well under 32px tall. Not a max-w-[60px] utility: no
   arbitrary max-w exists in the compiled CSS, and this branch doesn't rebuild it. */
.range-modal__ret-logo {
  max-width: 140px;
}

/* ---- Nutrition table ---- */
.range-modal__nutrition th,
.range-modal__nutrition td {
  padding: 7px 0;
  border-bottom: 1px solid rgb(31 61 44 / 0.08);
  text-align: left;
  font-weight: 300;
}

.range-modal__nutrition td {
  text-align: right;
  color: var(--color-sage);
}

.range-modal__nutrition-sub {
  padding-left: 16px;
  color: rgb(31 61 44 / 0.55);
}

/* ---- Modal media on mobile: square-ish, not full height ---- */
@media (max-width: 767px) {
  .range-modal__media {
    min-height: 220px;
  }
}
@media (min-width: 1024px) {
  .discover-grid__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
