.smartphones-hero {
  position: relative;
}

.smartphones-hero__layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.smartphones-hero__lead {
  max-width: 36rem;
  color: var(--color-text-muted);
}

.smartphones-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.smartphones-hero__meta {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
}

.smartphones-hero__media img {
  max-width: 480px;
  margin-inline: auto;
  filter: drop-shadow(0 18px 45px rgba(15, 23, 42, 0.9));
}

.smartphones-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.smartphones-breadcrumb li + li::before {
  content: "/";
  margin-inline: 0.4rem;
  color: var(--color-text-muted);
}

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

.smartphones-section-header__actions {
  display: flex;
  gap: var(--space-3);
}

.smartphones-featured__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.smartphones-spec-list {
  padding-left: 1.1rem;
}

.smartphones-spec-list li {
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.smartphones-filters__layout {
  display: grid;
  gap: var(--space-6);
}

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

.smartphones-filters__group {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.smartphones-filters__group legend {
  padding: 0 var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.smartphones-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.smartphones-filters__grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.smartphones-filters__field label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
}

.smartphones-filters__footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

.smartphones-filters__search {
  flex: 1 1 220px;
}

.smartphones-filters__buttons {
  display: flex;
  gap: var(--space-3);
}

.smartphones-detail__layout {
  display: grid;
  gap: var(--space-8);
  align-items: flex-start;
}

.smartphones-detail__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.smartphones-detail-card--full {
  grid-column: 1 / -1;
}

.smartphones-detail-card__footer {
  margin-top: var(--space-3);
}

.smartphones-detail__media img {
  max-width: 420px;
  margin-inline: auto;
}

.smartphones-gallery__layout,
.smartphones-compare__layout,
.smartphones-deals__layout,
.smartphones-checkout__layout,
.smartphones-mobile-experience__layout,
.smartphones-support__layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.smartphones-gallery__media img,
.smartphones-compare__media img,
.smartphones-checkout__media img,
.smartphones-mobile-experience__media img {
  max-width: 460px;
  margin-inline: auto;
}

.smartphones-reviews__grid,
.smartphones-deals__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
}

.smartphones-deal-card--full {
  grid-column: 1 / -1;
}

.smartphones-compare__actions,
.smartphones-checkout__actions,
.smartphones-support__actions {
  margin-top: var(--space-4);
}

.smartphones-review-card__body p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .smartphones-hero__layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  }

  .smartphones-detail__layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  }

  .smartphones-gallery__layout,
  .smartphones-compare__layout,
  .smartphones-checkout__layout,
  .smartphones-mobile-experience__layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  }
}

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

  .smartphones-hero__actions {
    justify-content: flex-start;
  }

  .smartphones-filters__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .smartphones-filters__buttons {
    justify-content: flex-start;
  }
}
