.v2-cat-header {
  --v2-cat-title: clamp(1.75rem, 3.5vw, 2.35rem);
  --v2-cat-body: 0.875rem;
  --v2-cat-meta: 0.75rem;
  --v2-cat-lh: 1.55;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--v2-space-md);
  align-items: start;
  margin-bottom: var(--v2-space-sm);
  padding: var(--v2-space-md) var(--v2-space-lg);
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
}

.v2-cat-header__title {
  font-family: var(--v2-serif);
  font-size: var(--v2-cat-title);
  margin: 0;
  font-weight: 400;
  line-height: 1.25;
}

.v2-cat-header__desc .popis-kategorie {
  margin-top: var(--v2-space-sm);
  font-size: var(--v2-cat-body);
  line-height: var(--v2-cat-lh);
}

.v2-cat-header .popis-kategorie .vcdt-more {
  font-size: var(--v2-cat-meta);
}

.v2-cat-header .v2-cat-landing__story,
.v2-cat-header .v2-cat-landing__para,
.v2-cat-header .v2-cat-landing__usps span,
.v2-cat-header .v2-cat-landing__blog,
.v2-cat-header .v2-cat-landing__blog a,
.v2-cat-header .v2-usp__review-text,
.v2-cat-header .v2-usp__item p {
  font-size: var(--v2-cat-body);
  line-height: var(--v2-cat-lh);
}

.v2-cat-header .v2-eyebrow,
.v2-cat-header .v2-cat-landing__usps strong,
.v2-cat-header .v2-usp__review-meta,
.v2-cat-header .v2-usp__item h3 {
  font-size: var(--v2-cat-meta);
  line-height: 1.45;
}

.v2-cat-header .v2-eyebrow {
  margin-bottom: var(--v2-space-xs);
}

.v2-cat-header .v2-cat-landing__story,
.v2-cat-header .v2-cat-landing__para {
  margin: 0 0 var(--v2-space-sm);
}

.v2-cat-header .v2-cat-landing__usps strong {
  display: block;
  margin-bottom: .12rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--v2-accent);
  opacity: 1;
}

.v2-cat-header .v2-cat-landing__usps {
  grid-template-columns: 1fr;
  gap: .55rem;
  margin-top: var(--v2-space-xs);
}

.v2-cat-header .v2-cat-landing__usps li {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.v2-cat-header .v2-cat-landing__usps span {
  opacity: .88;
}

.v2-cat-header .v2-cat-landing__blog {
  margin: var(--v2-space-sm) 0 0;
}

.v2-cat-header .v2-cat-landing__blog a {
  font-weight: 600;
}

.v2-cat-header .v2-cat-landing--inline {
  margin-top: var(--v2-space-sm);
}

.v2-cat-header .v2-cat-landing__intro {
  margin-bottom: var(--v2-space-sm);
}

.v2-cat-header .v2-cat-landing--inline .v2-cat-landing__grid {
  grid-template-columns: minmax(200px, 300px) minmax(0, 1fr);
  gap: var(--v2-space-md);
  align-items: stretch;
}

.v2-cat-header .v2-cat-landing--inline .v2-cat-landing__photo,
.v2-cat-header .v2-cat-landing--inline .v2-cat-landing__photo-placeholder,
.v2-cat-header .v2-cat-landing--inline .v2-cat-landing__carousel {
  width: 100%;
  min-height: 260px;
  max-height: 300px;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.v2-cat-header .v2-cat-landing__carousel-slide {
  padding: 0;
}

.v2-cat-header .v2-cat-landing__carousel-slide img {
  border-radius: var(--v2-radius-sm);
}

.v2-cat-header .v2-usp--cat-header {
  padding: 0;
}

.v2-cat-header__usp {
  align-self: end;
}

.v2-cat-header .v2-usp__inner {
  width: 100%;
}

.v2-cat-header .v2-usp__reviews-wrap {
  max-width: none;
  margin: 0;
}

.v2-cat-header .v2-usp__reviews-stack {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.v2-cat-header .v2-usp__reviews-stack .v2-usp__review {
  padding: .45rem .65rem;
}

.v2-cat-header .v2-usp__reviews-stack .v2-usp__review-text {
  margin-bottom: .2rem;
  font-style: italic;
  line-height: 1.45;
}

.v2-cat-header .v2-usp__review-meta {
  gap: .45rem;
}

.v2-subcats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--v2-space-md);
  margin-bottom: var(--v2-space-lg);
}

.v2-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--v2-space-md);
  margin-bottom: var(--v2-space-md);
  padding: var(--v2-space-md);
  background: #fff;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-radius);
}

.v2-catalog-toolbar__ordering { margin-left: auto; }

.v2-sort {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.v2-sort__label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--v2-text);
  white-space: nowrap;
}

.v2-sort .woocommerce-ordering {
  margin: 0;
}

.v2-sort .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  min-width: 210px;
  padding: .55rem 2.25rem .55rem .85rem;
  border: 1px solid var(--v2-border);
  border-radius: 999px;
  background: var(--v2-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231C1510' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .85rem center;
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  color: var(--v2-text);
  cursor: pointer;
  transition: border-color var(--v2-transition), box-shadow var(--v2-transition);
}

.v2-sort .woocommerce-ordering select:hover,
.v2-sort .woocommerce-ordering select:focus-visible {
  border-color: rgba(224, 152, 64, 0.45);
  box-shadow: var(--v2-focus);
  outline: none;
}

.v2-page__card {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.v2-price-filter { flex: 1 1 280px; max-width: 420px; }

.v2-price-filter .vpf-native-slider {
  position: relative;
  height: 36px;
  margin-bottom: .5rem;
}

.v2-price-filter .vpf-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--v2-bg-alt);
  border-radius: 999px;
  transform: translateY(-50%);
}

.v2-price-filter .vpf-range-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--v2-accent);
  border-radius: 999px;
}

.v2-price-filter input[type="range"] {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.v2-price-filter input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--v2-accent);
  cursor: pointer;
}

.v2-price-filter__values {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
}

.v2-price-filter__chip {
  margin-top: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.v2-price-filter__chip-reset {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 .25rem;
}

.vpf-hidden { display: none !important; }

.v2-breadcrumbs {
  margin: var(--v2-space-md) 0;
  font-size: .88rem;
}

.v2-breadcrumbs a { color: var(--v2-text); text-decoration: none; }
.v2-breadcrumbs a:hover { color: var(--v2-accent); }

#v2-products ul.products.is-loading {
  opacity: .45;
  pointer-events: none;
}

.v2-hestia-products-divider {
  margin: var(--v2-space-xl) 0 var(--v2-space-lg);
  border: 0;
  border-top: 1px solid var(--v2-border);
}

@media (max-width: 960px) {
  .v2-cat-header {
    grid-template-columns: 1fr;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
  }
  .v2-cat-header__title {
    font-size: clamp(1.55rem, 5.5vw, 2rem);
  }
  .v2-cat-header__usp {
    display: none;
  }
  .v2-cat-header .v2-cat-landing--inline .v2-cat-landing__grid {
    grid-template-columns: 1fr;
    gap: var(--v2-space-sm);
  }
  .v2-cat-header .v2-cat-landing--inline .v2-cat-landing__photo,
  .v2-cat-header .v2-cat-landing--inline .v2-cat-landing__photo-placeholder,
  .v2-cat-header .v2-cat-landing--inline .v2-cat-landing__carousel {
    min-height: 200px;
    max-height: 220px;
  }
  .v2-cat-header .v2-cat-landing__usps {
    grid-template-columns: 1fr;
  }
  .v2-subcats {
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }
  .v2-catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
    overflow: hidden;
  }
  .v2-price-filter {
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .v2-price-filter .vpf-native-slider {
    height: 32px;
    margin-bottom: 0.35rem;
  }
  .v2-price-filter__values {
    font-size: 0.8rem;
  }
  .v2-catalog-toolbar__ordering {
    margin-left: 0;
    width: 100%;
  }
  .v2-sort {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  .v2-sort__label {
    font-size: 0.82rem;
  }
  .v2-sort .woocommerce-ordering {
    width: 100%;
    min-width: 0;
  }
  .v2-sort .woocommerce-ordering select {
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

.v2-cat-scroll-hint {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--v2-glass-border);
  border-radius: 999px;
  background: var(--v2-glass-bg);
  backdrop-filter: blur(var(--v2-glass-blur)) saturate(1.12);
  -webkit-backdrop-filter: blur(var(--v2-glass-blur)) saturate(1.12);
  box-shadow: var(--v2-glass-shadow);
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.v2-cat-scroll-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-cat-scroll-hint__arrow {
  font-size: 0.95rem;
  line-height: 1;
}

@media (min-width: 769px) {
  .v2-cat-scroll-hint {
    right: 1.25rem;
    bottom: 1.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
}
