*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --pink-50: #fff8fb;
  --pink-100: #ffe8f2;
  --pink-200: #ffd0e4;
  --pink-300: #f5a8c8;
  --pink-500: #e84393;
  --pink-600: #d63384;
  --pink-700: #b8256f;
  --rose-gold: #c9956c;
  --rose-gold-light: #e8cfc0;
  --rose-gold-dark: #a67c6d;
  --gold-shimmer: #d4a574;
  --cream: #fffaf7;
  --text: #3d2c35;
  --text-muted: #8a7380;
  --white: #ffffff;
  --border: rgba(216, 51, 132, 0.12);
  --shadow-sm: 0 2px 12px rgba(184, 37, 111, 0.06);
  --shadow-md: 0 8px 32px rgba(184, 37, 111, 0.1);
  --shadow-lg: 0 16px 48px rgba(184, 37, 111, 0.12);
  --radius: 8px;
  --radius-lg: 8px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IRANYekan", Tahoma, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, var(--pink-50) 0%, var(--cream) 120px, var(--cream) 100%);
  min-height: 100vh;
}

a {
  color: var(--pink-600);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--rose-gold-dark);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.container--wide {
  width: min(1280px, 94vw);
  margin-inline: auto;
}

.container-fluid {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__shell {
  width: 100%;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--pink-600), var(--rose-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

/* ── Header layout + mega menu ── */
.header-inner {
  position: static;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.utility-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.utility-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.utility-nav a:hover {
  background: var(--pink-100);
  color: var(--pink-700);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--pink-600);
  border-radius: 2px;
}

.mega-nav {
  flex: 1;
  min-width: 0;
}

.mega-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.mega-nav__item {
  position: static;
}

.mega-nav__item:hover,
.mega-nav__item:focus-within {
  z-index: 95;
}

.mega-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.mega-nav__trigger:hover,
.mega-nav__item:focus-within .mega-nav__trigger,
.mega-nav__item:hover .mega-nav__trigger {
  background: var(--pink-100);
  color: var(--pink-700);
}

.mega-nav__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.65;
}

.mega-menu {
  position: absolute;
  inset-inline: 0;
  /* Pull panel up into the header to remove the hover dead zone */
  top: calc(100% - 14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  transition-delay: 0.12s;
  pointer-events: none;
  background: linear-gradient(180deg, var(--pink-50) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  z-index: 90;
  padding: 1rem 0 1.25rem;
}

/* Invisible bridge from nav triggers down into the panel */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -22px;
  inset-inline: 0;
  height: 36px;
}

.mega-nav__item:hover .mega-menu,
.mega-nav__item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mega-menu__inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem 2.25rem 1.35rem;
}

.mega-menu__columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem 2.25rem;
}

.mega-menu__column {
  padding-inline: 0.25rem;
}

.mega-menu__column-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pink-700);
  text-decoration: none;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.35rem 0.55rem;
  border-bottom: 2px solid var(--pink-100);
}

.mega-menu__column-title:hover {
  color: var(--rose-gold-dark);
}

.mega-menu__links {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mega-menu__links a {
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.mega-menu__links a:hover {
  color: var(--pink-600);
  background: var(--pink-50);
}

.mega-menu__footer {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.mega-menu__view-all {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--rose-gold-dark);
}

.mega-menu__view-all:hover {
  color: var(--pink-600);
}

.mobile-mega-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.mobile-mega-nav__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.mobile-mega-nav__summary {
  list-style: none;
  cursor: pointer;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.mobile-mega-nav__summary::-webkit-details-marker {
  display: none;
}

.mobile-mega-nav__root-link {
  text-decoration: none;
  color: var(--text);
}

.mobile-mega-nav__panel {
  padding: 0 1rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--pink-50);
}

.mobile-mega-nav__group {
  padding-top: 0.85rem;
}

.mobile-mega-nav__group-title {
  display: block;
  font-weight: 700;
  color: var(--pink-700);
  text-decoration: none;
  margin-bottom: 0.45rem;
}

.mobile-mega-nav__links {
  list-style: none;
  margin: 0;
  padding: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.mobile-mega-nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.category-body {
  margin-top: 2rem;
  max-width: none;
}

.catalog-section {
  margin-bottom: 2.5rem;
}

.page-section {
  margin-bottom: 2.5rem;
}

.page-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.page-section__view-all {
  font-size: 0.9rem;
  color: var(--pink-600);
  text-decoration: none;
  white-space: nowrap;
}

.page-section__view-all:hover {
  text-decoration: underline;
}

.page-section__tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
}

.page-section__tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-section__tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.page-section__tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.img-placeholder--tile {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--pink-100), var(--pink-200));
}

.page-section__tile-caption {
  padding: 0.5rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.page-section__tile-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.page-section__tile-badge {
  font-size: 0.8rem;
  color: var(--pink-600);
}

.page-section__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.page-section__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 64px;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.page-section__brand img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
}

.page-section__brand-name {
  font-weight: 600;
  color: var(--text);
}

.section-title__count {
  font-size: 0.85em;
  font-weight: 500;
  color: var(--text-muted);
}

.category-tile__img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.category-tile .img-placeholder--category {
  border-radius: 8px 8px 0 0;
}

.product-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .card-image {
  position: relative;
}

.product-card__stock {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
}

.product-detail__subtitle {
  margin: -0.25rem 0 0.75rem;
}

.product-detail__intro {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.product-detail__section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.product-detail__section h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--rose-gold-dark);
}

.product-detail__prose {
  line-height: 1.75;
  color: var(--text);
}

.product-detail__collapsible .product-detail__prose {
  font-size: 0.9rem;
  line-height: 1.65;
}

.product-detail__prose--clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.product-detail__collapsible.is-expanded .product-detail__prose--clamped {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.product-detail__read-more {
  display: block;
  width: fit-content;
  margin-top: 0.65rem;
  margin-inline-start: auto;
}

.price-block__sale-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.price-block__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  background: var(--pink-600);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

.price-block--card {
  margin-top: 0.35rem;
}

.price-block--card .price {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.price-block--card .price-block__sale-row {
  margin-bottom: 0.25rem;
}

.price-block--lg .price-block__sale-row {
  margin-bottom: 0.4rem;
}

.price__currency {
  font-size: 0.65em;
  font-weight: 600;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.product-actions__cart {
  min-width: min(100%, 220px);
}

.product-actions .btn[disabled] {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.spec-table {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.spec-table__row {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  border-bottom: 1px solid var(--border);
}

.spec-table__row:last-child {
  border-bottom: none;
}

.spec-table__row dt {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--pink-50);
  font-weight: 600;
  color: var(--pink-700);
}

.spec-table__row dd {
  margin: 0;
  padding: 0.85rem 1rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .spec-table__row {
    grid-template-columns: 1fr;
  }

  .spec-table__row dt {
    padding-bottom: 0.35rem;
  }

  .spec-table__row dd {
    padding-top: 0;
  }
}

/* ── Product variant picker ── */
.variant-option {
  margin-top: 1.25rem;
}

.variant-option .section-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.variant-option__selected {
  font-weight: 700;
  color: var(--pink-700);
}

.variant-option__values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.variant-option__values--swatch {
  gap: 0.75rem;
}

.variant-option__value {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.variant-option__values--swatch .variant-option__value {
  border-radius: 50%;
  padding: 3px;
  width: 2.75rem;
  height: 2.75rem;
  justify-content: center;
}

.variant-option__values--swatch .variant-option__value.has-image-swatch {
  padding: 2px;
}

.variant-option__value:hover,
.variant-option__value.is-selected {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.12);
}

.variant-option__value.is-unavailable {
  opacity: 0.45;
}

.variant-option__value.is-unavailable .variant-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top left,
    transparent calc(50% - 1px),
    #333 calc(50% - 1px),
    #333 calc(50% + 1px),
    transparent calc(50% + 1px)
  );
  border-radius: 50%;
  pointer-events: none;
}

.variant-swatch {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--swatch-color, var(--pink-200));
  border: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  overflow: hidden;
  display: block;
}

.variant-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.variant-option__label {
  font-size: 0.88rem;
  font-weight: 600;
}

.variant-option__badge {
  position: absolute;
  top: -0.45rem;
  inset-inline-start: -0.25rem;
  background: var(--pink-600);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
}

.product-pricing {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.price-compare {
  text-decoration: line-through;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

.price-block .price {
  margin: 0;
}

.product-gallery__main {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
}

.product-gallery__main .product-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  background: var(--white);
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.product-gallery__thumb {
  padding: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  width: 64px;
  height: 64px;
  overflow: hidden;
}

.product-gallery__thumb.is-active {
  border-color: var(--pink-500);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: var(--pink-100);
  color: var(--pink-700);
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

#cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-gold));
  color: var(--white);
  border-radius: 999px;
}

/* ── Image placeholders (replace with real images later) ── */
.img-placeholder {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
  pointer-events: none;
}

.img-placeholder--hero {
  aspect-ratio: 21 / 8;
  min-height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(125deg, var(--pink-200) 0%, var(--rose-gold-light) 45%, var(--pink-300) 100%);
  box-shadow: var(--shadow-md);
}

.img-placeholder--hero-square {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: linear-gradient(145deg, var(--pink-200) 0%, var(--rose-gold-light) 55%, var(--pink-300) 100%);
}

.img-placeholder--banner {
  aspect-ratio: 3 / 1;
  min-height: 140px;
  border-radius: var(--radius-lg);
  background: var(--pink-200);
}

.img-placeholder--category {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--rose-gold-light);
}

.img-placeholder--product {
  aspect-ratio: 1;
  background: var(--pink-100);
}

.img-placeholder--product-lg {
  aspect-ratio: 1;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--pink-100), var(--rose-gold-light));
  box-shadow: var(--shadow-md);
}

/* Alternate product placeholder tones */
.product-grid .product-card:nth-child(3n + 1) .img-placeholder--product {
  background: #ffd8e8;
}

.product-grid .product-card:nth-child(3n + 2) .img-placeholder--product {
  background: #e8cfc0;
}

.product-grid .product-card:nth-child(3n + 3) .img-placeholder--product {
  background: #f5c6d6;
}

.category-grid .img-placeholder--category:nth-child(1) {
  background: #ffd0e4;
}

.category-grid .img-placeholder--category:nth-child(2) {
  background: #e8cfc0;
}

.category-grid .img-placeholder--category:nth-child(3) {
  background: #f0b8cc;
}

/* ── Main ── */
main.container,
main.container--wide {
  padding: 2rem 0 3rem;
  min-height: 55vh;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--pink-300), transparent);
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.hero-content h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--pink-700), var(--rose-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ── Category tiles ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.category-tile {
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-tile span {
  display: block;
  padding: 0.45rem 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--text);
}

.promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* ── Product grid & cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card > a {
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.product-card .card-image {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  transition: transform 0.35s ease;
}

.product-card .img-placeholder--product {
  border-radius: 8px 8px 0 0;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card .card-body {
  padding: 1rem 1.1rem 0.5rem;
}

.product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.product-card .brand-tag {
  font-size: 0.8rem;
  color: var(--rose-gold-dark);
  margin-bottom: 0.25rem;
}

.product-card form {
  padding: 0 1rem 1rem;
}

.price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--pink-600);
}

.price--lg {
  font-size: 1.5rem;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Buttons ── */
.btn,
button[type="submit"]:not(.link-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--pink-600), var(--pink-500));
  color: var(--white);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(216, 51, 132, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn:hover,
button[type="submit"]:not(.link-btn):hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 24px rgba(216, 51, 132, 0.35);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--pink-600);
  border: 2px solid var(--pink-300);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--pink-50);
  box-shadow: none;
}

.btn--gold {
  background: linear-gradient(135deg, var(--rose-gold), var(--gold-shimmer));
  box-shadow: 0 4px 16px rgba(201, 149, 108, 0.35);
}

.btn-small {
  width: 100%;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--pink-600);
  cursor: pointer;
  text-decoration: underline;
  font-family: inherit;
  padding: 0;
  box-shadow: none;
}

.link-btn:hover {
  color: var(--pink-700);
  transform: none;
  box-shadow: none;
}

/* ── Search ── */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form input:focus {
  outline: none;
  border-color: var(--pink-300);
  box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.12);
}

.search-form button {
  border-radius: 999px;
  white-space: nowrap;
}

/* ── Product detail ── */
.product-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1rem;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-detail-info h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
}

.stock-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.stock-badge--in {
  background: #ecfdf5;
  color: #047857;
}

.stock-badge--out {
  background: var(--pink-100);
  color: var(--pink-700);
}

.description {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.description h2 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--rose-gold-dark);
}

.product-image {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  object-fit: cover;
}

/* ── Cart & checkout ── */
.card-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.cart-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cart-table tbody tr:hover {
  background: var(--pink-50);
}

.cart-total {
  font-size: 1.15rem;
  margin: 1.25rem 0;
  padding: 1rem;
  background: var(--pink-50);
  border-radius: var(--radius);
}

.checkout-form label,
.auth-form p label,
.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.checkout-form input,
.checkout-form textarea,
.auth-form input,
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.auth-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink-300);
  box-shadow: 0 0 0 3px rgba(232, 67, 147, 0.1);
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state .img-placeholder {
  max-width: 200px;
  margin: 0 auto 1.5rem;
  aspect-ratio: 1;
  background: var(--pink-100);
  border-radius: 50%;
}

/* ── Messages ── */
.messages .message {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  margin-bottom: 0.5rem;
}

.messages .message.error {
  background: #fef2f2;
  border-color: #fecaca;
}

.messages .message.success {
  background: var(--pink-50);
  border-color: var(--pink-200);
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb a {
  text-decoration: none;
}

/* ── Footer ── */
.site-footer {
  margin-top: 2rem;
  padding-top: 2.5rem;
  background: linear-gradient(180deg, var(--white), var(--pink-50));
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-col h3 {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--pink-700);
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--pink-600);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0 1.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.enamad-slot {
  min-height: 80px;
  padding: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px dashed var(--pink-200);
}

/* ── Legal pages ── */
.legal-page {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  max-width: 820px;
  box-shadow: var(--shadow-sm);
}

.legal-page h1 {
  margin-top: 0;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink-700), var(--rose-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-page h2 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  color: var(--rose-gold-dark);
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.info-list dt {
  font-weight: 700;
  margin-top: 0.75rem;
  color: var(--pink-700);
}

.info-list dd {
  margin-inline-start: 0;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.contact-info {
  background: var(--pink-50);
  padding: 1.25rem;
  border-radius: var(--radius);
}

.field-error {
  color: var(--pink-700);
  font-size: 0.85rem;
}

.checkout-legal a {
  font-weight: 600;
}

/* ── FAQ page ── */
.faq-page {
  max-width: 900px;
}

.faq-breadcrumb {
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.faq-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.faq-breadcrumb a:hover {
  color: var(--pink-700);
}

.faq-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-inline-end: 2px solid var(--text-muted);
  border-block-end: 2px solid var(--text-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

.faq-item summary:hover {
  color: var(--pink-700);
}

.faq-item__body {
  padding: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.faq-item__body p {
  margin: 0;
}

.faq-item__body a {
  color: var(--pink-700);
  font-weight: 600;
}

/* ── Product Q&A & Reviews ── */
.section-heading {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.section-heading--actions {
  align-items: center;
  justify-content: space-between;
}

.section-heading__main {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn--sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn--ghost:hover {
  background: var(--pink-50);
  color: var(--text);
}

.section-heading h2 {
  margin: 0;
}

.section-heading__count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-form-panel {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--pink-50);
}

.product-form-panel.is-collapsed {
  display: none;
}

.product-form-panel.is-open {
  animation: panel-in 0.2s ease;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-form-panel__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-form-panel__title {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--rose-gold-dark);
}

.product-interaction-form {
  display: grid;
  gap: 1rem;
}

.product-interaction-form .form-textarea,
.product-interaction-form .form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field--checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-login-hint,
.product-empty-state {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.product-reviews__actions {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.product-reviews__actions .product-form-panel {
  margin-bottom: 0;
}

.product-reviews__actions .product-login-hint,
.product-reviews__actions .product-empty-state {
  margin-bottom: 0;
}

.product-reviews__actions > .btn {
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-width: 1px;
  box-shadow: none;
}

.product-reviews__actions > .btn:hover {
  transform: none;
  box-shadow: none;
}

/* ── Product carousel ── */
.product-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.product-carousel__track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0;
}

.product-carousel__track::-webkit-scrollbar {
  display: none;
}

.product-carousel__list {
  display: flex;
  gap: 0.85rem;
}

.product-carousel__slide {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
}

.product-carousel__nav {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--rose-gold-dark);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.product-carousel__nav:hover:not(:disabled) {
  background: var(--pink-50);
  border-color: var(--rose-gold);
}

.product-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.qa-list,
.review-list {
  display: grid;
  gap: 1rem;
}

.qa-item {
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.88rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.qa-item__author {
  font-size: 0.82rem;
}

.qa-item__question {
  margin: 0;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qa-item__answer {
  margin-top: 0.65rem;
  padding: 0.65rem 0.75rem;
  background: var(--pink-50);
  border-radius: 8px;
  border-inline-start: 3px solid var(--rose-gold);
}

.qa-item__answer-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.qa-item__header,
.review-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.qa-item__answer-label {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--rose-gold-dark);
  font-size: 0.78rem;
}

.review-item.card-panel {
  padding: 0.85rem 0.95rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
}

.star-rating--sm {
  font-size: 0.82rem;
}

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-summary__score {
  text-align: center;
}

.review-summary__average {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--rose-gold-dark);
  line-height: 1;
}

.review-summary__out-of {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.review-summary__recommend {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--pink-700);
  font-weight: 600;
}

.star-rating {
  display: inline-flex;
  gap: 0.1rem;
  color: var(--border);
  font-size: 1rem;
  line-height: 1;
}

.star-rating--lg {
  font-size: 1.35rem;
}

.star-rating__star.is-filled {
  color: #f5b301;
}

.review-bar {
  display: grid;
  grid-template-columns: 3rem 1fr 2.5rem;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.review-bar__track {
  height: 0.5rem;
  background: var(--pink-100);
  border-radius: 999px;
  overflow: hidden;
}

.review-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-gold), var(--pink-500));
  border-radius: 999px;
}

.review-item__author {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 0.82rem;
}

.review-item__recommend {
  margin: 0 0 0.35rem;
  color: #2e7d32;
  font-size: 0.78rem;
}

.review-item__text {
  margin: 0;
  line-height: 1.6;
  font-size: 0.85rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Feedback modal ── */
body.modal-open {
  overflow: hidden;
}

.feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.feedback-modal[hidden] {
  display: none;
}

.feedback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 15, 0.45);
}

.feedback-modal__dialog {
  position: relative;
  width: min(100%, 380px);
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem 1.5rem 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: modal-in 0.22s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.feedback-modal__close {
  position: absolute;
  top: 0.65rem;
  inset-inline-end: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.feedback-modal__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
}

.feedback-modal__icon--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.feedback-modal__icon--error {
  background: #ffebee;
  color: #c62828;
}

.feedback-modal__icon--warning {
  background: #fff8e1;
  color: #f57f17;
}

.feedback-modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--rose-gold-dark);
}

.feedback-modal__text {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.feedback-modal__action {
  min-width: 120px;
}

@media (max-width: 640px) {
  .review-summary {
    grid-template-columns: 1fr;
  }

  .product-carousel {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .product-carousel__nav {
    display: none;
  }

  .product-carousel__track {
    grid-row: 1;
  }
}

/* ── Auth pages ── */
.auth-page {
  display: flex;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-card__header h1 {
  margin: 0 0 0.35rem;
}

.auth-card__footer {
  text-align: center;
  margin: 1.25rem 0 0;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.auth-form .form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.auth-form .form-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}

.auth-form .form-field--invalid .form-input {
  border-color: var(--pink-700);
}

.form-errors {
  background: #fff5f5;
  border: 1px solid #f5c6c6;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--pink-700);
  font-size: 0.92rem;
}

.form-errors p {
  margin: 0;
}

.field-error-list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--pink-700);
  font-size: 0.85rem;
}

.utility-nav__user {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promo-banners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .product-detail-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  main.container:has(.product-detail) {
    padding: 0.75rem 0 2rem;
  }

  main.container:has(.product-detail) .breadcrumb {
    margin-bottom: 0.5rem;
    padding-inline: 0.75rem;
  }

  .product-detail {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .product-detail-grid {
    margin-top: 0;
    gap: 1rem;
  }

  .product-detail-media {
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
  }

  .product-gallery__main {
    border-inline: none;
    border-radius: 0;
  }

  .product-gallery__thumbs {
    padding-inline: 0.75rem;
    margin-top: 0.5rem;
  }

  .product-detail-info,
  .product-detail__section {
    padding-inline: 0.75rem;
  }

  .product-image {
    border-radius: 0;
  }

  .img-placeholder--product-lg {
    border-radius: 0;
    min-height: 280px;
    box-shadow: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .header-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 95;
  }

  .header-nav--open {
    display: flex;
  }

  .mega-nav {
    display: none;
  }

  .mobile-mega-nav {
    display: flex;
  }

  .utility-nav {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
  }

  .utility-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.88rem;
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
