/* Shop polish — scoped, reversible */
.shop-cats {
  --sc-blue: #0071bc;
  --sc-blue-dark: #005a96;
  --sc-blue-soft: #e8f4fb;
  --sc-border: #e3e8ee;
  --sc-muted: #6b7a8a;
  --sc-text: #1e2a35;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 16px 14px 12px;
  box-shadow: 0 8px 24px rgba(30, 42, 53, 0.05);
}

.shop-cats h3 {
  margin: 0 0 14px !important;
  padding: 0 4px 10px !important;
  border-bottom: 1px solid var(--sc-border);
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sc-blue) !important;
  line-height: 1.2 !important;
}

.shop-cats__group + .shop-cats__group {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eef2f6;
}

.shop-cats__head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.shop-cats__line {
  flex: 1;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  color: var(--sc-text) !important;
  text-decoration: none !important;
  padding: 6px 8px !important;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.shop-cats__line:hover,
.shop-cats__line.is-active {
  background: var(--sc-blue-soft);
  color: var(--sc-blue-dark) !important;
}

.shop-cats__toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--sc-border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.shop-cats__toggle:hover {
  background: var(--sc-blue-soft);
  border-color: #b7d8ef;
}

.shop-cats__chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--sc-muted);
  border-bottom: 2px solid var(--sc-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -3px;
}

.shop-cats__group.is-open .shop-cats__chevron {
  transform: rotate(225deg);
  margin-top: 3px;
}

.shop-cats__list {
  list-style: none;
  margin: 0 !important;
  padding: 4px 0 2px !important;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.shop-cats__group.is-open .shop-cats__list {
  max-height: 720px;
  opacity: 1;
}

.shop-cats__list > li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.shop-cats__list > li > a {
  display: block !important;
  padding: 7px 10px !important;
  margin: 1px 0 !important;
  border-radius: 8px;
  font-size: 0.88rem !important;
  color: var(--sc-muted) !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  transition: background 0.12s ease, color 0.12s ease;
}

.shop-cats__list > li > a:hover {
  background: #f5faff;
  color: var(--sc-blue) !important;
}

.shop-cats__list > li > a.is-active {
  background: var(--sc-blue);
  color: #fff !important;
  font-weight: 600;
}

@media (min-width: 992px) {
  .shop_area .sidebar_widget {
    position: sticky;
    top: 20px;
  }
}

.shop_area .shop_toolbar_wrapper {
  border: 1px solid var(--sc-border, #e3e8ee);
  border-radius: 12px;
  padding: 12px 16px;
  background: #fff;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(30, 42, 53, 0.04);
}

.shop_area .page_amount p {
  margin: 0;
  color: #6b7a8a;
  font-size: 0.9rem;
}
