/* Shared storefront shell; page-specific direction stays under .storefront-home. */
.storefront {
  --storefront-wrap: min(1340px, calc(100% - 72px));
}

.storefront .wrap {
  width: var(--storefront-wrap);
}

.storefront header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  isolation: isolate;
}

.storefront .header {
  height: 72px;
  gap: 48px;
}

.storefront .logo {
  font-size: 34px;
}

.storefront .logo span {
  color: var(--accent);
}

.storefront .header nav {
  gap: 28px;
  font-size: 13px;
  font-weight: 550;
}

.storefront .header nav a {
  font-size: 14px;
  font-weight: 500;
}

.storefront .header-tools {
  margin-left: auto;
}

.storefront .header .icon-btn {
  width: 44px;
  height: 44px;
}

.storefront .logo {
  flex-shrink: 0;
}

.storefront-home main {
  overflow: clip;
}

.storefront-home .hero {
  display: block;
  min-height: 0;
  padding-top: 22px;
  padding-bottom: 0;
}

.storefront-home .hero-banner {
  position: relative;
  display: grid;
  min-height: clamp(410px, 36vw, 500px);
  grid-template-columns: minmax(0, .46fr) minmax(0, .54fr);
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: #eaf0f8;
}

.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);
}

.storefront-home .hero-context {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .28em;
  line-height: 1.2;
  text-transform: uppercase;
}

.storefront-home .hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(3rem, 4.6vw, 4.4rem);
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: .98;
  white-space: nowrap;
}

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

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

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

.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(57vw, 790px);
  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: 12px;
  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 h2,
.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 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 12px;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.storefront-home .category {
  min-height: 182px;
  padding: 12px 10px 10px;
  border-radius: 10px;
  background: var(--paper);
}

.storefront-home .category:hover {
  background: #eff0ee;
}

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

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

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

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

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

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

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

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

.storefront-home #all-catalog {
  color: var(--accent);
  font-size: 12px;
  font-weight: 650;
}

.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 button {
  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: 11px;
  font-weight: 650;
  box-shadow: none;
}

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

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

.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: 10px;
}

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

.storefront-home .brand-pill {
  min-height: 27px;
  padding: 0 10px;
  font-size: 10px;
}

.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: 10px;
  font-weight: 650;
  white-space: nowrap;
}

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

.storefront-home .sort-select {
  min-height: 29px;
  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 .products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.storefront-home .product {
  border-radius: 10px;
  background: var(--paper);
  content-visibility: auto;
  contain-intrinsic-size: 0 400px;
}

.storefront-home .product-image {
  height: 226px;
  border-radius: 0;
  background: var(--paper);
}

.storefront-home .product-image-link {
  padding: 22px 24px 8px;
}

.storefront-home .product-image-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-direction: column;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}

.storefront-home .product-image-placeholder svg {
  width: 24px;
  height: 24px;
  color: var(--faint);
}

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

.storefront-home .product-image .favorite {
  top: 8px;
  right: 8px;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
}

.storefront-home .product-info {
  min-height: 155px;
  padding: 12px 16px 16px;
}

.storefront-home .product-name {
  min-height: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
}

.storefront-home .product-meta {
  min-height: 0;
  margin: 7px 0 0;
  font-size: 10px;
}

.storefront-home .swatches {
  height: 22px;
  margin: 10px 0 15px;
}

.storefront-home .purchase {
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

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

.storefront-home .add-button {
  width: 100%;
  min-height: 38px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
}

.storefront-home .add-button:hover {
  background: var(--accent-dark);
}

.storefront-home .promo {
  min-height: 168px;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  margin-top: 30px;
  border-radius: 12px;
  background: #eef2f6;
}

.storefront-home .promo-copy {
  align-items: flex-start;
  justify-content: center;
  padding: 25px 30px 25px 36px;
}

.storefront-home .promo h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 550;
  letter-spacing: -.055em;
  line-height: 1.05;
}

.storefront-home .promo-meta {
  max-width: 31ch;
  margin: 7px 0 12px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.storefront-home .promo .text-link {
  color: var(--accent);
  font-size: 12px;
}

.storefront-home .promo-image {
  min-height: 168px;
}

.storefront-home .promo-image img {
  width: 100%;
  height: 184px;
  transform: none;
}

.storefront-home .promo:hover .promo-image img {
  transform: translateY(-2px) scale(1.015);
}

.storefront-home footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.storefront-home footer .footer-main {
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .9fr)) minmax(0, 1fr);
  gap: 32px;
  padding: 42px 0 36px;
}

.storefront-home .footer-brand,
.storefront-home .footer-column,
.storefront-home .footer-contact {
  min-width: 0;
}

.storefront-home .footer-brand {
  align-self: start;
}

.storefront-home .footer-brand p {
  margin-top: 13px;
}

.storefront-home .footer-nav {
  display: grid;
  gap: 2px;
}

.storefront-home .footer-nav a,
.storefront-home .footer-contact > a {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.storefront-home .footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.storefront-home .footer-contact > .footer-small {
  margin: 12px 0 0;
  font-size: 11px;
}

.storefront-home .footer-bottom {
  padding: 15px 0 18px;
}

@media (max-width: 1100px) {
  .storefront {
    --storefront-wrap: calc(100% - 56px);
  }

  .storefront .header {
    gap: 30px;
  }

  .storefront .header nav {
    gap: 18px;
    font-size: 12px;
  }

  .storefront-home .hero-copy {
    padding-right: 28px;
    padding-left: 36px;
  }

  .storefront-home .hero-banner {
    min-height: clamp(430px, 42vw, 480px);
  }

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

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

  .storefront-home .category {
    min-height: 165px;
  }

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

  .storefront-home .product-image {
    height: 205px;
  }

  .storefront-home .product-info {
    padding-right: 13px;
    padding-left: 13px;
  }
}

@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 h1 {
    font-size: clamp(2.4rem, 8vw, 3.8rem);
    white-space: nowrap;
  }

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

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

  .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 {
    --storefront-wrap: calc(100% - 32px);
  }

  .storefront header {
    position: sticky;
  }

  .storefront .header {
    height: 64px;
    gap: 12px;
  }

  .storefront .logo {
    font-size: 31px;
  }

  .storefront .header-tools {
    gap: 0;
  }

  .storefront .header-tools .icon-btn {
    min-width: 38px;
    min-height: 38px;
  }

  .storefront .header-tools .icon-btn:nth-child(2) {
    display: inline-flex;
  }

  .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-context {
    margin-bottom: 11px;
    font-size: 9px;
  }

  .storefront-home .hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 9.3vw, 2.7rem);
    white-space: nowrap;
  }

  .storefront-home .hero-copy > p:not(.hero-context) {
    margin-top: 11px;
    font-size: 14px;
  }

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

  .storefront-home .hero .button {
    min-height: 46px;
    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: 9px;
    line-height: 1.35;
    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 h2,
  .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: 10px;
  }

  .storefront-home .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-home .category {
    min-height: 137px;
    padding: 9px 7px 8px;
    border-radius: 9px;
  }

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

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

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

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

  .storefront-home .filter-pills button {
    font-size: 10px;
    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 .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-home .product {
    border-radius: 9px;
  }

  .storefront-home .product-image {
    height: 165px;
  }

  .storefront-home .product-image-link {
    padding: 16px 12px 5px;
  }

  .storefront-home .product-image .favorite {
    top: 4px;
    right: 4px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .storefront-home .product-info {
    min-height: 142px;
    padding: 10px 11px 11px;
  }

  .storefront-home .product-name {
    font-size: 12px;
    line-height: 1.25;
  }

  .storefront-home .product-meta {
    margin-top: 5px;
    font-size: 9px;
  }

  .storefront-home .swatches {
    min-height: 40px;
    height: auto;
    align-content: flex-start;
    flex-wrap: wrap;
    margin: 8px 0 11px;
  }

  .storefront-home .price {
    font-size: 17px;
  }

  .storefront-home .purchase {
    gap: 9px;
  }

  .storefront-home .add-button {
    min-height: 34px;
    padding: 0 7px;
    font-size: 10px;
  }

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

  .storefront-home .promo-copy {
    padding: 23px 22px 0;
  }

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

  .storefront-home .promo-meta {
    margin: 6px 0 10px;
    font-size: 10px;
  }

  .storefront-home .promo .text-link {
    font-size: 10px;
  }

  .storefront-home .promo-image {
    min-height: 170px;
  }

  .storefront-home .promo-image img {
    height: 170px;
  }

  .storefront-home footer {
    margin-top: 26px;
  }

  .storefront-home footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
    padding: 31px 0 28px;
  }

  .storefront-home .footer-brand {
    grid-column: 1 / -1;
  }

  .storefront-home .footer-catalog,
  .storefront-home .footer-buyers {
    order: 0;
  }

  .storefront-home .footer-nav a,
  .storefront-home .footer-contact > a {
    min-height: 40px;
    font-size: 11px;
  }

  .storefront-home .footer-contact {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }

  .storefront-home .footer-contact > h3,
  .storefront-home .footer-contact > .footer-small {
    grid-column: 1 / -1;
  }

  .storefront-home .footer-contact > h3 {
    margin-bottom: 6px;
  }

  .storefront-home .footer-contact > .footer-small {
    margin-top: 8px;
    font-size: 10px;
  }

  .storefront-home .footer-bottom {
    display: grid;
    grid-template-areas:
      "copyright privacy"
      "note note";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 20px;
    align-items: center;
    padding: 16px 0 max(24px, env(safe-area-inset-bottom));
    font-size: 9px;
  }

  .storefront-home .footer-copyright {
    grid-area: copyright;
  }

  .storefront-home .footer-note {
    grid-area: note;
    width: auto;
  }

  .storefront-home .footer-bottom .footer-link {
    grid-area: privacy;
    margin: 0;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-home .hero-product-image {
    animation: none;
  }
}
