.shop-shell {
  padding: 30px 0 56px;
  background: #dddddd;
}

.shop-shell__head {
  margin-bottom: 30px;
}

.shop-shell__title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}

.shop-shell__head h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.shop-shell__meta,
.shop-shell__description {
  color: #3c3c3c;
  font-size: 0.9rem;
}

.shop-shell__bottom-description {
  margin-top: 30px;
  padding: 24px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 20px;
  color: #3c3c3c;
  font-size: 0.92rem;
  line-height: 1.65;
}

.shop-shell__bottom-description > :first-child {
  margin-top: 0;
}

.shop-shell__bottom-description > :last-child {
  margin-bottom: 0;
}

.smart-search--shop {
  width: min(100%, 620px);
  margin-top: 20px;
}

.smart-search--shop .smart-search__field {
  min-height: 58px;
  border-color: #c8c8c8;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.smart-search--shop .smart-search__results {
  z-index: 25;
}

.wvt-shop-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

.wvt-shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.wvt-shop-filter {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid #c8c8c8;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 0.82rem;
  font-weight: 900;
}

.wvt-shop-filter:hover,
.wvt-shop-filter.is-active {
  border-color: var(--wvt-red);
  background: var(--wvt-red);
  color: #fff;
}

.wvt-advanced-filter-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid #191919;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

.wvt-advanced-filter-toggle:hover,
.wvt-advanced-filter-toggle.is-active,
.wvt-advanced-filter-toggle.is-open {
  border-color: var(--wvt-red);
  background: var(--wvt-red);
  color: #fff;
}

.wvt-advanced-filter-toggle__icon,
.wvt-advanced-filters__head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wvt-advanced-filter-toggle__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.wvt-advanced-filter-toggle strong {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--wvt-red);
  font-size: 0.72rem;
}

.wvt-advanced-filters {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
}

.wvt-advanced-filters[hidden] {
  display: none;
}

.wvt-advanced-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.wvt-advanced-filters__head span {
  display: inline-block;
  margin-bottom: 3px;
  color: var(--wvt-red);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wvt-advanced-filters__head h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

.wvt-advanced-filters__head button {
  width: 40px;
  height: 40px;
  border: 1px solid #dedede;
  border-radius: 50%;
  background: #f7f7f7;
  color: #111;
}

.wvt-advanced-filters__head button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.wvt-advanced-filters__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr) minmax(240px, 0.75fr);
  gap: 12px;
}

.wvt-advanced-filter-group {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: #f8f8f8;
}

.wvt-advanced-filter-group__title {
  display: block;
  margin-bottom: 10px;
  color: #111;
  font-size: 0.78rem;
  font-weight: 900;
}

.wvt-advanced-filter-group__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 120px;
  gap: 10px;
}

.wvt-advanced-filter-group__fields--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wvt-advanced-filters label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.wvt-advanced-filters label span {
  color: #555;
  font-size: 0.72rem;
  font-weight: 900;
}

.wvt-advanced-filters input,
.wvt-advanced-filters select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  border: 1px solid #d3d3d3;
  border-radius: 12px;
  background: #fff;
  color: var(--wvt-text);
  outline: 0;
}

.wvt-advanced-filters input:focus,
.wvt-advanced-filters select:focus {
  border-color: rgba(225, 6, 0, 0.36);
  box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.08);
}

.wvt-advanced-filters__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.wvt-advanced-filters__actions button,
.wvt-advanced-filters__actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
}

.wvt-advanced-filters__actions button {
  border: 0;
  background: var(--wvt-red);
  color: #fff;
}

.wvt-advanced-filters__actions a {
  border: 1px solid #d3d3d3;
  background: #fff;
  color: #333;
}

.shop-shell__ordering select {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #c8c8c8;
  border-radius: 16px;
  background: #fff;
}

.wvt-product-card {
  list-style: none;
}

.wvt-product-card__article {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wvt-product-card__article:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
}

.wvt-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 18px 16px 12px;
  background: #fff;
}

.wvt-product-card__image {
  width: 100%;
  max-width: 184px;
  height: 176px;
  object-fit: contain;
}

.wvt-product-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 74px);
}

.wvt-product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--wvt-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wvt-product-card__badge--stock,
.wvt-product-card__badge--popular {
  background: #111;
}

.wvt-product-card__badge--shipping {
  background: #1f8a5b;
}

.wvt-product-card__badge--out {
  background: #555;
}

.wvt-product-card__favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
}

.wvt-product-card__favorite a,
.wvt-product-card__favorite button,
.wvt-product-card__favorite .wvt-favorite-button--loop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  color: #111;
  line-height: 0;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.wvt-favorite-button.is-favorite {
  background: var(--wvt-red);
  border-color: var(--wvt-red);
  color: #fff;
}

.wvt-favorite-button.is-favorite svg {
  fill: currentColor;
}

.wvt-favorite-button__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.wvt-favorite-button__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  display: block;
  transform: translate(0.7px, 0.6px);
}

.wvt-product-card__body {
  padding: 0 16px 18px;
  text-align: center;
}

.wvt-product-card__title {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.wvt-product-card__price {
  color: var(--wvt-red);
  font-size: 0.9rem;
  font-weight: 800;
}

.wvt-product-card__sku {
  margin: -2px 0 7px;
  color: #6f6f6f;
  font-size: 0.74rem;
  font-weight: 800;
}

.wvt-product-card__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 18px;
  margin: -1px auto 7px;
  color: #4f4f4f;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.wvt-product-card__rating span {
  color: #f2b300;
  font-size: 0.86rem;
  line-height: 1;
}

.wvt-product-card__actions {
  margin-top: 12px;
}

.wvt-product-card__quick-add {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.wvt-product-card__quick-add:hover {
  background: var(--wvt-red);
  color: #fff;
}

.wvt-product-card__quick-add--ghost {
  border: 1px solid #d4d4d4;
  background: #fff;
  color: #111;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 14px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--wvt-red);
  color: #fff;
  border-color: var(--wvt-red);
}

.wvt-pagination--hidden {
  display: none;
}

.wvt-infinite-products {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 22px;
  color: #555;
  font-size: 0.86rem;
  font-weight: 900;
}

.wvt-infinite-products__loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(225, 6, 0, 0.16);
  border-top-color: var(--wvt-red);
  border-radius: 50%;
  animation: wvt-spin 0.8s linear infinite;
}

.wvt-infinite-products.is-loading .wvt-infinite-products__loader {
  display: inline-flex;
}

@keyframes wvt-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .shop-shell__title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .wvt-shop-filterbar {
    align-items: stretch;
    flex-direction: column;
  }

  .wvt-advanced-filter-toggle {
    width: 100%;
  }

  .wvt-advanced-filters__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .shop-shell {
    padding: 28px 0 56px;
  }

  .wvt-product-card__media {
    min-height: 168px;
    padding: 14px 10px 10px;
  }

  .wvt-product-card__image {
    height: 134px;
  }

  .wvt-product-card__body {
    padding: 0 10px 14px;
  }

  .wvt-product-card__title {
    font-size: 0.82rem;
  }

  .wvt-product-card__badge {
    min-height: 26px;
    padding: 0 9px;
    font-size: 0.6rem;
  }

  .wvt-product-card__badges {
    top: 10px;
    left: 10px;
  }

  .wvt-product-card__favorite {
    top: 9px;
    right: 9px;
  }

  .wvt-product-card__favorite a,
  .wvt-product-card__favorite button,
  .wvt-product-card__favorite .wvt-favorite-button--loop {
    width: 34px;
    min-width: 34px;
    height: 34px;
  }

  .wvt-product-card__favorite .wvt-favorite-button__icon {
    width: 16px;
    height: 16px;
  }

  .wvt-advanced-filters {
    padding: 14px;
    border-radius: 18px;
  }

  .wvt-advanced-filters__head {
    margin-bottom: 12px;
  }

  .wvt-advanced-filter-group__fields,
  .wvt-advanced-filter-group__fields--pair {
    grid-template-columns: 1fr;
  }

  .wvt-advanced-filters__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .wvt-product-card__article {
    border-radius: 16px;
  }

  .wvt-product-card__media {
    min-height: 152px;
    padding: 42px 8px 8px;
  }

  .wvt-product-card__image {
    max-width: 136px;
    height: 118px;
  }

  .wvt-product-card__body {
    padding: 0 8px 13px;
  }

  .wvt-product-card__title {
    font-size: 0.78rem;
    line-height: 1.28;
  }

  .wvt-product-card__quick-add {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.76rem;
  }
}
