/* ── Variables ─────────────────────────────────────── */
:root {
  --red:       #e3000b;
  --red-dark:  #b8000a;
  --gold:      #f5c518;
  --dark:      #0d0d0d;
  --dark2:     #1a1a1a;
  --dark3:     #242424;
  --dark4:     #2e2e2e;
  --light:     #f0f0f0;
  --muted:     #888;
  --border:    #333;
  --white:     #ffffff;
  --success:   #22c55e;
  --warning:   #f59e0b;
  --error:     #ef4444;

  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);

  --nav-h:     64px;
  --font:      'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w:     1280px;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Layout ────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.page-main  { margin-top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Typography ────────────────────────────────────── */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
}
.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary   { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(227,0,11,0.4); }

.btn-secondary { background: var(--dark3); color: var(--light); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--dark4); }

.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #e0b214; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--light); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Navigation ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}
.nav__logo-badge {
  background: var(--red);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light);
  transition: all 0.15s;
}
.nav-link:hover  { background: var(--dark3); color: var(--white); }
.nav-link.active { color: var(--red); }
.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__cart-count {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.nav__cart-count:not(:empty) { display: flex; }
.nav-toggle { display: none; background: none; border: none; color: var(--light); font-size: 1.4rem; margin-left: auto; }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #1a0005 50%, #0d0d0d 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(227,0,11,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 20%, rgba(245,197,24,0.06) 0%, transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227,0,11,0.12);
  border: 1px solid rgba(227,0,11,0.3);
  color: var(--red);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero__title span { color: var(--red); }
.hero__desc {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__stat-n { font-size: 2rem; font-weight: 800; color: var(--white); }
.hero__stat-l { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12rem;
  line-height: 1;
  filter: drop-shadow(0 0 60px rgba(227,0,11,0.3));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-16px); } }

/* ── Categories strip ──────────────────────────────── */
.cat-strip { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-strip__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}
.cat-strip__list::-webkit-scrollbar { display: none; }
.cat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.15s;
  color: var(--light);
}
.cat-chip:hover, .cat-chip.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ── Product Grid ──────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(227,0,11,0.15);
}
.product-card__img {
  position: relative;
  background: var(--dark3);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.3s;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__no-img { font-size: 4rem; opacity: 0.3; }
.product-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-card__name { font-size: 0.95rem; font-weight: 600; line-height: 1.3; margin-bottom: 6px; }
.product-card__cat  { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.product-card__price { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-top: auto; }
.price-compare { font-size: 0.85rem; color: var(--muted); text-decoration: line-through; margin-left: 8px; }

/* Skeleton */
.product-card--skeleton { pointer-events: none; }
.skeleton-box { background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%); background-size: 200%; animation: shimmer 1.4s infinite; }
.skeleton-line { height: 14px; border-radius: 4px; margin-bottom: 8px; background: linear-gradient(90deg, var(--dark3) 25%, var(--dark4) 50%, var(--dark3) 75%); background-size: 200%; animation: shimmer 1.4s infinite; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-50 { width: 50%; }
.skeleton-line.w-40 { width: 40%; }
@keyframes shimmer { to { background-position: -200% center; } }

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: absolute;
  top: 10px; left: 10px;
}
.badge-featured { background: var(--gold); color: var(--dark); }
.badge-oos       { background: var(--dark3); color: var(--muted); top: 10px; left: auto; right: 10px; }

/* ── Shop page ─────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.sidebar-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--light);
  transition: all 0.15s;
}
.filter-item a:hover, .filter-item a.active { background: rgba(227,0,11,0.1); color: var(--red); }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.shop-count { color: var(--muted); font-size: 0.9rem; }
.shop-sort { background: var(--dark3); border: 1px solid var(--border); color: var(--light); padding: 8px 14px; border-radius: var(--radius); font-size: 0.9rem; }

/* ── Product detail ────────────────────────────────── */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.product-gallery__main { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 24px; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.product-gallery__thumb { width: 72px; height: 72px; background: var(--dark2); border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; padding: 6px; flex-shrink: 0; transition: border-color 0.15s; }
.product-gallery__thumb.active, .product-gallery__thumb:hover { border-color: var(--red); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info__cat { color: var(--red); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; margin-bottom: 12px; }
.product-info__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.product-info__price { font-size: 2rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.product-info__sku { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }
.product-info__desc { color: var(--muted); line-height: 1.7; margin-bottom: 32px; font-size: 0.95rem; }
.qty-selector { display: flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; width: fit-content; margin-bottom: 20px; }
.qty-btn { background: var(--dark3); border: none; color: var(--light); width: 40px; height: 44px; font-size: 1.2rem; transition: background 0.15s; }
.qty-btn:hover { background: var(--dark4); }
.qty-input { width: 56px; height: 44px; background: var(--dark2); border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--white); text-align: center; font-size: 1rem; font-weight: 600; }
.product-info__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-info__stock { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; margin-top: 16px; }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stock-dot.oos { background: var(--muted); }

/* ── Cart ──────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 16px; }
.cart-item { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; gap: 20px; align-items: center; }
.cart-item__img { width: 80px; height: 80px; background: var(--dark3); border-radius: var(--radius); flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 600; margin-bottom: 4px; }
.cart-item__price { color: var(--muted); font-size: 0.9rem; }
.cart-item__controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cart-item__remove { background: none; border: none; color: var(--muted); font-size: 0.85rem; text-decoration: underline; padding: 0; transition: color 0.15s; }
.cart-item__remove:hover { color: var(--red); }
.cart-item__total { font-size: 1.1rem; font-weight: 700; color: var(--white); flex-shrink: 0; }
.cart-summary { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--nav-h) + 20px); }
.cart-summary__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.cart-summary__row.total { font-size: 1.15rem; font-weight: 800; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 4px; }
.cart-empty { text-align: center; padding: 80px 24px; }
.cart-empty__icon { font-size: 4rem; margin-bottom: 20px; }

/* ── Checkout / Forms ──────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.form-card { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.form-input {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--light);
  padding: 11px 14px;
  font-size: 0.95rem;
  transition: border-color 0.15s;
}
.form-input:focus { outline: none; border-color: var(--red); }
.form-input::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--error); font-size: 0.82rem; margin-top: 4px; }
.form-hint  { color: var(--muted); font-size: 0.82rem; margin-top: 4px; }
.form-sep { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--muted); font-size: 0.85rem; }
.form-sep::before, .form-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Auth pages ────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(227,0,11,0.06) 0%, transparent 70%); }
.auth-card { width: 100%; max-width: 440px; background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.auth-card__logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 32px; }
.auth-card__logo-name { font-size: 1.4rem; font-weight: 900; }
.auth-card__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; text-align: center; }
.auth-card__sub { color: var(--muted); font-size: 0.9rem; text-align: center; margin-bottom: 28px; }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 12px; background: var(--white); color: #333; border: none; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: box-shadow 0.15s; }
.google-btn:hover { box-shadow: 0 2px 12px rgba(255,255,255,0.15); }
.auth-footer { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--muted); }
.auth-footer a { color: var(--red); }

/* ── Account page ──────────────────────────────────── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.account-nav { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: calc(var(--nav-h) + 20px); }
.account-nav__item { display: block; padding: 14px 20px; font-size: 0.92rem; border-bottom: 1px solid var(--border); color: var(--light); transition: all 0.15s; }
.account-nav__item:last-child { border-bottom: none; }
.account-nav__item:hover, .account-nav__item.active { background: rgba(227,0,11,0.08); color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Orders ────────────────────────────────────────── */
.order-card { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.order-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.order-card__id { font-weight: 700; }
.order-card__date { color: var(--muted); font-size: 0.85rem; }
.order-status { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.status-pending    { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-paid       { background: rgba(34,197,94,0.15);  color: var(--success); }
.status-processing { background: rgba(59,130,246,0.15); color: #60a5fa; }
.status-shipped    { background: rgba(139,92,246,0.15); color: #a78bfa; }
.status-delivered  { background: rgba(34,197,94,0.15);  color: var(--success); }
.status-cancelled  { background: rgba(107,114,128,0.15);color: var(--muted); }

/* ── Pagination ────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 40px 0; }
.page-btn { background: var(--dark3); border: 1px solid var(--border); color: var(--light); width: 40px; height: 40px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; transition: all 0.15s; }
.page-btn:hover:not([disabled]) { border-color: var(--red); color: var(--red); }
.page-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.page-btn[disabled] { opacity: 0.3; cursor: not-allowed; }
.page-ellipsis { display: flex; align-items: center; color: var(--muted); padding: 0 8px; }

/* ── Toast ─────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast { background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; font-size: 0.9rem; max-width: 320px; box-shadow: var(--shadow); transform: translateX(110%); transition: transform 0.28s; }
.toast.show { transform: translateX(0); }
.toast-success { border-left: 3px solid var(--success); }
.toast-error   { border-left: 3px solid var(--error); }
.toast-info    { border-left: 3px solid var(--red); }

/* ── Footer ────────────────────────────────────────── */
.footer { background: var(--dark2); border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: auto; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand-name { font-size: 1.2rem; font-weight: 900; margin-bottom: 12px; }
.footer__brand-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }
.footer__col-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--muted); font-size: 0.9rem; transition: color 0.15s; }
.footer__links a:hover { color: var(--red); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.85rem; }
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--red); }

/* ── Utility ───────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state__icon { font-size: 4rem; margin-bottom: 20px; }
.empty-state__title { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.empty-state__sub { color: var(--muted); margin-bottom: 28px; }
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 20px; }
.alert-error   { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.spinner { width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--red); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.divider { height: 1px; background: var(--border); margin: 32px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; margin-bottom: 32px; }
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { opacity: 0.4; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
  .shop-layout    { grid-template-columns: 1fr; }
  .shop-sidebar   { position: static; display: none; }
  .cart-layout    { grid-template-columns: 1fr; }
  .checkout-layout{ grid-template-columns: 1fr; }
  .footer__grid   { grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav    { position: static; display: flex; overflow-x: auto; }
  .account-nav__item { border-bottom: none; border-right: 1px solid var(--border); white-space: nowrap; }
}
@media (max-width: 768px) {
  .hero__inner    { grid-template-columns: 1fr; text-align: center; }
  .hero__visual   { display: none; }
  .hero__actions  { justify-content: center; }
  .hero__stats    { justify-content: center; }
  .product-detail { grid-template-columns: 1fr; }
  .nav__links     { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--dark); padding: 16px; flex-direction: column; border-bottom: 1px solid var(--border); }
  .nav__links.open{ display: flex; }
  .nav-toggle     { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer__grid   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .cart-item      { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 2rem; }
  .auth-card  { padding: 24px; }
  .form-card  { padding: 20px; }
}
