body.shop-v2 {
  min-width: 0;
}

body.shop-v2 .shop-v2-header {
  position: sticky;
  top: 0;
  z-index: 80;
}

body.shop-v2 .shop-v2-header-inner {
  position: relative;
}

body.shop-v2 .shop-mobile-nav {
  display: none;
}

body.shop-v2 .shop-v2-dropdown-menu[hidden] {
  display: none !important;
}

body.shop-v2-catalog .shop-v2-catalog-hero-inner,
body.shop-v2-catalog .shop-v2-catalog-main {
  box-sizing: border-box;
}

body.shop-v2-catalog .shop-v2-catalog-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: #929aa8;
  font-size: 14px;
}

body.shop-v2-catalog .shop-v2-catalog-empty strong {
  color: #596476;
  font-weight: 500;
}

body.shop-v2-catalog .shop-v2-catalog-empty[hidden] {
  display: none !important;
}

@media (max-width: 1280px) {
  body.shop-v2 .shop-v2-primary-nav {
    gap: 42px;
  }
}

@media (max-width: 920px) {
  body.shop-v2 .shop-v2-header-inner {
    width: calc(100% - 32px);
    grid-template-columns: minmax(109px, 1fr) auto;
  }

  body.shop-v2 .shop-v2-primary-nav,
  body.shop-v2 .shop-v2-header-actions {
    display: none;
  }

  body.shop-v2 .shop-v2-menu-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
    padding: 0;
    border: 1px solid #e5e8ed;
    border-radius: 4px;
    color: #687489;
    background: #fff;
    cursor: pointer;
  }

  body.shop-v2 .shop-v2-menu-toggle span {
    width: 16px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
  }

  body.shop-v2 .shop-v2-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.shop-v2 .shop-v2-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  body.shop-v2 .shop-v2-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.shop-v2 .shop-mobile-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    z-index: 90;
    display: none;
    padding: 8px;
    border: 1px solid #e5e8ed;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(55, 65, 82, 0.14);
  }

  body.shop-v2 .shop-mobile-nav.is-open {
    display: grid;
  }

  body.shop-v2 .shop-mobile-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 4px;
    color: #687489;
    font-size: 14px;
  }

  body.shop-v2 .shop-mobile-nav a:hover,
  body.shop-v2 .shop-mobile-nav a:focus-visible,
  body.shop-v2 .shop-mobile-nav a.is-active {
    color: var(--shop-v2-coral);
    background: #fff1f0;
    outline: none;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero {
    height: 470px;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero-inner {
    padding-top: 108px;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero h1 {
    font-size: 34px;
  }

  body.shop-v2-catalog .shop-v2-catalog-search {
    margin-top: 38px;
  }

  body.shop-v2-catalog .shop-content .row-bottom.shop-v2-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.shop-v2 .shop-v2-header-inner {
    width: calc(100% - 24px);
  }

  body.shop-v2 .shop-mobile-nav {
    top: 64px;
    right: 12px;
    left: 12px;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero {
    height: auto;
    min-height: 430px;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero-inner {
    width: calc(100% - 24px);
    padding-top: 88px;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero h1 {
    font-size: 28px;
  }

  body.shop-v2-catalog .shop-v2-catalog-hero p {
    margin-top: 16px;
    font-size: 14px;
  }

  body.shop-v2-catalog .shop-v2-catalog-search {
    height: auto;
    min-height: 52px;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
    padding: 8px;
  }

  body.shop-v2-catalog .shop-v2-catalog-search svg {
    align-self: center;
    margin-left: 8px;
  }

  body.shop-v2-catalog .shop-v2-catalog-search input {
    width: calc(100% - 60px);
    height: 36px;
  }

  body.shop-v2-catalog .shop-v2-catalog-search button {
    width: 100%;
    height: 42px;
  }

  body.shop-v2-catalog .shop-v2-catalog-main {
    width: calc(100% - 24px);
    padding-top: 8px;
  }

  body.shop-v2-catalog .shop-v2-catalog-heading {
    align-items: flex-start;
    padding: 12px 0;
  }

  body.shop-v2-catalog .shop-v2-catalog-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  body.shop-v2-catalog .shop-v2-filter-panel {
    gap: 8px;
    padding-bottom: 14px;
  }

  body.shop-v2-catalog .shop-v2-filter-panel .row,
  body.shop-v2-catalog .shop-v2-filter-panel .shop-v2-category-row {
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
  }

  body.shop-v2-catalog .shop-v2-filter-panel .label {
    padding-top: 0;
  }

  body.shop-v2-catalog .shop-content .row-bottom.shop-v2-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  body.shop-v2 .shop-v2-list-card__media {
    aspect-ratio: 1 / 1;
  }

  body.shop-v2 .shop-v2-list-card__cover.is-square {
    width: 100px !important;
    height: 100px !important;
  }

  body.shop-v2 .shop-v2-list-card__body {
    min-height: 158px;
    padding: 13px 10px 10px;
  }

  body.shop-v2 .shop-v2-list-card__title-row {
    display: block;
  }

  body.shop-v2 .shop-v2-list-card__name {
    display: block;
    margin-bottom: 7px;
  }

  body.shop-v2 .shop-v2-list-card .shop-v2-owner-badge {
    max-width: 100%;
  }

  body.shop-v2 .shop-v2-list-card__signals {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
  }

  body.shop-v2 .shop-v2-list-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (max-width: 390px) {
  body.shop-v2-catalog .shop-content .row-bottom.shop-v2-product-grid {
    grid-template-columns: 1fr;
  }
}
