/* Homepage extension: the incumbent header, product cards and price filters stay shared. */
.storefront-home .hero-commerce {
  --constructor-columns: 4;
}
.storefront-home .hero-monobouquet-title {
  max-inline-size: 24ch;
  padding-bottom: clamp(8px, 1vw, 16px);
  line-height: 1.08;
  text-wrap: balance;
}
.storefront-home .hero-filter-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.12em;
  font-size: clamp(18px, 1.55vw, 26px);
  line-height: 1.06;
  text-wrap: balance;
}
#heroFeaturedTitle {
  max-inline-size: 18ch;
  min-block-size: 2.16em;
  line-height: 1.08;
  text-wrap: balance;
  scroll-margin-top: 24px;
}
.storefront-home .hero-featured-head {
  margin-top: clamp(24px, 3vw, 44px);
  margin-bottom: clamp(20px, 2.3vw, 32px);
}
#heroFeaturedTitle:focus { outline: none; }
.home-collections { margin-top: clamp(56px, 7vw, 112px); }
.home-collections[hidden] { display: none; }
.home-collection {
  --collection-visible-columns: var(--collection-columns, 3);
  margin-top: clamp(64px, 8vw, 128px);
}
.home-collection:first-child { margin-top: 0; }
.home-collection .hero-featured-title {
  margin-bottom: clamp(18px, 2vw, 28px);
  text-align: center;
  line-height: 1.08;
  text-wrap: balance;
}
.home-collection .hero-featured-price-filter {
  justify-content: center;
  margin-bottom: clamp(24px, 2.8vw, 40px);
}
.home-collection-grid.hero-featured-grid {
  display: grid;
  grid-template-columns: repeat(var(--collection-visible-columns), minmax(0, var(--storefront-card-width)));
  justify-content: center;
}
.home-collection-grid .hero-featured-card { width: auto; }
.home-collection-grid .home-collection-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 12px;
  text-align: center;
  color: var(--ink);
  font-family: var(--utility);
  font-size: 14px;
  line-height: 1.5;
}
.home-collection-empty button {
  display: block;
  margin: 12px auto 0;
  min-height: 44px;
}
.home-collection .hero-featured-controls > [role="status"] {
  flex-basis: 100%;
  text-align: center;
}
.home-collection > [role="status"] {
  display: block;
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 12px;
}
.home-collections-error {
  margin: 0 var(--page-pad);
  color: var(--muted);
  font-family: var(--utility);
  font-size: 14px;
}
.home-collections-error button { margin: 12px; }
@media (width <= 1080px) {
  .storefront-home .hero-commerce {
    --constructor-columns: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, calc(100vw - 2 * var(--page-pad)));
    gap: clamp(12px, 2vw, 22px);
  }
  .storefront-home .hero-filter-card:last-of-type {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }
  .home-collection { --collection-visible-columns: 3; }
}
@media (width <= 680px) {
  .home-collection { --collection-visible-columns: 2; }
  .storefront-home .hero-filter-title { font-size: clamp(19px, 4.6vw, 25px); }
  .storefront-home .hero-monobouquet-title { font-size: clamp(28px, 7.2vw, 34px); }
}
@media (width <= 380px) {
  .storefront-home .hero-monobouquet-title { font-size: clamp(24px, 6.8vw, 26px); }
}
@media (width <= 359px) {
  .home-collection { --collection-visible-columns: 1; }
}
