/* ==========================================================================
   Indraprint Storefront v2 — Premium Print Studio UI layer.
   Sits on top of global.css (design tokens from variables.css apply).
   Components: glass header, mega menu, cart drawer, tier pricing,
   order timeline, account sidebar, coupon accordion.
   ========================================================================== */

/* ---------- Glassmorphism header ---------- */
.glass-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(229, 233, 240, 0.8);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}
.glass-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 22, 38, 0.08);
}
.glass-header > .container {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0;
}
.glass-header .brand { flex: none; }

/* Header search */
.header-search { position: relative; flex: 1 1 360px; max-width: 460px; min-width: 0; display: none; }
.header-search input {
  width: 100%;
  min-height: 42px;
  padding: 0 var(--space-4) 0 2.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface-alt);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.header-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-tint);
  background: var(--color-surface);
}
.header-search .search-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-ink-faint);
  pointer-events: none;
}
@media (min-width: 1280px) { .header-search { display: block; } }

/* Live search suggestions */
.search-suggest-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  z-index: var(--z-dropdown);
  max-height: 70vh;
  overflow-y: auto;
}
.search-suggest-group { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-border); }
.search-suggest-chip {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.search-suggest-chip:hover { background: var(--color-primary-tint); color: var(--color-primary-dark); }
.search-suggest-products { display: flex; flex-direction: column; gap: var(--space-1); }
.search-suggest-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-2); border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.search-suggest-item:hover, .search-suggest-item:focus-visible { background: var(--color-surface-alt); outline: none; }
.search-suggest-item img { width: 44px; height: 44px; object-fit: cover; border-radius: var(--radius-sm); background: var(--color-surface-sunken); flex: none; }
.search-suggest-item-info { display: flex; flex-direction: column; min-width: 0; }
.search-suggest-item-name { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest-item-price { font-size: var(--text-xs); color: var(--color-ink-faint); }
.search-suggest-empty { font-size: var(--text-sm); color: var(--color-ink-faint); text-align: center; padding: var(--space-3) 0; margin: 0; }
.search-suggest-viewall {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  margin-top: var(--space-3); padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-primary);
}

/* ---------- Mega menu ---------- */
.mega-trigger {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: none;
}
a.mega-trigger {
  gap: var(--space-1);
  min-height: 44px;
  padding: 0 var(--space-1);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}
a.mega-trigger:hover { color: var(--color-primary); background: var(--color-primary-tint); }
a.mega-trigger.active { color: var(--color-primary); font-weight: 600; }
button.mega-trigger {
  gap: var(--space-2);
  min-height: 42px;
  padding: 0 var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-ink);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast),
    border-color var(--transition-fast), box-shadow var(--transition-fast);
}
button.mega-trigger:hover,
button.mega-trigger[aria-expanded="true"] {
  color: var(--color-primary);
  background: var(--color-primary-tint);
  border-color: var(--color-primary);
}
button.mega-trigger:focus-visible {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-tint);
}
button.mega-trigger svg { flex: none; }
.main-nav {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-end;
}
@media (min-width: 1280px) {
  .main-nav {
    display: flex;
    overflow: visible;
  }
}
.main-nav ul {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
@media (min-width: 1280px) {
  .main-nav ul { overflow: visible; }
}
.main-nav ul::-webkit-scrollbar { display: none; }
.mega-menu-trigger { position: relative; }
a.mega-trigger {
  max-width: 170px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 1280px) and (max-width: 1500px) {
  .glass-header > .container { gap: var(--space-2); }
  .header-search { flex-basis: 240px; max-width: 300px; }
  .main-nav ul { gap: var(--space-2); }
  a.mega-trigger { padding-inline: var(--space-1); max-width: 150px; }
  button.mega-trigger { padding-inline: var(--space-2); }
}
.mega-panel {
  position: absolute;
  top: calc(var(--header-height) - 14px);
  left: 0;
  /* Sized to content (not full viewport width) so a handful of categories reads as a
     tidy, compact dropdown instead of a few words spread thin across the whole header —
     while still capped so it can't overflow the viewport once a catalog grows large.
     max-width does the real capping here; fit-content() as a plain width value isn't
     reliably supported across browsers, so max-content + max-width is the robust pair. */
  width: max-content;
  min-width: 380px;
  max-width: min(760px, calc(100vw - var(--space-8)));
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-primary);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-dropdown);
}
/* Flat, DB-driven category list — replaces the old grouped/hand-authored layout so it
   scales to however many real categories exist (add one in admin, it just appears here)
   instead of needing this file edited. Flex-wrap with a fixed item width lets the panel
   size itself naturally (a few categories stay compact; more wrap into extra rows/columns
   instead of stretching sparse content across the full panel). Bounded height + scroll is
   the backstop for a 20-30-category catalog so the dropdown never outgrows the viewport. */
.mega-cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  padding: var(--space-5) var(--space-6) var(--space-4);
  max-height: min(60vh, 480px);
  overflow-y: auto;
}
.mega-cat-grid a {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-ink-muted);
  min-height: 40px;
}
.mega-cat-grid a:hover {
  background: var(--color-surface-sunken);
  color: var(--color-primary);
}
.mega-cta-wrapper {
  padding: 0 var(--space-6) var(--space-6);
}
.mega-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.mega-cta strong { font-family: var(--font-heading); font-size: var(--text-md); }
.mega-cta span { font-size: var(--text-sm); opacity: 0.9; }

/* Compact catalogue menu with product links under each category. */
.mega-panel {
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: min(760px, calc(100vw - var(--space-8)));
  min-width: 640px;
  max-width: min(760px, calc(100vw - var(--space-8)));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(13, 20, 36, 0.16);
  overflow: hidden;
}
.mega-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}
.mega-panel-head span {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
}
.mega-panel-head a {
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 700;
}
.mega-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: min(66vh, 520px);
  overflow-y: auto;
}
.mega-category-block {
  min-width: 0;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.mega-category-block:nth-child(odd) { border-right: 1px solid var(--color-border); }
.mega-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.35;
}
.mega-category-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mega-category-link small {
  min-width: 28px;
  height: 22px;
  padding: 0 var(--space-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 800;
}
.mega-product-links {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-3);
}
.mega-product-links a {
  min-width: 0;
  padding: var(--space-1) 0;
  color: var(--color-ink-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.mega-product-links a:hover {
  color: var(--color-primary);
  transform: translateX(2px);
}
.mega-empty {
  margin: var(--space-3) 0 0;
  color: var(--color-ink-faint);
  font-size: var(--text-xs);
}
.mobile-all-products {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
  padding: 0 var(--space-4);
  border-radius: 10px;
  background: var(--color-ink);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
}
.mobile-category-group {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  overflow: hidden;
}
.mobile-category-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 48px;
  padding: 0 var(--space-4);
  list-style: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-ink);
}
.mobile-category-group summary::-webkit-details-marker { display: none; }
.mobile-category-group[open] summary {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}
.mobile-category-count {
  min-width: 26px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-size: 11px;
  font-weight: 800;
}
.mobile-category-products {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4) var(--space-4);
}
.mobile-category-products a {
  padding-block: var(--space-1);
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
  font-weight: 600;
}
.mobile-category-products a:hover { color: var(--color-primary); }
.mobile-category-products .mobile-category-view {
  color: var(--color-primary);
  font-weight: 800;
}

/* ---------- Product page dual CTAs ---------- */
.cta-upload, .cta-template {
  min-width: 0;
  padding-inline: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.2;
}
.cta-upload { white-space: normal; }
.cta-upload .cta-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  white-space: normal;
}
.cta-upload .cta-label-main,
.cta-upload .cta-label-sub {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cta-upload .cta-label-sub {
  font-size: var(--text-xs);
  font-weight: 500;
  opacity: 0.85;
  line-height: 1.3;
}
.cta-template .cta-label {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(13, 20, 36, 0.5);
  z-index: var(--z-overlay);
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--color-surface);
  box-shadow: -12px 0 40px rgba(13, 20, 36, 0.2);
  z-index: calc(var(--z-overlay) + 1);
  display: flex;
  flex-direction: column;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.drawer-body { flex: 1; overflow-y: auto; padding: var(--space-4) var(--space-5); }
.drawer-foot {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface-alt);
}
.drawer-item { display: flex; gap: var(--space-3); padding-block: var(--space-3); }
.drawer-item + .drawer-item { border-top: 1px solid var(--color-border); }
.drawer-item img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-surface-sunken);
  flex: none;
}

/* ---------- User dropdown ---------- */
.user-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: var(--z-dropdown);
}
.user-menu a, .user-menu form button {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink);
  background: transparent;
  border: none;
  text-align: left;
}
.user-menu a:hover, .user-menu form button:hover { background: var(--color-surface-sunken); color: var(--color-primary); }
.user-menu .menu-user-head { padding: var(--space-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-2); }

/* ---------- Quantity tiers ---------- */
.tier-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
@media (min-width: 480px) { .tier-chips { grid-template-columns: repeat(4, 1fr); } }
.tier-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-ink);
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}
.tier-chip small { font-size: var(--text-xs); color: var(--color-ink-faint); font-weight: 500; }
.tier-chip:hover { border-color: var(--color-primary); transform: translateY(-1px); }
.tier-chip.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.tier-chip.selected small { color: rgba(255, 255, 255, 0.85); }

/* ---------- Product gallery ---------- */
.gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--color-surface-sunken);
}
.gallery-thumbs { display: flex; gap: var(--space-2); margin-top: var(--space-3); }
.gallery-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  background: var(--color-surface-sunken);
}
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--color-primary); }

/* ---------- Premium product detail page ---------- */
.premium-product-page {
  background: #fbfaf7;
  padding-block: var(--space-5) var(--space-8);
}
.premium-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  color: var(--color-ink-faint);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.premium-breadcrumb a:hover { color: var(--color-primary); }
.premium-breadcrumb span { color: var(--color-ink-muted); }
.premium-product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}
.premium-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.premium-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  order: 2;
}
.premium-thumb {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  padding: 0;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  overflow: hidden;
}
.premium-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.premium-thumb.active {
  border-color: var(--color-ink);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-primary);
}
.premium-gallery-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
}
.premium-gallery-stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.premium-media-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent-dark);
  font-size: var(--text-xs);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.premium-product-copy {
  padding-top: var(--space-1);
}
.premium-brand {
  margin: 0 0 var(--space-2);
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
}
.premium-product-copy h1 {
  max-width: 680px;
  font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}
.premium-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--color-accent-dark);
  font-size: var(--text-sm);
}
.premium-rating span {
  color: var(--color-ink-muted);
  text-decoration: underline;
}
.premium-highlights {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-5);
  color: var(--color-ink-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}
.premium-highlights li {
  position: relative;
  padding-left: var(--space-5);
}
.premium-highlights li::before {
  content: "";
  position: absolute;
  left: var(--space-2);
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-ink);
}
.premium-learn-link {
  display: inline-flex;
  margin-top: var(--space-4);
  color: var(--color-ink);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: underline;
}
.premium-price-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-8);
  max-width: 520px;
}
.premium-price-row span,
.premium-price-row small {
  display: block;
  color: var(--color-ink-faint);
  font-size: var(--text-xs);
}
.premium-price-row strong {
  display: inline-flex;
  margin-top: var(--space-1);
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  line-height: 1.15;
}
.premium-customize-section,
.premium-template-strip,
.premium-description-section,
.premium-faq-section,
.premium-reviews-section,
.premium-related-section {
  margin-top: var(--space-9);
}
.premium-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.premium-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2vw + 0.8rem, var(--text-3xl));
}
.premium-section-head p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
}
.premium-section-head a {
  color: var(--color-primary);
  font-weight: 800;
  font-size: var(--text-sm);
}
.premium-customize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}
.premium-options-panel {
  display: grid;
  gap: var(--space-6);
}
.premium-option-group {
  min-width: 0;
}
.premium-option-label {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}
.premium-option-label span {
  color: var(--color-ink);
  font-weight: 800;
}
.premium-option-label small {
  color: var(--color-ink-faint);
  font-size: var(--text-xs);
}
.premium-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.premium-swatch-choice {
  min-height: auto;
  display: grid;
  gap: var(--space-2);
  justify-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-ink-muted);
  font-size: var(--text-xs);
  font-weight: 700;
}
.premium-swatch-choice:hover,
.premium-swatch-choice.selected {
  color: var(--color-ink);
  background: transparent;
}
.premium-swatch-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}
.premium-swatch-choice.selected .premium-swatch-dot {
  box-shadow: 0 0 0 3px #fbfaf7, 0 0 0 5px var(--color-accent);
}
.premium-option-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}
.premium-option-card {
  min-height: 78px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-ink);
}
.premium-option-card small {
  color: var(--color-ink-muted);
  font-weight: 700;
}
.premium-option-card.selected {
  border-color: var(--color-accent);
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: inset 0 0 0 1px var(--color-accent);
}
.premium-qty-stepper {
  margin-top: var(--space-3);
}
.premium-order-summary {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.premium-summary-head,
.premium-summary-line,
.premium-summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}
.premium-summary-head {
  padding: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}
.premium-summary-head h3 {
  font-size: var(--text-lg);
}
.premium-summary-head a {
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
}
.premium-summary-options {
  display: grid;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5) 0;
}
.premium-summary-line {
  padding: var(--space-3) var(--space-5);
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
}
.premium-summary-line span small {
  display: block;
  margin-top: 3px;
  color: var(--color-ink);
  font-size: var(--text-base);
}
.premium-summary-line strong {
  color: var(--color-ink);
  white-space: nowrap;
}
.premium-summary-total {
  margin-top: var(--space-3);
  padding: var(--space-5);
  border-top: 1px solid var(--color-border);
  align-items: center;
}
.premium-summary-total span {
  color: var(--color-ink);
  font-weight: 800;
}
.premium-summary-total small {
  display: block;
  color: var(--color-ink-faint);
  font-size: var(--text-xs);
  font-weight: 500;
}
.premium-summary-total strong {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, var(--text-3xl));
  white-space: nowrap;
}
.premium-unit-note {
  margin: calc(var(--space-3) * -1) var(--space-5) var(--space-4);
  color: var(--color-ink-faint);
  font-size: var(--text-xs);
  text-align: right;
}
.premium-summary-actions {
  display: grid;
  gap: var(--space-3);
  padding: 0 var(--space-5) var(--space-5);
}
.premium-mobile-ctas {
  display: none;
}
.premium-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.premium-template-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  overflow: hidden;
}
.premium-template-card img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  background: var(--color-surface-sunken);
}
.premium-template-card span {
  display: block;
  padding: var(--space-3);
  color: var(--color-ink);
  font-size: var(--text-sm);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.premium-template-card small {
  display: block;
  margin: calc(var(--space-3) * -1) var(--space-3) var(--space-3);
  color: var(--color-ink-faint);
  font-size: var(--text-xs);
  line-height: 1.4;
}
.premium-canvas-card {
  position: relative;
}
.premium-canvas-card::before {
  content: "Admin locked";
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 22, 38, 0.82);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
}
.premium-description-section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-6);
}
.premium-tab-label {
  width: fit-content;
  margin-bottom: var(--space-5);
  padding: 0 var(--space-5) var(--space-3) 0;
  border-bottom: 3px solid var(--color-primary);
  color: var(--color-ink-muted);
  font-size: var(--text-sm);
  font-weight: 800;
  text-transform: uppercase;
}
.premium-description-section h2 {
  max-width: 980px;
  margin-bottom: var(--space-3);
}
.premium-description-section p {
  max-width: 1180px;
  margin-top: var(--space-3);
  color: var(--color-ink-muted);
  line-height: 1.75;
}
.premium-detail-specs {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-5);
  max-width: 760px;
}
.premium-detail-specs div,
.premium-detail-specs dt,
.premium-detail-specs dd {
  margin: 0;
}
.premium-detail-specs dt {
  display: inline;
  color: var(--color-ink);
  font-weight: 800;
}
.premium-detail-specs dd {
  display: inline;
  color: var(--color-ink-muted);
}
.premium-detail-specs dd::after {
  content: "";
  display: block;
}
.premium-review-list {
  display: grid;
  gap: var(--space-4);
}
.premium-review-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-5);
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-border);
}
.premium-review-item strong {
  display: block;
  font-size: var(--text-xl);
}
.premium-review-item span {
  display: block;
  color: var(--color-accent);
  letter-spacing: 2px;
}
.premium-review-item span em {
  color: var(--color-border-strong);
  font-style: normal;
}
.premium-review-item small {
  color: var(--color-ink-faint);
}
.premium-review-item p {
  color: var(--color-ink-muted);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .premium-gallery {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .premium-gallery-thumbs {
    order: 0;
    flex-direction: column;
    overflow-x: visible;
  }
  .premium-template-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .premium-product-hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.85fr);
    gap: var(--space-8);
  }
  .premium-customize-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  }
  .premium-order-summary {
    position: sticky;
    top: calc(var(--header-height) + var(--space-5));
  }
}
@media (max-width: 767px) {
  .premium-section-head {
    display: block;
  }
  .premium-price-row,
  .premium-option-card-grid {
    grid-template-columns: 1fr;
  }
  .premium-review-item {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

/* ---------- Order timeline ---------- */
.order-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: var(--space-5);
}
.order-timeline::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: var(--color-border);
  border-radius: var(--radius-full);
}
.order-timeline .timeline-line {
  position: absolute;
  top: 11px;
  left: 24px;
  height: 3px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width 500ms ease;
  z-index: 1;
}
.timeline-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  text-align: center;
}
.timeline-dot {
  width: 24px; height: 24px;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-border);
  background: var(--color-surface);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
}
.timeline-step.complete .timeline-dot {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.timeline-step.active .timeline-dot {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px var(--color-accent-tint);
}
.timeline-step span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ink-faint);
}
.timeline-step.complete span, .timeline-step.active span { color: var(--color-ink); }

/* ---------- Account sidebar ---------- */
.wizard-steps { display: flex; gap: var(--space-3); flex-wrap: wrap; font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-faint); }
.wizard-steps span { padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); background: var(--color-surface-sunken); }
.wizard-steps span.active { background: var(--color-primary-tint); color: var(--color-primary-dark); }
.wizard-steps span.done { color: var(--color-ink-muted); }
.account-layout { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: start; }
@media (min-width: 900px) { .account-layout { grid-template-columns: 260px 1fr; } }
.account-sidebar { position: static; }
@media (min-width: 900px) {
  .account-sidebar { position: sticky; top: calc(var(--header-height) + var(--space-4)); }
}
.account-nav { display: flex; gap: var(--space-1); overflow-x: auto; padding-bottom: var(--space-2); }
@media (min-width: 900px) {
  .account-nav { flex-direction: column; overflow: visible; padding-bottom: 0; }
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-ink-muted);
  white-space: nowrap;
  min-height: 44px;
}
.account-nav a:hover { background: var(--color-surface-sunken); color: var(--color-ink); }
.account-nav a.active { background: var(--color-primary-tint); color: var(--color-primary-dark); font-weight: 600; }

/* ---------- Metric cards ---------- */
.metric-card {
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.metric-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  flex: none;
}
.metric-icon.accent { background: var(--color-accent-tint); color: var(--color-accent-dark); }
.metric-icon.info { background: var(--color-info-tint); color: var(--color-info); }
.metric-card .metric-value { font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; line-height: 1.1; }
.metric-card .metric-label { font-size: var(--text-sm); color: var(--color-ink-muted); }

/* ---------- Coupon accordion ---------- */
.coupon-accordion { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.coupon-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-ink);
  list-style: none;
}
.coupon-accordion summary::-webkit-details-marker { display: none; }
.coupon-accordion summary .chev { transition: transform var(--transition-fast); }
.coupon-accordion[open] summary .chev { transform: rotate(180deg); }
.coupon-accordion .coupon-body { padding: 0 var(--space-4) var(--space-4); }

/* ---------- Mobile nav: Popular Categories dropdown ---------- */
.cat-dropdown {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.cat-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 52px;
  padding: var(--space-3) var(--space-4);
  list-style: none;
  cursor: pointer;
  background: var(--color-surface-alt);
  transition: background var(--transition-fast);
}
.cat-dropdown summary::-webkit-details-marker { display: none; }
.cat-dropdown summary:hover { background: var(--color-surface-sunken); }
.cat-dropdown[open] summary { background: var(--color-primary-tint); }
.cat-dropdown-label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-ink);
  transition: color var(--transition-fast);
}
.cat-dropdown[open] .cat-dropdown-label { color: var(--color-primary-dark); }
.cat-dropdown-chev {
  color: var(--color-ink-faint);
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.cat-dropdown[open] .cat-dropdown-chev { transform: rotate(180deg); color: var(--color-primary); }
.cat-dropdown-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background: var(--color-surface-sunken);
  color: var(--color-ink-muted);
  font-size: 11px;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.cat-dropdown[open] .cat-dropdown-count { background: var(--color-primary); color: #fff; }
.cat-dropdown-body {
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.cat-dropdown[open] .cat-dropdown-body { animation: cat-dropdown-in 0.22s ease; }
@keyframes cat-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cat-dropdown-body::-webkit-scrollbar { width: 6px; }
.cat-dropdown-body::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: var(--radius-full); }
.cat-dropdown-body::-webkit-scrollbar-track { background: transparent; }
.cat-group { margin-top: var(--space-4); }
.cat-group:first-child { margin-top: 0; }
.cat-group h5 {
  margin: 0 0 var(--space-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-ink-faint);
}

/* ---------- Checkout summary card ---------- */
.summary-card {
  position: static;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 768px) {
  .summary-card { position: sticky; top: calc(var(--header-height) + var(--space-4)); }
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; background: var(--color-surface); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); font-weight: 600; color: var(--color-ink); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--color-surface-sunken); }
.faq-item .faq-chev { transition: transform var(--transition-fast); flex: none; color: var(--color-ink-faint); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 var(--space-4) var(--space-4); color: var(--color-ink-muted); font-size: var(--text-sm); }
.faq-item .faq-answer p { margin: 0; }

/* ---------- Design canvas manager ---------- */
.design-card .design-actions {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.design-card .design-actions .btn { flex: 1; }

/* ---------- Empty state (v2) ---------- */
.empty-v2 { text-align: center; padding: var(--space-8) var(--space-4); }
.empty-v2 .empty-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-sunken);
  color: var(--color-ink-faint);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Toast notifications ---------- */
.toast-container {
  position: fixed;
  top: calc(var(--header-height) + var(--space-4));
  right: var(--space-4);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: min(360px, calc(100vw - var(--space-8)));
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-icon {
  width: 24px; height: 24px; flex: none; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
}
.toast-success .toast-icon { background: var(--color-accent-tint); color: var(--color-accent-dark); }
.toast-error .toast-icon { background: var(--color-danger-tint); color: var(--color-primary-dark); }
.toast-info .toast-icon { background: var(--color-info-tint); color: var(--color-info); }
.toast-message { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink); flex: 1; padding-top: 2px; }
.toast-close { flex: none; color: var(--color-ink-faint); border-radius: var(--radius-sm); }
.toast-close:hover { color: var(--color-ink); }
@media (max-width: 480px) {
  .toast-container { left: var(--space-3); right: var(--space-3); width: auto; top: calc(var(--header-height) + var(--space-2)); }
}

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: linear-gradient(90deg, #101A30, var(--color-surface-dark-2));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.announce-bar .container {
  display: flex; align-items: center; justify-content: center; gap: var(--space-3);
  padding-block: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-align: center;
  position: relative;
}
.announce-bar i { color: var(--color-accent-bright); }
@media (min-width: 640px) { .announce-bar .container { font-size: var(--text-sm); } }
.announce-bar .announce-close {
  position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.8); width: 28px; height: 28px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.announce-bar .announce-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Quick view modal ---------- */
.quickview-trigger {
  position: absolute; top: var(--space-2); right: var(--space-2); z-index: 2;
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.95); color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.product-card:hover .quickview-trigger, .quickview-trigger:focus-visible { opacity: 1; transform: translateY(0); }
.quickview-trigger:hover { background: var(--color-primary); color: #fff; }
@media (hover: none) { .quickview-trigger { opacity: 1; transform: none; } }

.wishlist-toggle {
  position: absolute; top: var(--space-2); right: calc(38px + var(--space-2) * 2); z-index: 2;
  width: 38px; height: 38px; border-radius: var(--radius-full); border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.95); color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(-4px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.product-card:hover .wishlist-toggle, .wishlist-toggle:focus-visible, .wishlist-toggle.is-saved { opacity: 1; transform: translateY(0); }
.wishlist-toggle:hover { background: var(--color-primary); color: #fff; }
.wishlist-toggle.is-saved { background: var(--color-primary); color: #fff; }
.wishlist-toggle.is-saved svg { fill: currentColor; }
@media (hover: none) { .wishlist-toggle { opacity: 1; transform: none; } }

/* Static (non-card) placement — product detail page */
.wishlist-toggle.wishlist-toggle--static {
  position: static; opacity: 1; transform: none; flex: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--color-border); background: var(--color-surface);
}

/* CSS-only star rating picker (review form) — radios rendered 5→1, reversed via
   flex-direction so the general-sibling selector can light up "this star and every
   star before it" despite them coming later in the DOM. */
.star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: var(--space-1); }
.star-rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating-input label { cursor: pointer; color: var(--color-border); transition: color var(--transition-fast); }
.star-rating-input label svg { width: 26px; height: 26px; display: block; fill: currentColor; }
.star-rating-input input:checked ~ label,
.star-rating-input input:hover ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
  color: #F5A623;
}
.star-rating-input input:focus-visible ~ label { outline: 2px solid var(--color-primary); outline-offset: 2px; border-radius: 2px; }

.quickview-backdrop {
  position: fixed; inset: 0; background: rgba(13, 20, 36, 0.55);
  z-index: var(--z-overlay); display: flex; align-items: center; justify-content: center;
  padding: var(--space-4); overflow-y: auto;
}
.quickview-backdrop[hidden] { display: none; }
.quickview-panel {
  position: relative;
  max-width: 720px; width: 100%; text-align: left; padding: 0; overflow: hidden;
  background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  margin-block: auto;
}
.quickview-close {
  position: absolute; top: var(--space-3); right: var(--space-3); z-index: 3;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.92); color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
}
.quickview-close:hover { background: #fff; }
.quickview-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .quickview-body { grid-template-columns: 1fr 1fr; } }
.quickview-body img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--color-surface-sunken); }
.quickview-info { padding: var(--space-6); display: flex; flex-direction: column; }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: var(--z-sticky);
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast);
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (max-width: 640px) { .whatsapp-float { right: var(--space-4); bottom: var(--space-4); width: 50px; height: 50px; } }

/* ---------- Footer extras: newsletter, payment badges, social ---------- */
.footer-newsletter { display: flex; gap: var(--space-2); max-width: 360px; }
.footer-newsletter .input { background: rgba(255,255,255,0.06); border-color: #2C3850; color: #fff; }
.footer-newsletter .input::placeholder { color: #8490A4; }
.footer-newsletter .input:focus { border-color: var(--color-primary-bright); box-shadow: 0 0 0 3px rgba(216,54,60,0.25); }
.payment-badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.payment-badges span {
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08); color: #C6CDDC;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em;
}
.social-links { display: flex; gap: var(--space-2); }
.social-links a {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.social-links a:hover { background: var(--color-primary); color: #fff; }

/* ---------- Checkout stepper ---------- */
.checkout-stepper { display: flex; align-items: center; margin-bottom: var(--space-6); }
.checkout-stepper .step { display: flex; align-items: center; gap: var(--space-2); }
.checkout-stepper .step-dot {
  width: 32px; height: 32px; border-radius: var(--radius-full); flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm); font-weight: 700;
  background: var(--color-surface-sunken); color: var(--color-ink-faint);
  border: 2px solid transparent;
}
.checkout-stepper .step.complete .step-dot { background: var(--color-accent); color: #fff; }
.checkout-stepper .step.active .step-dot { background: var(--color-primary); color: #fff; box-shadow: 0 0 0 4px var(--color-primary-tint); }
.checkout-stepper .step-label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-faint); white-space: nowrap; }
.checkout-stepper .step.complete .step-label, .checkout-stepper .step.active .step-label { color: var(--color-ink); }
.checkout-stepper .step-connector { flex: 1; height: 2px; background: var(--color-border); margin-inline: var(--space-3); min-width: 24px; }
.checkout-stepper .step-connector.complete { background: var(--color-accent); }
@media (max-width: 480px) { .checkout-stepper .step-label { display: none; } }

/* ---------- Error pages ---------- */
.error-shell {
  min-height: calc(100dvh - var(--header-height));
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-8) var(--space-4);
  text-align: center;
}
.error-code {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(4rem, 14vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: var(--space-3);
}

/* ---------- Scrollbar (drawer) ---------- */
.drawer-body::-webkit-scrollbar, .overflow-list::-webkit-scrollbar { width: 6px; }
.drawer-body::-webkit-scrollbar-thumb, .overflow-list::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: var(--radius-full); }

/* ---------- Search page ---------- */
.search-input { position: relative; min-width: 220px; flex: 1; }
.search-input .input { padding-left: 40px; }
.search-input svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--color-ink-faint); pointer-events: none;
}
.search-input-wrap { position: relative; max-width: 560px; }
.search-input-wrap .search-icon {
  position: absolute; left: var(--space-4); top: 50%; transform: translateY(-50%);
  color: var(--color-ink-faint); pointer-events: none;
}
.search-input-wrap input {
  width: 100%;
  min-height: 50px;
  padding: 0 var(--space-4) 0 2.8rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: var(--text-base);
}
.search-input-wrap input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-tint); }

/* ---------- Data table (storefront) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--color-border); background: var(--color-surface); }
.data-table { min-width: 640px; }
.data-table th {
  text-align: left; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-ink-faint); font-weight: 700;
  padding: var(--space-3) var(--space-4); background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}
.data-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); font-size: var(--text-sm); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background var(--transition-fast); }
.data-table tbody tr:hover { background: var(--color-surface-alt); }
.data-table .cell-thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; background: var(--color-surface-sunken); }

/* ==========================================================================
   Homepage v2 — Premium Print Studio landing components.
   Sections: hero, category showcase, product grid, how-it-works, featured
   collections, about/why, finishes, testimonials, bulk CTA, trust strip.
   Mobile-first; all tokens come from variables.css.
   ========================================================================== */

/* ---------- Header (modern) ---------- */
.header-modern {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}
.header-modern.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 22, 38, 0.08);
}
.header-modern > .container {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-width: 0;
}
.nav-list { display: flex; align-items: center; gap: var(--space-1); }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-muted);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.nav-link:hover { color: var(--color-primary); background: var(--color-primary-tint); }
.nav-link.active { color: var(--color-primary); font-weight: 600; background: var(--color-primary-tint); }
.avatar-btn { padding: 0; }
.avatar {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}

/* ---------- Hero ---------- */
.hero-modern {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(560px, 82vh, 720px);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  grid-row: 1 / -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(9, 13, 24, 0.92) 0%, rgba(9, 13, 24, 0.66) 46%, rgba(9, 13, 24, 0.72) 100%),
    radial-gradient(820px 460px at -4% 112%, rgba(23, 147, 90, 0.20), transparent 58%);
}
.hero-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding-block: var(--space-8) var(--space-6);
}
.hero-content { max-width: 640px; }
.hero-content .eyebrow { color: var(--color-primary-bright); }
.hero-content .eyebrow::before { background: var(--color-primary-bright); }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.05rem, 5.4vw + 0.6rem, var(--text-5xl));
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-subtitle {
  margin-top: var(--space-4);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.hero-cta-group .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-cta-group .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-6);
  background: rgba(13, 20, 36, 0.55);
  color: #fff;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.hero-stat-badge > span { display: flex; flex-direction: column; }
.hero-stat-badge strong {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  line-height: 1.2;
  color: #fff;
}
.hero-stat-badge span span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
}
.hero-trust-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 13, 24, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-trust-strip .container { padding-block: var(--space-5); }
.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.trust-strip-item { text-align: center; }
.trust-strip-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.trust-strip-item span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) {
  .hero-main { padding-block: var(--space-8); }
  .trust-strip-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hero-modern { min-height: clamp(620px, 88vh, 800px); }
  .hero-media::after {
    background:
      linear-gradient(100deg, rgba(9, 13, 24, 0.95) 0%, rgba(9, 13, 24, 0.86) 32%, rgba(9, 13, 24, 0.5) 54%, rgba(9, 13, 24, 0.14) 74%, rgba(9, 13, 24, 0.02) 90%),
      linear-gradient(0deg, rgba(9, 13, 24, 0.75) 0%, rgba(9, 13, 24, 0) 30%),
      radial-gradient(820px 460px at -4% 112%, rgba(23, 147, 90, 0.18), transparent 58%);
  }
  .hero-stat-badge {
    position: absolute;
    right: 0;
    bottom: clamp(28px, 6vh, 72px);
    margin-top: 0;
    background: var(--color-surface);
    color: var(--color-ink);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
  }
  .hero-stat-badge strong { color: var(--color-ink); }
  .hero-stat-badge span span { color: var(--color-ink-faint); }
}

/* ---------- Section headers ---------- */
.section-header { max-width: 680px; margin-bottom: var(--space-6); }
.section-header.text-center { margin-inline: auto; text-align: center; }
.section-header.text-center .eyebrow { justify-content: center; }
.section-header .section-title { margin-bottom: 0; }
.section-subtitle {
  margin-top: var(--space-3);
  font-size: var(--text-md);
  color: var(--color-ink-muted);
  max-width: 640px;
}
.section-header.text-center .section-subtitle { margin-inline: auto; }

/* ---------- Category showcase ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.category-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-sunken);
}
.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) var(--ease-out);
}
.category-card:hover .category-media img { transform: scale(1.06); }
.category-count {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--color-ink-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  line-height: 1;
  box-shadow: var(--shadow-sm);
}
.category-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-4) var(--space-5);
  flex: 1;
}
.category-content h3 {
  font-size: var(--text-lg);
  margin: 0;
  color: var(--color-ink);
}
.category-content h3 a { color: inherit; }
.category-content h3 a:hover { color: var(--color-primary); }
.category-meta { font-size: var(--text-sm); color: var(--color-ink-faint); }
.category-product-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.category-product-links a {
  max-width: 100%;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-alt);
  color: var(--color-ink-muted);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.55;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.category-product-links a:hover {
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
}
.category-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}
.category-link i { transition: transform var(--transition-fast) var(--ease-out); }
.category-card:hover .category-link i { transform: translateX(4px); }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.product-grid .product-card { min-width: 0; }
.product-grid .product-card .card { height: 100%; }
.product-grid .product-card .card-pad { display: flex; flex-direction: column; gap: var(--space-2); }
.product-grid .product-card .card-pad .btn { margin-top: auto; }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.step-number {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--color-primary-tint);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  box-shadow: var(--shadow-sm);
}

/* ---------- Featured collections ---------- */
.collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.collection-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-sm);
}
.collection-media { position: absolute; inset: 0; }
.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow) var(--ease-out);
}
.collection-card:hover .collection-media img { transform: scale(1.06); }
.collection-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 20, 36, 0) 30%, rgba(13, 20, 36, 0.62) 68%, rgba(13, 20, 36, 0.88) 100%);
  transition: background var(--transition-base);
}
.collection-card:hover .collection-overlay { background: linear-gradient(180deg, rgba(13, 20, 36, 0.05) 30%, rgba(13, 20, 36, 0.72) 68%, rgba(13, 20, 36, 0.92) 100%); }
.collection-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-5);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
}
.collection-content h3 {
  margin: 0;
  color: #fff;
  font-size: var(--text-lg);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.collection-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  flex: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.collection-card:hover .collection-link {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.collection-link i { transition: transform var(--transition-fast) var(--ease-out); }
.collection-card:hover .collection-link i { transform: translateX(3px); }

/* ---------- About / Why Indraprint (dark) ---------- */
.about-section { color: #fff; }
.about-section .eyebrow { color: var(--color-primary-bright); }
.about-section .eyebrow::before { background: var(--color-primary-bright); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}
.about-content h2 { color: #fff; font-size: clamp(1.6rem, 3vw + 0.6rem, var(--text-3xl)); text-wrap: balance; }
.about-description {
  margin-top: var(--space-4);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}
.about-cta-group { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.about-benefits { display: flex; flex-direction: column; gap: var(--space-3); }

/* Benefit row — neutral by default (light surfaces), dark overrides below */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  transition: background var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.benefit-item:hover { background: var(--color-surface-sunken); border-color: var(--color-border-strong); transform: translateY(-2px); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.benefit-item strong { display: block; color: var(--color-ink); font-size: var(--text-md); margin-bottom: var(--space-1); }
.benefit-item p { margin: 0; font-size: var(--text-sm); color: var(--color-ink-muted); line-height: 1.55; }

.about-section .benefit-item {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.09);
}
.about-section .benefit-item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.about-section .benefit-item strong { color: #fff; }
.about-section .benefit-item p { color: rgba(255, 255, 255, 0.66); }

/* ---------- School enquiry (B2B) ---------- */
.enquiry-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 1024px) {
  .enquiry-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--space-6); }
}

/* ---------- Segmented toggle ---------- */
.seg-toggle {
  display: inline-flex;
  gap: var(--space-1);
  padding: var(--space-1);
  border-radius: var(--radius-md);
  background: var(--color-surface-sunken);
  border: 1px solid var(--color-border);
  width: fit-content;
  max-width: 100%;
}
.seg-toggle a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-muted);
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
.seg-toggle a:hover { color: var(--color-ink); }
.seg-toggle a.active {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

/* ---------- Bulk order CTA ---------- */
.cta-section { padding-block: var(--space-7); }
.cta-card { border-radius: var(--radius-xl); overflow: hidden; }
.cta-card h2 { color: #fff; }
.cta-actions { flex: none; }
.cta-actions .btn { min-height: 52px; }

/* ---------- Trust strip ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}
.trust-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--color-border-strong); }
.trust-badge strong { font-size: var(--text-md); color: var(--color-ink); }
.trust-badge p { margin: 0; font-size: var(--text-sm); }

/* ---------- Responsive grids ---------- */
@media (min-width: 640px) {
  .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
  .collections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); }
}
@media (min-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .collections-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
