:root {
  --ms-bg: #f9f9f9;
  --ms-surface: #ffffff;
  --ms-surface-muted: #f2f0fa;
  --ms-border: rgba(17, 24, 39, 0.08);
  --ms-text: #000000;
  --ms-text-soft: #5c5a66;
  --ms-accent: #6c5ce7;
  --ms-accent-strong: #5847c8;
  --ms-accent-soft: #c4b5fd;
  --ms-shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  --ms-radius-xl: 32px;
  --ms-radius-lg: 24px;
  --ms-radius-md: 18px;
  --ms-radius-sm: 14px;
}

.container {
  max-width: 1540px;
}

html {
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(108, 92, 231, 0.18), transparent 28%),
    linear-gradient(180deg, #fafafa 0%, var(--ms-bg) 100%);
  color: var(--ms-text);
  font-family: Montserrat, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  border-color: rgba(17, 17, 17, 0.15);
  box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.28);
}

.promo-strip {
  background: #111111;
  color: #f9f9f9;
  font-size: 0.82rem;
}

.promo-strip__content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  padding: 0.7rem 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 1rem 0;
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.site-header__top {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: center;
}

.site-header__top .site-nav--desktop {
  flex-wrap: nowrap;
  margin-top: 0;
}

.site-header__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.75rem;
  min-width: 0;
}

.site-search--desktop {
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.site-search-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}

.site-search-wrap.is-suggest-open {
  z-index: 1045;
}

.inline-search-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.site-search__suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: min(320px, 42vh);
  overflow-y: auto;
  padding: 0.35rem;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-md);
  box-shadow: var(--ms-shadow);
}

.site-search__suggestions--inline {
  top: calc(100% + 4px);
}

.site-search__suggest-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: var(--ms-radius-sm);
  background: transparent;
  color: var(--ms-text);
  font: inherit;
  text-align: left;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.12s ease;
}

.site-search__suggest-item:hover,
.site-search__suggest-item.is-active {
  background: var(--ms-surface-muted);
}

.site-logo {
  display: inline-flex;
  align-items: center;
}

.site-logo__img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
}

.site-search {
  --site-search-radius: 999px;
  display: flex;
  align-items: stretch;
  gap: 0;
  min-height: 44px;
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  border-radius: var(--site-search-radius);
  padding: 0 0 0 0.65rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
  overflow: hidden;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.site-search:focus-within {
  border-color: rgba(108, 92, 231, 0.42);
  box-shadow:
    0 10px 30px rgba(17, 24, 39, 0.05),
    0 0 0 3px rgba(108, 92, 231, 0.22);
}

.site-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  border-radius: var(--site-search-radius) 0 0 var(--site-search-radius);
  background: transparent;
  min-height: 44px;
  height: 44px;
  padding: 0 0.65rem;
  line-height: 1.25;
}

.site-search .site-search__input:focus,
.site-search .site-search__input:focus-visible {
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

.site-search .site-search__button:focus,
.site-search .site-search__button:focus-visible {
  box-shadow: none;
  outline: none;
}

.site-search__button {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 3.25rem;
  height: auto;
  min-height: 44px;
  padding: 0 1rem;
  border: 0;
  border-radius: 0 var(--site-search-radius) var(--site-search-radius) 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(108, 92, 231, 0.16);
  color: var(--ms-accent);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.site-search__button:hover {
  background: rgba(108, 92, 231, 0.26);
  color: var(--ms-accent-strong);
}

.site-search__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.btn-accent {
  border: 0;
  border-radius: 999px;
  background: var(--ms-accent);
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 1.35rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-accent:hover {
  background: var(--ms-accent-strong);
  transform: translateY(-1px);
}

.site-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  justify-content: flex-end;
}

.site-storefront-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.2rem;
  min-width: 4.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ms-text-soft);
  font: inherit;
  text-decoration: none;
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-storefront-action:hover {
  color: var(--ms-text);
  transform: translateY(-1px);
}

.site-storefront-action:focus-visible {
  outline: 2px solid var(--ms-accent);
  outline-offset: 4px;
  border-radius: 10px;
}

.site-storefront-action__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: inherit;
}

.site-storefront-action__icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

.site-storefront-action__badge {
  position: absolute;
  top: -7px;
  right: -11px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.site-storefront-action__badge .site-counter {
  margin-left: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 0.28rem;
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(92, 90, 102, 0.16);
  color: var(--ms-text-soft);
}

.site-storefront-action__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 5.5rem;
}

.site-storefront-action.is-active {
  color: var(--ms-accent);
}

.site-storefront-action.is-active .site-storefront-action__badge .site-counter {
  background: rgba(108, 92, 231, 0.22);
  color: var(--ms-accent);
}

.site-storefront-action--compact {
  min-width: 3.5rem;
  gap: 0.15rem;
}

.site-storefront-action--compact .site-storefront-action__icon {
  width: 26px;
  height: 26px;
}

.site-storefront-action--compact .site-storefront-action__icon svg {
  width: 22px;
  height: 22px;
}

.site-storefront-action--compact .site-storefront-action__label {
  font-size: 0.65rem;
  max-width: 4.5rem;
}

.site-storefront-action--compact .site-storefront-action__badge .site-counter {
  min-width: 16px;
  height: 16px;
  font-size: 0.58rem;
}

.site-action-pill,
.site-nav__link,
.chip-button,
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--ms-border);
  background: var(--ms-surface);
  color: var(--ms-text);
  min-height: 44px;
  padding: 0.65rem 1rem;
  transition: all 0.2s ease;
}

.site-header__top .site-nav__link {
  gap: 0.45rem;
}

.site-nav__link-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  display: block;
}

.site-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 0.45rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.site-action-pill:hover,
.site-nav__link:hover,
.chip-button:hover,
.filter-pill:hover {
  border-color: rgba(17, 24, 39, 0.16);
  transform: translateY(-1px);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.site-mobile-actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.65rem;
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ms-border);
  border-radius: 999px;
  background: var(--ms-surface);
  color: var(--ms-text);
}

.mobile-menu-toggle {
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(17, 17, 17, 0.42);
  display: none;
}

.mobile-menu-overlay[hidden] {
  display: none;
}

.mobile-site-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(390px, calc(100vw - 1rem));
  height: 100dvh;
  padding: 1rem;
  background: rgba(249, 249, 249, 0.98);
  border-left: 1px solid var(--ms-border);
  box-shadow: -18px 0 48px rgba(17, 24, 39, 0.16);
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.24s ease;
  display: none;
}

.mobile-site-menu.is-open {
  transform: translateX(0);
}

.mobile-site-menu__header {
  padding-bottom: 0.15rem;
}

.mobile-site-menu__header .site-footer__brand {
  font-size: 1.15rem;
}

.mobile-site-menu__nav,
.mobile-site-menu__admin {
  display: grid;
  gap: 0.65rem;
}

.mobile-site-menu__nav .site-nav__link,
.mobile-site-menu__admin .site-action-pill {
  justify-content: space-between;
  width: 100%;
}

.mobile-menu-open {
  overflow: hidden;
}

.site-nav__link.is-active,
.chip-button.is-active,
.filter-pill.is-active {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
}

.page-shell {
  flex: 1 0 auto;
  padding-top: 2rem;
}

.surface-card,
.catalog-card,
.product-panel,
.stat-card,
.feature-card,
.story-card {
  background: var(--ms-surface);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow);
}

.hero-section .display-4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 241, 250, 0.96) 100%);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-xl);
  box-shadow: var(--ms-shadow);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.45) 0%, rgba(108, 92, 231, 0) 70%);
  pointer-events: none;
}

.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #111111;
  color: #ffffff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-actions,
.section-header,
.stats-grid,
.feature-grid,
.catalog-grid,
.story-grid {
  gap: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

.btn-outline-dark-soft {
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
  font-weight: 600;
  padding: 0.8rem 1.35rem;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-caption {
  color: var(--ms-text-soft);
  max-width: 620px;
}

.stats-grid,
.feature-grid,
.story-grid {
  display: grid;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.stat-card,
.feature-card,
.story-card {
  padding: 1.25rem;
}

.stat-card__value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.stat-card__label,
.muted-text,
.catalog-card__meta,
.site-footer__text {
  color: var(--ms-text-soft);
}

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

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.2);
  color: var(--ms-accent);
  font-weight: 700;
}

.catalog-toolbar,
.catalog-hero,
.product-hero {
  margin-bottom: 1.5rem;
}

.catalog-hero,
.catalog-toolbar,
.product-hero,
.product-variants,
.product-benefits {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 1.4rem;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

@keyframes product-page-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-page-enter {
  animation: product-page-enter 0.48s cubic-bezier(0.22, 0.95, 0.35, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .product-page-enter {
    animation: none;
  }
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.inline-search {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 540px;
}

.inline-search .form-control {
  min-height: 50px;
  border-radius: 999px;
  border-color: var(--ms-border);
  padding-inline: 1rem;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  min-height: 100%;
}

.catalog-card:has(> .catalog-card__product-link) {
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.catalog-card:has(> .catalog-card__product-link):hover {
  border-color: rgba(108, 92, 231, 0.38);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.1);
  transform: translateY(-3px);
}

.catalog-card__product-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--ms-radius-lg);
  text-decoration: none;
  cursor: pointer;
}

.catalog-card__content-link {
  display: contents;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.catalog-card > .card-action-stack {
  margin-top: auto !important;
}

.catalog-card__product-link:focus-visible {
  outline: 2px solid var(--ms-accent);
  outline-offset: 3px;
}

.catalog-card__actions {
  position: relative;
  z-index: 2;
}

.catalog-card__favorite-form {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
}

.product-gallery-wrap {
  position: relative;
  width: min(100%, 480px);
}

.product-gallery__favorite-form {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
}

.product-panel > .catalog-card__badge {
  margin-right: 2.75rem;
}

.favorite-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ms-text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.favorite-toggle__icon {
  width: 26px;
  height: 26px;
  display: block;
  transform-origin: center;
}

.favorite-toggle path {
  fill: rgba(255, 255, 255, 0.76);
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linejoin: round;
  transition:
    fill 0.45s cubic-bezier(0.34, 1.45, 0.64, 1),
    stroke 0.35s ease,
    opacity 0.25s ease;
}

.favorite-toggle:hover {
  transform: translateY(-1px);
  color: var(--ms-text);
}

.favorite-toggle:hover:not(.is-active) path {
  fill: rgba(255, 255, 255, 0.9);
  stroke: var(--ms-accent);
}

.favorite-toggle:active .favorite-toggle__icon {
  transform: scale(0.88);
  transition: transform 0.12s ease;
}

.favorite-toggle.is-active {
  color: var(--ms-accent);
}

.favorite-toggle.is-active path {
  fill: var(--ms-accent);
  stroke: var(--ms-accent);
}

@keyframes favorite-heart-pop {
  0% {
    transform: scale(0.65);
  }
  55% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.favorite-toggle__icon.favorite-toggle__icon--pop {
  animation: favorite-heart-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (prefers-reduced-motion: reduce) {
  .favorite-toggle__icon.favorite-toggle__icon--pop {
    animation: none;
  }

  .catalog-card:has(> .catalog-card__product-link) {
    transition: none;
  }

  .catalog-card:has(> .catalog-card__product-link):hover {
    transform: none;
  }
}

.product-card-media {
  margin: -0.1rem -0.1rem 0.65rem;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7f6fb 0%, #ebe8f4 100%);
}

.product-card-media--swipe {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  overflow: hidden;
}

.product-card-media__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.product-card-media__track::-webkit-scrollbar {
  display: none;
}

.product-card-media__slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.product-card-media__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-media img,
.cart-item-card__media img,
.product-gallery__slide img,
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.22), rgba(17, 17, 17, 0.05));
  color: #111111;
  font-size: 3rem;
  font-weight: 800;
}

.product-image-placeholder--small {
  font-size: 1.8rem;
}

.product-image-placeholder--stage {
  min-height: 420px;
}

.catalog-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  color: var(--ms-text-soft);
  margin-bottom: 0.75rem;
}

.catalog-card__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card__description {
  display: none;
  font-size: 0.82rem;
  color: var(--ms-text-soft);
  flex-grow: 1;
  margin-bottom: 0.75rem;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.3rem;
  margin-bottom: 0.12rem;
}

.catalog-card__stock-line {
  display: block;
  margin: 0 0 0.12rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ms-accent);
}

.catalog-card__stock-line--empty {
  color: var(--ms-text-soft);
  font-weight: 500;
}

.catalog-card .price-block__label {
  display: none;
}

.catalog-card .price-block__value {
  color: var(--ms-accent);
  font-size: 1.05rem;
  line-height: 1.15;
}

.price-block__label {
  display: block;
  font-size: 0.75rem;
  color: var(--ms-text-soft);
}

.price-block__value {
  font-size: 1.1rem;
  font-weight: 700;
}

.ghost-link {
  font-weight: 600;
  color: #111111;
}

.hero-showcase {
  display: grid;
  gap: 1rem;
}

.card-action-stack {
  --card-action-h: 48px;
  --card-action-fs: 0.875rem;
  --card-action-fw: 600;
  display: grid;
  gap: 0.5rem;
  width: 100%;
  margin-top: auto;
}

.catalog-card .card-action-stack {
  --card-action-h: 36px;
  --card-action-fs: 0.74rem;
  gap: 0.28rem;
}

.card-action-stack > form {
  width: 100%;
  margin: 0;
}

.card-action-stack .btn-accent.w-100 {
  min-height: var(--card-action-h);
  height: var(--card-action-h);
  padding: 0 1rem;
  font-size: var(--card-action-fs);
  font-weight: var(--card-action-fw);
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.card-action-stack .storefront-cart-line {
  --storefront-cart-ctrl-h: var(--card-action-h);
  --storefront-step-btn-size: 30px;
}

.catalog-card .card-action-stack .storefront-cart-line {
  --storefront-step-btn-size: 26px;
}

.card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100 {
  min-height: var(--card-action-h);
  height: var(--card-action-h);
  padding: 0 1rem;
  font-size: var(--card-action-fs);
  font-weight: var(--card-action-fw);
  line-height: 1.2;
  box-sizing: border-box;
  border: 1px solid rgba(17, 24, 39, 0.2);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    transform 0.15s ease;
}

.catalog-card .card-action-stack .btn-accent.w-100,
.catalog-card .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100 {
  padding-inline: 0.65rem;
}

.card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:hover {
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: none;
  background: #ffffff;
  transform: translateY(-1px);
}

.card-action-stack .storefront-cart-line__in-cart-btn {
  font-size: var(--card-action-fs);
  font-weight: var(--card-action-fw);
}

.card-action-stack .storefront-cart-line__stepper--split {
  min-height: var(--card-action-h);
  height: var(--card-action-h);
}

.catalog-card .storefront-cart-line__in-cart-btn {
  display: none !important;
}

.product-panel .storefront-cart-line__in-cart-btn {
  display: none !important;
}

.catalog-card .storefront-cart-line__active-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.product-panel .storefront-cart-line__active-row {
  grid-template-columns: 1fr;
  gap: 0;
}

.catalog-card .storefront-card-qty-form {
  width: 100%;
  max-width: none;
}

.product-panel .storefront-card-qty-form {
  width: 100%;
  max-width: none;
}

.catalog-card .storefront-cart-line__stepper {
  width: 100%;
}

.product-panel .storefront-cart-line__stepper {
  width: 100%;
}

.catalog-card .storefront-cart-line__stepper--split,
.product-panel .storefront-cart-line__stepper--split {
  background: rgba(108, 92, 231, 0.14);
  border-color: transparent;
  box-shadow: none;
}

.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone,
.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:hover:not(:disabled),
.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:active:not(:disabled),
.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:focus,
.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:focus-visible,
.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:disabled,
.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__qty,
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone,
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:hover:not(:disabled),
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:active:not(:disabled),
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:focus,
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:focus-visible,
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:disabled,
.product-panel .storefront-cart-line__stepper--split .storefront-cart-line__qty {
  background: rgba(108, 92, 231, 0.14);
  border: 0;
  box-shadow: none;
  outline: none;
  transform: none;
}

.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone {
  font-size: 1.15rem;
}

.catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__qty {
  font-size: 0.86rem;
}

@media (max-width: 767.98px) {
  .catalog-card__buy-now {
    display: none !important;
  }

  .catalog-card .card-action-stack {
    --card-action-h: 38px;
    --card-action-fs: 0.82rem;
  }

  .catalog-card .card-action-stack .storefront-cart-line {
    --storefront-step-btn-size: 28px;
  }

  .catalog-card .price-block__label {
    display: none !important;
  }

  .catalog-card .storefront-cart-label--desktop {
    display: none;
  }

  .catalog-card .storefront-cart-label--mobile {
    display: inline;
  }

  .catalog-card .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100 {
    border: 0;
    background: var(--ms-accent);
    color: #ffffff;
    font-weight: 700;
  }

  .catalog-card .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:hover {
    background: var(--ms-accent-strong);
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-1px);
  }

  .catalog-card .storefront-cart-line__in-cart-btn {
    display: none !important;
  }

  .catalog-card .storefront-cart-line__active-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .catalog-card .storefront-card-qty-form {
    width: 100%;
    max-width: none;
  }

  .catalog-card .storefront-cart-line__stepper {
    width: 100%;
  }

  .product-panel .storefront-cart-line__in-cart-btn {
    display: none !important;
  }

  .product-panel .storefront-cart-line__active-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-panel .storefront-card-qty-form {
    width: 100%;
    max-width: none;
  }

  .product-panel .storefront-cart-line__stepper {
    width: 100%;
  }
}

.surface-banner {
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  padding: 1rem 1.1rem;
}

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

.product-layout {
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(360px, 1fr) minmax(300px, 0.74fr);
  gap: 1.5rem;
  align-items: start;
}

.product-layout__gallery-column,
.product-layout__variants-column,
.product-layout__panel-column {
  min-width: 0;
}

.product-layout__details {
  margin-top: 1.5rem;
}

.product-gallery {
  position: relative;
  width: min(100%, 480px);
  margin-bottom: 0;
  outline: none;
}

.product-gallery__frame {
  position: relative;
  width: min(100%, 480px);
}

.product-variants__short-desc {
  margin-top: 0.4rem;
  line-height: 1.35;
}

.product-panel .card-action-stack .btn-outline-dark-soft.w-100,
.product-panel .btn-outline-dark-soft.product-panel__secondary-action {
  min-height: 48px;
  height: 48px;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--product-panel-action-fs);
  line-height: 1.2;
  box-sizing: border-box;
}

.product-panel .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100 {
  border: 0;
  background: var(--ms-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: var(--product-panel-action-fs);
  transition:
    background 0.2s ease,
    filter 0.15s ease,
    box-shadow 0.2s ease;
}

.product-panel .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:hover:not(:disabled) {
  background: var(--ms-accent-strong);
  filter: brightness(1.02);
}

.product-panel .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:disabled {
  opacity: 0.55;
}

.product-gallery:focus-visible {
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.35);
  border-radius: 32px;
}

.product-gallery__viewport {
  position: relative;
  margin-bottom: 1rem;
}

.product-gallery__viewport--snap {
  display: block;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 28px;
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(108, 92, 231, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #4b3fb5;
  box-shadow: 0 10px 28px rgba(108, 92, 231, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.96);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.product-gallery__nav[hidden] {
  display: none !important;
}

.product-gallery__nav--prev {
  left: 12px;
}

.product-gallery__nav--next {
  right: 12px;
}

.product-gallery__nav span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2.08rem;
  font-weight: 700;
  line-height: 0;
  transform: translateY(-1px);
}

.product-gallery__nav--prev span {
  transform: translate(-1px, -1px);
}

.product-gallery__nav--next span {
  transform: translate(1px, -1px);
}

.product-gallery__frame:hover .product-gallery__nav,
.product-gallery__nav:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.product-gallery__nav:hover {
  background: rgba(255, 255, 255, 0.94);
}

.product-gallery__viewport--snap::-webkit-scrollbar {
  display: none;
}

.product-gallery__strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.product-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #f7f6fb 0%, #ebe8f4 100%);
}

.variant-selector-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.variant-thumb-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-thumb-card {
  display: block;
  width: 72px;
  height: 96px;
  border-radius: var(--ms-radius-sm);
  border: 2px solid var(--ms-border);
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
  padding: 2px;
}

.variant-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--ms-radius-sm) - 4px);
}

.variant-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--ms-surface-muted);
  color: var(--ms-text-soft);
  font-weight: 700;
  font-size: 1.4rem;
}

.variant-thumb-option:hover .variant-thumb-card {
  border-color: rgba(108, 92, 231, 0.3);
  transform: translateY(-2px);
}

.variant-thumb-option input:checked + .variant-thumb-card {
  border-color: var(--ms-accent);
  box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.15);
}

.variant-info-summary {
  font-size: 0.95rem;
  color: var(--ms-text);
}

.product-gallery__thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-gutter: stable;
}

.product-gallery__thumb {
  flex: 0 0 88px;
  border: 1px solid var(--ms-border);
  background: #ffffff;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: all 0.2s ease;
}

.product-gallery__thumb.is-active {
  border-color: #111111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.06);
}

.product-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-variants--inline {
  margin-bottom: 1.5rem;
}

.product-layout__variants-column.product-variants--inline {
  margin-bottom: 0;
  height: fit-content;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.05);
  color: var(--ms-text-soft);
}

.product-panel {
  --product-panel-action-fs: 0.95rem;
  padding: 1.4rem;
  position: sticky;
  top: 140px;
}

.product-panel__price {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.product-panel__meta {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.meta-row__label {
  color: var(--ms-text-soft);
}

.meta-row__value {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.stock-good {
  color: #5847c8;
}

.stock-low {
  color: #a66010;
}

.stock-empty {
  color: #a12727;
}

.variant-selector {
  display: grid;
  gap: 0.8rem;
}

.variant-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-option__card {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: var(--ms-radius-md);
  border: 1px solid var(--ms-border);
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.variant-option__card:hover {
  border-color: rgba(17, 24, 39, 0.18);
  transform: translateY(-1px);
}

.variant-option input:checked + .variant-option__card {
  border-color: #111111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.06);
}

.variant-option__top,
.variant-option__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.variant-option__name {
  font-weight: 700;
}

.variant-option__subline {
  color: var(--ms-text-soft);
  margin-top: 0.3rem;
}

.variant-option__price {
  font-weight: 700;
  white-space: nowrap;
}

.benefit-list {
  display: grid;
  gap: 0.9rem;
}

.benefit-item {
  display: flex;
  gap: 0.9rem;
}

.benefit-item__icon {
  flex: 0 0 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(108, 92, 231, 0.2);
  color: var(--ms-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.site-footer {
  flex-shrink: 0;
  margin-top: 3rem;
  padding: 2.5rem 0 0;
  background: #000000;
  color: #f9f9f9;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.site-footer__brand,
.site-footer__label {
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.site-footer__brand {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.site-footer__tagline {
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 0.03em;
  color: rgba(249, 249, 249, 0.88);
  margin: -0.35rem 0 0.85rem;
}

.site-footer__links {
  display: grid;
  gap: 0.6rem;
}

.site-footer .site-footer__links a {
  color: rgba(249, 249, 249, 0.92);
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-footer .site-footer__links a:hover {
  color: var(--ms-accent-soft);
}

.site-footer__bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  padding: 1rem 0 1.35rem;
}

.site-footer__bottom-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}

.site-footer__bottom-spacer {
  min-width: 0;
}

.site-footer__copyright {
  justify-self: center;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(249, 249, 249, 0.88);
}

.site-footer__pay-icons {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem 1.35rem;
  max-width: min(100%, 380px);
}

.site-footer__pay-part {
  display: block;
  flex-shrink: 0;
  height: clamp(22px, 4.2vw, 30px);
  width: auto;
  object-fit: contain;
  object-position: center;
}

.site-footer__pay-mc {
  flex-shrink: 0;
  height: clamp(26px, 4.8vw, 34px);
  width: auto;
  color: var(--ms-text-soft);
  display: flex;
  align-items: center;
}

.site-footer__pay-mc-svg {
  height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 575.98px) {
  .site-footer__bottom-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .site-footer__bottom-spacer {
    display: none;
  }

  .site-footer__copyright {
    justify-self: center;
    order: 1;
  }

  .site-footer__pay-icons {
    justify-self: center;
    justify-content: center;
    order: 2;
  }
}

.static-doc-page {
  max-width: 52rem;
  margin-inline: auto;
}

.static-doc-page__notice {
  font-size: 0.95rem;
}

.empty-state {
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed rgba(17, 24, 39, 0.16);
  border-radius: var(--ms-radius-lg);
  padding: 1.25rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.75fr);
  gap: 1.5rem;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-item-card,
.checkout-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-lg);
  padding: 1.2rem;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.cart-item-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.cart-item-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7f6fb 0%, #ebe8f4 100%);
}

.cart-item-card__title {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cart-item-card__controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.cart-item-card__row-pricing {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.cart-qty-form {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.cart-qty-form--stepper {
  margin: 0;
  /* Компактнее карточного блока: число не «плавает» между кнопками. */
  --storefront-cart-ctrl-h: 42px;
  --storefront-step-btn-size: 32px;
  flex: 0 0 7.25rem;
  width: 7.25rem;
  min-width: 7.25rem;
  max-width: 7.25rem;
  box-sizing: border-box;
}

.cart-qty-form--stepper .storefront-cart-line__stepper {
  width: 100%;
  max-width: 100%;
  grid-template-columns: var(--storefront-step-btn-size) minmax(2.25rem, auto) var(--storefront-step-btn-size);
  column-gap: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(108, 92, 231, 0.14);
  border-color: transparent;
  box-shadow: none;
}

.cart-qty-form--stepper .storefront-cart-line__qty {
  width: 2.25rem;
  min-width: 2.25rem;
  max-width: 2.25rem;
  justify-self: center;
  box-sizing: border-box;
  font-variant-numeric: tabular-nums;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.2rem 0.15rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  align-self: center;
}

.cart-qty-form--stepper .storefront-cart-line__step-btn {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: transparent;
  color: #4b3fb5;
  font-size: 1.12rem;
}

.cart-qty-form--stepper .storefront-cart-line__step-btn:hover:not(:disabled),
.cart-qty-form--stepper .storefront-cart-line__step-btn:active:not(:disabled),
.cart-qty-form--stepper .storefront-cart-line__step-btn:focus,
.cart-qty-form--stepper .storefront-cart-line__step-btn:focus-visible,
.cart-qty-form--stepper .storefront-cart-line__step-btn:disabled {
  background: transparent;
  box-shadow: none;
  outline: none;
  transform: none;
}

.catalog-hero .section-header [data-cart-hero-total] {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 10.5rem;
  text-align: right;
}

.checkout-panel [data-cart-summary-total] {
  display: inline-block;
  min-width: 9rem;
  text-align: right;
}

.cart-item-card__totals {
  /* Фиксированная ширина: сумма меняется внутри, степпер и разделитель не «ездят». */
  flex: 0 0 8.25rem;
  width: 8.25rem;
  min-width: 8.25rem;
  max-width: 8.25rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding-left: 1rem;
  margin-left: 0;
  border-left: 1px solid var(--ms-border);
}

.cart-item-card__totals .price-block__value,
.cart-item-card__totals .muted-text {
  font-variant-numeric: tabular-nums;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.cart-item-card__footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1.25rem;
  width: 100%;
}

.cart-item-card__remove-form {
  margin: 0;
}

.cart-item-card__favorite-form {
  position: static;
  margin: 0;
}

.storefront-toast {
  position: fixed;
  top: 5.5rem;
  left: 50%;
  translate: -50% 0;
  z-index: 2000;
  max-width: min(420px, calc(100vw - 2rem));
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.18);
  animation: storefront-toast-in 0.28s ease forwards;
}

@keyframes storefront-toast-in {
  from {
    opacity: 0;
    translate: -50% 8px;
  }
  to {
    opacity: 1;
    translate: -50% 0;
  }
}

.checkout-panel {
  position: sticky;
  top: 140px;
  height: fit-content;
}

@media (max-width: 991.98px) {
  .product-layout__gallery-column {
    order: 1;
  }

  .product-layout__panel-column {
    order: 2;
  }

  .product-layout__variants-column {
    order: 3;
  }
}

@media (max-width: 991.98px) and (hover: none) and (pointer: coarse) {
  .site-header__top,
  .product-layout,
  .cart-layout,
  .stats-grid,
  .feature-grid,
  .catalog-grid,
  .story-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-actions {
    justify-content: flex-start;
  }

  .site-header {
    padding: 0.65rem 0;
  }

  .site-header__top {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-nav--desktop,
  .site-header__end,
  .site-search--desktop {
    display: none;
  }

  .site-mobile-actions {
    display: inline-flex;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .mobile-site-menu {
    display: flex;
  }

  .promo-strip {
    display: none;
  }

  .page-shell {
    padding-top: 1.1rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .product-panel {
    top: 96px;
  }

  .checkout-panel {
    order: -1;
    position: static;
  }
}

.storefront-cart-line {
  --storefront-cart-ctrl-h: 50px;
  --storefront-step-btn-size: 34px;
  width: 100%;
  min-height: var(--storefront-cart-ctrl-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.storefront-cart-line__add {
  width: 100%;
  display: flex;
  align-items: center;
}

.storefront-cart-line__add .btn.btn-outline-dark-soft.w-100 {
  min-height: var(--storefront-cart-ctrl-h);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  padding-inline: 1rem;
  line-height: 1.2;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:hover {
  border-color: rgba(17, 24, 39, 0.16);
  box-shadow: none;
}

.storefront-cart-line__active {
  width: 100%;
  display: flex;
  align-items: center;
}

.storefront-cart-line__active-row {
  display: grid;
  grid-template-columns: 1fr 110px;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: var(--storefront-cart-ctrl-h);
}

.storefront-cart-line__in-cart-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  padding: 0 0.65rem;
  height: var(--storefront-cart-ctrl-h);
  min-height: var(--storefront-cart-ctrl-h);
  box-sizing: border-box;
  border: 1px solid rgba(108, 92, 231, 0.32);
  background: rgba(108, 92, 231, 0.18);
  color: var(--ms-text);
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
  font-size: 0.875rem;
  line-height: 1.2;
  white-space: nowrap;
}

.storefront-cart-line__in-cart-btn:hover {
  border-color: rgba(108, 92, 231, 0.45);
  background: rgba(108, 92, 231, 0.26);
  transform: translateY(-1px);
}

.storefront-card-qty-form {
  width: 110px;
  margin: 0;
}

.storefront-cart-line__stepper {
  display: grid;
  grid-template-columns: var(--storefront-step-btn-size, 34px) minmax(1.5rem, 1fr) var(--storefront-step-btn-size, 34px);
  align-items: center;
  justify-items: center;
  column-gap: 0.25rem;
  box-sizing: border-box;
  min-height: var(--storefront-cart-ctrl-h, 50px);
  padding: calc((var(--storefront-cart-ctrl-h, 50px) - 2px - var(--storefront-step-btn-size, 34px)) / 2) 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--ms-border);
  background: var(--ms-surface);
}

.storefront-cart-line__step-btn {
  width: var(--storefront-step-btn-size, 34px);
  height: var(--storefront-step-btn-size, 34px);
  border: 0;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.06);
  color: var(--ms-text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  touch-action: manipulation;
  transition: background 0.2s ease, transform 0.15s ease;
  user-select: none;
}

.storefront-cart-line__step-btn:hover:not(:disabled) {
  background: rgba(108, 92, 231, 0.18);
}

.storefront-cart-line__step-btn:focus,
.storefront-cart-line__step-btn:focus-visible,
.storefront-cart-line__step-btn:active {
  box-shadow: none;
  outline: none;
}

.storefront-cart-line__step-btn:disabled {
  opacity: 0.55;
}

.storefront-cart-line__qty {
  grid-column: 2;
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 0;
  pointer-events: none;
  user-select: none;
}

.storefront-cart-line__stepper--split {
  display: grid;
  grid-template-columns: 1fr minmax(2.4rem, auto) 1fr;
  align-items: stretch;
  justify-items: stretch;
  column-gap: 0;
  padding: 0;
  min-height: 48px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f6f5fb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone {
  width: 100%;
  height: auto;
  min-height: 100%;
  border-radius: 0;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  background: rgba(108, 92, 231, 0.12);
  color: #4b3fb5;
  transition:
    background 0.22s ease,
    transform 0.14s ease,
    color 0.2s ease;
}

.storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:hover:not(:disabled) {
  background: rgba(108, 92, 231, 0.24);
}

.storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:active:not(:disabled) {
  transform: scale(0.94);
}

.storefront-cart-line__stepper--split .storefront-cart-line__qty {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  padding: 0 0.25rem;
  background: rgba(255, 255, 255, 0.97);
  border-left: 1px solid rgba(17, 24, 39, 0.1);
  border-right: 1px solid rgba(17, 24, 39, 0.1);
}

.storefront-cart-label--mobile {
  display: none;
}

@media (max-width: 767.98px) and (hover: none) and (pointer: coarse) {
  .container {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .site-logo__img {
    height: 42px;
    max-width: min(190px, 42vw);
  }

  .mobile-site-menu {
    width: min(360px, calc(100vw - 0.75rem));
  }

  .mobile-site-menu .site-search-wrap {
    width: 100%;
  }

  .mobile-site-menu .site-search {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .mobile-site-menu .site-search__input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
  }

  .mobile-site-menu .site-search__button {
    width: auto !important;
    min-width: 3.25rem;
    flex-shrink: 0;
  }

  .display-4 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .display-6 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

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

  .catalog-toolbar {
    display: grid;
  }

  .catalog-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-gutter: stable;
  }

  .catalog-filters .filter-pill {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
  }

  .catalog-card__product-link {
    inset: 0 0 auto 0;
    height: calc(100% - 8.75rem);
  }

  .catalog-card__actions {
    margin-top: 0.25rem;
  }

  .product-layout__details h1 {
    display: none;
  }

  .product-gallery__viewport--snap {
    margin-bottom: 0.35rem;
    border-radius: 22px;
  }

  .product-gallery__slide {
    border-radius: 22px;
  }

  .product-gallery__nav {
    display: none !important;
  }

  .product-gallery__thumbs {
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }

  .product-gallery__thumb {
    flex-basis: 72px;
    border-radius: 14px;
  }

  .variant-selector-thumbnails {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .variant-thumb-option {
    flex: 0 0 auto;
  }

  .product-panel {
    position: static;
    display: grid;
    gap: 0.4rem;
    padding: 0.55rem 0.65rem;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.12);
  }

  .product-panel .card-action-stack {
    margin-top: 0;
  }

  .product-panel [data-buy-now-form] {
    display: none;
  }

  .storefront-cart-label--desktop {
    display: none;
  }

  .storefront-cart-label--mobile {
    display: inline;
  }

  .product-panel__price {
    font-size: 1.6rem;
  }

  .product-panel__meta {
    margin: 0.4rem 0;
    gap: 0.35rem;
  }

  .hero-section,
  .catalog-hero,
  .catalog-toolbar,
  .product-benefits {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .product-hero,
  .product-variants {
    padding: 0.55rem 0.75rem;
    border-radius: 22px;
  }

  .promo-strip__content,
  .section-header,
  .catalog-card__footer,
  .variant-option__top,
  .variant-option__bottom,
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-card {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "media body"
      "controls controls";
    align-items: start;
    gap: 0.75rem;
    padding: 0.85rem;
    border-radius: 22px;
  }

  .cart-item-card__media {
    grid-area: media;
    width: 96px;
    max-width: none;
    border-radius: 16px;
  }

  .cart-item-card__body {
    grid-area: body;
    min-width: 0;
  }

  .cart-item-card__title {
    display: -webkit-box;
    margin-bottom: 0.35rem;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .cart-item-card__controls {
    grid-area: controls;
    align-items: stretch;
    gap: 0.6rem;
  }

  .cart-item-card__row-pricing {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.75rem;
  }

  .cart-item-card__totals {
    flex: 1 1 min(8.5rem, 45%);
    width: auto;
    min-width: 7.25rem;
    max-width: 9rem;
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    text-align: right !important;
    align-items: flex-end;
    padding-top: 0;
    margin-top: 0;
    border-top: 0;
  }

  .cart-item-card__footer-actions {
    justify-content: space-between;
    gap: 0.55rem;
  }

  .cart-qty-form--stepper {
    flex: 0 0 7.5rem;
    width: 7.5rem;
    min-width: 0;
    max-width: 7.5rem;
    margin-left: 0;
    --storefront-cart-ctrl-h: 38px;
    --storefront-step-btn-size: 30px;
  }

  .checkout-panel {
    padding: 1rem;
    border-radius: 22px;
  }

  .checkout-panel [data-cart-summary-total],
  .catalog-hero .section-header [data-cart-hero-total] {
    min-width: 0;
    text-align: left;
  }

  .admin-page-header {
    align-items: stretch !important;
    flex-direction: column;
    gap: 1rem;
  }

  .admin-page-actions {
    flex-direction: column;
  }

  .admin-page-actions .btn {
    width: 100%;
  }

  .admin-products-table {
    display: none;
  }

  .admin-products-mobile-cards {
    display: grid;
    gap: 1rem;
  }

  .admin-product-form .card-body {
    padding: 1rem;
  }

  .admin-product-form .input-group {
    display: grid;
    gap: 0.5rem;
  }

  .admin-product-form .input-group > .form-control,
  .admin-product-form .input-group > .btn {
    width: 100%;
    border-radius: 0.375rem !important;
  }

  .admin-form-actions {
    top: calc(var(--ms-site-header-height, 4.5rem) + 0.5rem);
  }

  .admin-gallery-dropzone {
    padding: 1rem 0.75rem;
  }

  .admin-variant-existing-grid,
  .admin-upload-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  }

  .inline-search {
    flex-direction: column;
  }

  .btn-accent,
  .btn-outline-dark-soft,
  .chip-button,
  .filter-pill {
    width: 100%;
  }

  .cart-item-card__footer-actions .btn-outline-dark-soft {
    width: auto;
    padding: 0.7rem 1.05rem;
  }
}

/* Карточка товара: компактные вариации + прокрутка при большом списке */
.variant-selector-scroll {
  max-height: min(260px, 38vh);
  overflow-y: auto;
  padding-right: 0.35rem;
  scrollbar-gutter: stable;
}

.product-variants--inline .variant-option__card {
  padding: 0.65rem 0.85rem;
}

.product-variants--inline .variant-option__bottom.mt-2 {
  margin-top: 0.45rem !important;
}

.product-variants--inline .variant-option__top,
.product-variants--inline .variant-option__bottom {
  gap: 0.65rem;
}

/* Админка: зона загрузки изображений */
.admin-products-mobile-cards {
  display: none;
}

.admin-product-card {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--ms-border);
  border-radius: var(--ms-radius-md);
  background: var(--ms-surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.05);
}

.admin-product-card__meta {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.admin-product-card__meta > div {
  display: grid;
  grid-template-columns: minmax(92px, 0.45fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.admin-product-card__meta dt {
  color: var(--ms-text-soft);
  font-weight: 500;
}

.admin-product-card__meta dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.admin-variant-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-variant-nav__chip {
  cursor: grab;
  user-select: none;
}

.admin-variant-nav__chip:active {
  cursor: grabbing;
}

.admin-variant-nav__chip.is-dragging-nav {
  opacity: 0.65;
}

.admin-variant-nav__chip.is-active {
  border-color: rgba(108, 92, 231, 0.55) !important;
  background: rgba(108, 92, 231, 0.1);
  color: #4c3fb8;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.16);
}

.admin-product-form .admin-form-actions {
  position: sticky;
  top: calc(var(--ms-site-header-height, 5.75rem) + 0.75rem);
  z-index: 1020;
  align-self: flex-start;
  padding: 0.75rem;
  border: 1px solid var(--ms-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
}

[data-variant-row].is-focused > .border {
  border-color: rgba(108, 92, 231, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.16);
}

.admin-variant-existing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.6rem;
}

.admin-upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.6rem;
}

.admin-variant-existing-card,
.admin-upload-preview-card {
  position: relative;
  border: 1px solid var(--ms-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  cursor: grab;
}

.admin-variant-existing-card.is-dragging,
.admin-upload-preview-card.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.admin-img-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 3;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: #fff;
  background: rgba(17, 17, 17, 0.72);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.admin-img-remove:hover {
  background: rgba(185, 28, 28, 0.92);
}

.admin-gallery-primary-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 17, 17, 0.78);
  pointer-events: none;
}

.admin-variant-existing-card__media,
.admin-upload-preview-card__media {
  aspect-ratio: 3 / 4;
  background: var(--ms-surface-muted);
}

.admin-variant-existing-card__media img,
.admin-upload-preview-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-gallery-dropzone {
  position: relative;
  border: 2px dashed rgba(17, 24, 39, 0.18);
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  background: rgba(247, 246, 251, 0.65);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-gallery-dropzone.is-dragover {
  border-color: rgba(108, 92, 231, 0.65);
  background: rgba(108, 92, 231, 0.1);
}

.admin-gallery-dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 767.98px) and (hover: none) and (pointer: coarse) {
  .admin-products-mobile-cards {
    display: grid;
    gap: 1rem;
  }

  .admin-variant-existing-grid,
  .admin-upload-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  }

  .admin-gallery-dropzone {
    padding: 1rem 0.75rem;
  }
}

/* Узкие экраны: плотнее вёрстка, плоские кнопки (кроме избранного), компактные карточки */
@media (max-width: 767.98px) {
  .page-shell {
    padding-top: 1.1rem;
  }

  .section-header {
    margin-bottom: 0.65rem;
    row-gap: 0.35rem;
  }

  .section-header .h3,
  .section-header .h2,
  .section-header h1,
  .section-header h2 {
    margin-bottom: 0.3rem !important;
  }

  .hero-section.mb-5 {
    margin-bottom: 1.35rem !important;
  }

  .hero-section,
  .catalog-hero,
  .catalog-toolbar,
  .product-benefits {
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
  }

  .product-hero,
  .product-variants {
    margin-bottom: 0.65rem;
    padding: 0.45rem 0.55rem;
  }

  .catalog-grid {
    gap: 0.4rem;
  }

  .catalog-card {
    padding: 0.5rem 0.45rem;
  }

  .catalog-card__content-link {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }

  .catalog-card__product-link {
    display: none !important;
  }

  .catalog-card__favorite-form {
    top: 8px;
    right: 8px;
  }

  .catalog-card .product-card-media {
    margin: -0.05rem -0.05rem 0.35rem;
    aspect-ratio: 3 / 4;
    border-radius: 14px;
  }

  .catalog-card__stock-line {
    display: block;
    margin: 0 0 0.12rem;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ms-accent);
  }

  .catalog-card__stock-line--empty {
    color: var(--ms-text-soft);
    font-weight: 500;
  }

  .catalog-card__footer {
    gap: 0.25rem;
    margin-bottom: 0.12rem;
    align-items: flex-start;
  }

  .catalog-card .price-block__value {
    color: var(--ms-accent);
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .catalog-card__title {
    margin-top: 0.08rem;
    margin-bottom: 0.12rem;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.28;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .catalog-card__description {
    display: none;
  }

  .catalog-card__actions {
    margin-top: auto !important;
    padding-top: 0.2rem;
  }

  .card-action-stack {
    --card-action-h: 38px;
    --card-action-fs: 0.82rem;
    gap: 0.35rem;
  }

  .card-action-stack .storefront-cart-line {
    --storefront-cart-ctrl-h: var(--card-action-h);
    --storefront-step-btn-size: 28px;
  }

  .catalog-card:has(> .catalog-card__product-link):hover {
    transform: none !important;
  }

  .catalog-card__product-link {
    inset: 0 0 auto 0;
    height: calc(100% - 9rem);
  }

  .product-hero.product-page-enter {
    padding: 0.5rem 0.65rem !important;
  }

  .product-layout {
    gap: 0.35rem !important;
  }

  .product-gallery__viewport--snap {
    margin-bottom: 0.35rem !important;
  }

  .product-variants__short-desc {
    margin-top: 0.3rem;
  }

  .product-panel {
    gap: 0.35rem;
    padding: 0.55rem 0.65rem;
  }

  .product-panel .card-action-stack {
    --card-action-h: 48px;
  }

  .product-panel__meta {
    margin: 0.35rem 0;
    gap: 0.3rem;
  }

  .product-panel .meta-row {
    gap: 0.35rem;
    padding-block: 0;
  }

  .product-layout__details {
    margin-top: 0.65rem !important;
  }

  .product-variants--inline {
    margin-bottom: 0.3rem !important;
  }

  .catalog-card .storefront-cart-line__stepper--split,
  .product-panel .storefront-cart-line__stepper--split {
    background: rgba(108, 92, 231, 0.14);
    border-color: transparent;
    box-shadow: none;
  }

  .catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone,
  .catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:hover:not(:disabled),
  .catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:active:not(:disabled),
  .catalog-card .storefront-cart-line__stepper--split .storefront-cart-line__qty,
  .product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone,
  .product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:hover:not(:disabled),
  .product-panel .storefront-cart-line__stepper--split .storefront-cart-line__step-btn--zone:active:not(:disabled),
  .product-panel .storefront-cart-line__stepper--split .storefront-cart-line__qty {
    background: rgba(108, 92, 231, 0.14);
    border: 0;
    transform: none;
  }

  [data-variant-name] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.25;
  }

  /* Без «приподнимания» при наведении/нажатии; избранное (.favorite-toggle) не трогаем */
  .btn-accent:hover,
  .btn-accent:active,
  .btn-outline-dark-soft:hover,
  .btn-outline-dark-soft:active,
  .site-storefront-action:hover,
  .site-storefront-action:active,
  .site-action-pill:hover,
  .site-action-pill:active,
  .site-nav__link:hover,
  .site-nav__link:active,
  .chip-button:hover,
  .chip-button:active,
  .filter-pill:hover,
  .filter-pill:active,
  .site-search__button:hover,
  .site-search__button:active,
  .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:hover,
  .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:active,
  .catalog-card .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:hover,
  .catalog-card .card-action-stack .storefront-cart-line__add .btn.btn-outline-dark-soft.w-100:active,
  .card-action-stack .btn-accent.w-100:hover,
  .card-action-stack .btn-accent.w-100:active,
  .storefront-cart-line__in-cart-btn:hover,
  .storefront-cart-line__in-cart-btn:active,
  .variant-thumb-option:hover .variant-thumb-card,
  .product-panel .storefront-cart-line__add .btn-outline-dark-soft:hover,
  .product-panel .storefront-cart-line__add .btn-outline-dark-soft:active {
    transform: none !important;
  }
}