/* СТРАНИЦА КОЛЛЕКЦИИ по канвасу — борды CollectionStyleDesktop /
 * CollectionStyleMobile / CollectionSpec. Редизайн коллекции 2026-09-01.
 *
 * Токены те же, что у главной: панели на #1E0045 с рамкой
 * 1px rgba(255,255,255,.16), радиус 20; чипсы #2E005F, рамка .22, радиус 12,
 * высота 44; жёлтый #F2FF00; Chillax на заголовках, Outfit на остальном.
 *
 * Контейнер страницы по спеке: 1360 по центру с полями 40 (desktop),
 * поля 16 (mobile).
 *
 * ── C1. Шапка страницы ───────────────────────────────────────────────── */

.dz-collection-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  color: #ffffff;
}

/* Крошки — текстом слева, капс 13/600, разрядка .06em; не пилюля темы. */
.dz-ch__crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 10px 40px 0;
  box-sizing: content-box;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
}
.dz-ch__crumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.dz-ch__crumbs a:hover {
  color: #f2ff00;
}
.dz-ch__crumb-chev {
  width: 12px;
  height: 12px;
  flex: none;
  opacity: 0.6;
}
.dz-ch__crumb-current {
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Заголовок + описание слева, trust-чипы справа по нижней кромке. */
.dz-ch__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 40px 20px;
  box-sizing: border-box;
}
.dz-ch__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 860px;
  min-width: 0;
}
html body.gradient .dz-ch__h1,
html body.gradient div.shopify-section .dz-ch__h1,
.dz-ch__h1 {
  margin: 0;
  font-family: var(--dz-font-display, "Chillax", sans-serif) !important;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.dz-ch__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 4px 14px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
.dz-ch__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}
/* Мобильная строка «N products · Lab-tested · Ships…» — на desktop скрыта. */
.dz-ch__meta {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.dz-ch__count {
  font-weight: 700;
  color: #f2ff00;
}
.dz-ch__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dz-ch__meta-ico {
  width: 14px;
  height: 14px;
  flex: none;
}
.dz-ch__trust {
  display: flex;
  gap: 10px;
  flex: none;
}
.dz-ch__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: #2e005f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
a.dz-ch__chip:hover {
  border-color: #f2ff00;
}
.dz-ch__chip-ico {
  width: 16px;
  height: 16px;
  flex: none;
}

/* Лента чипсов категорий: полоса 64 с тонкими линиями сверху и снизу,
   чипсы 44, активный — жёлтая рамка 2px на жёлтой подложке 8%. */
.dz-ch__strip-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dz-ch__strip {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 40px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.dz-ch__strip::-webkit-scrollbar {
  display: none;
}
.dz-ch__cat {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  background: #2e005f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.dz-ch__cat:hover {
  border-color: #f2ff00;
  background: #38007a;
  color: #ffffff;
}
.dz-ch__cat--active,
.dz-ch__cat--active:hover {
  background: rgba(242, 255, 0, 0.08);
  color: #f2ff00;
  border: 2px solid #f2ff00;
  padding: 0 15px;
}
.dz-ch__cat-ico {
  width: 18px;
  height: 18px;
  flex: none;
}

@media screen and (max-width: 989px) {
  .dz-ch__crumbs {
    height: 28px;
    padding: 8px 16px 0;
    font-size: 12px;
    letter-spacing: 0.04em;
    gap: 4px;
  }
  .dz-ch__head {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 16px 14px;
  }
  html body.gradient .dz-ch__h1,
  html body.gradient div.shopify-section .dz-ch__h1,
  .dz-ch__h1 {
    font-size: 26px;
    line-height: 1.15;
  }
  .dz-ch__kicker {
    padding: 2px 10px;
    font-size: 13px;
  }
  .dz-ch__desc {
    font-size: 14px;
    line-height: 1.5;
  }
  .dz-ch__meta {
    display: flex;
  }
  .dz-ch__trust {
    display: none;
  }
  .dz-ch__strip {
    padding: 0 16px;
  }
  .dz-ch__cat {
    padding: 0 14px;
  }
  .dz-ch__cat--active,
  .dz-ch__cat--active:hover {
    padding: 0 13px;
  }
}

/* Заголовок «Shop by collections» над сеткой — остаток скрытого слайдера
   фильтров темы (facets-updated). На бордах его нет; в C3 его место займёт
   строка результатов с сортировкой. */
.dz-collection-page #main-collection-filters,
.template-collection #main-collection-filters,
#shopify-section-template--product-grid #main-collection-filters {
  display: none;
}


/* ── C2. Контейнер и сетка ────────────────────────────────────────────────
 * Спека: контейнер 1360 (поля 40), desktop ≥1024 — repeat(4, minmax(0,1fr))
 * gap 20; планшет 768–1023 — 3 колонки; mobile — 2 колонки gap 12, поля 16.
 * Карточка ≈257 при рельсе 240 (рельса приходит в C5; до неё сетка занимает
 * весь контейнер — колонок всё равно 4). Фото держит пропорцию 325:395
 * (257 → 320, 173 → 209), а не фиксированную высоту, — иначе при любой
 * другой ширине карточки пропорция плывёт.
 *
 * ★ Сетка темы — flex со слайдерной арифметикой width: calc(33.33% − …) на
 *   li, и всё это через #product-grid/#ProductGridContainer. Перебиваем тем
 *   же ID-весом + !important, иначе flex выигрывает.
 * ★ .page-width темы = 1200 с полями 50 — снимаем на контейнере сетки.
 */
#shopify-section-template--product-grid #ProductGridContainer.page-width {
  max-width: 1440px !important;
  padding: 24px 40px 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  overflow: visible !important;
}
#shopify-section-template--product-grid .collection {
  margin: 0 !important;
  border: none;
}
#shopify-section-template--product-grid #product-grid.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px !important;
  column-gap: 20px !important;
  row-gap: 20px !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  list-style: none;
}
#shopify-section-template--product-grid #product-grid > li.grid__item {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
#shopify-section-template--product-grid #product-grid .updated-product-card {
  margin: 0 !important;
  width: 100%;
  height: 100%;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__image {
  height: auto !important;
  aspect-ratio: 325 / 395;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__info {
  gap: 8px;
}
/* Цена в две строки: «From $X» сверху, «$Y Save N%» под ней, «+» справа
   на обе строки. В 257 одной строкой не влезает (спека). */
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__price {
  display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 6px;
  row-gap: 2px;
  align-items: baseline;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__price-from {
  grid-row: 1;
  grid-column: 1;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__price-val {
  grid-row: 1;
  grid-column: 2;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__price-was {
  grid-row: 2;
  grid-column: 1;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__price-save {
  grid-row: 2;
  grid-column: 2;
}
#shopify-section-template--product-grid #product-grid .updated-product-card .upc__add {
  grid-row: 1 / span 2;
  grid-column: 3;
  justify-self: end;
  align-self: center;
  margin-left: 0;
}

@media screen and (max-width: 1023px) {
  #shopify-section-template--product-grid #product-grid.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media screen and (max-width: 989px) {
  #shopify-section-template--product-grid #ProductGridContainer.page-width {
    padding: 14px 16px 0 !important;
  }
  #shopify-section-template--product-grid #product-grid .updated-product-card .upc__info {
    gap: 6px;
  }
  #shopify-section-template--product-grid #product-grid .updated-product-card .upc__price {
    column-gap: 4px;
    row-gap: 1px;
  }
}
@media screen and (max-width: 749px) {
  #shopify-section-template--product-grid #product-grid.product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px !important;
    column-gap: 12px !important;
    row-gap: 12px !important;
    padding: 0 0 16px !important;
  }
}

/* ── C3. Строка результатов и сортировка ──────────────────────────────────
 * Борд: слева «ALL DELTA DISPOSABLES» Chillax 18 капсом · «63 products» 700 ·
 * «Showing 1–24» · чипсы активных фильтров (C5); справа «Sort by» + select
 * 200×44, радиус 12, #2E005F с рамкой 1.5px .22. Mobile: ряд кнопок 44
 * («Filter (N)» — C5, сортировка — bottom-sheet).
 */
#shopify-section-template--product-grid .dz-cg.page-width {
  max-width: 1440px !important;
  padding: 24px 40px 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  overflow: visible !important;
}
/* Внутренний контейнер сетки уже не несёт поля — их даёт внешний. */
#shopify-section-template--product-grid .dz-cg #ProductGridContainer.page-width {
  padding: 16px 0 0 !important;
}
.dz-rr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.dz-rr__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
}
html body.gradient .dz-rr__title,
html body.gradient div.shopify-section .dz-rr__title,
.dz-rr__title {
  font-family: var(--dz-font-display, "Chillax", sans-serif) !important;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
}
.dz-rr__count {
  font-weight: 700;
  color: #ffffff;
}
.dz-rr__right {
  display: flex;
  align-items: center;
  flex: none;
}
.dz-rr__sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.dz-rr__select-wrap {
  position: relative;
  display: block;
  width: 200px;
  height: 44px;
}
.dz-rr__select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 40px 0 14px;
  border-radius: 12px;
  background: #2e005f;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: var(--dz-font-body, "Outfit", sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
}
.dz-rr__select:hover,
.dz-rr__select:focus-visible {
  border-color: #f2ff00;
  outline: none;
}
.dz-rr__select option {
  background: #1e0045;
  color: #ffffff;
}
.dz-rr__chev {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.8);
}
.dz-rr__mobile {
  display: none;
}

/* Мобильный ряд кнопок и bottom-sheet */
.dz-rr__mbtn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  background: #2e005f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--dz-font-body, "Outfit", sans-serif);
  font-size: 15px;
  font-weight: 600;
  padding: 0 12px;
  box-sizing: border-box;
  cursor: pointer;
}
.dz-rr__mbtn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.dz-rr__mbtn--filter {
  background: transparent;
  border: 1.5px solid #f2ff00;
  color: #f2ff00;
  font-weight: 700;
}
.dz-rr__mbtn-badge {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid #f49bf9;
  color: #f49bf9;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-sizing: border-box;
}
.dz-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
}
.dz-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 30, 0.6);
  border: none;
  padding: 0;
  cursor: pointer;
}
.dz-sheet__panel {
  position: relative;
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  background: #1e0045;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  box-sizing: border-box;
  color: #ffffff;
}
.dz-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 8px;
}
html body.gradient .dz-sheet__title,
.dz-sheet__title {
  font-family: var(--dz-font-display, "Chillax", sans-serif) !important;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.dz-sheet__close {
  width: 44px;
  height: 44px;
  margin-right: -12px;
  border: none;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dz-sheet__close svg {
  width: 20px;
  height: 20px;
}
.dz-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dz-sheet__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  box-sizing: border-box;
}
.dz-sheet__opt svg {
  width: 20px;
  height: 20px;
}
.dz-sheet__opt--active {
  background: rgba(242, 255, 0, 0.08);
  color: #f2ff00;
  border: 1.5px solid #f2ff00;
  font-weight: 700;
}

@media screen and (max-width: 989px) {
  #shopify-section-template--product-grid .dz-cg.page-width {
    padding: 0 !important;
  }
  #shopify-section-template--product-grid .dz-cg #ProductGridContainer.page-width {
    padding: 14px 16px 0 !important;
  }
  .dz-rr {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  /* На мобиле заголовок и счётчик уже есть в шапке («23 products»);
     строка сводится к ряду кнопок 44 на полосе #210048 (борд). */
  .dz-rr__left,
  .dz-rr__right {
    display: none;
  }
  .dz-rr__mobile {
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    background: #210048;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}


/* ── C4. Load more ────────────────────────────────────────────────────────
 * Борд: «Showing 24 of 63 products» 13/500, полоса 4px (#F2FF00 на
 * rgba(255,255,255,.12)) шириной 200 по центру, кнопка контурная 52 радиус 12
 * жёлтая рамка 1.5px, Chillax капсом (кнопка = .btn-подобная); mobile — во
 * всю ширину.
 */
.dz-lm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 0 40px;
}
.dz-lm__text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.dz-lm__shown,
.dz-lm__total {
  font-weight: 700;
  color: #ffffff;
}
.dz-lm__bar {
  width: 200px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
/* ★ Тема прячет ПУСТЫЕ блоки: `div:empty { display: none }` в
   global-bundle.css — заливка полосы без содержимого исчезала (ширина 0).
   Перебиваем display явно. */
.dz-lm__fill {
  display: block !important;
  height: 100%;
  background: #f2ff00;
  border-radius: 999px;
  transition: width 0.3s ease;
}
html body.gradient .dz-lm__btn,
html body.gradient div.shopify-section .dz-lm__btn,
.dz-lm__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 52px;
  padding: 0 28px;
  margin-top: 4px;
  border-radius: 12px;
  border: 1.5px solid #f2ff00;
  background: transparent;
  color: #f2ff00;
  font-family: var(--dz-font-display, "Chillax", sans-serif) !important;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s ease;
}
.dz-lm__btn:hover {
  background: rgba(242, 255, 0, 0.08);
}
.dz-lm__btn[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}
.dz-lm__step {
  margin: 0 0.3em;
}
@media screen and (max-width: 989px) {
  .dz-lm {
    padding: 4px 0 28px;
  }
  .dz-lm__btn {
    width: 100%;
    min-width: 0;
  }
}

/* ── C5. Рельса фильтров ──────────────────────────────────────────────────
 * Борд: контейнер = рельса 240 + зазор 32 + сетка; рельса — панель #1E0045,
 * рамка .16, радиус 20, поля 18, sticky top 96; «Filters» 16/700 + «Clear
 * all» 13/700 жёлтым; группы: заголовок 13/700 капсом с шевроном, строки
 * чекбоксов 15 с счётчиком справа .7; Price — ползунок min–max. Mobile:
 * та же рельса как bottom-sheet по кнопке «Filter (N)».
 */
#shopify-section-template--product-grid .dz-cg--rail {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.dz-cg__main {
  min-width: 0;
}
.dz-fr {
  position: sticky;
  top: 96px;
  background: #1e0045;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 18px;
  box-sizing: border-box;
  color: #ffffff;
}
.dz-fr__form {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.dz-fr__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.dz-fr__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}
.dz-fr__title svg {
  width: 18px;
  height: 18px;
}
.dz-fr__badge {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1.5px solid #f49bf9;
  color: #f49bf9;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-sizing: border-box;
}
.dz-fr__clear {
  font-size: 13px;
  font-weight: 700;
  color: #f2ff00;
  text-decoration: none;
}
.dz-fr__clear:hover {
  text-decoration: underline;
}
.dz-fr__close {
  display: none;
}
.dz-fr__group {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.dz-fr__group:last-of-type {
  border-bottom: none;
}
.dz-fr__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.dz-fr__group-head::-webkit-details-marker {
  display: none;
}
.dz-fr__chev {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}
.dz-fr__group[open] .dz-fr__chev {
  transform: rotate(180deg);
}
.dz-fr__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 264px;
  overflow: auto;
  scrollbar-width: thin;
}
.dz-fr__opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 4px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #ffffff;
}
.dz-fr__opt:hover {
  background: rgba(255, 255, 255, 0.05);
}
.dz-fr__opt--empty {
  opacity: 0.45;
}
.dz-fr__check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.dz-fr__box {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a005e;
  box-sizing: border-box;
}
.dz-fr__box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
}
.dz-fr__check:checked + .dz-fr__box {
  background: #f2ff00;
  border-color: #f2ff00;
}
.dz-fr__check:checked + .dz-fr__box svg {
  opacity: 1;
}
.dz-fr__check:focus-visible + .dz-fr__box {
  outline: 2px solid #f2ff00;
  outline-offset: 2px;
}
.dz-fr__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dz-fr__count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
/* Price */
.dz-fr__price {
  padding: 18px 4px 4px;
}
.dz-fr__slider {
  position: relative;
  height: 20px;
}
.dz-fr__track,
.dz-fr__fill {
  position: absolute;
  top: 8px;
  height: 4px;
  border-radius: 999px;
}
.dz-fr__track {
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.16);
}
.dz-fr__fill {
  left: 0;
  right: 0;
  background: #f2ff00;
  display: block !important;
}
.dz-fr__range {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 20px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
}
.dz-fr__range::-webkit-slider-runnable-track {
  background: transparent;
  height: 20px;
}
.dz-fr__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 999px;
  background: #f2ff00;
  border: 2px solid #1e0045;
  box-shadow: 0 0 0 1px #f2ff00;
  cursor: pointer;
}
.dz-fr__range::-moz-range-track {
  background: transparent;
  height: 20px;
}
.dz-fr__range::-moz-range-thumb {
  pointer-events: auto;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f2ff00;
  border: 2px solid #1e0045;
  cursor: pointer;
}
.dz-fr__price-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
/* Кнопка «Apply/Show N» нужна без JS и в drawer; на desktop с JS — скрыта. */
.dz-fr__foot {
  padding-top: 14px;
}
.dz-fr__apply {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(to bottom, #fbffb4, #f2ff00, #f2ff00, #afb900);
  color: #2a005e;
  font-family: var(--dz-font-display, "Chillax", sans-serif);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.js-ready .dz-fr__foot {
  display: none;
}

/* Чипсы активных фильтров в строке результатов */
.dz-rr__chips {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.dz-rr__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #2e005f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  box-sizing: border-box;
}
.dz-rr__chip svg {
  width: 12px;
  height: 12px;
  opacity: 0.8;
}
.dz-rr__chip:hover {
  border-color: #f2ff00;
}
.dz-rr__clear {
  font-size: 13px;
  font-weight: 700;
  color: #f2ff00;
  text-decoration: none;
}

@media screen and (max-width: 989px) {
  #shopify-section-template--product-grid .dz-cg--rail {
    display: block;
  }
  /* Рельса = bottom-sheet; закрытая — вне экрана и недоступна. */
  .dz-fr {
    position: fixed;
    inset: 0;
    top: auto;
    z-index: 1000;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    max-height: 86vh;
    overflow: auto;
    padding: 12px 16px 0;
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  }
  .dz-fr--open {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }
  body.dz-fr-lock {
    overflow: hidden;
  }
  .dz-fr__head {
    position: sticky;
    top: 0;
    background: #1e0045;
    z-index: 1;
    min-height: 44px;
  }
  .dz-fr__close {
    display: flex;
    width: 44px;
    height: 44px;
    margin-right: -12px;
    border: none;
    background: transparent;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .dz-fr__close svg {
    width: 20px;
    height: 20px;
  }
  .dz-fr__opt {
    min-height: 44px;
    font-size: 16px;
  }
  .dz-fr__list {
    max-height: none;
  }
  .js-ready .dz-fr__foot {
    display: block;
    position: sticky;
    bottom: 0;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    background: #1e0045;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .dz-fr__apply {
    height: 52px;
  }
  .dz-rr__chips {
    display: none;
  }
}


/* ── C6. FAQ коллекции из метаполя ────────────────────────────────────────
 * CollectionSpec: блок после Load more, заголовок «FAQs», аккордеон, один
 * вопрос открыт, 2–4 вопроса из custom.faq; вопросы h3 20/600, ответы
 * 15/500 lh 1.6. Панель по токенам главной (1200 по центру на #1E0045,
 * рамка, радиус 20, поля 40/56), без картинки — на бордах её нет.
 */
.dz-faq-collection.faq-section {
  background: transparent !important;
  margin: 8px 0 0 !important;
  padding: 0 40px !important;
}
.dz-faq-collection.faq-section > .page-width {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 56px !important;
  background: #1e0045;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  display: block;
  box-sizing: border-box;
}
.dz-faq-collection .faq_blocks {
  padding: 0 !important;
  max-width: none !important;
}
html body.gradient .dz-faq-collection .faq_title,
.dz-faq-collection .faq_title {
  font-family: var(--dz-font-display, "Chillax", sans-serif) !important;
  font-size: 26px !important;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff !important;
  margin: 0 0 20px !important;
}
.dz-faq-collection .faq-block {
  background: #2e005f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
}
.dz-faq-collection .faq-block_title {
  margin: 0;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-transform: none;
}
.dz-faq-collection .faq-block_title svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.2s ease;
}
.dz-faq-collection .faq-block_title svg path {
  stroke: #f2ff00;
}
.dz-faq-collection .faq-block.open .faq-block_title svg {
  transform: rotate(180deg);
}
.dz-faq-collection .faq-block_text {
  display: none;
  padding-top: 10px;
}
.dz-faq-collection .faq-block.open .faq-block_text {
  display: block;
}
.dz-faq-collection .faq-block_p {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
@media screen and (max-width: 989px) {
  .dz-faq-collection.faq-section {
    padding: 0 16px !important;
  }
  .dz-faq-collection.faq-section > .page-width {
    padding: 20px 16px !important;
    border-radius: 16px;
  }
  .dz-faq-collection .faq_title {
    font-size: 22px !important;
  }
  .dz-faq-collection .faq-block_title {
    font-size: 17px !important;
  }
}

/* ── Промо-бейдж в одну строку на ПК ─────────────────────────────────────
 * Владелец 2026-09-02: «в ПК-версии buy one get one сейчас не в одну
 * строчку — уменьшить шрифт так, чтобы всё было в одну строку». При
 * карточке 257 (рельса) «BUY 1 GET 1» 16/800 с полями 8/13 не влезает в
 * половину плитки и переносится. Здесь 13px (12px до 1300), без переноса,
 * ширина до 58% плитки: левый верхний бейдж («100mg tab») занимает ~30%,
 * зазор между ними ворота меряют на 1280/1440.
 */
@media screen and (min-width: 750px) {
  #shopify-section-template--product-grid #product-grid .updated-product-card .upc__badge.upc__badge--promo {
    font-size: 13px !important;
    line-height: 1.1;
    padding: 7px 10px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    max-width: calc(58% - 16px) !important;
  }
}
/* Верхняя граница поднята с 1300 до 1339 (2026-09-02): с рельсой и четырьмя
   колонками карточка на 1310 выходит 225, и промо 13px (94 px) оставляет до
   левого бейджа 5–6 px при пороге 8. Замер по ширинам: 1310 → 5, 1440 → 38.
   13px безопасен примерно с 1330, берём 1340 с запасом. */
@media screen and (min-width: 750px) and (max-width: 1339px) {
  #shopify-section-template--product-grid #product-grid .updated-product-card .upc__badge.upc__badge--promo {
    font-size: 12px !important;
    padding: 6px 9px;
  }
}

/* ★ Окно рельсы 990–1199: плитка 210.7, а левый верхний бейдж зажат
   правилом product-card-badges.css:54 (max-width: calc(50% - 16px) = 88.35).
   У Dubz 20k текст «1,000mg» 69px + поля 26 = 95 — он ПЕРЕПОЛНЯЕТ зажатый
   бокс и съедает правое поле, поэтому зазор до промо был 6.3 при пороге 8
   (замер 2026-09-02; у соседних «500mg gummy» tl 82.1, зазор 12.6).
   Отсюда: «1000mg» без запятой, letter-spacing и поля по отдельности НЕ
   помогают — упираются в тот же зажим (все три замерены). Двигаем промо:
   11px с полями 6/8 даёт зазор ≈ 12–14 и высоту 24 (порог ≤ 30).
   Окно доведено до 1319 (2026-09-02): на 1280 четыре колонки дают карточку
   217, и с промо 12px зазор садился на 9 при пороге 8 — запас в один пиксель
   не запас. С 11px там 17.
   Зажим в product-card-badges.css не трогать — он держит мобильную
   гарантию «бейджи никогда не наезжают». */
@media screen and (min-width: 990px) and (max-width: 1319px) {
  #shopify-section-template--product-grid #product-grid .updated-product-card .upc__badge.upc__badge--promo {
    font-size: 11px !important;
    padding: 6px 8px;
  }
}

/* Рельса + 4 колонки при 1024–1199 давали карточку 153 (замер 2026-09-02):
   бейджи не помещаются никак. С рельсой три колонки, четыре — от 1280.
   Граница поднята с 1200 до 1280 (2026-09-02, решение владельца): при
   четырёх колонках и рельсе карточка на 1200 выходила 197 — уже, чем 210 на
   1024, и зазор между бейджами уходил в минус у ВСЕХ гаммис, а не только у
   Dubz. Ворота этот участок не мерили вовсе; теперь в них есть 1200 и 1310.
   Без рельсы (категории без атрибутов) — как было. */
@media screen and (min-width: 990px) and (max-width: 1279px) {
  #shopify-section-template--product-grid .dz-cg--rail #product-grid.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
