/* ==========================================================================
   RIOT — Streetwear / Bold Maximalism Design Tokens
   Deliberately the visual opposite of the AURA minimalist system:
   loud color, heavy type, hard shadows, asymmetry over grid discipline.
   ========================================================================== */
:root {
  --ink: #0A0A0A;
  --paper: #FFF9EC;
  --paper-dim: #F2ECDA;

  --acid: #D4FF3F;
  --hot: #FF3366;
  --grape: #7B2FF7;
  --sky: #00C2FF;
  --tang: #FF8A00;

  --line: #0A0A0A;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  --radius-sm: 0px;
  --radius-md: 4px;
  --radius-button: 999px;
  --radius-lg: 4px;
  --radius-card: 6px;

  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-md: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);

  --ease-micro: 120ms cubic-bezier(.68,-0.4,.27,1.4);
  --ease-base: 220ms cubic-bezier(.68,-0.4,.27,1.4);
  --ease-page: 380ms cubic-bezier(.16,1,.3,1);

  --container: 1440px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, select { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section { padding: var(--space-20) 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  gap: var(--space-6);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  padding: 4px 10px;
  border: 2px solid var(--ink);
  margin-bottom: var(--space-3);
  transform: rotate(-1.5deg);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  border-bottom: 3px solid var(--hot);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: color var(--ease-micro);
}
.section-link:hover { color: var(--hot); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 52px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-button);
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 3px solid var(--ink);
  transition: transform var(--ease-micro), box-shadow var(--ease-micro), background var(--ease-micro);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--hot); color: var(--ink); }
.btn-accent { background: var(--hot); color: var(--ink); }
.btn-accent:hover { background: var(--acid); }
.btn-outline { background: var(--paper); color: var(--ink); }
.btn-outline:hover { background: var(--sky); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--paper-dim); transform: none; box-shadow: none; }
.btn-sm { height: 42px; padding: 0 var(--space-5); font-size: 11px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; box-shadow: var(--shadow-sm) !important; }
.btn-icon {
  width: 48px; height: 48px; padding: 0; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow-sm);
}
.btn-icon:hover { background: var(--acid); transform: translate(-2px, -2px); box-shadow: var(--shadow-md); }

/* ==========================================================================
   Header
   ========================================================================== */
.announce-bar {
  background: var(--ink);
  color: var(--acid);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
}
.announce-bar strong { color: var(--hot); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: var(--space-8);
}
.logo {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 4px 12px;
  transform: rotate(-1deg);
  display: inline-block;
}
.main-nav { display: flex; gap: var(--space-6); }
.main-nav a {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: var(--space-2) var(--space-2);
  border: 2px solid transparent;
  transition: all var(--ease-micro);
}
.main-nav a:hover { border-color: var(--ink); background: var(--sky); }
.main-nav a.active { border-color: var(--ink); background: var(--acid); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: var(--radius-md);
  align-items: center; justify-content: center; background: var(--paper); color: var(--ink);
  transition: background var(--ease-micro);
}
.nav-toggle:hover { background: var(--acid); }

.mobile-nav-panel {
  display: none; flex-direction: column;
  background: var(--paper); border-bottom: 4px solid var(--ink);
  padding: var(--space-2) var(--space-6) var(--space-5);
}
.mobile-nav-panel.open { display: flex; }
.mobile-nav-panel a {
  padding: var(--space-3) 0; font-family: var(--font-mono); font-size: 14px; font-weight: 700; text-transform: uppercase;
  border-bottom: 2px solid var(--paper-dim);
}
.mobile-nav-panel a:last-child { border-bottom: none; }
.mobile-nav-panel a:hover, .mobile-nav-panel a.active { color: var(--hot); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.search-box {
  display: flex; align-items: center; gap: var(--space-2);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  height: 48px;
  width: 240px;
  transition: box-shadow var(--ease-micro), width var(--ease-base);
}
.search-box:focus-within { box-shadow: var(--shadow-sm); width: 280px; }
.search-box input { border: none; background: transparent; outline: none; width: 100%; font-size: 14px; font-weight: 500; }
.search-box svg { flex-shrink: 0; color: var(--ink); }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all var(--ease-micro);
  color: var(--ink);
}
.icon-btn:hover { border-color: var(--ink); background: var(--acid); }
.icon-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--hot); color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid var(--ink);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--grape);
  border-bottom: 4px solid var(--ink);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, var(--acid) 0, var(--acid) 180px, transparent 181px),
    radial-gradient(circle at 8% 80%, var(--hot) 0, var(--hot) 140px, transparent 141px);
  opacity: 0.9;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-2%, 2%, 0) scale(1.05); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: var(--space-16) 0;
}
.hero .eyebrow { background: var(--acid); }
.hero h1 {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--paper);
  -webkit-text-stroke: 2px var(--ink);
  margin-bottom: var(--space-6);
  animation: heroUp var(--ease-page) both;
  animation-duration: 700ms;
}
.hero h1 span { color: var(--acid); -webkit-text-stroke: 2px var(--ink); }
.hero p {
  font-size: 19px;
  font-weight: 600;
  color: var(--paper);
  max-width: 460px;
  margin-bottom: var(--space-8);
  animation: heroUp var(--ease-page) both;
  animation-duration: 700ms;
  animation-delay: 80ms;
}
.hero .hero-cta { display: flex; gap: var(--space-4); animation: heroUp var(--ease-page) both; animation-duration: 700ms; animation-delay: 150ms; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px) rotate(-1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.hero-scroll-hint {
  position: absolute; right: var(--space-8); bottom: var(--space-8);
  color: var(--paper);
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  z-index: 2;
}
.hero-scroll-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); border: 2px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ==========================================================================
   Advantages strip
   ========================================================================== */
.advantages { background: var(--tang); border-bottom: 4px solid var(--ink); }
.advantages .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}
.advantage { display: flex; align-items: center; gap: var(--space-3); }
.advantage svg { color: var(--ink); flex-shrink: 0; }
.advantage strong { display: block; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; }
.advantage span { display: block; font-size: 12px; font-weight: 600; color: var(--ink); opacity: 0.75; }

/* ==========================================================================
   Categories
   ========================================================================== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.category-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--paper-dim);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-md);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.category-card:nth-child(even) { transform: rotate(1.5deg); }
.category-card:nth-child(odd) { transform: rotate(-1.5deg); }
.category-card:hover { transform: rotate(0) translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.category-card .cat-bg { position: absolute; inset: 0; transition: transform var(--ease-page); }
.category-card:hover .cat-bg { transform: scale(1.08); }
.category-card .cat-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,0.75) 0%, rgba(10,10,10,0) 50%); }
.category-card .cat-label { position: absolute; left: var(--space-5); bottom: var(--space-5); color: var(--paper); font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.category-card .cat-label span { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--acid); margin-top: 4px; }

/* ==========================================================================
   Product Card
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8) var(--space-6); }
.product-card { position: relative; animation: cardIn var(--ease-base) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.product-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--paper-dim);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-4);
  transition: transform var(--ease-base), box-shadow var(--ease-base);
}
.product-card:hover .product-media { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--ease-base), transform var(--ease-page); }
.product-media .img-primary { opacity: 1; }
.product-media .img-secondary { opacity: 0; }
.product-card:hover .img-primary { opacity: 0; transform: scale(1.06) rotate(1deg); }
.product-card:hover .img-secondary { opacity: 1; transform: scale(1.06) rotate(1deg); }

.product-badges { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge {
  font-family: var(--font-display);
  font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 5px 10px; border: 2px solid var(--ink);
  color: var(--ink); background: var(--acid);
  width: fit-content;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-2deg);
}
.badge-sale { background: var(--hot); }
.badge-new { background: var(--sky); }
.badge-limited { background: var(--tang); }
.badge-out { background: var(--paper-dim); color: var(--ink); }

.wishlist-btn {
  position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--ease-micro), background var(--ease-micro);
  color: var(--ink);
}
.wishlist-btn:hover { transform: scale(1.1) rotate(-8deg); background: var(--acid); }
.wishlist-btn.active { background: var(--hot); color: var(--paper); }
.wishlist-btn.active svg { fill: var(--paper); }
.wishlist-btn.pop { animation: wishPop 340ms ease; }
@keyframes wishPop { 0% { transform: scale(1); } 35% { transform: scale(1.35) rotate(-10deg); } 100% { transform: scale(1); } }

.product-quickbar {
  position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  display: flex; gap: var(--space-2);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--ease-base), transform var(--ease-base);
  z-index: 2;
}
.product-card:hover .product-quickbar { opacity: 1; transform: translateY(0); }
.product-quickbar .btn { flex: 1; height: 44px; font-size: 11px; padding: 0 var(--space-3); }
.product-quickbar .btn-icon-sm {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--radius-md);
  background: var(--paper); border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center;
}

.product-info .brand { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink); opacity: 0.6; margin-bottom: 4px; }
.product-info .title { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; margin-bottom: 8px; line-height: 1.15; }
.product-price { display: flex; align-items: center; gap: var(--space-2); margin-bottom: 8px; }
.product-price .current { font-family: var(--font-display); font-size: 17px; }
.product-price .old { font-size: 13px; color: var(--ink); opacity: 0.4; text-decoration: line-through; }
.product-price .discount { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--paper); background: var(--hot); padding: 2px 6px; }

.swatches { display: flex; gap: 6px; margin-bottom: 6px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; }
.swatch.more { font-size: 10px; font-weight: 700; color: var(--ink); display: flex; align-items: center; }

.product-meta { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--ink); opacity: 0.7; }
.product-meta .stars { color: var(--hot); letter-spacing: 1px; font-size: 11px; opacity: 1; }

/* ==========================================================================
   Editorial split
   ========================================================================== */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.editorial-panel {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  aspect-ratio: 4/5; background: var(--paper-dim);
  border: 3px solid var(--ink); box-shadow: var(--shadow-lg);
}
.editorial-panel:nth-child(1) { transform: rotate(-1deg); }
.editorial-panel:nth-child(2) { transform: rotate(1deg); }
.editorial-panel .ed-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,0.8), transparent 55%); }
.editorial-panel .ed-copy { position: absolute; left: var(--space-6); bottom: var(--space-6); color: var(--paper); max-width: 340px; }
.editorial-panel .ed-copy .eyebrow { background: var(--hot); color: var(--paper); }
.editorial-panel .ed-copy h3 { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; margin-bottom: var(--space-3); line-height: 1.05; }
.editorial-panel .ed-copy a { font-family: var(--font-mono); font-size: 13px; font-weight: 700; text-transform: uppercase; border-bottom: 3px solid var(--acid); padding-bottom: 2px; }

/* ==========================================================================
   Brand strip
   ========================================================================== */
.brand-strip {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--ink);
  padding: var(--space-8) var(--space-6);
  overflow-x: auto;
  border-radius: var(--radius-card);
}
.brand-strip span { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; color: var(--paper-dim); transition: color var(--ease-micro); white-space: nowrap; }
.brand-strip span:hover { color: var(--acid); }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.review-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease-base), transform var(--ease-base);
}
.review-card:nth-child(2) { transform: rotate(-0.8deg); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translate(-3px,-3px); }
.review-card .stars { color: var(--hot); font-size: 15px; margin-bottom: var(--space-3); letter-spacing: 2px; }
.review-card p { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--space-4); }
.review-author { display: flex; align-items: center; gap: var(--space-3); }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sky); border: 2px solid var(--ink); }
.review-author strong { font-family: var(--font-display); font-size: 12px; display: block; text-transform: uppercase; }
.review-author span { font-family: var(--font-mono); font-size: 11px; color: var(--ink); opacity: 0.6; }

/* ==========================================================================
   Newsletter
   ========================================================================== */
.newsletter {
  background: var(--acid);
  border: 4px solid var(--ink);
  border-radius: var(--radius-card);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.newsletter h2 { font-family: var(--font-display); font-size: 38px; text-transform: uppercase; margin-bottom: var(--space-3); }
.newsletter p { font-weight: 600; margin-bottom: var(--space-6); }
.newsletter-form { display: flex; gap: var(--space-3); max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; height: 52px; border-radius: var(--radius-md); border: 3px solid var(--ink);
  background: var(--paper); color: var(--ink); padding: 0 var(--space-4); font-size: 14px; font-weight: 600; outline: none;
}
.newsletter-form input::placeholder { color: var(--ink); opacity: 0.5; }
.newsletter-form .btn { height: 52px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--paper); padding-top: var(--space-16); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 3px solid var(--paper-dim);
}
.footer-grid h4 { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; margin-bottom: var(--space-4); color: var(--acid); }
.footer-grid ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-grid a { font-size: 13px; font-weight: 600; color: var(--paper-dim); transition: color var(--ease-micro); }
.footer-grid a:hover { color: var(--hot); }
.footer-brand .logo { margin-bottom: var(--space-3); background: var(--acid); color: var(--ink); }
.footer-brand p { font-size: 13px; font-weight: 500; color: var(--paper-dim); max-width: 260px; margin-bottom: var(--space-5); }
.lang-switch { display: flex; gap: var(--space-2); }
.lang-switch button {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
  border: 2px solid var(--paper-dim); background: transparent; color: var(--paper); transition: all var(--ease-micro);
}
.lang-switch button.active { background: var(--acid); color: var(--ink); border-color: var(--ink); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-6) 0; font-family: var(--font-mono); font-size: 12px; color: var(--paper-dim);
}
.footer-social { display: flex; gap: var(--space-4); }
.footer-social a:hover { color: var(--acid); }

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
.overlay { position: fixed; inset: 0; background: rgba(10,10,10,0.55); opacity: 0; pointer-events: none; transition: opacity var(--ease-base); z-index: 200; }
.overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 440px; max-width: 92vw;
  background: var(--paper); z-index: 201;
  border-left: 4px solid var(--ink);
  transform: translateX(100%);
  transition: transform var(--ease-page);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5) var(--space-6); border-bottom: 3px solid var(--ink); }
.drawer-header h3 { font-family: var(--font-display); font-size: 18px; text-transform: uppercase; }
.cart-items { flex: 1; overflow-y: auto; padding: var(--space-5) var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.cart-item { display: flex; gap: var(--space-4); animation: cardIn var(--ease-base) both; }
.cart-item img { width: 80px; height: 100px; border-radius: var(--radius-md); object-fit: cover; background: var(--paper-dim); border: 2px solid var(--ink); }
.cart-item-info { flex: 1; }
.cart-item-info .name { font-family: var(--font-display); font-size: 13px; text-transform: uppercase; margin-bottom: 2px; }
.cart-item-info .variant { font-family: var(--font-mono); font-size: 11px; color: var(--ink); opacity: 0.6; margin-bottom: var(--space-2); }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; }
.qty-control { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; }
.qty-control button {
  width: 36px; height: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; color: var(--ink); background: var(--paper-dim);
  transition: background var(--ease-micro);
}
.qty-control button:hover { background: var(--acid); }
.qty-control button:active { background: var(--acid); }
.qty-control span { width: 32px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-item .price { font-family: var(--font-display); font-size: 13px; }
.cart-item .remove { font-family: var(--font-mono); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink); opacity: 0.6; margin-top: var(--space-2); }
.cart-item .remove:hover { color: var(--hot); opacity: 1; }

.drawer-footer { padding: var(--space-6); border-top: 3px solid var(--ink); }
.promo-row { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); }
.promo-row input { flex: 1; height: 46px; border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 0 var(--space-3); font-size: 13px; outline: none; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink); opacity: 0.7; margin-bottom: var(--space-2); }
.summary-row.total { font-family: var(--font-display); font-size: 17px; opacity: 1; margin-top: var(--space-3); }
.cart-empty { text-align: center; padding: var(--space-20) var(--space-6); color: var(--ink); opacity: 0.6; }
.cart-empty svg { color: var(--ink); opacity: 0.3; margin-bottom: var(--space-4); }

/* ==========================================================================
   Toast
   ========================================================================== */
.toast-stack { position: fixed; bottom: var(--space-6); left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: var(--space-2); align-items: center; }
.toast {
  background: var(--ink); color: var(--acid);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  border: 3px solid var(--acid);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: var(--space-2);
  animation: toastIn var(--ease-base) both;
}
.toast svg { color: var(--acid); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.94) rotate(-2deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(0); } }

/* ==========================================================================
   Catalog page
   ========================================================================== */
.catalog-header { padding: var(--space-10) 0 var(--space-6); }
.breadcrumbs { display: flex; gap: var(--space-2); font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink); opacity: 0.6; margin-bottom: var(--space-4); text-transform: uppercase; }
.breadcrumbs a:hover { color: var(--hot); opacity: 1; }
.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-4) 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  margin-bottom: var(--space-8);
}
.result-count { font-family: var(--font-mono); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.toolbar-actions { display: flex; align-items: center; gap: var(--space-4); }
.view-toggle { display: flex; gap: 2px; background: var(--paper-dim); border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 3px; }
.view-toggle button { width: 34px; height: 34px; border-radius: 2px; display: flex; align-items: center; justify-content: center; }
.view-toggle button.active { background: var(--acid); border: 1px solid var(--ink); }
.sort-select {
  height: 44px; border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 0 36px 0 var(--space-4); font-size: 13px; font-weight: 600; background: var(--paper);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230A0A0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}

.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-8); align-items: start; }
.filters-panel { position: sticky; top: 104px; }
.filter-group { border-bottom: 2px solid var(--ink); padding: var(--space-5) 0; }
.filter-group summary { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 13px; text-transform: uppercase; cursor: pointer; list-style: none; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group summary::after { content: "+"; font-size: 18px; font-weight: 700; color: var(--hot); }
.filter-group[open] summary::after { content: "–"; }
.filter-body { padding-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); }
.filter-option { display: flex; align-items: center; gap: var(--space-3); font-size: 13px; font-weight: 600; cursor: pointer; }
.filter-option input[type="checkbox"] {
  appearance: none; width: 20px; height: 20px; border: 2px solid var(--ink);
  border-radius: 2px; position: relative; flex-shrink: 0; transition: all var(--ease-micro);
}
.filter-option input[type="checkbox"]:checked { background: var(--acid); }
.filter-option input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.filter-option .count { color: var(--ink); opacity: 0.4; margin-left: auto; font-family: var(--font-mono); }
.color-swatch-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.color-swatch-row button { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ink); }
.color-swatch-row button.active { box-shadow: 0 0 0 3px var(--acid); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.size-grid button { height: 40px; border: 2px solid var(--ink); border-radius: var(--radius-md); font-size: 12px; font-weight: 700; transition: all var(--ease-micro); }
.size-grid button:hover { background: var(--sky); }
.size-grid button.active { background: var(--ink); color: var(--paper); }
.price-range { padding: var(--space-2) 0; }
.price-range input[type="range"] { width: 100%; accent-color: var(--hot); }
.price-range .values { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 12px; font-weight: 700; margin-top: var(--space-2); }

.active-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.active-filter-chip {
  display: flex; align-items: center; gap: 6px;
  background: var(--acid); color: var(--ink);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; text-transform: uppercase;
  padding: 6px 10px 6px 12px; border-radius: 999px; border: 2px solid var(--ink);
}
.active-filter-chip button { display: flex; }

.pagination { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-12); }
.pagination button { width: 42px; height: 42px; border-radius: var(--radius-md); font-family: var(--font-display); font-size: 13px; border: 2px solid transparent; transition: all var(--ease-micro); }
.pagination button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination button:hover:not(.active) { border-color: var(--ink); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--acid); padding: var(--space-3) var(--space-5); z-index: 999; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1100px) {
  .product-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 56px; }
  .advantages .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .product-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-3); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .search-box { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 32px; }
  .hero-content { padding-bottom: var(--space-8); }
  .hero-scroll-hint { display: none; }
  .newsletter { padding: var(--space-10) var(--space-6); }
  .newsletter-form { flex-direction: column; }
  .cart-drawer { width: 100%; max-width: 100%; }
  .brand-strip { gap: var(--space-6); }
}
