/* ==========================================================================
   product-hero — breadcrumb, huge product title (split-line reveal with an
   inline image pill), vendor + badge, then the two-column product layout:
   gallery on the left, product info on the right (info arrives in step 7.2).
   ========================================================================== */
.product-hero {
  padding-block: var(--space-lg) var(--space-xl);
}

.product-hero__crumbs {
  margin-bottom: var(--space-lg);
}

.product-hero__title {
  margin-bottom: var(--space-md);
}

/* a slimmer pill on small screens keeps "Menta [pill]" on one line */
.product-hero__title .image-pill {
  width: 1.7em;
}

.product-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-sm);
  padding-top: var(--space-sm);
  border-top: var(--border-hairline);
}

.product-main {
  padding-bottom: var(--space-2xl);
}

.product-main__layout {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

.product-main__info {
  min-width: 0;
}

@media (min-width: 48em) {
  .product-hero {
    padding-block: var(--space-xl);
  }

  .product-hero__title .image-pill {
    width: 2.4em;
  }
}

@media (min-width: 64em) {
  .product-main__layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-xl);
  }

  .product-main__gallery {
    position: sticky;
    top: 5.5rem; /* below the sticky header */
  }
}
