/* Collection redesign */
body {
  background: #f7f7f5;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  width: 100%;
  min-height: 82px;
  padding: 12px clamp(28px, 3vw, 52px);
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  gap: 24px;
  color: #ffffff;
}

.brand-logo {
  width: 132px;
  height: 56px;
  object-fit: contain;
}

.brand > span {
  display: grid;
  gap: 3px;
}

.brand strong {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 750;
  letter-spacing: 0;
}

.brand small {
  color: #a9a9a9;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav,
.site-nav a {
  color: #ffffff;
}

.site-nav a {
  padding: 9px 13px;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-bottom-color: transparent;
}

.site-header .language-switcher {
  gap: 4px;
  padding: 3px;
  border-color: var(--line);
  background: #ffffff;
}

.site-header .language-switcher button {
  min-width: 38px;
  min-height: 32px;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-header .language-switcher button.active,
.site-header .language-switcher button.is-active,
.site-header .language-switcher button[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
}

.collection-hero {
  position: relative;
  min-height: 460px;
  height: clamp(460px, 29.4vw, 604px);
  max-height: 604px;
  overflow: hidden;
  background: #17130f;
  color: #ffffff;
}

.collection-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.collection-hero-shade {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(90deg, rgba(5, 13, 23, 0.78), rgba(12, 24, 39, 0.54) 29%, rgba(10, 20, 33, 0.05) 60%),
    linear-gradient(180deg, rgba(5, 9, 15, 0.02), rgba(5, 9, 15, 0.22));
}

.collection-hero-content {
  position: relative;
  z-index: 1;
  width: min(390px, calc(100% - 48px));
  padding: clamp(176px, 14.6vw, 224px) 0 0 clamp(38px, 4.8vw, 66px);
}

.collection-hero-content .hero-kicker {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.collection-hero-content h1 {
  max-width: 8.3ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 3.25vw, 3.55rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.collection-hero-content > p:not(.hero-kicker) {
  display: none;
}

.hero-action {
  display: none;
  min-height: 34px;
  align-items: center;
  gap: 20px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-action:hover,
.hero-action:focus-visible {
  background: #ffffff;
  color: #0b0b0b;
  outline: 0;
}

.catalogue-band {
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 0 clamp(42px, 4vw, 70px) 48px;
  background: #f7f7f5;
  position: relative;
  z-index: 5;
}

.catalogue-breadcrumb {
  display: none;
}

.catalogue-intro h1 {
  font-size: 1.65rem;
  font-weight: 600;
}

.catalogue-intro p {
  display: none;
}

.catalogue-search input {
  min-height: 40px;
  border-radius: 0;
  border-color: #d8d8d8;
  box-shadow: none;
  font-size: 0.78rem;
}

.sector-filters {
  max-width: none;
  margin: 0 0 16px;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.sector-filter {
  min-height: 42px;
  border-width: 0 1px 0 0;
  border-color: #e1e1e1;
  border-radius: 0;
  box-shadow: none;
  color: #333333;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sector-filter svg {
  width: 15px;
  height: 15px;
}

.sector-filter:last-child {
  border-right: 0;
}

.sector-filter.active {
  border-color: #dedede;
  background: #ffffff;
  color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.catalogue-shell {
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  border-bottom: 0;
}

.filter-panel {
  top: 68px;
  max-height: calc(100vh - 112px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.filter-panel-head {
  margin-bottom: 10px;
  align-items: center;
}

.filter-panel h3,
.filter-group summary {
  color: #191919;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-panel h3 {
  font-size: 0.82rem;
}

.text-button {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
}

.filter-group {
  border-bottom-color: #e5e5e5;
}

.filter-group summary {
  min-height: 36px;
}

.filter-group summary::after {
  content: "+";
}

.filter-group[open] summary::after {
  content: "-";
}

.check-filter {
  border-radius: 0;
  font-size: 0.82rem;
}

.catalogue-results {
  padding: 0 0 36px;
}

.active-filters {
  min-height: 0;
  padding-top: 0;
}

.results-bar {
  min-height: 40px;
  margin: 0 0 14px;
  padding: 0;
  border-bottom: 0;
}

.results-bar > p,
.sort-field,
.per-page-field {
  font-size: 0.78rem;
}

.catalogue-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px 178px;
  align-items: center;
  gap: 12px;
  width: min(780px, 100%);
}

.sort-field {
  width: auto;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
}

.per-page-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.sort-field select,
.per-page-field select {
  min-height: 34px;
  border-radius: 3px;
  font-size: 0.78rem;
}

.per-page-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #ffffff;
}

.per-page-tabs button {
  min-width: 0;
  min-height: 32px;
  padding: 0 7px;
  border: 0;
  border-right: 1px solid #e3e3e3;
  background: #ffffff;
  color: #4a4a4a;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.per-page-tabs button:last-child {
  border-right: 0;
}

.per-page-tabs button[aria-pressed="true"] {
  background: #111111;
  color: #ffffff;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 18px;
}

.product-card {
  width: 100%;
  height: 316px;
  grid-template-rows: 178px 138px;
  border-color: #e1e1df;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: #9b9b9b;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  transform: none;
}

.product-image-wrap {
  height: 178px;
  padding: 22px 26px 16px;
  border-radius: 0;
  background: #ffffff;
}

.product-image-wrap::after {
  display: none;
}

.product-body {
  gap: 9px;
  padding: 12px 15px 14px;
}

.product-body h3 {
  margin-top: 2px;
  color: #111111;
  font-size: 1rem;
  font-weight: 700;
}

.category {
  color: #8b8b8b;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.product-card-action {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 14px;
  background: #111111;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 0;
}

.pagination[hidden] {
  display: none;
}

.pagination-button {
  min-width: 32px;
  height: 32px;
  padding: 0 9px;
  border: 1px solid #dedede;
  border-radius: 3px;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
}

.pagination-button[aria-current="page"] {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.pagination-button:disabled {
  cursor: default;
  opacity: 0.38;
}

.pagination-ellipsis {
  color: #757575;
  font-size: 0.74rem;
  padding: 0 3px;
}

.site-footer {
  min-height: 68px;
  background: #080808;
  color: #bdbdbd;
  border-top: 0;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 58px;
    flex-direction: row;
    align-items: center;
    padding: 8px 16px;
  }

  .brand-logo {
    width: 94px;
    height: 40px;
  }

  .brand {
    width: 94px;
    min-width: 94px;
    flex: 0 0 94px;
  }

  .brand > span {
    display: none;
  }

  .site-nav {
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .site-header .language-switcher {
    width: auto;
  }

  .site-nav > a {
    display: none;
  }

  .collection-hero {
    min-height: 430px;
    height: 430px;
    max-height: 430px;
  }

  .collection-hero > img {
    object-position: 62% center;
  }

  .collection-hero-shade {
    display: block;
    background: linear-gradient(90deg, rgba(5, 13, 23, 0.8), rgba(12, 24, 39, 0.5) 52%, rgba(10, 20, 33, 0.1));
  }

  .collection-hero-content {
    display: block;
    width: calc(100% - 36px);
    padding: 168px 0 0 18px;
  }

  .collection-hero-content h1 {
    max-width: 8.4ch;
    font-size: 2.6rem;
  }

  .collection-hero-content > p:not(.hero-kicker) {
    display: none;
  }

  .catalogue-band {
    margin-top: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .catalogue-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
  }

  .sector-filters {
    gap: 1px;
    background: #dedede;
    border-radius: 5px;
  }

  .sector-filter {
    border: 0;
    background: #ffffff;
    font-size: 0.67rem;
  }

  .catalogue-shell {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .filter-panel {
    padding: 14px 0 4px;
    border: 1px solid #dedede;
    border-width: 1px 0;
  }

  .catalogue-results {
    padding-left: 0;
  }

  .results-bar {
    align-items: stretch;
    gap: 10px;
  }

  .catalogue-toolbar {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .sort-field,
  .per-page-field {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    height: 316px;
    grid-template-rows: 178px 138px;
  }

  .product-image-wrap {
    height: 178px;
  }
}

@media (max-width: 900px) {
  .catalogue-band {
    padding-right: clamp(18px, 4vw, 34px);
    padding-left: clamp(18px, 4vw, 34px);
  }

  .catalogue-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .filter-panel {
    position: static;
    max-height: none;
    padding: 16px 0 4px;
    border-top: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
  }

  .filter-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .results-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .results-bar > p {
    width: 100%;
  }

  .catalogue-toolbar {
    width: 100%;
    grid-template-columns: minmax(240px, 1fr) minmax(148px, 176px) minmax(172px, 186px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-right: 14px;
    padding-left: 14px;
  }

  .collection-hero {
    min-height: 390px;
    height: 390px;
  }

  .collection-hero-content {
    width: calc(100% - 28px);
    padding-top: 148px;
    padding-left: 14px;
  }

  .collection-hero-content h1 {
    max-width: 9ch;
    font-size: clamp(2.15rem, 11vw, 2.8rem);
  }

  .sector-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }

  .sector-filter {
    min-height: 46px;
    border-width: 0 0 1px;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .sector-filter:nth-child(odd) {
    border-right: 1px solid #e1e1e1;
  }

  .sector-filter:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .filter-groups,
  .catalogue-toolbar,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .sort-field,
  .per-page-field {
    grid-template-columns: minmax(82px, auto) minmax(0, 1fr);
  }

  .product-card {
    height: 320px;
    grid-template-rows: 178px 142px;
  }

  .product-image-wrap {
    height: 178px;
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .site-header .language-switcher button {
    min-width: 34px;
  }

  .catalogue-band {
    padding-right: 12px;
    padding-left: 12px;
  }

  .product-card-action {
    min-height: 38px;
  }
}

