.shop-hero {
  padding-top: var(--space-10);
}

.shop-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: center;
}

.shop-hero__content {
  max-width: 620px;
}

.shop-hero__eyebrow {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin-bottom: var(--space-2);
}

.shop-hero__lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.shop-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.shop-hero__trust-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-soft);
}

.shop-hero__image-wrapper {
  min-height: 260px;
}

.shop-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.shop-section-header--stacked {
  flex-direction: column;
  align-items: flex-start;
}

.shop-categories__layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: flex-start;
}

.shop-filters {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.shop-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.shop-filters__row--bottom {
  margin-top: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

.shop-filters__field {
  flex: 1 1 180px;
}

.shop-filters__toggles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.shop-filters__reset {
  margin-left: auto;
}

.shop-categories__sidebar {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-4);
  box-shadow: var(--shadow-xs);
}

.shop-categories__sidebar-title {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  margin-bottom: var(--space-3);
}

.shop-categories__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.shop-categories__list a {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.shop-categories__support-link {
  display: inline-block;
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.shop-featured__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: var(--space-6);
  align-items: stretch;
}

.shop-featured__image-wrapper {
  height: 100%;
}

.shop-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.shop-featured__list,
.shop-grid__list,
.shop-detail__list,
.shop-offers__list,
.shop-recommendations__list,
.shop-checkout__list,
.shop-support__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.shop-grid__visual {
  margin-bottom: var(--space-6);
}

.shop-grid__image-wrapper {
  max-height: 360px;
}

.shop-grid__card .card-subtitle,
.shop-offers__card .card-subtitle,
.shop-detail__card .card-subtitle,
.shop-recommendations__card .card-subtitle,
.shop-checkout__card .card-subtitle,
.shop-support__card .card-subtitle {
  margin-bottom: var(--space-3);
}

.shop-offers__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.4fr);
  gap: var(--space-6);
  align-items: center;
}

.shop-offers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}

.shop-offers__notice {
  margin-bottom: var(--space-4);
}

.shop-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: var(--space-6);
  align-items: center;
}

.shop-detail__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.shop-detail__seller {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.shop-detail__seller-link {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.shop-recommendations__layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.shop-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: var(--space-6);
  align-items: center;
}

.shop-checkout__notice {
  margin-top: var(--space-3);
}

.shop-checkout__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
}

.shop-checkout__terms-link {
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
}

.shop-support__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: var(--space-6);
  align-items: center;
}

.shop-support__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.shop-support__column h4 {
  margin-bottom: var(--space-2);
}

@media (max-width: 960px) {
  .shop-hero__layout,
  .shop-categories__layout,
  .shop-featured__layout,
  .shop-offers__layout,
  .shop-detail__layout,
  .shop-checkout__layout,
  .shop-support__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-featured__grid,
  .shop-offers__grid,
  .shop-recommendations__layout,
  .shop-support__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .shop-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-featured__grid,
  .shop-offers__grid,
  .shop-recommendations__layout,
  .shop-support__grid,
  .shop-grid__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-filters {
    padding: var(--space-3);
  }

  .shop-filters__row--bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-filters__reset {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .shop-hero {
    padding-top: var(--space-8);
  }

  .shop-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shop-checkout__footer,
  .shop-detail__footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
