.collection-page {
  background: #f7f6f3;
  color: #111111;
  min-height: 100vh;
  height: auto !important;
}

.collection-container {
  width: min(1860px, calc(100% - 128px));
  margin: 0 auto;
}

.collection-promo-bar {
  height: 36px;
  overflow: hidden;
  background: #ead8cf;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.collection-promo-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  height: 100%;
  animation: collectionMarquee 58s linear infinite;
  will-change: transform;
}

.collection-promo-track span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.collection-promo-track span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c74845;
}

@keyframes collectionMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.collection-page .site-header {
  position: sticky !important;
  top: 0;
  z-index: 120;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.98), rgba(255, 255, 252, 0.93)) !important;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08) !important;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
  transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.collection-page.collection-scrolled .site-header {
  background: rgba(255, 255, 252, 0.98) !important;
  border-bottom-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.1) !important;
}

.collection-page .site-header .header-inner {
  width: min(1860px, calc(100% - 128px));
  max-width: none;
  min-height: 84px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(248px, 0.72fr) minmax(0, 1.22fr) auto;
  gap: 24px;
  align-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.collection-page .brand {
  gap: 14px;
  min-width: 0;
}

.collection-page .logo {
  width: 42px;
  height: 42px;
  border-width: 1px;
  box-shadow: none;
}

.collection-page .brand-name {
  font-size: 23px;
  line-height: 1;
  color: #111111;
}

.collection-page .brand-tagline {
  margin-top: 3px;
  color: #9b7b46;
  font-size: 12px;
  font-weight: 600;
}

.collection-page .main-nav {
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.25vw, 28px);
  height: auto;
  min-width: 0;
}

.collection-page .main-nav a {
  margin: 0;
  padding: 32px 0 29px;
  color: rgba(17, 17, 17, 0.84);
  font-size: clamp(15.5px, 0.92vw, 16px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.collection-page .main-nav a.is-active,
.collection-page .main-nav a:hover {
  color: #a57530;
}

.collection-page .main-nav a::after {
  bottom: 20px;
  height: 2px;
  background: #a57530;
}

.collection-page .site-header .header-actions {
  width: auto;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.collection-page .site-header .search {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: clamp(16px, 6vw, 86px) !important;
  z-index: 150;
  display: flex !important;
  width: min(370px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  order: initial !important;
  margin-top: 0 !important;
  height: 48px;
  border-radius: 999px;
  border-color: rgba(183, 143, 73, 0.28);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.collection-page.collection-search-active .site-header .search {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.collection-page .site-header .search input {
  min-width: 0;
  border-radius: 999px 0 0 999px;
}

.collection-page .site-header .btn-search {
  height: 100%;
  border-radius: 999px;
  background: #111111;
  box-shadow: none;
  color: #ffffff;
}

.collection-page .header-icons {
  gap: 8px;
}

.collection-page .icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 0;
}

.collection-page .btn-login {
  height: 40px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  border-radius: 0;
  border: 1px solid #e5ddcf;
  background: linear-gradient(180deg, #fffaf2 0%, #f3e6d2 100%);
  color: #181818;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(123, 83, 22, 0.12);
}

.collection-main {
  min-height: 70vh;
}

.collection-hero {
  padding: 14px 0 10px;
  background: #f7f6f3;
}

.collection-breadcrumb {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.collection-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.collection-breadcrumb strong {
  font-weight: 700;
}

.collection-heading {
  width: min(760px, 100%);
  margin: 10px auto 0;
  text-align: center;
}

.collection-kicker {
  margin: 0 0 5px;
  color: #a57530;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.collection-heading h1 {
  margin: 0;
  color: #050505;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 3vw, 46px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}

.collection-heading p:last-child {
  margin: 7px auto 0;
  max-width: 650px;
  color: #6f6b63;
  font-size: 15px;
  line-height: 1.4;
}

.collection-products {
  padding: 0 0 72px;
  background: #f7f6f3;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.collection-count {
  color: #69645d;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-controls {
  display: flex;
  align-items: center;
  gap: 28px;
}

.collection-view-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
}

.view-btn {
  width: 32px;
  height: 26px;
  display: grid;
  gap: 4px;
  align-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.view-btn[data-view="3"] {
  grid-template-columns: repeat(3, 1fr);
}

.view-btn[data-view="4"] {
  grid-template-columns: repeat(4, 1fr);
}

.view-btn span {
  width: 6px;
  height: 6px;
  background: #b9b9b9;
}

.view-btn.is-active span,
.view-btn:hover span {
  background: #111111;
}

.sort-select {
  position: relative;
  height: 48px;
  min-width: 128px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 18px;
  border: 1px solid #dfddd9;
  background: #ffffff;
  color: #111111;
}

.sort-select::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #111111;
  border-bottom: 2px solid #111111;
  transform: rotate(45deg) translateY(-2px);
}

.sort-select span {
  font-size: 15px;
  font-weight: 800;
}

.sort-select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
  outline: none;
}

.collection-subcategories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.collection-chip {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border: 1px solid #e1dfda;
  background: #ffffff;
  color: #101010;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.collection-chip:hover,
.collection-chip.is-active {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.collection-status {
  min-height: 22px;
  margin-bottom: 18px;
  color: #8c7a59;
  font-size: 14px;
  font-weight: 700;
}

.collection-grid {
  display: grid;
  gap: 26px;
}

.collection-grid.is-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.collection-grid.is-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-card {
  min-width: 0;
  background: #ffffff;
  position: relative;
  border: 1px solid rgba(17, 17, 17, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(17, 17, 17, 0.08);
}

.collection-card-media {
  position: relative;
  display: block;
  aspect-ratio: 0.92;
  overflow: hidden;
  background: #ffffff;
  text-decoration: none;
}

.collection-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: clamp(10px, 4%, 18px);
  box-sizing: border-box;
  transition: transform 260ms ease;
}

.collection-card:hover .collection-card-media img {
  transform: scale(1.035);
}

.collection-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid #ded4bd;
  background: #fffaf0;
  color: #111111;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.collection-fav {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  color: #111111;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.collection-fav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 160ms ease, transform 160ms ease;
}

.collection-fav:hover,
.collection-fav.is-liked {
  background: #111111;
  color: #ffffff;
}

.collection-fav.is-liked svg {
  fill: currentColor;
  transform: scale(1.05);
}

.collection-card-body {
  display: block;
  min-height: 112px;
  padding: 18px 18px 20px;
  color: inherit;
  text-decoration: none;
}

.collection-card-eyebrow {
  margin: 0 0 9px;
  color: #a57530;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collection-card-title {
  margin: 0;
  color: #111111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}

.collection-card-meta {
  display: none;
  margin: 8px 0 12px;
  color: #6f6b63;
  font-size: 13px;
  line-height: 1.5;
}

.collection-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 12px;
}

.collection-price {
  color: #111111;
  font-size: 17px;
  font-weight: 800;
}

.collection-price-old {
  color: #9d9a94;
  font-size: 13px;
  font-weight: 700;
  text-decoration: line-through;
}

.collection-empty {
  grid-column: 1 / -1;
  min-height: 280px;
  display: grid;
  place-items: center;
  border: 1px solid #e1dfda;
  background: #ffffff;
  color: #6f6b63;
  text-align: center;
}

.collection-empty h2 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 24px;
}

@media (max-width: 1280px) {
  .collection-container,
  .collection-page .site-header .header-inner {
    width: min(1180px, calc(100% - 48px));
  }

  .collection-page .site-header .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }

  .collection-page .main-nav {
    gap: clamp(8px, 0.72vw, 13px);
  }

  .collection-page .main-nav a {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.026em;
  }

  .collection-page .site-header .search {
    right: 24px !important;
    width: min(340px, calc(100vw - 48px)) !important;
  }

  .collection-subcategories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .collection-grid.is-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .collection-page {
    scroll-padding-top: 128px;
  }

  .collection-promo-bar {
    height: 38px;
    font-size: 12px;
  }

  .collection-container,
  .collection-page .site-header .header-inner {
    width: min(100% - 32px, 720px);
  }

  .collection-page .site-header {
    position: sticky !important;
    top: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  .collection-page .site-header .header-inner {
    width: min(100% - 32px, 720px) !important;
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-wrap: initial !important;
  }

  .collection-page .brand-name {
    font-size: 22px;
  }

  .collection-page .brand-tagline {
    font-size: 11px;
  }

  .collection-page .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 0 2px;
    scrollbar-width: none;
    width: 100% !important;
  }

  .collection-page .main-nav::-webkit-scrollbar {
    display: none;
  }

  .collection-page .main-nav a {
    padding: 8px 0 12px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .collection-page .main-nav a::after {
    bottom: 4px;
  }

  .collection-page .site-header .header-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }

  .collection-page .btn-login {
    display: none;
  }

  .collection-hero {
    padding: 22px 0 16px;
    scroll-margin-top: 128px;
  }

  .collection-products {
    scroll-margin-top: 128px;
  }

  .collection-breadcrumb {
    gap: 12px;
    overflow-x: auto;
    font-size: 11px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .collection-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .collection-heading {
    margin-top: 18px;
    text-align: left;
  }

  .collection-heading h1 {
    font-size: 36px;
  }

  .collection-heading p:last-child {
    margin-top: 12px;
    font-size: 14px;
  }

  .collection-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 22px;
  }

  .collection-controls {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .sort-select {
    min-width: 132px;
    height: 48px;
  }

  .collection-subcategories {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 0 -16px 24px;
    padding: 0 16px 6px;
    scrollbar-width: none;
  }

  .collection-subcategories::-webkit-scrollbar {
    display: none;
  }

  .collection-chip {
    min-width: max-content;
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
  }

  .collection-grid,
  .collection-grid.is-grid-3,
  .collection-grid.is-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .collection-card-media {
    aspect-ratio: 0.9;
  }

  .collection-badge {
    top: 12px;
    left: 12px;
    padding: 5px 8px;
    font-size: 10px;
  }

  .collection-fav {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .collection-card-body {
    min-height: 104px;
    padding: 15px 12px 16px;
  }

  .collection-card-title {
    font-size: 15px;
  }

  .collection-card-meta {
    display: none;
  }
}

@media (max-width: 520px) {
  .collection-page .logo {
    width: 38px;
    height: 38px;
  }

  .collection-page .brand {
    gap: 10px;
  }

  .collection-page .brand-name {
    font-size: 19px;
  }

  .collection-page .brand-tagline {
    display: none;
  }

  .collection-page .header-icons {
    gap: 4px;
  }

  .collection-page .icon-btn {
    width: 36px;
    height: 36px;
    padding: 7px;
  }

  .collection-heading h1 {
    font-size: 32px;
  }

  .collection-products {
    padding-bottom: 58px;
  }
}


/* GoldKontur brand logo refresh */
.collection-page .logo {
  width: 74px;
  height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.collection-page .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}


/* GoldKontur refined mark logo */
.logo,
.auth-logo,
.collection-page .logo,
.km-product-page .brand .logo,
body.checkout-page-mode .checkout-header .logo {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.logo img,
.auth-logo img,
.collection-page .logo img,
.km-product-page .brand .logo img,
body.checkout-page-mode .checkout-header .logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}


/* GoldKontur readable mark polish */
.site-header .brand .logo,
.collection-page .brand .logo,
.km-product-page .brand .logo,
.auth-brand .auth-logo,
body.checkout-page-mode .checkout-header .logo {
  overflow: visible !important;
}

.site-header .brand .logo img,
.collection-page .brand .logo img,
.km-product-page .brand .logo img,
.auth-brand .auth-logo img,
body.checkout-page-mode .checkout-header .logo img {
  transform: scale(1.22) !important;
  transform-origin: center !important;
}

@media (max-width: 760px) {
  .site-header .brand .logo {
    width: 46px !important;
    height: 42px !important;
    flex: 0 0 46px !important;
  }

  .site-header .brand .logo img {
    transform: scale(1.18) !important;
  }
}

/* GoldKontur approved brand mark */
.site-header .brand .logo,
.collection-page .brand .logo,
.km-product-page .brand .logo,
.auth-brand .auth-logo,
body.checkout-page-mode .checkout-header .logo,
.logo,
.logo.small {
  width: 62px !important;
  height: 62px !important;
  flex: 0 0 62px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.site-header .brand .logo img,
.collection-page .brand .logo img,
.km-product-page .brand .logo img,
.auth-brand .auth-logo img,
body.checkout-page-mode .checkout-header .logo img,
.logo img,
.logo.small img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .site-header .brand .logo,
  .collection-page .brand .logo,
  .km-product-page .brand .logo,
  .auth-brand .auth-logo,
  body.checkout-page-mode .checkout-header .logo,
  .logo,
  .logo.small {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }
}

/* GoldKontur navigation sticky collection override */
.collection-page .site-header {
  top: 26px !important;
  padding: 0 20px !important;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.collection-page .site-header.is-scrolled {
  top: 0 !important;
}

.collection-page .site-header .header-inner {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: 1240px !important;
  min-height: 74px !important;
  padding: 10px 18px !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(200, 164, 93, 0.18) !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.13) !important;
}

.collection-page .site-header.is-scrolled .header-inner {
  min-height: 62px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  border-radius: 0 0 24px 24px !important;
}

@media (max-width: 760px) {
  .collection-page .site-header {
    top: 10px !important;
    padding: 0 10px !important;
  }

  .collection-page .site-header .header-inner {
    width: min(100%, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 9px 10px !important;
    border-radius: 22px !important;
  }
}

/* Compact collection controls v1 */
.collection-card-body{display:flex;flex-direction:column;min-height:132px}.collection-card-title{min-height:2.56em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal}.collection-price-row{margin-top:auto;padding-top:10px}.collection-subcategories[data-visible-count="1"]{grid-template-columns:minmax(180px,1fr)}.collection-subcategories[data-visible-count="6"]{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:760px){.collection-hero{padding:10px 0 8px}.collection-heading{margin-top:8px}.collection-heading h1{font-size:clamp(28px,9vw,38px)}.collection-toolbar{margin-bottom:10px}.collection-subcategories{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding-bottom:4px}.collection-chip{flex:0 0 min(42vw,170px);min-height:38px}.collection-products{padding-bottom:44px}}

/* Desktop category cap layout v2 */
@media (min-width:761px){.collection-subcategories{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px 10px!important;margin-bottom:16px!important}.collection-subcategories[data-visible-count="1"]{grid-template-columns:minmax(180px,1fr)!important}.collection-subcategories[data-visible-count="6"]{grid-template-columns:repeat(6,minmax(0,1fr))!important}}

.collection-material-badge{display:inline-block;margin-left:7px;padding-left:7px;border-left:1px solid #d7c9ad;color:#6f6b63;font-size:10px;letter-spacing:.06em}
