/* Advanced Filter */
.dzm-filter { --df-accent: #229ac8; --df-line: #e8e8e8; --df-text: #2a2a2a; --df-muted: #8a8a8a; margin-bottom: 25px; color: var(--df-text); overflow: visible !important; }
.dzm-filter .df-title { margin-bottom: 10px; }
.dzm-filter .df-title .df-total { font-weight: 400; font-size: 12px; color: var(--df-muted); margin-left: 8px; text-transform: none; }
.dzm-filter .df-sheet-close { display: none; }
.dzm-filter.df-busy, .df-busy { opacity: .55; pointer-events: none; transition: opacity .15s; }
.dzm-filter .mod-content, .dzm-filter .df-content { border: 1px solid var(--df-line); border-radius: 6px; background: #fff; }

/* Selected filters */
.dzm-filter .df-chosen { padding: 12px 15px; border-bottom: 1px solid var(--df-line); background: #fafafa; border-radius: 6px 6px 0 0; }
.dzm-filter .df-chosen-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 13px; }
.dzm-filter .df-clear, .df-nores-box .df-clear { color: var(--df-accent); font-size: 12px; text-decoration: underline; }
.dzm-filter .df-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dzm-filter .df-chip { border: 1px solid var(--df-line); background: #fff; border-radius: 14px; padding: 3px 10px; font-size: 12px; line-height: 18px; cursor: pointer; color: var(--df-text); }
.dzm-filter .df-chip i { margin-left: 6px; color: var(--df-muted); font-size: 11px; }
.dzm-filter .df-chip:hover { border-color: var(--df-accent); }
.dzm-filter .df-chip:hover i { color: var(--df-accent); }

/* Facets */
.dzm-filter .df-facet { border-bottom: 1px solid var(--df-line); }
.dzm-filter .df-facet:last-child { border-bottom: 0; }
.dzm-filter .df-head { display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; cursor: pointer; font-weight: 600; font-size: 14px; user-select: none; }
.dzm-filter .df-head i { font-size: 18px; color: var(--df-muted); transition: transform .2s; }
.dzm-filter .df-closed .df-head i { transform: rotate(-90deg); }
.dzm-filter .df-body { padding: 0 15px 14px; }
.dzm-filter .df-closed .df-body { display: none; }
.dzm-filter .df-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; }
.dzm-filter .df-item { margin: 0; padding: 0; }
.dzm-filter .df-item.df-extra { display: none; }
.dzm-filter .df-list.df-all .df-item.df-extra, .dzm-filter .df-list.df-searching .df-item.df-extra { display: block; }
.dzm-filter .df-item.df-hide { display: none !important; }
.dzm-filter .df-item label { display: flex; align-items: center; gap: 9px; margin: 0; padding: 5px 0; cursor: pointer; font-weight: 400; font-size: 13px; line-height: 20px; }
.dzm-filter .df-item.df-zero label { opacity: .45; }
.dzm-filter .df-item input { position: absolute; opacity: 0; pointer-events: none; }
.dzm-filter .df-box { flex: 0 0 auto; width: 17px; height: 17px; border: 1.5px solid #c8c8c8; border-radius: 3px; background: #fff; position: relative; transition: all .15s; }
.dzm-filter .df-item input:checked + .df-box { background: var(--df-accent); border-color: var(--df-accent); }
.dzm-filter .df-item input:checked + .df-box:after { content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dzm-filter .df-item input:focus-visible + .df-box, .dzm-filter .df-item input:focus-visible + .df-sw { outline: 2px solid var(--df-accent); outline-offset: 2px; }
.dzm-filter .df-sw { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 2px #fff; transition: transform .15s; }
.dzm-filter .df-item input:checked + .df-sw { border-color: var(--df-accent); box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--df-accent); }
.dzm-filter .df-item:hover .df-sw { transform: scale(1.08); }
.dzm-filter .df-name { flex: 1 1 auto; min-width: 0; }
.dzm-filter .df-n { flex: 0 0 auto; color: var(--df-muted); font-size: 12px; }
.dzm-filter .df-toggle { background: none; border: 0; padding: 6px 0 0; color: var(--df-accent); font-size: 12px; cursor: pointer; }
.dzm-filter .df-search { width: 100%; height: 32px; border: 1px solid var(--df-line); border-radius: 4px; padding: 0 10px; margin-bottom: 8px; font-size: 13px; outline: 0; background: #fff; box-sizing: border-box; }
.dzm-filter .df-search:focus { border-color: var(--df-accent); }

/* Price */
.dzm-filter .df-range { position: relative; height: 22px; margin: 6px 4px 12px; }
.dzm-filter .df-track { position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 2px; background: #e4e4e4; }
.dzm-filter .df-fill { position: absolute; top: 0; bottom: 0; background: var(--df-accent); border-radius: 2px; }
.dzm-filter .df-range input[type=range] { position: absolute; left: 0; top: 0; width: 100%; height: 22px; margin: 0; padding: 0; border: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; box-shadow: none; }
.dzm-filter .df-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--df-accent); cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.dzm-filter .df-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--df-accent); cursor: pointer; }
.dzm-filter .df-range input[type=range]::-webkit-slider-runnable-track { background: none; }
.dzm-filter .df-range input[type=range]::-moz-range-track { background: none; }
.dzm-filter .df-price-in { display: flex; gap: 10px; }
.dzm-filter .df-price-in label { flex: 1 1 0; margin: 0; font-weight: 400; }
.dzm-filter .df-cap { display: block; font-size: 11px; color: var(--df-muted); margin-bottom: 3px; }
.dzm-filter .df-field { display: flex; align-items: center; gap: 3px; border: 1px solid var(--df-line); border-radius: 4px; padding: 0 8px; background: #fff; font-size: 13px; }
.dzm-filter .df-field input { border: 0; outline: 0; width: 100%; min-width: 0; height: 32px; padding: 0; font-size: 13px; background: none; box-shadow: none; -moz-appearance: textfield; }
.dzm-filter .df-field input::-webkit-outer-spin-button, .dzm-filter .df-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dzm-filter .df-field:focus-within { border-color: var(--df-accent); }
.dzm-filter .df-bands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dzm-filter .df-band { border: 1px solid var(--df-line); background: #fff; border-radius: 14px; padding: 3px 10px; font-size: 12px; cursor: pointer; color: var(--df-text); }
.dzm-filter .df-band em { font-style: normal; color: var(--df-muted); margin-left: 4px; }
.dzm-filter .df-band:hover { border-color: var(--df-accent); }

/* Popular filters (internal links to SEO pages) */
.dzm-filter .df-pop-list a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border: 1px solid var(--df-line); border-radius: 14px; font-size: 12px; color: var(--df-text); }
.dzm-filter .df-pop-list a:hover { border-color: var(--df-accent); color: var(--df-accent); }

/* Colour dots on product cards */
.df-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 2px 0 4px; }
.df-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); box-shadow: inset 0 0 0 1px #fff; }

/* Suggestions when nothing matches */
.df-nores-box { margin: 0 0 20px; padding: 18px 20px; border: 1px dashed #d8d8d8; border-radius: 6px; background: #fafafa; }
.df-nores-box strong { display: block; font-size: 15px; margin-bottom: 4px; }
.df-nores-box p { margin: 6px 0 10px; color: #777; }
.df-nores-box .df-nores-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.df-nores-box .df-sug { border: 1px solid #ddd; background: #fff; border-radius: 18px; padding: 6px 14px; font-size: 13px; cursor: pointer; }
.df-nores-box .df-sug:hover { border-color: var(--df-accent, #229ac8); color: var(--df-accent, #229ac8); }
.dzm-filter .df-nores { display: none; }

/* Phones: bottom bar and the "show N products" button */
.df-mbar, .dzm-filter .df-mfoot { display: none; }

/* Sticky column: a column taller than the window scrolls inside itself instead of being pushed out of the page. */
@media (min-width: 992px) {
  .df-aside { align-self: flex-start; }
  .df-aside.df-sticky { position: -webkit-sticky !important; position: sticky !important; top: 20px; max-height: calc(100vh - 35px); overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; transform: none !important; }
  .df-aside.df-sticky::-webkit-scrollbar { width: 6px; }
  .df-aside.df-sticky::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 3px; }

  /* Horizontal bar mode: facets are drop-down buttons above the list */
  .dzm-filter.df-top { margin: 0 0 18px; }
  .dzm-filter.df-top .df-title { display: none; }
  .dzm-filter.df-top .mod-content { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; padding: 10px 12px; }
  .dzm-filter.df-top .df-chosen { order: 9; flex: 0 0 100%; border: 0; background: none; padding: 4px 0 0; }
  .dzm-filter.df-top .df-facet { position: relative; border: 1px solid var(--df-line); border-radius: 20px; flex: 0 0 auto; }
  .dzm-filter.df-top .df-facet:last-child { border: 1px solid var(--df-line); }
  .dzm-filter.df-top .df-head { padding: 7px 14px; font-size: 13px; gap: 8px; }
  .dzm-filter.df-top .df-closed .df-head i, .dzm-filter.df-top .df-head i { transform: none; }
  .dzm-filter.df-top .df-facet.df-open .df-head i { transform: rotate(180deg); }
  .dzm-filter.df-top .df-facet .df-body, .dzm-filter.df-top .df-closed .df-body { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; max-width: 360px; background: #fff; border: 1px solid var(--df-line); border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .13); padding: 12px 14px; z-index: 60; }
  .dzm-filter.df-top .df-facet.df-open .df-body { display: block; }
  .dzm-filter.df-top .df-list { max-height: 300px; }
  .dzm-filter.df-top .df-facet.df-t-price .df-body { min-width: 290px; }
}

@media (max-width: 991px) {
  .dzm-filter .mod-content { border-radius: 0; border-left: 0; border-right: 0; }
  .dzm-filter .df-item label { padding: 8px 0; }
  .dzm-filter .df-list { max-height: none; }
  .dzm-filter .df-mfoot { display: block; position: sticky; bottom: 0; background: #fff; padding: 10px 15px; border-top: 1px solid var(--df-line); z-index: 5; }
  .dzm-filter .df-show { width: 100%; height: 44px; border: 0; border-radius: 6px; background: var(--df-accent); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
  .df-mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; padding: 8px 12px; background: #fff; border-top: 1px solid #e4e4e4; box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); }
  .df-mbar-btn { width: 100%; height: 44px; border: 0; border-radius: 6px; background: var(--df-accent, #229ac8); color: #fff; font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
  .df-mbar-n { min-width: 20px; padding: 0 6px; border-radius: 10px; background: #fff; color: var(--df-accent, #229ac8); font-size: 12px; line-height: 20px; }
  /* Sheet mode (horizontal bar, or a theme without an off-canvas drawer): the module is a full-screen panel opened from the bottom bar */
  .dzm-filter.df-sheet { display: none; margin: 0; }
  .dzm-filter.df-sheet.df-sheet-open { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 10000; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .dzm-filter.df-sheet .df-title { display: block; padding: 14px 50px 0 15px; }
  .dzm-filter.df-sheet .df-sheet-close { display: block; position: absolute; top: 6px; right: 8px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 40px; color: #555; cursor: pointer; z-index: 6; }
  body.df-noscroll { overflow: hidden; }
  body.df-has-mbar { padding-bottom: 64px; }
}
