/* ── Header ── */
/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.header--scrolled {
  background: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header__container {
  padding: 0 1rem;
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: calc(var(--radius) * 1.2);
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--primary-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.header__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to left, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav-link {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header__nav-link:hover {
  color: var(--primary);
}

.header__nav-link--active {
  color: var(--primary);
}

.header__nav-link--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__icon-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.header__icon-btn:hover {
  background: var(--accent);
  color: var(--foreground);
}

.header__icon-btn--active {
  background: color-mix(in oklab, var(--primary) 12%, transparent);
  color: var(--primary);
}

.header__icon-btn--admin {
  color: var(--secondary);
}

.header__icon-btn--admin:hover {
  background: color-mix(in oklab, var(--secondary) 12%, transparent);
  color: var(--secondary);
}

.header__icon-btn--admin.header__icon-btn--active {
  background: color-mix(in oklab, var(--secondary) 15%, transparent);
  color: var(--secondary);
}

.header__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.header__badge {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.25rem;
  background: var(--secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.header__menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Search Bar */
.header__search {
  overflow: hidden;
  max-height: 0;
  transition: all 0.3s ease-out;
}

.header__search--open {
  max-height: 5rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--border);
}

.header__search-inner {
  position: relative;
  margin-top: 1rem;
}

.header__search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: var(--muted-foreground);
  pointer-events: none;
}

.header__search-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 2.75rem 0 2.75rem;
  background: color-mix(in oklab, var(--muted) 50%, transparent);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
  transition: all 0.2s ease;
}

.header__search-input:focus {
  border-color: var(--primary);
  background: var(--background);
}

.header__search-close {
  position: absolute;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.header__search-close:hover {
  background: var(--accent);
  color: var(--foreground);
}

.header__search-close svg {
  width: 1rem;
  height: 1rem;
}

/* Search Results */
.header__search-results {
  margin-top: 0.5rem;
  max-height: 15rem;
  overflow-y: auto;
  background: var(--popover);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: color-mix(in oklab, var(--muted) 50%, transparent);
}

.search-result-item__image {
  width: 3rem;
  height: 3rem;
  border-radius: calc(var(--radius) * 0.8);
  background: var(--muted);
  overflow: hidden;
  flex-shrink: 0;
}

.search-result-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info {
  flex: 1;
  min-width: 0;
}

.search-result-item__name {
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item__price {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.search-result-item__arrow {
  color: var(--muted-foreground);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

.header__search-empty {
  padding: 1.25rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.header__search-view-all {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background 0.2s ease;
}

.header__search-view-all:hover {
  background: color-mix(in oklab, var(--muted) 50%, transparent);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  display: none;
  animation: fade-in 0.3s ease;
}

.mobile-menu-overlay.is-open {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 19rem;
  max-width: 85vw;
  background: var(--background);
  z-index: 200;
  display: none;
  flex-direction: column;
  animation: slide-in-right 0.3s ease;
}

.mobile-menu.is-open {
  display: flex;
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-menu__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.mobile-menu__logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: calc(var(--radius) * 0.8);
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--primary-dark)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.mobile-menu__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
}

.mobile-menu__close {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-menu__close:hover {
  background: var(--accent);
}

.mobile-menu__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mobile-menu__nav {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  overflow-y: auto;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: calc(var(--radius) * 1.2);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu__link:hover {
  background: var(--muted);
  color: var(--foreground);
}

.mobile-menu__link--active {
  background: var(--primary);
  color: white;
}

.mobile-menu__footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu__account-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.75rem;
  border-radius: calc(var(--radius) * 1.2);
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .header__nav {
    display: block;
  }

  .header__menu-toggle {
    display: none;
  }

  .mobile-menu,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ── Hero Section ── */
.hero {
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 600px;
  padding: 3rem 0;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.375rem 1rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
}

.hero__title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.15;
}

.hero__title-accent {
  color: var(--primary);
  position: relative;
}

.hero__description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  line-height: 1.8;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.hero__stat {
  padding-right: 2rem;
}

.hero__stat:first-child {
  padding-right: 0;
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

/* Hero Image */
.hero__image-wrapper {
  position: relative;
}

.hero__image-container {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--primary);
  border-radius: calc(var(--radius) * 2);
  margin: 2.5rem 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) * 2);
}

.hero__rating-badge {
  position: absolute;
  top: 1.25rem;
  right: -0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: calc(var(--radius) * 1.2);
  padding: 0.625rem 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hero__rating-star {
  color: #f59e0b;
  font-size: 1.125rem;
}

.hero__rating-score {
  font-weight: 700;
  font-size: 1.125rem;
}

.hero__product-badge {
  position: absolute;
  bottom: 1.25rem;
  left: -0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: calc(var(--radius) * 1.2);
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero__product-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.hero__product-name {
  font-weight: 600;
  font-size: 0.875rem;
}

.hero__product-price {
  color: var(--primary);
  font-weight: 700;
}

/* ── Categories Section ── */
.categories {
  padding: 4rem 0;
}

.categories__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.categories__title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.categories__subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card:hover .category-card__image {
  transform: scale(1.1);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.2),
    transparent
  );
}

.category-card__emoji {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 2rem;
}

.category-card__name {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: 1rem;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.categories__more {
  text-align: center;
  margin-top: 2rem;
}

.categories__more-btn {
  color: var(--primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.categories__more-btn:hover {
  text-decoration: underline;
}

/* ── Best Sellers Section ── */
.best-sellers {
  padding: 4rem 0;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
}

.best-sellers__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.best-sellers__title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.best-sellers__subtitle {
  color: var(--muted-foreground);
}

.best-sellers__link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
}

.best-sellers__link:hover {
  text-decoration: underline;
}

.best-sellers__carousel {
  overflow: hidden;
}

.best-sellers__track {
  display: flex;
  gap: 1.5rem;
}

/* Product Card */
.product-card {
  flex: 0 0 calc(25% - 1.125rem);
  display: flex;
  flex-direction: column;
  background: var(--background);
  border-radius: calc(var(--radius) * 2);
  overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: color-mix(in oklab, var(--primary) 30%, transparent);
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--muted);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  z-index: 1;
}

.product-card__badge--new {
  background: #10b981;
  color: white;
}

.product-card__badge--popular {
  background: var(--primary);
  color: white;
}

.product-card__badge--sale {
  background: #f43f5e;
  color: white;
}

.product-card__badge--limited {
  background: #f59e0b;
  color: white;
}

.product-card__discount {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: #f43f5e;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  z-index: 1;
}

.product-card__wishlist {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 1;
}

.product-card__wishlist:hover {
  transform: scale(1.1);
}

.product-card__wishlist--active {
  color: #f43f5e;
  fill: #f43f5e;
}

.product-card__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
  gap: 0.75rem;
}

.product-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5rem;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-card__rating-star {
  color: #f59e0b;
  fill: #f59e0b;
}

.product-card__colors {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.product-card__color {
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.product-card__footer {
  margin-top: auto;
  padding-top: 0.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-card__price {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-card__price-original {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-card__price-final {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}

.product-card__add-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: calc(var(--radius) * 0.8);
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-card__add-btn:hover {
  background: var(--primary-dark);
}

/* ── Features Section ── */
.features {
  padding: 4rem 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem;
  background: color-mix(in oklab, var(--primary) 5%, transparent);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: color-mix(in oklab, var(--primary) 10%, transparent);
  border-radius: calc(var(--radius) * 1.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.feature-card__title {
  font-weight: 700;
  font-size: 1rem;
}

.feature-card__description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ── Brand Banner ── */
.brand-banner {
  padding: 5rem 0;
  background: var(--primary);
}

.brand-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}

.brand-banner__icon {
  font-size: 3rem;
}

.brand-banner__title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary-foreground);
  line-height: 1.4;
}

.brand-banner__description {
  color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
  font-size: 1rem;
  line-height: 1.8;
}

/* ── Newsletter ── */
.newsletter {
  padding: 4rem 0;
}

.newsletter__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  max-width: 36rem;
  margin: 0 auto;
}

.newsletter__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.newsletter__description {
  font-size: 1rem;
  color: var(--muted-foreground);
}

.newsletter__form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--primary) 10%, transparent);
}

/* ── Footer ── */
.footer {
  background: var(--muted);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer__description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  max-width: 20rem;
}

.footer__links-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer__links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links-list a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer__links-list a:hover {
  color: var(--primary);
}

.footer__contact-info {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ── Loading States ── */
.categories__loading,
.best-sellers__loading {
  text-align: center;
  padding: 2rem;
  color: var(--muted-foreground);
  grid-column: 1 / -1;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 3rem;
  }

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__menu-toggle {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__content {
    order: 2;
  }

  .hero__image-wrapper {
    order: 1;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__stats {
    gap: 1rem;
  }

  .hero__stat {
    padding-right: 1rem;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .best-sellers__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .product-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter__form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero__stat {
    padding-right: 0;
  }

  .categories__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}
