.collection-layout,
.product-shell__grid,
.cart-grid,
.page-shell__content,
.track-layout,
.contact-layout {
  display: grid;
  gap: 24px;
}

.page-shell--contact-official {
  padding-top: 0;
}

.contact-page-official {
  gap: 0;
  padding: 0;
}

.page-shell__header--contact-official {
  margin-bottom: 0;
  padding: 42px 0 40px;
  text-align: center;
}

.page-shell__header--contact-official h1 {
  margin-bottom: 18px;
}

.page-shell__header--contact-official p {
  max-width: 760px;
  margin: 0 auto;
  color: #4d4348;
  font-size: 16px;
  line-height: 1.75;
}

.contact-page-official__section {
  padding: 30px 24px;
  background: #f7efe9;
}

.contact-page-official__section + .contact-page-official__section {
  border-top: 1px solid rgba(196, 167, 180, 0.18);
}

.contact-page-official__section h2 {
  margin: 0 0 22px;
  color: #b68495;
  font-family: "TStarProHeavy", sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.contact-page-official__section p,
.contact-page-official__links a {
  color: #b28a98;
  font-size: 18px;
  line-height: 1.9;
}

.contact-page-official__section p {
  max-width: 760px;
  margin: 0;
}

.contact-page-official__section a {
  color: inherit;
}

.contact-page-official__links {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-page-official__links a {
  text-decoration: none;
}

.contact-page-official__links a:hover,
.contact-page-official__links a:focus-visible {
  color: #8f6574;
}

.collection-filters {
  padding: 0;
}

.product-grid-container {
  min-width: 0;
}

.collection-results {
  min-width: 0;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.filter-trigger {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #c493a8;
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease;
}

.filter-trigger:hover,
.filter-trigger:focus-visible,
.filter-trigger.is-active {
  color: #b36f8c;
}

.filter-trigger:focus-visible {
  outline: none;
}

.filter-trigger__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  transform-origin: center;
}

.filter-trigger__icon svg {
  width: 100%;
  height: 100%;
}

.filter-trigger__label {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-trigger__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.72);
  transform-origin: left center;
  opacity: 0.68;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.filter-trigger:hover .filter-trigger__label::after,
.filter-trigger:focus-visible .filter-trigger__label::after,
.filter-trigger.is-active .filter-trigger__label::after {
  transform: scaleX(1);
  opacity: 1;
}

.filter-trigger.is-active .filter-trigger__icon {
  animation: filter-trigger-bounce 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-toolbar__left,
.collection-toolbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.collection-toolbar__count,
.collection-shell__crumbs {
  color: #8b7f86;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.collection-toolbar__label {
  color: #2a2226;
  font-size: 13px;
}

.collection-shell__header--centered {
  display: block;
  margin-bottom: 28px;
  text-align: center;
}

.collection-shell__header--centered h1 {
  margin: 0;
  font-family: "TStarProHeavy", sans-serif;
  font-size: clamp(34px, 3vw, 50px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.98;
}

.collection-filter-form {
  display: flex;
  align-items: center;
  gap: 14px;
}

.collection-filter-form--inline select,
.facets__display select {
  width: auto;
  min-height: 28px;
  padding: 0 26px 0 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: #1d1619;
  font-size: 14px;
  line-height: 1.2;
  transition: color 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.collection-filter-form--inline select:hover,
.facets__display select:hover {
  color: var(--accent-dark);
}

.product-grid--collection {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-grid--collection > .animate-item {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.product-card--collection {
  align-self: flex-start;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 29, 34, 0.07);
  border-radius: var(--radius-xl);
  background: #f4dfe9;
  box-shadow: 0 12px 28px rgba(84, 52, 66, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card--collection:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(84, 52, 66, 0.12);
}

.product-card--collection .product-card__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
}

.product-card__media-stack {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.product-card__media-stack .product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__img--primary,
.product-card__img--secondary {
  transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card__img--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
}

.product-card__media-stack.has-secondary:hover .product-card__img--primary {
  opacity: 0;
  transform: scale(0.985);
}

.product-card__media-stack.has-secondary:hover .product-card__img--secondary {
  opacity: 1;
  transform: scale(1);
}

.product-card--collection .product-card__badge {
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(241, 214, 227, 0.96);
  color: #2a2327;
  font-size: 11px;
  z-index: 2;
}

.product-card--collection .product-card__body {
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 9px;
  padding: 16px 16px 18px;
  text-align: center;
}

.product-card--collection .product-card__categories,
.product-card--collection .product-card__subline {
  display: none;
}

.product-card--collection h3 {
  min-height: 0;
  min-width: 0;
  width: 100%;
  margin: 0;
  font-family: "TStarProHeavy", sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.22;
}

.product-card--collection h3 a {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card--collection .product-card__price {
  width: 100%;
  min-width: 0;
}

.product-card--collection .price-stack__current {
  font-size: 18px;
}

.product-card--collection .price-stack__compare {
  font-size: 13px;
}

.product-card--collection .product-card__cta {
  min-height: 48px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0 16px;
  border-radius: var(--radius-md);
  border: 0;
  background: #171315;
  box-shadow: none;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: none;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.22s ease, background 0.22s ease;
}

.product-card--collection .product-card__cta::after,
.product-card--home .product-card__cta::after {
  content: none;
}

.product-card--collection .product-card__cta:hover,
.product-card--collection .product-card__cta:focus-visible {
  transform: translate3d(0, -2px, 0);
  background: #2a2327;
  color: #fff;
  box-shadow: none;
}

.product-card--collection .product-card__cta:active {
  background: #171315;
  color: #fff;
}

.product-card--collection .price-stack {
  min-width: 0;
  max-width: 100%;
  justify-content: center;
}

.search-shell {
  padding: 40px 0 56px;
  background: linear-gradient(180deg, #fffafc 0%, #fff4f8 100%);
}

.search-shell__inner {
  max-width: 1320px;
}

.search-shell__header {
  display: grid;
  gap: 28px;
  justify-items: center;
  margin-bottom: 34px;
  padding: 42px 0 12px;
}

.search-shell__header h1 {
  margin: 0;
  font-size: clamp(42px, 4.8vw, 62px);
  line-height: 0.96;
  text-align: center;
}

.search-results-form--search-page {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 880px);
  gap: 0;
  padding: 6px 8px 6px 24px;
  border: 1px solid rgba(42, 34, 38, 0.34);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(112, 66, 87, 0.06);
}

.search-results-form--search-page input[type="search"] {
  min-height: 72px;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 30px;
  letter-spacing: 0;
}

.search-results-form--search-page input[type="search"]::placeholder {
  color: #8b7f86;
}

.search-results-form--search-page button {
  min-width: 64px;
  min-height: 64px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
  color: #2a2226;
}

.search-results-form--search-page button::after {
  content: none;
}

.search-results-form--search-page .icon-search {
  width: 20px;
  height: 20px;
  border-width: 2px;
}

.search-results-form--search-page .icon-search::after {
  right: -5px;
  bottom: -5px;
  width: 9px;
  height: 2px;
}

.search-shell__results {
  display: grid;
  gap: 18px;
}

.search-shell__toolbar {
  margin-bottom: 0;
}

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

.product-grid--search > .animate-item {
  display: flex;
}

.product-card--search {
  overflow: hidden;
  border: 1px solid rgba(37, 29, 34, 0.06);
  border-radius: var(--radius-xl);
  background: #f4dfe9;
  box-shadow: 0 14px 28px rgba(84, 52, 66, 0.07);
}

.product-card--search .product-card__image {
  aspect-ratio: 1 / 1;
  background: #fff;
}

.product-card--search .product-card__badge {
  left: 14px;
  bottom: 14px;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  background: rgba(241, 214, 227, 0.96);
  color: #2a2327;
  font-size: 11px;
}

.product-card--search .product-card__body {
  align-items: center;
  gap: 10px;
  padding: 16px 16px 18px;
  text-align: center;
}

.product-card--search h3 {
  min-height: 44px;
  font-size: 17px;
  line-height: 1.22;
}

.product-card--search .price-stack {
  justify-content: center;
  gap: 8px;
}

.product-card--search .price-stack__current {
  font-size: 18px;
}

.product-card--search .price-stack__compare {
  font-size: 13px;
}

.collection-shell .animate-section.animate--hidden .product-grid--collection > .animate-item {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

.collection-shell .animate-section.animate--shown .product-grid--collection > .animate-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-section--related.animate--hidden .related-products__heading,
.product-section--related.animate--hidden .product-grid--related > .animate-item {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.product-section--related.animate--shown .related-products__heading,
.product-section--related.animate--shown .product-grid--related > .animate-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1), transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-section--related.animate--shown .product-grid--related > .animate-item {
  transition-delay: calc(var(--index, 0) * 0.08s);
}

.active-facets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.active-facets--desktop-horizontal {
  align-items: center;
}

.active-facets__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(18, 18, 18, 0.09);
  border-radius: var(--radius-pill);
  background: #fff;
  color: #3a3136;
  font-size: 11px;
}

.quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.quick-view-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.quick-view-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 18, 21, 0.28);
  backdrop-filter: blur(3px);
}

.quick-view-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1430px, calc(100vw - 80px));
  height: min(86vh, 980px);
  overflow: hidden;
  border: 1px solid rgba(26, 20, 23, 0.14);
  border-radius: var(--radius-xl);
  background: #fbf3f7;
  box-shadow: 0 36px 90px rgba(23, 16, 20, 0.24);
}

.quick-view-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(29, 22, 25, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: #7e6d75;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.quick-view-modal__loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #73626a;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quick-view-modal__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fbf3f7;
}

.facets-form {
  display: grid;
  gap: 0;
  min-height: 100%;
}

.collection-filters-drawer__headline {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.collection-filters-drawer {
  background: #fff;
}

.collection-filters-drawer__headline p {
  margin: 0;
  color: #8b7f86;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.facets__disclosure {
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  background: transparent;
}

.facets__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0;
  cursor: pointer;
  list-style: none;
  color: #2a2327;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.facets__summary-label,
.facets__summary-value {
  display: inline-flex;
  align-items: center;
}

.facets__summary-value {
  margin-left: auto;
  color: #5d5258;
}

.facets__summary::-webkit-details-marker {
  display: none;
}

.facets__summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.6px solid #675b61;
  border-bottom: 1.6px solid #675b61;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  line-height: 1;
  transition: transform 0.22s ease;
}

.facets__disclosure[open] .facets__summary::after {
  transform: rotate(-135deg) translateY(-1px);
}

.facets__display {
  display: grid;
  gap: 12px;
  padding: 0 0 18px;
}

.facets__display--price {
  gap: 12px;
}

.price-range {
  display: grid;
  gap: 18px;
  padding: 6px 0 2px;
}

.price-range__values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #4b4046;
  font-size: 16px;
  line-height: 1.2;
}

.price-range__slider {
  position: relative;
  height: 30px;
}

.price-range__track,
.price-range__fill {
  position: absolute;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.price-range__track {
  left: 0;
  right: 0;
  background: #f3dde7;
}

.price-range__fill {
  background: #f2d6e4;
}

.price-range__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 30px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.facets__display--price .price-range__input {
  min-height: 30px;
  padding: 0;
  background: transparent;
}

.price-range__input--min {
  z-index: 2;
}

.price-range__input--max {
  z-index: 1;
}

.price-range__input::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.price-range__input::-moz-range-track {
  height: 4px;
  background: transparent;
}

.price-range__input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #f2d6e4;
  border-radius: 50%;
  background: #fff8fb;
  box-shadow: 0 0 0 1px rgba(231, 204, 217, 0.65);
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  cursor: pointer;
  margin-top: -7px;
}

.price-range__input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #f2d6e4;
  border-radius: 50%;
  background: #fff8fb;
  box-shadow: 0 0 0 1px rgba(231, 204, 217, 0.65);
  pointer-events: auto;
  cursor: pointer;
}

.facet-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #3a3136;
  font-size: 14px;
  cursor: pointer;
}

.facet-checkbox span {
  transition: color 0.2s ease, transform 0.2s ease;
}

.facet-checkbox:hover span {
  color: #b36f8c;
  transform: translateX(2px);
}

.facet-checkbox input {
  margin: 0;
}

.facets__display--price input,
.facets__display select {
  min-height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #2a2327;
  font-size: 15px;
  box-shadow: none;
}

.facets__display select {
  padding-right: 30px;
}

.facet-quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facet-quick-picks__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(18, 18, 18, 0.1);
  border-radius: 999px;
  background: #fff;
  color: #1d1619;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.facets__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding: 18px 0 0;
  border-top: 1px solid rgba(18, 18, 18, 0.08);
}

.facets__clear {
  color: #7e7279;
  font-size: 13px;
  text-decoration: none;
  flex: 1 1 0;
  min-height: 56px;
  border: 1px solid rgba(196, 147, 168, 0.24);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.facets__apply.button-primary {
  flex: 1 1 0;
  min-height: 56px;
  border-radius: 10px;
  background: #f1d6e2;
  color: #2a2327;
  box-shadow: none;
  border: 1px solid rgba(196, 147, 168, 0.24);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.collection-filters-drawer .site-drawer__header {
  justify-content: center;
  padding: 18px 20px 14px;
}

.collection-filters-drawer .site-drawer__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  font-size: 26px;
}

.collection-filters-drawer .site-drawer__body {
  padding: 0 18px 18px;
}

.collection-filters-drawer .facets-form--mobile {
  min-height: calc(100vh - 116px);
}
