/* ================================================================
   LUXE — Premium E-Commerce  |  style.css
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #08080F;
  --surface:     #101020;
  --surface-2:   #17182A;
  --surface-3:   #1E2040;

  --primary:        #7C5CFC;
  --primary-dim:    rgba(124,92,252,.14);
  --primary-glow:   rgba(124,92,252,.4);
  --primary-border: rgba(124,92,252,.35);

  --gold:     #FFB830;
  --gold-dim: rgba(255,184,48,.14);
  --rose:     #FF4D8B;
  --green:    #22C55E;

  --text:   #F0F0FA;
  --text-2: #8B8FA8;
  --text-3: #4A4B65;

  --border:   rgba(255,255,255,.06);
  --border-2: rgba(255,255,255,.11);
  --border-3: rgba(255,255,255,.18);

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.4);
  --shadow-md: 0 6px 28px rgba(0,0,0,.45);
  --shadow-lg: 0 14px 56px rgba(0,0,0,.55);
  --shadow-primary: 0 6px 28px rgba(124,92,252,.38);

  --nav-h: 72px;

  --ease: cubic-bezier(.4,0,.2,1);
  --fast: .18s cubic-bezier(.4,0,.2,1);
  --mid:  .3s  cubic-bezier(.4,0,.2,1);
  --slow: .55s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 56px);
}

/* ── Typography helpers ─────────────────────────────────────── */
.display-font { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .03em;
  transition: all var(--mid);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: #6B4BFF;
  box-shadow: 0 8px 36px rgba(124,92,252,.52);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--border-3);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}
.btn-gold {
  background: var(--gold);
  color: #0A0A0A;
  font-weight: 700;
}
.btn-gold:hover {
  background: #FFC940;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,184,48,.42);
}
.btn-ghost {
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  color: var(--text);
  background: var(--surface-3);
  border-color: var(--border-3);
}
.btn-danger {
  background: rgba(239,68,68,.15);
  color: #EF4444;
  border: 1px solid rgba(239,68,68,.25);
}
.btn-danger:hover { background: rgba(239,68,68,.25); }
.btn-lg { padding: 17px 44px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: .8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--mid), box-shadow var(--mid);
}
.navbar.scrolled {
  background: rgba(8,8,15,.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--border), 0 6px 28px rgba(0,0,0,.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
}

/* Logo */
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 20%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  line-height: 1;
}

/* Desktop Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}
.nav-link {
  position: relative;
  padding: 8px 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color var(--fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 18px; right: 18px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--mid);
}
.nav-link:hover          { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after  { transform: scaleX(1); }
.nav-link.active         { color: var(--text); }

/* Action icons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-action-btn {
  position: relative;
  width: 42px; height: 42px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: color var(--fast), background var(--fast);
}
.nav-action-btn:hover { color: var(--text); background: var(--surface-2); }
.nav-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--primary);
  border-radius: var(--r-full);
  font-size: .62rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
  transition: transform .2s var(--ease);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px; height: 42px;
  gap: 5px;
  border-radius: var(--r-sm);
  transition: background var(--fast);
  flex-shrink: 0;
}
.nav-burger:hover { background: var(--surface-2); }
.burger-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--mid), opacity var(--mid);
  transform-origin: center;
}
.nav-burger.is-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open .burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   MOBILE MENU  — full screen, 100% regardless of burger position
   ══════════════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;                          /* covers full viewport always */
  z-index: 999;
  background: rgba(8,8,15,.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--nav-h) 24px 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--slow);
}
.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 48px;
}
.mobile-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: .02em;
  padding: 6px 32px;
  position: relative;
  opacity: 0;
  transform: translateY(22px);
  transition: color var(--mid), opacity var(--slow), transform var(--slow);
}
.mobile-menu.is-open .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-link:nth-child(1) { transition-delay: .08s; }
.mobile-menu.is-open .mobile-link:nth-child(2) { transition-delay: .13s; }
.mobile-menu.is-open .mobile-link:nth-child(3) { transition-delay: .18s; }
.mobile-menu.is-open .mobile-link:nth-child(4) { transition-delay: .23s; }
.mobile-menu.is-open .mobile-link:nth-child(5) { transition-delay: .28s; }
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 32px; right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--mid);
}
.mobile-link:hover { color: var(--text); }
.mobile-link:hover::after { transform: scaleX(1); }

.mobile-menu-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: opacity var(--slow) .38s;
}
.mobile-menu.is-open .mobile-menu-footer { opacity: 1; }
.mobile-socials {
  display: flex;
  gap: 12px;
}
.mobile-social {
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: .85rem;
  font-weight: 700;
  transition: all var(--mid);
}
.mobile-social:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
  transform: translateY(-2px);
}
.mobile-menu-actions {
  display: flex;
  gap: 10px;
}

/* ══════════════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════════════ */
.hero-swiper {
  width: 100%;
  height: 100svh;
  min-height: 580px;
}
.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 9s ease;
}
.swiper-slide-active   .hero-bg { transform: scale(1.06); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(8,8,15,.9) 0%,
    rgba(8,8,15,.55) 50%,
    rgba(8,8,15,.15) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  padding-top: var(--nav-h);
}
/* Staggered slide-in on active slide */
.hero-content > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.swiper-slide-active .hero-content > *           { opacity: 1; transform: translateY(0); }
.swiper-slide-active .hero-content > *:nth-child(1) { transition-delay: .25s; }
.swiper-slide-active .hero-content > *:nth-child(2) { transition-delay: .4s; }
.swiper-slide-active .hero-content > *:nth-child(3) { transition-delay: .55s; }
.swiper-slide-active .hero-content > *:nth-child(4) { transition-delay: .7s; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: var(--r-full);
  font-size: .76rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--primary) 20%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero custom Swiper buttons */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 60px; height: 60px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.16);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--mid);
  cursor: pointer;
}
.hero-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 32px rgba(124,92,252,.55);
  transform: translateY(-50%) scale(1.08);
}
.hero-nav-btn:active { transform: translateY(-50%) scale(.96); }
.hero-prev { left: clamp(14px, 3.5vw, 48px); }
.hero-next { right: clamp(14px, 3.5vw, 48px); }

/* Hero pagination — pill bars */
.hero-pagination { bottom: 32px !important; }
.hero-pagination .swiper-pagination-bullet {
  width: 28px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background: rgba(255,255,255,.3) !important;
  opacity: 1 !important;
  transition: all var(--mid) !important;
  margin: 0 4px !important;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 60px !important;
  background: var(--primary) !important;
  box-shadow: 0 0 12px rgba(124,92,252,.7) !important;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 34px;
  right: clamp(16px, 4vw, 56px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  writing-mode: vertical-rl;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  user-select: none;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0) translateY(-50%); opacity: 0; }
  40%  { transform: scaleY(1) translateY(0);    opacity: 1; }
  100% { transform: scaleY(0) translateY(50%);  opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS — shared
   ══════════════════════════════════════════════════════════════ */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--primary); }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
  transition: gap var(--fast), opacity var(--fast);
}
.section-link:hover { gap: 12px; }

/* ══════════════════════════════════════════════════════════════
   PRODUCTS SLIDER — custom nav buttons
   ══════════════════════════════════════════════════════════════ */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.slider-btn {
  width: 50px; height: 50px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--border-3);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--mid);
  flex-shrink: 0;
}
.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.06);
}
.slider-btn.swiper-button-disabled {
  opacity: .35;
  pointer-events: none;
}

.products-swiper-wrap { overflow: hidden; }
.products-swiper { overflow: visible !important; }
.products-swiper .swiper-slide { width: clamp(220px, 24vw, 290px); }

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARD
   ══════════════════════════════════════════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--mid), box-shadow var(--mid), border-color var(--mid);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-2);
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--slow);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-new  { background: var(--primary); color: #fff; }
.badge-sale { background: var(--rose);    color: #fff; }
.badge-hot  { background: var(--gold);    color: #000; }

.product-quick {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  opacity: 0;
  transition: opacity var(--mid);
}
.product-card:hover .product-quick { opacity: 1; }
.product-quick-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--r-full);
  background: rgba(8,8,15,.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  transform: translateY(8px);
  transition: all var(--mid);
}
.product-card:hover .product-quick-btn { transform: translateY(0); }
.product-quick-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.product-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: var(--r-full);
  background: rgba(8,8,15,.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--fast);
  opacity: 0;
}
.product-card:hover .product-fav { opacity: 1; }
.product-fav:hover { color: var(--rose); background: rgba(255,77,139,.15); border-color: rgba(255,77,139,.3); }
.product-fav.active { color: var(--rose); opacity: 1; }

.product-body { padding: 16px; }
.product-category {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.product-name {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.product-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.price-now  { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.price-was  { font-size: .82rem; color: var(--text-3); text-decoration: line-through; }
.price-disc {
  margin-left: auto;
  font-size: .7rem;
  font-weight: 700;
  color: var(--rose);
  background: rgba(255,77,139,.12);
  padding: 2px 7px;
  border-radius: var(--r-full);
}
.product-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.star      { font-size: .75rem; }
.star-full { color: var(--gold); }
.star-empty{ color: var(--surface-3); }

.btn-add-cart {
  width: 100%;
  padding: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.btn-add-cart:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.btn-add-cart.added {
  background: rgba(34,197,94,.15);
  border-color: rgba(34,197,94,.3);
  color: var(--green);
}

/* ══════════════════════════════════════════════════════════════
   CATEGORIES BENTO GRID
   ══════════════════════════════════════════════════════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.cat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2);
  display: block;
}
.cat-card:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cat-card:nth-child(1) .cat-img { aspect-ratio: unset; height: 100%; min-height: 320px; }
.cat-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform var(--slow);
}
.cat-card:hover .cat-img { transform: scale(1.07); }
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,15,.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 3vw, 28px);
  transition: background var(--mid);
}
.cat-card:hover .cat-overlay { background: linear-gradient(to top, rgba(8,8,15,.92) 0%, rgba(8,8,15,.2) 100%); }
.cat-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.cat-count { font-size: .78rem; color: rgba(240,240,250,.55); }
.cat-arrow {
  position: absolute;
  bottom: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-6px);
  transition: all var(--mid);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateX(0); }

/* ══════════════════════════════════════════════════════════════
   PROMO BANNER
   ══════════════════════════════════════════════════════════════ */
.promo-banner {
  border-radius: var(--r-xl);
  padding: clamp(44px, 7vw, 80px) clamp(28px, 5.5vw, 72px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-2);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
}
.promo-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(124,92,252,.18) 0%, transparent 65%);
  pointer-events: none;
}
.promo-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 40%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,184,48,.1) 0%, transparent 65%);
  pointer-events: none;
}
.promo-label {
  display: inline-block;
  padding: 5px 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(255,184,48,.28);
  border-radius: var(--r-full);
  font-size: .73rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.promo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
}
.promo-desc {
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 32px;
}
.promo-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.promo-countdown {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.countdown-unit {
  text-align: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  padding: 10px 16px;
}
.countdown-num {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  margin-bottom: 2px;
}
.countdown-lbl { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.promo-img {
  width: clamp(200px, 22vw, 300px);
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(124,92,252,.2);
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════
   BRANDS
   ══════════════════════════════════════════════════════════════ */
.brands-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.brands-swiper .swiper-slide {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-item {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0 clamp(20px, 4vw, 48px);
  transition: color var(--mid);
  white-space: nowrap;
  user-select: none;
}
.brand-item:hover { color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER
   ══════════════════════════════════════════════════════════════ */
.newsletter-wrap {
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 80px) clamp(24px, 5vw, 72px);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  position: relative;
  overflow: hidden;
}
.newsletter-wrap::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(124,92,252,.09) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-form {
  display: flex;
  max-width: 520px;
  margin: 28px auto 0;
  background: var(--surface-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-full);
  padding: 6px;
  transition: border-color var(--fast);
}
.newsletter-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-dim); }
.newsletter-input {
  flex: 1;
  background: none;
  border: none;
  padding: 10px 18px;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}
.newsletter-input::placeholder { color: var(--text-3); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: clamp(52px, 7vw, 84px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 20%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: .75rem;
  font-weight: 700;
  transition: all var(--fast);
}
.footer-social:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-dim);
}
.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-link {
  font-size: .875rem;
  color: var(--text-2);
  transition: color var(--fast), padding-left var(--fast);
}
.footer-link:hover { color: var(--primary); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: .78rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-link { font-size: .78rem; color: var(--text-3); transition: color var(--fast); }
.footer-bottom-link:hover { color: var(--text-2); }
.footer-pay-icons { display: flex; gap: 8px; align-items: center; }
.pay-icon {
  padding: 4px 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: .65rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .03em;
}

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */
.form-group { position: relative; margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
  letter-spacing: .03em;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-md);
  font-size: .93rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast), background var(--fast);
}
.form-input:hover:not(:focus) { border-color: var(--border-3); }
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-dim);
  background: var(--surface-3);
}
.form-input::placeholder { color: var(--text-3); }
.form-input.has-icon { padding-left: 44px; }
.input-icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--text-3);
  pointer-events: none;
}
select.form-input { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: .875rem;
  color: var(--text-2);
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-check a { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER (внутренние страницы)
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 48px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin-bottom: 52px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-3);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--text-2); transition: color var(--fast); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-3); font-size: .7rem; }
.page-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════════════════ */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  padding-bottom: clamp(52px, 8vw, 96px);
}
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  align-items: start;
  transition: border-color var(--mid);
}
.cart-item:hover { border-color: var(--border-2); }
.cart-item-img {
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}
.cart-item-body { flex: 1; }
.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
}
.cart-item-name { font-size: .95rem; font-weight: 600; line-height: 1.3; }
.cart-item-price { font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.cart-item-variant {
  font-size: .78rem;
  color: var(--text-3);
  margin-bottom: 14px;
}
.cart-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.qty-ctrl {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-full);
  overflow: hidden;
}
.qty-btn {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--fast);
}
.qty-btn:hover { color: var(--text); background: var(--surface-3); }
.qty-val {
  min-width: 38px;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  padding: 0 4px;
}
.cart-remove {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--text-3);
  transition: color var(--fast);
  cursor: pointer;
}
.cart-remove:hover { color: var(--rose); }

.cart-empty {
  text-align: center;
  padding: 64px 24px;
  display: none;
}
.cart-empty.show { display: block; }
.cart-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  opacity: .3;
}
.cart-empty h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--text-2);
}
.cart-empty p { font-size: .9rem; color: var(--text-3); margin-bottom: 24px; }

/* Cart summary */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.summary-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: .9rem;
  margin-bottom: 11px;
  color: var(--text-2);
}
.summary-line strong { color: var(--text); }
.summary-line.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.promo-row .form-input { border-radius: var(--r-full); padding: 10px 16px; }
.promo-row .btn { flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
}
.login-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .45;
}
.login-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,8,15,.7), rgba(124,92,252,.2));
}
.login-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px;
  max-width: 420px;
}
.login-visual-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}
.login-visual-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
}
.login-form-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 5vw, 72px);
  background: var(--bg);
  min-height: 100vh;
}
.login-box { width: 100%; max-width: 450px; }
.login-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff 20%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.login-sub {
  font-size: .875rem;
  color: var(--text-3);
  margin-bottom: 32px;
}
.auth-tabs {
  display: flex;
  background: var(--surface);
  border-radius: var(--r-full);
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--border-2);
}
.auth-tab {
  flex: 1;
  padding: 11px;
  border-radius: var(--r-full);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-2);
  transition: all var(--mid);
  text-align: center;
  cursor: pointer;
}
.auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.auth-form-panel { display: none; }
.auth-form-panel.active { display: block; }
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  font-size: .8rem;
  color: var(--text-3);
}
.divider::before,.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-2);
}
.social-auth { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.btn-social {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-md);
  background: transparent;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--fast);
  cursor: pointer;
}
.btn-social:hover { border-color: var(--primary); background: var(--primary-dim); color: var(--primary); }
.form-hint { text-align: center; font-size: .825rem; color: var(--text-2); margin-top: 18px; }
.form-hint a { color: var(--primary); font-weight: 600; }
.forgot-link { font-size: .8rem; color: var(--primary); margin-top: 6px; display: inline-block; }

/* ══════════════════════════════════════════════════════════════
   ACCOUNT PAGE
   ══════════════════════════════════════════════════════════════ */
.account-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: clamp(52px, 8vw, 96px);
}
.account-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.account-avatar {
  width: 76px; height: 76px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--primary-dim), rgba(236,72,153,.15));
  border: 2px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  position: relative;
}
.avatar-badge {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 18px; height: 18px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--surface);
}
.account-name { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.account-email { font-size: .8rem; color: var(--text-3); margin-bottom: 24px; }
.account-nav { display: flex; flex-direction: column; gap: 2px; }
.acc-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--r-md);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--fast);
  cursor: pointer;
}
.acc-nav-item:hover { color: var(--text); background: var(--surface-2); }
.acc-nav-item.active { color: var(--primary); background: var(--primary-dim); font-weight: 600; }
.acc-nav-divider { height: 1px; background: var(--border); margin: 10px 0; }

.account-main {}
.acc-tab-bar {
  display: flex;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 5px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.acc-tab {
  padding: 9px 20px;
  border-radius: var(--r-md);
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--fast);
  cursor: pointer;
}
.acc-tab.active { background: var(--primary); color: #fff; }
.acc-tab:not(.active):hover { color: var(--text); background: var(--surface-2); }

.acc-panel { display: none; }
.acc-panel.active { display: block; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl { font-size: .78rem; color: var(--text-2); }

.order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 12px;
  transition: border-color var(--mid);
}
.order-card:hover { border-color: var(--border-2); }
.order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.order-id { font-size: .85rem; font-weight: 700; }
.order-date { font-size: .78rem; color: var(--text-3); margin-top: 2px; }
.order-status {
  padding: 5px 13px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.s-delivered { background: rgba(34,197,94,.14);   color: #22C55E; }
.s-shipping  { background: rgba(59,130,246,.14);  color: #60A5FA; }
.s-pending   { background: rgba(234,179,8,.14);   color: #FBBF24; }
.s-cancelled { background: rgba(239,68,68,.14);   color: #F87171; }
.order-imgs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
}
.order-img {
  width: 62px; height: 78px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  gap: 10px;
  flex-wrap: wrap;
}
.order-total { font-weight: 700; font-size: 1rem; }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.profile-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.profile-section.full { grid-column: span 2; }
.profile-section-title { font-size: .875rem; font-weight: 700; margin-bottom: 18px; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }

/* ══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════════════════════════════ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  padding-bottom: clamp(52px, 8vw, 96px);
}
.checkout-steps {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  gap: 0;
}
.ck-step {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ck-step-num {
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  border: 2px solid var(--border-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-3);
  background: var(--surface);
  flex-shrink: 0;
  transition: all var(--mid);
}
.ck-step.active .ck-step-num { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.ck-step.done   .ck-step-num { border-color: var(--green); background: var(--green); color: #fff; }
.ck-step-lbl {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-3);
  transition: color var(--fast);
}
.ck-step.active .ck-step-lbl,
.ck-step.done   .ck-step-lbl { color: var(--text); }
.ck-connector {
  flex: 1;
  height: 1px;
  background: var(--border-2);
  margin: 0 10px;
  transition: background var(--mid);
}
.ck-connector.done { background: var(--green); }

.ck-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  margin-bottom: 18px;
}
.ck-card-title {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ck-card-title svg { color: var(--primary); }

.delivery-opts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.delivery-opt {
  padding: 16px 12px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--mid);
}
.delivery-opt:hover { border-color: var(--border-3); }
.delivery-opt.selected { border-color: var(--primary); background: var(--primary-dim); }
.delivery-icon { font-size: 1.5rem; margin-bottom: 6px; }
.delivery-name { font-size: .78rem; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.delivery-price { font-size: .75rem; color: var(--text-3); }
.delivery-opt.selected .delivery-name { color: var(--primary); }

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.pay-opt {
  padding: 16px 10px;
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--mid);
}
.pay-opt:hover { border-color: var(--border-3); }
.pay-opt.selected { border-color: var(--primary); background: var(--primary-dim); }
.pay-icon-big { font-size: 1.6rem; margin-bottom: 5px; }
.pay-name { font-size: .75rem; font-weight: 600; color: var(--text-2); }
.pay-opt.selected .pay-name { color: var(--primary); }

.card-input-row {
  display: grid;
  grid-template-columns: 1fr 100px 80px;
  gap: 12px;
}

/* Checkout summary (right col) */
.ck-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.ck-summary-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ck-items { margin-bottom: 20px; }
.ck-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.ck-item:last-child { border-bottom: none; }
.ck-item-img {
  width: 56px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.ck-item-name { font-size: .85rem; font-weight: 500; margin-bottom: 3px; line-height: 1.3; }
.ck-item-qty { font-size: .78rem; color: var(--text-3); }
.ck-item-price { margin-left: auto; font-size: .9rem; font-weight: 700; white-space: nowrap; }

.ck-lines { margin-bottom: 18px; }
.ck-line {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  margin-bottom: 10px;
  color: var(--text-2);
}
.ck-line strong { color: var(--text); }
.ck-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--slow), transform var(--slow);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }
.reveal:nth-child(7) { transition-delay: .48s; }
.reveal:nth-child(8) { transition-delay: .56s; }

/* ══════════════════════════════════════════════════════════════
   MISC UTILITIES
   ══════════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
}
.tag-primary { background: var(--primary-dim); color: var(--primary); border: 1px solid var(--primary-border); }

.info-card {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 16px;
  border: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-card-icon { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.info-card-title { font-size: .875rem; font-weight: 600; margin-bottom: 3px; }
.info-card-text  { font-size: .82rem; color: var(--text-2); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet & below — burger menu ──────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Navbar actions: hide some on tablet */
  .nav-action-btn.hide-tablet { display: none; }

  /* Products */
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .products-swiper .swiper-slide { width: clamp(200px, 30vw, 260px); }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card:nth-child(1) { grid-column: span 2; }
  .cat-card:nth-child(1) .cat-img { min-height: 260px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* Cart */
  .cart-page-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }

  /* Account */
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-section.full { grid-column: auto; }

  /* Checkout */
  .checkout-layout { grid-template-columns: 1fr; }
  .ck-summary { position: static; }
  .delivery-opts { grid-template-columns: 1fr 1fr 1fr; }
  .pay-methods { grid-template-columns: repeat(3, 1fr); }

  /* Promo */
  .promo-banner { grid-template-columns: 1fr; }
  .promo-img { display: none; }

  /* Login */
  .login-page { grid-template-columns: 1fr; }
  .login-visual { display: none; }
  .login-form-side { padding: clamp(80px, 10vw, 120px) clamp(24px, 6vw, 56px) 48px; }
}

/* ── Large mobile ── */
@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:nth-child(1) { grid-column: span 2; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .cart-item { grid-template-columns: 90px 1fr; gap: 14px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .card-input-row { grid-template-columns: 1fr 1fr; }
  .card-input-row :last-child { grid-column: span 2; }

  .delivery-opts { grid-template-columns: 1fr 1fr; }
  .pay-methods { grid-template-columns: 1fr 1fr; }

  .checkout-steps { gap: 2px; }
  .ck-step-lbl { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .promo-countdown { gap: 10px; }

  .hero-scroll { display: none; }
}

/* ── Small mobile ── */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .hero-nav-btn { width: 46px; height: 46px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .newsletter-form { flex-direction: column; border-radius: var(--r-lg); padding: 8px; }
  .newsletter-form .btn { width: 100%; justify-content: center; border-radius: var(--r-md); }

  .categories-grid { grid-template-columns: 1fr; }
  .cat-card:nth-child(1) { grid-column: auto; }
  .cat-card:nth-child(1) .cat-img { min-height: 220px; }

  .stats-grid { grid-template-columns: 1fr; }

  .delivery-opts { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr 1fr; }

  .promo-banner { padding: 32px 20px; }
}
