.store-feature { background: var(--bg-secondary); }
.store-feature-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.store-feature-eyebrow {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.store-feature-heading h2 { margin-bottom: 12px; }
.store-feature-heading .lede { max-width: 620px; margin-bottom: 0; }
.store-feature-heading > .btn { flex-shrink: 0; white-space: nowrap; }
.store-carousel-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  margin: 0;
  padding: 4px 0 16px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
.store-product { scroll-snap-align: start; min-width: 0; }
.store-product-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.store-product-link:hover { color: var(--text); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.store-product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.store-product-image img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.store-product-copy { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.store-product-copy h3 { font-size: 1.15rem; line-height: 1.4; margin-bottom: 18px; }
.store-product-cta { color: var(--accent); font-size: .88rem; font-weight: 800; margin-top: auto; }
.store-carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.store-carousel-count { color: var(--text-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.store-carousel-buttons { display: flex; align-items: center; gap: 10px; }
.store-carousel-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
}
.store-carousel-button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.store-carousel-pause { border-radius: 999px; padding: 0 16px; font-size: .8rem; font-weight: 700; }
.store-feature :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.store-feature [hidden] { display: none !important; }
@media (max-width: 900px) {
  .store-feature-heading { align-items: flex-start; flex-direction: column; }
  .store-carousel-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
}
@media (max-width: 560px) {
  .store-carousel-track { grid-auto-columns: 86%; gap: 16px; }

  .store-product-copy { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-product-link { transition: none; }
}

/* The dedicated store page displays four products per desktop row. */
@media (min-width: 901px) {
  .store-page-carousel .store-carousel-track { grid-auto-columns: calc((100% - 72px) / 4); }
}
.store-page-carousel .store-carousel { margin-top: 32px; }
.store-page-carousel .store-shop-link { margin-top: 32px; text-align: center; }
