/* Keep the established carousel gutters and refine only the visible controls. */
:is(.home .homeProducts__items, .productRelated__items) > .slick-arrow:not(.slick-hidden) {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-top: 0;
  border: 1px solid #cbd5d8;
  border-radius: 50%;
  background: #fff;
  color: #30383a;
  transform: translateY(-50%);
}

:is(.home .homeProducts__items, .productRelated__items) > .slick-arrow:not(.slick-hidden)::before {
  color: inherit;
  font-size: 20px;
}

:is(.home .homeProducts__items, .productRelated__items) > .slick-arrow:not(.slick-hidden):hover {
  border-color: #58797f;
  background: #f4f6f6;
  opacity: 1;
}

:is(.home .homeProducts__items, .productRelated__items) > .slick-arrow:not(.slick-hidden):focus-visible,
.breadcrumbs a:focus-visible {
  outline: 2px solid #58797f;
  outline-offset: 2px;
}

.breadcrumbs {
  color: #59676a;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.breadcrumbs a {
  color: #415b60;
  text-underline-offset: 2px;
}

.breadcrumbs .separator::before {
  color: #68787a;
}

.home :is(.homeProducts__title, .homeBenefits__title) {
  font-size: clamp(24px, 2.6vw, 32px);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home :is(.homeProducts__title, .homeBenefits__title) span {
  font-weight: inherit;
  text-transform: none;
}

.home .homeProducts__title {
  margin-bottom: clamp(16px, 2vw, 26px);
}

:is(.homeProducts, ul.products .row) .woocommerce-loop-product .price del {
  color: #59676a;
  opacity: 1 !important;
}

.filters .filterRange label {
  color: #59676a;
  font-style: normal;
  font-weight: 500;
}

.filters .filterRange .form-control {
  height: 38px;
  padding-inline: 9px;
  border: 1px solid #b4c0c4;
  border-radius: 7px;
  color: #30383a;
  font-size: 14px;
}

.filters .filterRange .form-control::placeholder {
  color: #59676a;
  opacity: 1;
}

.filters .filterRange .form-control:focus {
  border-color: #58797f;
}

.btn-filters {
  min-height: 44px;
  border-radius: 8px;
}

.mtd-catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, max-content) max-content minmax(min-content, 1fr);
  align-items: baseline;
  gap: 4px 14px;
  margin-bottom: 18px;
}

.mtd-catalog-heading > h1 {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.mtd-catalog-toolbar:not([hidden]) { display: contents; }
.mtd-catalog-toolbar[hidden] { display: none; }

.mtd-catalog-toolbar__count {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #59676a;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
  white-space: nowrap;
}

.mtd-catalog-toolbar__controls {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mtd-catalog-toolbar__controls .btn-filters {
  width: auto;
  padding: 0 11px;
  border-color: #b4c0c4;
  color: #30383a;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}

.mtd-catalog-toolbar__controls .btn-filters[aria-expanded='true'] { background: #edf2f3; }

.mtd-catalog-toolbar__controls select {
  width: auto;
  min-width: 164px;
  height: 44px;
  padding: 0 32px 0 10px;
  border: 1px solid #b4c0c4;
  border-radius: 8px;
  color: #30383a;
  font-size: 16px;
  box-shadow: none;
}

.mtd-catalog-toolbar__controls select:focus-visible { outline: 2px solid #58797f; outline-offset: 2px; }

.woocommerce nav.woocommerce-pagination ul li :is(a, span).page-numbers {
  border-radius: 7px;
  color: #59676a;
}

.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li .page-numbers.current {
  background: #edf2f3;
  color: #30383a;
}

.woocommerce nav.woocommerce-pagination ul li .page-numbers.current {
  font-weight: 700;
}

:is(.btn-filters, .filters .btn-reset, .filters .filterRange .form-control, .filters .ui-slider .ui-slider-handle,
    .woocommerce-pagination a):focus-visible {
  outline: 2px solid #58797f !important;
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .mtd-catalog-heading {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    margin-bottom: 14px;
  }

  .mtd-catalog-toolbar__count {
    grid-column: 1;
    grid-row: 2;
  }

  .mtd-catalog-toolbar__controls {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    margin-top: 6px;
  }

  .mtd-catalog-toolbar__controls select {
    width: 100%;
    min-width: 0;
    padding-right: 22px;
  }

  .mtd-catalog-toolbar__controls noscript { grid-column: 1 / -1; }

  .filters .filterRange .form-control {
    height: 44px;
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  :is(.homeProducts, ul.products .row) .woocommerce-loop-product .price del .woocommerce-Price-amount {
    font-size: 11px;
  }

  :is(.home .homeProducts__items, .productRelated__items) > .slick-arrow:not(.slick-hidden) {
    width: 32px;
    height: 32px;
  }

  :is(.home .homeProducts__items, .productRelated__items) > .slick-arrow.slick-prev:not(.slick-hidden) {
    left: -24px;
  }

  :is(.home .homeProducts__items, .productRelated__items) > .slick-arrow.slick-next:not(.slick-hidden) {
    right: -24px;
  }
}
