.storefront-home main {
  overflow: clip;
}

.storefront-home .hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding-top: 22px;
  padding-bottom: 0;
}

.storefront-home .hero-banner {
  position: relative;
  display: grid;
  min-height: clamp(420px, 32vw, 460px);
  grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: #eaf0f8;
  touch-action: pan-y;
}

.storefront-home .hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  z-index: 0;
  min-width: 0;
  grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
  transition: opacity 760ms cubic-bezier(.22, .72, .18, 1), transform 760ms cubic-bezier(.22, .72, .18, 1), visibility 0s linear 760ms;
}

.storefront-home .hero-slide[hidden] {
  display: none;
}

.storefront-home .hero-slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.storefront-home .hero-slide.is-entering-from-next,
.storefront-home .hero-slide.is-entering-from-previous {
  z-index: 2;
  visibility: visible;
  transition-delay: 0s;
}

.storefront-home .hero-slide.is-entering-from-next {
  opacity: 0;
  transform: translate3d(clamp(18px, 3vw, 42px), 0, 0);
}

.storefront-home .hero-slide.is-entering-from-previous {
  opacity: 0;
  transform: translate3d(clamp(-42px, -3vw, -18px), 0, 0);
}

.storefront-home .hero-slide.is-leaving-to-previous,
.storefront-home .hero-slide.is-leaving-to-next {
  z-index: 1;
  visibility: visible;
}

.storefront-home .hero-slide.is-leaving-to-previous {
  opacity: 0;
  transform: translate3d(clamp(-42px, -3vw, -18px), 0, 0);
}

.storefront-home .hero-slide.is-leaving-to-next {
  opacity: 0;
  transform: translate3d(clamp(18px, 3vw, 42px), 0, 0);
}

.storefront-home .hero-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
}

.storefront-home .hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.storefront-home .hero-copy {
  position: relative;
  z-index: 2;
  grid-column: 1;
  min-width: 0;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 4.4vw, 68px) clamp(24px, 3.7vw, 52px) clamp(72px, 6.5vw, 92px) clamp(32px, 4.8vw, 76px);
}

.storefront-home .hero .hero-title {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: .98;
  text-wrap: balance;
}

.storefront-home .hero-copy > p {
  max-width: none;
  margin: 14px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.storefront-home .hero-copy > .hero-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 16px;
  color: var(--ink);
  line-height: 1;
}

.storefront-home .hero-price > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
}

.storefront-home .hero-price > strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.storefront-home .hero-actions {
  margin-top: 22px;
}

.storefront-home .hero-price + .hero-actions {
  margin-top: 18px;
}

.storefront-home .hero-carousel-controls {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}

.storefront-home .hero-carousel-progress {
  position: absolute;
  bottom: 22px;
  left: clamp(22px, 3vw, 42px);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.storefront-home .hero-carousel-arrow {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(40 43 47 / 16%);
  border-radius: 50%;
  background: rgb(255 255 255 / 62%);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.storefront-home [data-hero-previous] {
  margin-left: 6px;
}

.storefront-home .hero-carousel-rotation {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(40 43 47 / 16%);
  border-radius: 50%;
  background: rgb(255 255 255 / 62%);
  color: var(--ink);
  cursor: pointer;
}

.storefront-home .hero-carousel-arrow svg,
.storefront-home .hero-carousel-rotation svg {
  display: block;
  width: 16px;
  height: 16px;
}

.storefront-home .hero-carousel-rotation svg[hidden] {
  display: none;
}

.storefront-home .hero-carousel-arrow:focus-visible,
.storefront-home .hero-carousel-rotation:focus-visible,
.storefront-home .hero-carousel-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.storefront-home .hero-carousel-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.storefront-home .hero-carousel-dot {
  display: grid;
  width: 30px;
  height: 24px;
  flex: 0 0 30px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.storefront-home .hero-carousel-dot-track {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(36 40 44 / 35%);
}

/* Активный слайд читается и на паузе, когда полоса прогресса пуста. */
.storefront-home .hero-carousel-dot[aria-pressed="true"] {
  width: 44px;
  flex-basis: 44px;
}

.storefront-home .hero-carousel-dot[aria-pressed="true"] .hero-carousel-dot-track {
  background: rgb(36 40 44 / 55%);
}

.storefront-home .hero-carousel-dot-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
}

.storefront-home .hero-carousel-dot[aria-pressed="true"] .hero-carousel-dot-fill {
  animation: hero-carousel-progress 30s linear forwards;
  animation-play-state: paused;
}

.storefront-home .hero.is-rotating .hero-carousel-dot[aria-pressed="true"] .hero-carousel-dot-fill {
  animation-play-state: running;
}

@keyframes hero-carousel-progress {
  to {
    transform: scaleX(1);
  }
}

.storefront-home .hero-carousel-status {
  min-width: 0;
  color: var(--ink);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .storefront-home .hero-carousel-arrow,
  .storefront-home .hero-carousel-rotation {
    transition: background 180ms var(--ease), border-color 180ms var(--ease);
  }

  .storefront-home .hero-carousel-arrow:hover,
  .storefront-home .hero-carousel-rotation:hover {
    border-color: rgb(40 43 47 / 30%);
    background: rgb(255 255 255 / 72%);
  }
}

.storefront-home .hero .button {
  min-height: 48px;
  gap: 13px;
  padding: 0 17px 0 19px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
}

.storefront-home .hero .button:active {
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .storefront-home .hero .button {
    transition: background 180ms var(--ease), box-shadow 180ms var(--ease);
  }

  .storefront-home .hero .button:hover,
  .storefront-home .hero .button:focus-visible {
    transform: none;
  }

  .storefront-home .hero .button svg {
    transition: transform 180ms var(--ease);
  }

  .storefront-home .hero .button:hover svg,
  .storefront-home .hero .button:focus-visible svg {
    transform: translateX(2px);
  }
}

.storefront-home .hero-product {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  bottom: 0;
  left: 43%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 clamp(12px, 2.2vw, 32px) 0 0;
  pointer-events: none;
}

.storefront-home .hero-product-glow,
.storefront-home .hero-product-contact-shadow,
.storefront-home .hero-product-floor-reflection {
  position: absolute;
  content: "";
  pointer-events: none;
}

.storefront-home .hero-product-glow {
  z-index: 0;
  right: 10%;
  left: 3%;
  bottom: 15%;
  width: auto;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(255 255 255 / 55%) 0%, rgb(255 255 255 / 28%) 46%, rgb(255 255 255 / 0%) 76%);
  filter: blur(24px);
}

.storefront-home .hero-product-contact-shadow {
  z-index: 1;
  right: 15%;
  bottom: 2.75%;
  left: 5%;
  height: 4%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(25 39 58 / 26%) 0%, rgb(25 39 58 / 14%) 42%, rgb(25 39 58 / 0%) 78%);
  filter: blur(7px);
  transform: translateY(7px) scaleX(.86);
}

.storefront-home .hero-product-floor-reflection {
  z-index: 1;
  right: 20%;
  bottom: 2.75%;
  width: 34%;
  height: 3.5%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(222 109 45 / 18%) 0%, rgb(222 109 45 / 9%) 42%, rgb(222 109 45 / 0%) 78%);
  filter: blur(8px);
  transform: translateY(6px) scaleX(.85);
}

.storefront-home .hero-product-media {
  position: relative;
  z-index: 2;
  display: block;
  flex: 0 0 auto;
  width: min(52vw, 720px);
  max-width: none;
  aspect-ratio: 1536 / 1024;
  transform: translate(1%, .5%);
}

.storefront-home .hero-product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 1024;
  margin: 0;
  object-fit: contain;
  filter: none;
  animation: hero-product-arrival 560ms var(--ease) both;
}

@keyframes hero-product-arrival {
  from {
    transform: translateY(10px) scale(.985);
  }

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

.storefront-home .advantages {
  width: var(--storefront-wrap);
  max-width: 1340px;
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 18px 0 19px;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.storefront-home .advantages > div {
  position: relative;
  justify-content: center;
  gap: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 550;
  text-align: left;
}

.storefront-home .advantages > div + div::before {
  position: absolute;
  top: 50%;
  left: -12px;
  width: 1px;
  height: 28px;
  background: var(--line);
  content: "";
  transform: translateY(-50%);
}

.storefront-home .advantage-icon,
.storefront-home .advantage-icon svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.storefront-home .section {
  padding-top: 30px;
}

.storefront-home .section + .section {
  padding-top: 32px;
}

.storefront-home .section-heading {
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.storefront-home .section-heading h1,
.storefront-home .section-heading h2,
.storefront-home main:not(.product-page) .section-heading h1,
.storefront-home main:not(.product-page) .section-heading h2 {
  max-width: none;
  margin: 0;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -.05em;
  line-height: 1.1;
}

.storefront-home .section-lede {
  display: none;
}

.storefront-home #categories .section-heading {
  margin-bottom: 14px;
}

.storefront-home .categories-viewport::after,
.storefront-home .categories-scroll-hint {
  display: none;
}

.storefront-home .categories {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.storefront-home .category {
  min-height: 0;
  padding: 14px 10px 14px;
  border-radius: 16px;
  background: var(--paper);
  transition: background-color 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .storefront-home .category:hover,
  .storefront-home .category:focus-visible {
    background: #eff0ee;
  }
}

.storefront-home .category-media,
.storefront-home .category img {
  height: 104px;
  min-height: 0;
}

.storefront-home .category img {
  width: 100%;
  object-fit: contain;
}

.storefront-home .category-media {
  align-items: center;
}

.storefront-home .category img {
  margin: 0;
}

.storefront-home .category-foot {
  padding: 10px 0 0;
}

.storefront-home .category h3 {
  margin: 0;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.storefront-home .category p,
.storefront-home .category-arrow {
  display: none;
}

/* Built-in category pictures are opaque 4:3 studio shots: they fill the top of the tile
   edge to edge. Selectors carry an extra class so the narrow-screen tile rules below
   (padding, fixed image height) do not override them. */
.storefront-home .category.category--photo {
  padding: 0;
  overflow: hidden;
}

.storefront-home .category--photo .category-media {
  height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.storefront-home .category--photo .category-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}

.storefront-home .category.category--photo .category-foot {
  padding: 10px 6px 12px;
}

@media (hover: hover) and (pointer: fine) {
  .storefront-home .category--photo:hover .category-media img,
  .storefront-home .category--photo:focus-visible .category-media img {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-home .category--photo .category-media img {
    transition: none;
  }
}

.storefront-home #popular .section-heading {
  flex-wrap: nowrap;
  align-items: center;
  margin-bottom: 14px;
}

.storefront-home #popular .section-heading h1,
.storefront-home #popular .section-heading h2 {
  flex: 1 1 auto;
}

.storefront-home #all-catalog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.storefront-home #all-catalog svg {
  width: 16px;
  height: 16px;
}

.storefront-home .filter-pills-viewport {
  position: relative;
  min-width: 0;
}

.storefront-home .filter-scroll-hint {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 5px 14px rgb(28 36 32 / 13%);
  color: var(--accent);
  transform: translateY(-50%);
}

.storefront-home .filter-scroll-hint:not([hidden]) {
  display: grid;
}

.storefront-home .filter-scroll-hint svg {
  width: 16px;
  height: 16px;
}

.storefront-home .filter-scroll-hint:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.storefront-home .filter-pills {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 18px;
  margin-bottom: 15px;
  padding: 0 0 7px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  scrollbar-width: none;
}

.storefront-home .filter-pills::-webkit-scrollbar {
  display: none;
}

.storefront-home .filter-pills [data-filter] {
  display: flex;
  align-items: center;
  min-height: 28px;
  flex: 0 0 auto;
  padding: 0 0 5px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
}

.storefront-home .filter-pills [data-filter]:hover {
  color: var(--ink);
}

.storefront-home .filter-pills [data-filter].active {
  border-bottom-color: var(--accent);
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.storefront-home .popular-tabs {
  display: flex;
  gap: 18px;
  margin: 0 0 18px;
  padding: 0;
  overflow-x: auto;
  /* The tabs' -1px margin overhangs the border by a pixel; without this the row also
     scrolls vertically and drags in any direction on touch screens. */
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.storefront-home .popular-tabs::-webkit-scrollbar {
  display: none;
}

.storefront-home .popular-tabs [role="tab"] {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 40px;
  margin-bottom: -1px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.storefront-home .popular-tabs [role="tab"]:hover {
  color: var(--ink);
}

.storefront-home .popular-tabs [role="tab"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.storefront-home .popular-tabs [role="tab"].active {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

.storefront-home #product-grid[aria-busy="true"] {
  opacity: .55;
  transition: opacity 180ms var(--ease);
}

.storefront-home .brand-filter {
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.storefront-home .brand-filter[hidden] {
  display: none;
}

.storefront-home .brand-filter-label {
  font-size: 13px;
}

.storefront-home .brand-pills {
  gap: 6px;
}

.storefront-home .brand-pill {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.storefront-home .catalog-controls {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -2px 0 15px;
}

.storefront-home .sort-control {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.storefront-home .sort-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.storefront-home .sort-select {
  min-height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  appearance: none;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.storefront-home .sort-select:hover,
.storefront-home .sort-select:focus-visible {
  border-color: #afc0f3;
  background: var(--accent-soft);
  color: var(--accent);
  outline: none;
}

.storefront-home .sort-select-wrap svg {
  position: absolute;
  right: 9px;
  width: 13px;
  height: 13px;
  color: var(--muted);
  pointer-events: none;
}

.storefront-home .catalog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.storefront-home .catalog-load-more[hidden] {
  display: none;
}

.storefront-home .catalog-load-more .button {
  min-height: 44px;
  padding-inline: 20px;
}

.storefront-home .catalog-load-more .button:disabled {
  background: var(--accent);
  cursor: progress;
  box-shadow: none;
  transform: none;
}

/* iPhone 18 packshots have transparent margins that make the devices look undersized. */

.storefront-home .product-taxonomy {
  display: none;
}

.storefront-home .promo {
  position: relative;
  min-height: 260px;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  overflow: hidden;
  margin-top: 30px;
  border-radius: 14px;
  background: #edf2f8;
}

.storefront-home .promo-copy {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 16px 34px 48px;
}

.storefront-home .promo-kicker {
  margin: 0 0 12px;
  color: #6f7f91;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.2;
}

.storefront-home .promo h2 {
  margin: 0;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.storefront-home .promo-copy > .promo-meta {
  max-width: 36ch;
  margin: 14px 0 10px;
  color: #52647c;
  font-size: 16px;
  line-height: 1.4;
}

.storefront-home .promo .promo-link {
  min-height: 44px;
  gap: 16px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
}

.storefront-home .promo-image {
  position: relative;
  z-index: 1;
  min-height: 260px;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: inherit;
  isolation: isolate;
  pointer-events: none;
}

.storefront-home .promo-image::before {
  display: none;
  content: none;
}

.storefront-home .promo-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.storefront-home .promo-price span {
  color: #52647c;
  font-size: 15px;
  font-weight: 500;
}

.storefront-home .promo-image img {
  position: absolute;
  z-index: 1;
  right: 12%;
  bottom: 10px;
  width: min(88%, 500px);
  height: auto;
  aspect-ratio: 2 / 1;
  max-width: none;
  margin: 0;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: none;
  transition: none;
}

.storefront-home .promo:hover .promo-image img {
  transform: none;
}

/* A price-list promotion: one configuration's photo, its price and the one it replaces. */
.storefront-home .promo-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--promo);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.storefront-home .promo-price--offer {
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 2px;
  color: var(--promo-ink);
  font-size: 30px;
}

.storefront-home .promo-price--offer .promo-price-value {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.storefront-home .promo-price--offer .promo-price-old {
  color: #6f7f91;
  font-family: var(--body);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration-thickness: 1px;
}

.storefront-home .promo--offer .promo-image img {
  right: 14%;
  bottom: 50%;
  width: auto;
  height: 88%;
  max-height: 300px;
  aspect-ratio: 1 / 1;
  transform: translateY(50%);
}

.storefront-home .promo--offer:hover .promo-image img {
  transform: translateY(50%);
}

@media (max-width: 1100px) {
  .storefront-home .hero-copy {
    padding-right: 28px;
    padding-left: clamp(28px, 4vw, 48px);
  }

  .storefront-home .hero-banner {
    min-height: clamp(368px, 36vw, 410px);
  }

  .storefront-home .hero .hero-title {
    font-size: clamp(3rem, 4.8vw, 3.75rem);
  }

  .storefront-home .hero-product-media {
    width: min(52vw, 560px);
  }

  .storefront-home .section {
    padding-top: 22px;
  }

  .storefront-home .categories {
    grid-auto-columns: calc((100% - 36px) / 4.4);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .storefront-home .categories::-webkit-scrollbar {
    display: none;
  }

  .storefront-home .category {
    scroll-snap-align: start;
  }
  }

@media (max-width: 900px) {
  .storefront-home .hero-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: clamp(580px, 82vw, 680px);
    align-content: start;
  }

  .storefront-home .hero-bg {
    object-position: 67% center;
  }

  .storefront-home .hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-content: flex-start;
    padding: clamp(32px, 6vw, 48px) clamp(22px, 6vw, 54px) 0;
  }

  .storefront-home .hero .hero-title {
    font-size: clamp(2.4rem, 8vw, 3.8rem);
    max-width: 13ch;
  }

  .storefront-home .hero-copy > p {
    max-width: 35ch;
    font-size: 15px;
    line-height: 1.5;
  }

  .storefront-home .hero-actions {
    margin-top: 22px;
  }

  .storefront-home .hero-copy > .hero-price {
    margin-top: 14px;
  }

  .storefront-home .hero-price + .hero-actions {
    margin-top: 16px;
  }

  .storefront-home .hero-product {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .storefront-home .hero-product-glow {
    right: 6%;
    left: 0;
    bottom: 15%;
    width: auto;
    height: 46%;
  }

  .storefront-home .hero-product-contact-shadow {
    right: 8%;
    bottom: 2.75%;
    left: 4%;
    height: 5%;
  }

  .storefront-home .hero-product-floor-reflection {
    right: 17%;
    width: 35%;
    height: 4%;
  }

  .storefront-home .hero-product-media {
    width: clamp(430px, 82vw, 640px);
    transform: translate(0, .5%);
  }
}

@media (max-width: 760px) {
  .storefront-home .hero {
    padding-top: 16px;
  }

  .storefront-home .hero-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: clamp(480px, 125vw, 540px);
    align-content: start;
    border-radius: 16px;
  }

  .storefront-home .hero-copy {
    padding: 31px 22px 0;
  }

  .storefront-home .hero .hero-title {
    max-width: 13ch;
    font-size: clamp(2.1rem, 9.3vw, 2.7rem);
  }

  .storefront-home .hero-copy > p {
    margin-top: 7px;
    font-size: 14px;
  }

  .storefront-home .hero-copy > .hero-price {
    margin-top: 10px;
  }

  .storefront-home .hero-price > strong {
    font-size: 20px;
  }

  .storefront-home .hero-actions {
    width: fit-content;
    margin-top: 14px;
  }

  .storefront-home .hero-price + .hero-actions {
    margin-top: 12px;
  }

  .storefront-home .hero .button {
    min-height: 44px;
    gap: 10px;
    flex: 0 0 auto;
    padding: 0 14px 0 16px;
    font-size: 12px;
  }

  .storefront-home .hero-product {
    min-height: 0;
  }

  .storefront-home .hero-product-media {
    width: clamp(430px, 112vw, 620px);
    transform: translate(0, .5%);
  }

  .storefront-home .advantages {
    gap: 10px;
    padding: 15px 0 16px;
  }

  .storefront-home .advantages > div {
    align-items: center;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
  }

  .storefront-home .advantages > div + div::before {
    left: -5px;
    height: 38px;
  }

  .storefront-home .advantage-icon,
  .storefront-home .advantage-icon svg {
    width: 20px;
    height: 20px;
  }

  .storefront-home .section,
  .storefront-home .section + .section {
    padding-top: 30px;
  }

  .storefront-home .section-heading {
    margin-bottom: 13px;
  }

  .storefront-home .section-heading h1,
  .storefront-home .section-heading h2,
  .storefront-home main:not(.product-page) .section-heading h1,
  .storefront-home main:not(.product-page) .section-heading h2 {
    font-size: 25px;
  }

  .storefront-home #popular .section-heading {
    margin-bottom: 12px;
  }

  .storefront-home #all-catalog {
    font-size: 13px;
  }

  .storefront-home .popular-tabs {
    gap: 15px;
    margin-inline: calc(var(--storefront-gutter, 16px) * -1);
    padding-inline: var(--storefront-gutter, 16px);
    scroll-padding-inline: var(--storefront-gutter, 16px);
  }

  .storefront-home .popular-tabs [role="tab"] {
    font-size: 13px;
  }

  .storefront-home .categories {
    grid-auto-columns: calc((100% - 20px) / 2.6);
    gap: 10px;
    margin-inline: calc(var(--storefront-gutter, 16px) * -1);
    padding-inline: var(--storefront-gutter, 16px);
    scroll-padding-inline: var(--storefront-gutter, 16px);
  }

  .storefront-home .category {
    padding: 12px 8px 12px;
    border-radius: 14px;
  }

  .storefront-home .category-media,
  .storefront-home .category img {
    height: 84px;
  }

  .storefront-home .category-foot {
    padding-top: 8px;
  }

  .storefront-home .category h3 {
    font-size: 13px;
  }

  .storefront-home .filter-pills {
    gap: 15px;
    margin-bottom: 13px;
    scrollbar-width: thin;
  }

  .storefront-home .filter-pills [data-filter] {
    font-size: 13px;
    min-width: 40px;
    min-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }

  .storefront-home .filter-pills {
    padding-right: 48px;
  }

  .storefront-home .filter-scroll-hint {
    width: 40px;
    height: 40px;
  }

  .storefront-home .brand-pill {
    min-width: 40px;
    min-height: 40px;
  }

  .storefront-home .filter-pills::-webkit-scrollbar,
  .storefront-home .brand-pills::-webkit-scrollbar {
    display: block;
    height: 3px;
  }

  .storefront-home .filter-pills::-webkit-scrollbar-thumb,
  .storefront-home .brand-pills::-webkit-scrollbar-thumb {
    border: 0;
    border-radius: 99px;
    background: #c6ccc8;
  }

  .storefront-home .filter-pills::-webkit-scrollbar-track,
  .storefront-home .brand-pills::-webkit-scrollbar-track {
    background: transparent;
  }

  .storefront-home .brand-filter {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    width: 100%;
  }

  .storefront-home .brand-pills {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .storefront-home .brand-pills::-webkit-scrollbar {
    display: block;
    height: 3px;
  }

  .storefront-home .catalog-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand-label sort"
      "brand-pills brand-pills";
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 13px;
  }

  .storefront-home .brand-filter {
    display: contents;
  }

  .storefront-home .brand-filter[hidden] {
    display: none;
  }

  .storefront-home .brand-filter-label {
    grid-area: brand-label;
    align-self: center;
  }

  .storefront-home .brand-pills {
    grid-area: brand-pills;
  }

  .storefront-home .sort-control {
    grid-area: sort;
    align-self: center;
  }

  .storefront-home .catalog-controls:has(.brand-filter[hidden]) {
    grid-template-columns: 1fr;
    grid-template-areas: "sort";
    justify-items: end;
  }

  .storefront-home .sort-select {
    min-height: 40px;
    padding-right: 27px;
  }

  .storefront-home .promo {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    margin-top: 26px;
  }

  .storefront-home .promo-copy {
    padding: 28px 24px 0;
  }

  .storefront-home .promo-kicker {
    margin-bottom: 9px;
    font-size: 13px;
  }

  .storefront-home .promo h2 {
    font-size: 27px;
  }

  .storefront-home .promo-copy > .promo-meta {
    margin: 10px 0 8px;
    font-size: 14px;
  }

  .storefront-home .promo-image {
    position: relative;
    inset: auto;
    min-width: 0;
    width: 100%;
    min-height: 220px;
    height: clamp(220px, 56vw, 360px);
    aspect-ratio: auto;
    overflow: hidden;
  }

  .storefront-home .promo-price {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .storefront-home .promo-image img {
    width: 90%;
    height: auto;
    right: 5%;
    bottom: 12px;
    margin: 0;
    object-fit: contain;
    transform: none;
  }

  .storefront-home .promo:hover .promo-image img {
    transform: none;
  }

  .storefront-home .promo-price--offer {
    font-size: 26px;
  }

  .storefront-home .promo-price--offer .promo-price-old {
    font-size: 15px;
  }

  .storefront-home .promo--offer .promo-image {
    height: clamp(220px, 64vw, 320px);
  }

  .storefront-home .promo--offer .promo-image img,
  .storefront-home .promo--offer:hover .promo-image img {
    right: 50%;
    bottom: 12px;
    width: auto;
    height: calc(100% - 24px);
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-home .hero-slide {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .storefront-home .hero-product-image {
    animation: none;
  }

  .storefront-home .hero-carousel-arrow,
  .storefront-home .hero-carousel-rotation,
  .storefront-home .hero-carousel-dot-fill {
    transition: none;
    animation-duration: 0.01ms;
  }
}

.storefront-home .hero-product--series .hero-product-glow,
.storefront-home .hero-product--series .hero-product-contact-shadow,
.storefront-home .hero-product--series .hero-product-floor-reflection {
  display: none;
}

@media (max-width: 900px) {
  .storefront-home .hero-slide {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
  }
}

@media (max-width: 760px) {
  .storefront-home .hero-carousel-progress {
    bottom: 16px;
    left: 18px;
    gap: 9px;
  }

  /* На мобильных боковые стрелки перекрывают товар — управление
     свайпом + точками/пагинацией снизу, стрелки скрываем. */
  .storefront-home .hero-carousel-arrow,
  .storefront-home [data-hero-previous],
  .storefront-home [data-hero-next] {
    display: none;
  }

  .storefront-home .hero-carousel-rotation {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .storefront-home .hero-carousel-dot {
    width: 28px;
    height: 36px;
    flex-basis: 28px;
  }

  .storefront-home .hero-carousel-status {
    font-size: 11px;
  }

  .storefront-home .hero .button {
    min-height: 48px;
    font-size: 14px;
  }

  .storefront-home .hero-carousel-progress {
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: rgb(255 255 255 / 58%);
    backdrop-filter: blur(8px);
  }
}

/* Фото товара на любой ширине вписывается целиком в одну и ту же область:
   не упирается в край баннера, не обрезается и стоит одинаково на всех слайдах. */
.storefront-home .hero-product--series .hero-product-media,
.storefront-home .hero-product--landscape .hero-product-media,
.storefront-home .hero-product--portrait .hero-product-media {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  transform: none;
}

.storefront-home .hero-product--series .hero-product-image,
.storefront-home .hero-product--landscape .hero-product-image,
.storefront-home .hero-product--portrait .hero-product-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
}

@media (min-width: 901px) {
  .storefront-home .hero-product {
    padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 48px) 0 0;
  }
}

/* В колонку: товар занимает место между текстом и полосой управления. */
@media (max-width: 900px) {
  .storefront-home .hero-banner {
    min-height: 0;
    height: clamp(580px, 82vw, 680px);
  }

  .storefront-home .hero-slide {
    grid-template-rows: auto minmax(0, 1fr);
    padding-bottom: 72px;
  }

  .storefront-home .hero-product {
    height: 100%;
    padding: 16px 24px 0;
  }
}

@media (max-width: 760px) {
  .storefront-home .hero-banner {
    height: clamp(500px, 136vw, 580px);
  }

  .storefront-home .hero-slide {
    padding-bottom: 58px;
  }

  .storefront-home .hero-product {
    padding: 10px 6px 0;
  }
}

@media (max-width: 360px) {
  .storefront-home .hero-copy {
    padding: 24px 18px 0;
  }

  .storefront-home .hero .hero-title {
    font-size: 2rem;
  }
}

/* Catalog cards use depth and color to acknowledge hover without moving their
   content or changing the grid's geometry. Keep this unlayered so it can
   intentionally win over page-specific card surfaces above. */

.storefront-catalog #popular {
  padding-top: 38px;
  scroll-margin-top: 72px;
}

.storefront-catalog .catalog-breadcrumbs {
  margin-bottom: 20px;
}

.storefront-catalog #popular .section-heading {
  margin-bottom: 22px;
}

.storefront-catalog #popular .section-heading h1 {
  font-size: clamp(32px, 3.2vw, 44px);
  letter-spacing: -.035em;
}

@media (max-width: 760px) {
  .storefront-catalog #popular {
    padding-top: 24px;
  }

  .storefront-catalog .catalog-breadcrumbs {
    margin-bottom: 16px;
  }

  .storefront-catalog #popular .section-heading {
    margin-bottom: 18px;
  }

  .storefront-catalog #popular .section-heading h1 {
    font-size: 30px;
  }
}

/* Phones: the category row and the collection tabs run off the screen edge. The side
   that still has content fades out, so the row reads as "scroll for more"; the fade
   follows the scroll position and is gone at each end. Without scroll-driven
   animations the rows look as before. */
@property --scroller-fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --scroller-fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@keyframes scroller-edge-fade {
  0% {
    --scroller-fade-start: 0px;
    --scroller-fade-end: 28px;
  }

  6% {
    --scroller-fade-start: 28px;
  }

  94% {
    --scroller-fade-end: 28px;
  }

  100% {
    --scroller-fade-start: 28px;
    --scroller-fade-end: 0px;
  }
}

@supports (animation-timeline: scroll()) {
  @media (max-width: 760px) {
    .storefront-home .categories,
    .storefront-home .popular-tabs {
      animation: scroller-edge-fade linear both;
      animation-timeline: scroll(self inline);
      mask-image: linear-gradient(90deg, transparent, #000 var(--scroller-fade-start), #000 calc(100% - var(--scroller-fade-end)), transparent);
    }
  }
}
