/* Compact shop controls: breadcrumb at left, filters and sorting at right. */
.shop-three-compact-toolbar {
  border-bottom: 1px solid #e8ebe7;
  background: #fff;
}

.shop-three-compact-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1360px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
}

.shop-three-compact-breadcrumb,
.shop-three-compact-actions {
  display: flex;
  align-items: center;
}

.shop-three-compact-breadcrumb {
  gap: 14px;
  min-width: 0;
  color: #6e7772;
  font-size: 18px;
}

.shop-three-compact-breadcrumb a { color: #202824; text-decoration: none; }
.shop-three-compact-breadcrumb b { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.shop-three-compact-actions { flex: 0 0 auto; }

.shop-three-filter-button {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 28px 0 0;
  padding: 6px 28px 6px 0;
  border: 0;
  border-right: 1px solid #e6e9e5;
  background: transparent;
  color: #454c48;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.shop-three-filter-button:hover { color: #1d2824; }

.shop-three-sort-control { margin: 0; }

.shop-three-sort-control select {
  min-width: 220px;
  padding: 8px 32px 8px 4px;
  border: 0;
  outline: 0;
  background-color: transparent;
  color: #7b8480;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shop-three-sidebar .shop-three-checks {
  display: grid;
  gap: 18px;
  padding: 22px 0 4px;
}

.shop-three-sidebar .shop-three-checks label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
}

.shop-three-sidebar .shop-three-checks input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: grid !important;
  place-content: center;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #cbd0ce;
  border-radius: 4px;
  background: #fff;
}

.shop-three-sidebar .shop-three-checks input[type="checkbox"]::after {
  width: 8px;
  height: 5px;
  content: "";
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
}

.shop-three-sidebar .shop-three-checks input[type="checkbox"]:checked {
  border-color: #1e3029;
  background: #1e3029;
}

.shop-three-sidebar .shop-three-checks input[type="checkbox"]:checked::after {
  transform: rotate(-45deg) scale(1);
}

@media (max-width: 520px) {
  .shop-three-compact-toolbar-inner {
    width: calc(100% - 32px);
    min-height: 64px;
    gap: 12px;
  }

  .shop-three-compact-breadcrumb { gap: 8px; font-size: 14px; }
  .shop-three-filter-button { margin-right: 8px; padding-right: 8px; font-size: 20px; }
  .shop-three-filter-button > span { display: none; }
  .shop-three-sort-control select { min-width: 132px; padding-right: 18px; font-size: 14px; }
  .shop-three-sidebar .shop-three-checks { gap: 14px; }
}
