.headphones-hero {
  padding-top: var(--space-12);
}

.headphones-hero__grid {
  align-items: center;
  gap: var(--space-8);
}

.headphones-hero__subtitle {
  max-width: 34rem;
}

.headphones-hero__cta-group {
  margin-top: var(--space-4);
}

.headphones-hero__meta {
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.headphones-hero__image-wrapper {
  justify-self: center;
}

.headphones-hero__image {
  max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.headphones-breadcrumbs__nav {
  font-size: var(--font-size-sm);
}

.headphones-breadcrumbs__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--color-text-muted);
}

.headphones-breadcrumbs__list li::after {
  content: "/";
  margin-left: var(--space-2);
  color: var(--color-text-muted);
}

.headphones-breadcrumbs__list li:last-child::after {
  content: "";
}

.headphones-breadcrumbs__list li[aria-current="page"] {
  color: var(--color-text);
}

.headphones-layout__grid {
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: var(--space-6);
}

.headphones-filters__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.headphones-filters__group label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: var(--font-size-sm);
}

.headphones-filters__group--range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.headphones-filters__actions {
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.headphones-featured__grid {
  align-items: center;
  gap: var(--space-6);
}

.headphones-featured__list {
  margin-bottom: var(--space-3);
}

.headphones-featured__badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.headphones-featured__meta {
  margin-top: var(--space-3);
}

.headphones-featured__actions {
  margin-top: var(--space-4);
}

.headphones-featured__image-wrapper {
  justify-self: center;
}

.headphones-featured__image {
  max-width: 360px;
  border-radius: var(--radius-xl);
}

.headphones-section-header {
  margin-bottom: var(--space-4);
}

.headphones-catalog__grid {
  align-items: stretch;
}

.headphones-product__footer {
  margin-top: var(--space-3);
}

.headphones-product__rating {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.headphones-compare__table-wrapper {
  overflow-x: auto;
}

.headphones-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.headphones-compare__table th,
.headphones-compare__table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-border-subtle);
  text-align: left;
}

.headphones-compare__table thead th {
  font-weight: 600;
}

.headphones-compare__table tbody tr:nth-child(even) {
  background-color: rgba(15, 23, 42, 0.4);
}

.headphones-compare__actions {
  margin-top: var(--space-4);
  gap: var(--space-4);
}

.headphones-detail__grid {
  gap: var(--space-6);
  align-items: center;
}

.headphones-detail__image {
  max-width: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.headphones-detail__list {
  margin-top: var(--space-3);
}

.headphones-detail__actions {
  margin-top: var(--space-4);
}

.headphones-reviews__grid {
  align-items: flex-start;
}

.headphones-review h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.headphones-review__meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.headphones-reviews__cta {
  margin-top: var(--space-4);
  gap: var(--space-4);
}

.headphones-recommendations__grid {
  align-items: flex-start;
}

.headphones-promotions__grid {
  align-items: center;
  gap: var(--space-6);
}

.headphones-promotions__image {
  max-width: 420px;
  border-radius: var(--radius-xl);
}

.headphones-promotions__list {
  margin-top: var(--space-3);
}

.headphones-promotions__actions {
  margin-top: var(--space-4);
}

.headphones-checkout__grid {
  align-items: flex-start;
}

.headphones-checkout__cta {
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.headphones-faq__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.headphones-faq__item summary {
  cursor: pointer;
  font-weight: 600;
}

.headphones-faq__item summary::-webkit-details-marker {
  display: none;
}

.headphones-faq__item summary::before {
  content: "+";
  display: inline-block;
  margin-right: var(--space-2);
  color: var(--color-primary);
}

.headphones-faq__item[open] summary::before {
  content: "−";
}

.headphones-faq__item p {
  margin-top: var(--space-2);
}

.headphones-faq__cta {
  margin-top: var(--space-4);
  gap: var(--space-4);
}

@media (max-width: 1024px) {
  .headphones-layout__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .headphones-hero__grid,
  .headphones-featured__grid,
  .headphones-detail__grid,
  .headphones-promotions__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .headphones-hero__image,
  .headphones-featured__image,
  .headphones-detail__image,
  .headphones-promotions__image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

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

  .headphones-compare__actions,
  .headphones-reviews__cta,
  .headphones-faq__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .headphones-filters__group--range {
    grid-template-columns: minmax(0, 1fr);
  }
}
