/* ==========================================================================
   DL v2 — shop filters (preview only). Loads after dl-design-v2.css on the
   shop, product categories and product search, body.dl-v2.dl-f-on.
   Radius rule: dl-design-v2.css zeroes every radius with
   `body.dl-v2 :not(#dl-sq):not(#dl-sq)`, so every radius here carries the
   same two :not(#dl-sq).
   ========================================================================== */

/* --- 1. The theme's own sidebar widgets and toolbar extras --------------- */

body.dl-v2.dl-f-on #sidebar > .widget,
body.dl-v2.dl-f-on #sidebar .widget_product_categories,
body.dl-v2.dl-f-on #sidebar .widget_layered_nav,
body.dl-v2.dl-f-on #sidebar .widget_price_filter,
body.dl-v2.dl-f-on #sidebar .widget_products,
body.dl-v2.dl-f-on #sidebar .widget_electro_products_filter,
body.dl-v2.dl-f-on .handheld-sidebar-toggle,
body.dl-v2.dl-f-on .shop-view-switcher,
body.dl-v2.dl-f-on .form-electro-wc-ppp,
body.dl-v2.dl-f-on .shop-control-bar .electro-advanced-pagination,
body.dl-v2.dl-f-on .shop-control-bar .form-adv-pagination,
body.dl-v2.dl-f-on .page-header .woocommerce-result-count {
  display: none !important;
}

/* The sort select moved next to the result line; the old bar is empty now. */
body.dl-v2.dl-f-on.dl-f-sortmoved .shop-control-bar {
  display: none !important;
}

/* --- 2. Layout: rail column 280px on desktop ----------------------------- */

@media (min-width: 992px) {
  body.dl-v2.dl-f-on .site-content-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  body.dl-v2.dl-f-on .site-content-inner > #sidebar {
    position: static !important;
    left: auto !important;
    transform: none !important;
    display: block !important;
    visibility: visible !important;
    flex: 0 0 319px !important;
    max-width: 319px !important;
    width: 319px !important;
    height: auto !important;
    padding: 0 24px 0 15px !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    order: -1;
  }
  body.dl-v2.dl-f-on .site-content-inner > #primary {
    flex: 1 1 0 !important;
    max-width: calc(100% - 319px) !important;
    width: auto !important;
    min-width: 0;
  }
  body.dl-v2.dl-f-on .dl-f-bar,
  body.dl-v2.dl-f-on .dl-f-bar-ph {
    display: none !important;
  }
}

/* 992-1199: the rail takes 319px, so four cards per row would be ~140px wide. */
@media (min-width: 992px) and (max-width: 1199px) {
  body.dl-v2.dl-f-on ul.products.row > li.product {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    width: 33.3333% !important;
  }
}

@media (max-width: 991px) {
  /* The rail moves into the drawer; the theme's 280px off-canvas goes away. */
  body.dl-v2.dl-f-on.dl-f-js #sidebar {
    display: none !important;
  }
  body.dl-v2.dl-f-on.dl-f-js .site-content-inner > #primary {
    flex: 1 1 100% !important;
    max-width: 100% !important;
  }
}

/* --- 3. Rail ------------------------------------------------------------- */

body.dl-v2 .dl-f-rail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  font-family: var(--text);
  color: var(--ink);
}

body.dl-v2 .dl-f-title {
  margin: 0 0 2px !important;
  font: 700 12px/1.3 var(--text) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: var(--slate) !important;
}

body.dl-v2 .dl-f-facet:not(#dl-sq):not(#dl-sq) {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--sq-md) !important;
  corner-shape: squircle;
  padding: 14px 14px 10px;
  margin: 0 !important;
}

body.dl-v2 .dl-f-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

body.dl-v2 .dl-f-facet.is-collapsed .dl-f-head { margin-bottom: 2px; }

body.dl-v2 button.dl-f-toggle:not(#dl-sq):not(#dl-sq) {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font: 700 15px/1.2 var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
  flex: 1 1 auto;
  justify-content: space-between;
  text-align: left;
}

body.dl-v2 .dl-f-chev {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--slate);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
  flex: 0 0 18px;
}

body.dl-v2 .dl-f-facet.is-collapsed .dl-f-chev { transform: rotate(-90deg); }
body.dl-v2 .dl-f-facet.is-collapsed .dl-f-body { display: none; }

body.dl-v2 a.dl-f-clear {
  font: 600 13px/1 var(--text);
  color: var(--navy) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 2px;
  white-space: nowrap;
}

body.dl-v2 .dl-f-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.dl-v2 .dl-f-list > li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

body.dl-v2 .dl-f-list > li::before { content: none !important; }

body.dl-v2 .dl-f-facet:not(.is-expanded) .is-more { display: none !important; }

body.dl-v2 .dl-f-row > a:not(#dl-sq):not(#dl-sq),
body.dl-v2 .dl-f-row--cur:not(#dl-sq):not(#dl-sq) {
  display: flex !important;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 0 -6px;
  padding: 4px 6px;
  color: var(--ink) !important;
  font: 400 14px/1.3 var(--text) !important;
  text-decoration: none !important;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
}

body.dl-v2 .dl-f-row > a:hover { background: var(--mist); }
body.dl-v2 .dl-f-row > a[aria-checked="true"] .dl-f-label { font-weight: 600; }
body.dl-v2 .dl-f-row > a.is-zero { opacity: .45; }
body.dl-v2 .dl-f-row.is-zero-row:not(#dl-sq):not(#dl-sq) { display: none !important; }

body.dl-v2 .dl-f-row--cur .dl-f-label { font-weight: 700; }
body.dl-v2 .dl-f-row--back > a { color: var(--navy) !important; font-size: 13.5px !important; }

body.dl-v2 .dl-f-label {
  flex: 1 1 auto;
  min-width: 0;
}

body.dl-v2 .dl-f-count {
  margin-left: auto;
  color: var(--slate);
  font: 500 13px/1 var(--text);
  font-variant-numeric: tabular-nums;
}

/* Checkbox */
body.dl-v2 .dl-f-box:not(#dl-sq):not(#dl-sq) {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-2);
  background: var(--paper);
  border-radius: 6px !important;
  corner-shape: squircle;
  transition: background .12s ease, border-color .12s ease;
}

body.dl-v2 .dl-f-row > a:hover .dl-f-box { border-color: var(--slate); }

body.dl-v2 [aria-checked="true"] > .dl-f-box:not(#dl-sq):not(#dl-sq) {
  background: var(--green);
  border-color: var(--green);
}

body.dl-v2 [aria-checked="true"] > .dl-f-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Radio (price bands) */
body.dl-v2 .dl-f-radio:not(#dl-sq):not(#dl-sq) {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 50% !important;
  background: var(--paper);
}

body.dl-v2 [aria-checked="true"] > .dl-f-radio:not(#dl-sq):not(#dl-sq) { border-color: var(--green); }

body.dl-v2 [aria-checked="true"] > .dl-f-radio:not(#dl-sq):not(#dl-sq)::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50% !important;
  background: var(--green);
}

/* See more */
body.dl-v2 button.dl-f-more:not(#dl-sq):not(#dl-sq) {
  display: inline-flex !important;
  align-items: center;
  min-height: 32px;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--navy) !important;
  font: 600 13px/1 var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

body.dl-v2 button.dl-f-more:hover { text-decoration: underline; }

/* Colour swatches */
body.dl-v2 .dl-f-list--sw {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px !important;
}

body.dl-v2 .dl-f-row--sw > a:not(#dl-sq):not(#dl-sq) {
  width: 36px;
  height: 36px;
  min-height: 0;
  margin: 0;
  padding: 0;
  justify-content: center;
  border-radius: 50% !important;
}

body.dl-v2 .dl-f-row--sw .dl-f-label,
body.dl-v2 .dl-f-row--sw .dl-f-count {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.dl-v2 .dl-f-sw:not(#dl-sq):not(#dl-sq) {
  width: 24px;
  height: 24px;
  border-radius: 50% !important;
  background: var(--sw, #cfd8e3);
  box-shadow: inset 0 0 0 1px rgba(20, 33, 47, .18);
}

body.dl-v2 .dl-f-row--sw > a[aria-checked="true"]:not(#dl-sq):not(#dl-sq) {
  box-shadow: 0 0 0 2px var(--green);
}

/* Price */
body.dl-v2 .dl-f-price {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: end;
  gap: 6px;
  margin: 10px 0 4px;
}

body.dl-v2 .dl-f-price__f {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 !important;
  min-width: 0;
}

body.dl-v2 .dl-f-price__f > span {
  font: 600 12px/1 var(--text);
  color: var(--slate);
}

body.dl-v2 .dl-f-price input[type="number"]:not(#dl-sq):not(#dl-sq) {
  width: 100% !important;
  min-width: 0;
  height: 46px !important;
  padding: 0 10px !important;
  border: 1px solid var(--line-2) !important;
  background: var(--paper) !important;
  font: 500 15px/1 var(--text) !important;
  color: var(--ink) !important;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

body.dl-v2 .dl-f-price input::-webkit-outer-spin-button,
body.dl-v2 .dl-f-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

body.dl-v2 .dl-f-price__to {
  align-self: center;
  padding-top: 16px;
  color: var(--slate);
}

body.dl-v2 button.dl-f-go:not(#dl-sq):not(#dl-sq) {
  height: 46px !important;
  min-width: 52px;
  padding: 0 14px !important;
  border: 0 !important;
  background: var(--green) !important;
  color: #fff !important;
  font: 700 15px/1 var(--text) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
  cursor: pointer;
}

body.dl-v2 button.dl-f-go:hover { background: var(--green-dark) !important; }

/* --- 4. Result line, sort, chips ---------------------------------------- */

body.dl-v2 .dl-f-top {
  margin: 0 0 16px;
  width: 100%;
}

body.dl-v2 .dl-f-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}

body.dl-v2 p.dl-f-results {
  margin: 0 !important;
  font: 600 16px/1.3 var(--text) !important;
  color: var(--ink) !important;
}

body.dl-v2 .dl-f-toolbar .woocommerce-ordering {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  float: none !important;
}

body.dl-v2 .dl-f-sortlab {
  margin: 0 !important;
  font: 500 14px/1 var(--text) !important;
  color: var(--slate) !important;
  white-space: nowrap;
}

body.dl-v2 .dl-f-toolbar select.orderby:not(#dl-sq):not(#dl-sq) {
  height: 46px !important;
  min-width: 200px;
  padding: 0 36px 0 14px !important;
  border: 1px solid var(--line-2) !important;
  background-color: var(--paper) !important;
  font: 500 15px/1 var(--text) !important;
  color: var(--ink) !important;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
}

body.dl-v2 .dl-f-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

body.dl-v2 a.dl-f-chip:not(#dl-sq):not(#dl-sq) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px 0 14px;
  background: #eef8ec;
  border: 1px solid #c7e9c2;
  color: var(--ink) !important;
  font: 600 13.5px/1 var(--text) !important;
  text-decoration: none !important;
  white-space: nowrap;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
}

body.dl-v2 .dl-f-x:not(#dl-sq):not(#dl-sq) {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50% !important;
  background: rgba(20, 33, 47, .08);
  font: 600 15px/1 var(--text);
  color: var(--ink);
}

body.dl-v2 a.dl-f-chip:hover .dl-f-x { background: rgba(20, 33, 47, .16); }

body.dl-v2 a.dl-f-clearall {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 6px;
  font: 600 13.5px/1 var(--text);
  color: var(--navy) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* --- 5. Pagination: squircle, 44px ------------------------------------- */

body.dl-v2.dl-f-on .woocommerce-pagination ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.dl-v2.dl-f-on .woocommerce-pagination ul.page-numbers > li {
  border: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body.dl-v2.dl-f-on .woocommerce-pagination .page-numbers:not(ul):not(#dl-sq):not(#dl-sq) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 10px !important;
  line-height: 1 !important;
  font: 600 15px/1 var(--text) !important;
  border: 1px solid var(--line-2) !important;
  background: var(--paper);
  color: var(--ink) !important;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
}

body.dl-v2.dl-f-on .woocommerce-pagination .page-numbers.current:not(#dl-sq):not(#dl-sq) {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

body.dl-v2.dl-f-on .woocommerce-pagination .page-numbers.dots:not(#dl-sq):not(#dl-sq) {
  border-color: transparent !important;
  min-width: 24px !important;
}

/* --- 6. Phone + tablet: bar, drawer, sheet ------------------------------ */

body.dl-v2 .dl-f-bar { display: none; }
body.dl-v2 .dl-f-drawer[hidden],
body.dl-v2 .dl-f-sheet[hidden] { display: none !important; }

@media (max-width: 991px) {
  body.dl-v2.dl-f-js .dl-f-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 900;
  }
  body.dl-v2.dl-f-js .dl-f-bar.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 6px 18px rgba(20, 33, 47, .08);
  }
  body.dl-v2.admin-bar.dl-f-js .dl-f-bar.is-fixed { top: 46px; }

  body.dl-v2 button.dl-f-bar__btn:not(#dl-sq):not(#dl-sq) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 44px;
    height: 46px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    border: 1px solid var(--line-2) !important;
    background: var(--paper) !important;
    color: var(--ink) !important;
    font: 600 15px/1 var(--text) !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    border-radius: var(--sq-sm) !important;
    corner-shape: squircle;
    overflow: hidden;
  }
  body.dl-v2 .dl-f-bar__btn svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  body.dl-v2 .dl-f-bar__sort {
    font: 500 13px/1 var(--text);
    font-style: normal;
    color: var(--slate);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  body.dl-v2 .dl-f-badge:not(#dl-sq):not(#dl-sq) {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px !important;
    background: var(--green);
    color: #fff;
    font: 700 12px/1 var(--text);
  }

  /* Phone result line: chips scroll sideways, the sheet replaces the select */
  body.dl-v2.dl-f-js .dl-f-toolbar .woocommerce-ordering { display: none !important; }
  body.dl-v2 .dl-f-toolbar { min-height: 0; }
  body.dl-v2 p.dl-f-results { font-size: 15px !important; }
  body.dl-v2 .dl-f-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -12px;
    padding-right: 12px;
  }
  body.dl-v2 .dl-f-chips::-webkit-scrollbar { display: none; }
  body.dl-v2 a.dl-f-chip:not(#dl-sq):not(#dl-sq) { min-height: 40px; flex: 0 0 auto; }
}

html.dl-f-lock,
html.dl-f-lock body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.dl-v2 .dl-f-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  background: var(--mist);
  font-family: var(--text);
}

body.dl-v2 .dl-f-drawer__head,
body.dl-v2 .dl-f-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
  padding: 0 8px 0 16px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

body.dl-v2 .dl-f-drawer__head h2,
body.dl-v2 .dl-f-sheet__head h2 {
  margin: 0 !important;
  font: 700 18px/1.2 var(--text) !important;
  color: var(--ink) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.dl-v2 button.dl-f-close:not(#dl-sq):not(#dl-sq) {
  display: inline-grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  border-radius: var(--sq-sm) !important;
}

body.dl-v2 button.dl-f-close:hover { background: var(--mist) !important; }

body.dl-v2 .dl-f-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.dl-v2 .dl-f-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 12px;
}

body.dl-v2 .dl-f-drawer .dl-f-rail { max-width: none; gap: 10px; }
body.dl-v2 .dl-f-drawer .dl-f-title { display: none; }
body.dl-v2 .dl-f-drawer .dl-f-facet:not(#dl-sq):not(#dl-sq) { padding: 4px 14px; }
body.dl-v2 .dl-f-drawer .dl-f-head { margin: 0; }
body.dl-v2 .dl-f-drawer button.dl-f-toggle:not(#dl-sq):not(#dl-sq) { min-height: 52px; font-size: 16px !important; }
body.dl-v2 .dl-f-drawer .dl-f-body { padding-bottom: 10px; }
body.dl-v2 .dl-f-drawer .dl-f-row > a:not(#dl-sq):not(#dl-sq),
body.dl-v2 .dl-f-drawer .dl-f-row--cur:not(#dl-sq):not(#dl-sq) { min-height: 48px; font-size: 15px !important; }
body.dl-v2 .dl-f-drawer .dl-f-row--sw > a:not(#dl-sq):not(#dl-sq) { width: 48px; height: 48px; min-height: 0; }
body.dl-v2 .dl-f-drawer .dl-f-list--sw { gap: 4px; }
body.dl-v2 .dl-f-drawer button.dl-f-more:not(#dl-sq):not(#dl-sq) { min-height: 44px; }
body.dl-v2 .dl-f-drawer a.dl-f-clear { padding: 14px 6px; }
body.dl-v2 .dl-f-drawer .dl-f-price input[type="number"] { font-size: 16px !important; }

body.dl-v2 .dl-f-drawer__foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

body.dl-v2 .dl-f-drawer__foot a:not(#dl-sq):not(#dl-sq) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 18px;
  font: 700 16px/1 var(--text) !important;
  text-decoration: none !important;
  border-radius: var(--sq-sm) !important;
  corner-shape: squircle;
  white-space: nowrap;
}

body.dl-v2 a.dl-f-drawer__clear:not(#dl-sq):not(#dl-sq) {
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--ink) !important;
}

body.dl-v2 a.dl-f-drawer__apply:not(#dl-sq):not(#dl-sq) {
  background: var(--green);
  color: #fff !important;
}

body.dl-v2 a.dl-f-drawer__apply.is-empty:not(#dl-sq):not(#dl-sq) {
  background: var(--line-2);
  color: var(--ink) !important;
  pointer-events: none;
}

/* Sort sheet */
body.dl-v2 .dl-f-sheet {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  background: rgba(20, 33, 47, .45);
}

body.dl-v2 .dl-f-sheet__panel:not(#dl-sq):not(#dl-sq) {
  width: 100%;
  max-height: 80vh;
  overflow: auto;
  background: var(--paper);
  padding-bottom: env(safe-area-inset-bottom);
  border-radius: var(--sq-lg) var(--sq-lg) 0 0 !important;
  corner-shape: squircle;
}

body.dl-v2 .dl-f-sheet__head { border-radius: inherit; }

body.dl-v2 .dl-f-sheet__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 0 12px !important;
}

body.dl-v2 .dl-f-sheet__list li { margin: 0 !important; border: 0 !important; }

body.dl-v2 .dl-f-sheet__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 20px;
  font: 500 16px/1.2 var(--text) !important;
  color: var(--ink) !important;
  text-decoration: none !important;
}

body.dl-v2 .dl-f-sheet__list a[aria-current="true"] { font-weight: 700 !important; }

body.dl-v2 .dl-f-sheet__list a[aria-current="true"]::after {
  content: "";
  width: 6px;
  height: 12px;
  margin-right: 4px;
  border: solid var(--green);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}
