/* ========================================
   KNDZ Urban Store — Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@300;400;500;600;700&family=Barlow+Condensed:ital,wght@0,300;0,600;1,300&display=swap');

/* ---- VARIABLES ---- */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-400: #999999;
  --gray-600: #555555;
  --gray-800: #1a1a1a;
  --gray-900: #0d0d0d;
  --accent: #ffffff;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --nav-h: 72px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ---- CUSTOM CURSOR ---- */
.cursor {
  width: 12px; height: 12px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}
.cursor-trail {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--transition), width 0.3s, height 0.3s;
  mix-blend-mode: difference;
}
body:has(a:hover) .cursor, body:has(button:hover) .cursor { width: 20px; height: 20px; }

/* ---- UTILS ---- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section-header {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 60px; flex-wrap: wrap;
}
.section-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-400); font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1;
}
.section-link {
  margin-left: auto;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.section-link:hover { opacity: 0.6; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: none;
  transition: all 0.3s var(--transition);
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-101%);
  transition: transform 0.3s var(--transition);
}
.btn:hover::after { transform: translateX(0); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--gray-200); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-full { width: 100%; justify-content: center; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-left, .nav-right {
  display: flex; align-items: center; gap: 32px;
  min-width: 0;
  flex: 1;
}
.nav-right { justify-content: flex-end; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 0.1em;
  position: absolute; left: 50%; transform: translateX(-50%);
  color: #fff;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-img {
  height: 30px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  display: block; flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 0.1em;
  color: #fff; line-height: 1;
}
.nav-link {
  font-size: 12px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  position: relative;
  color: #fff;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #fff;
  transition: width 0.3s var(--transition);
}
.nav-link:hover::after { width: 100%; }
.nav-link-new { color: #ff4444; }
.nav-icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: #fff;
}
.nav-icon-btn svg { width: 20px; height: 20px; }
.nav-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; padding: 4px;
}
.nav-menu-btn span {
  display: block; height: 1.5px; background: #fff;
  transition: all 0.3s;
}
.cart-count {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: #fff; color: #000;
  border-radius: 50%;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s;
}
.cart-count:empty, .cart-count[data-count="0"] { transform: scale(0); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: min(380px, 85vw);
  background: var(--black);
  border-right: 1px solid rgba(255,255,255,0.1);
  z-index: 1100;
  transform: translateX(-105%);
  transition: transform 0.5s var(--transition-slow);
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 1050; opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
  backdrop-filter: blur(4px);
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner { padding: 100px 48px 48px; flex: 1; display: flex; flex-direction: column; }
.mobile-menu-logo {
  font-family: var(--font-display); font-size: 48px;
  margin-bottom: 48px; opacity: 0.15;
}
.mobile-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 36px; letter-spacing: 0.05em;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: opacity 0.2s, padding-left 0.2s;
}
.mobile-nav a:hover { padding-left: 12px; }
.mobile-nav .highlight { color: #ff4444; }
.mobile-menu-footer {
  display: flex; gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400);
}

/* ---- SEARCH PANEL ---- */
.search-panel {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1200;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-110%);
  transition: transform 0.5s var(--transition-slow);
}
.search-panel.open { transform: translateY(0); }
.search-panel-inner {
  max-width: 900px; margin: 0 auto;
  padding: 0 40px;
  height: 100px;
  display: flex; align-items: center; gap: 24px;
}
.search-input {
  flex: 1;
  background: none; border: none; outline: none;
  color: var(--white);
  font-family: var(--font-display); font-size: 48px;
  letter-spacing: 0.05em;
}
.search-input::placeholder { color: rgba(255,255,255,0.2); }
.search-close {
  font-size: 24px; color: var(--gray-400);
  transition: color 0.2s;
}
.search-close:hover { color: var(--white); }
.search-results {
  max-width: 900px; margin: 0 auto;
  padding: 0 40px 40px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* ---- HERO ---- */
.hero {
  height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--black);
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 32px;
  animation: fadeUp 0.8s var(--transition-slow) both;
}
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gray-400); }
.hero-title {
  display: flex; flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(80px, 16vw, 220px);
  line-height: 0.9;
  letter-spacing: 0.02em;
}
.hero-title .line {
  display: block;
  animation: fadeUp 0.9s var(--transition-slow) both;
}
.hero-title .line:nth-child(1) { animation-delay: 0.1s; }
.hero-title .line:nth-child(2) { animation-delay: 0.2s; }
.hero-title .line:nth-child(3) { animation-delay: 0.3s; }
.line-outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}
.hero-sub {
  font-size: 15px; line-height: 1.7; color: var(--gray-400);
  margin: 32px auto;
  animation: fadeUp 1s var(--transition-slow) 0.4s both;
}
.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 1s var(--transition-slow) 0.5s both;
}
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 0.2em; color: var(--gray-400);
  animation: fadeUp 1s var(--transition-slow) 0.8s both;
}
.scroll-line {
  width: 1px; height: 60px; background: var(--gray-600);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; bottom: 0;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { to { top: 200%; } }
.hero-badge {
  position: absolute; right: 60px; bottom: 60px;
  animation: spin 20s linear infinite;
}
.badge-ring {
  width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.badge-text { width: 100%; height: 100%; color: var(--gray-400); }
.badge-star {
  position: absolute; font-size: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- MARQUEE ---- */
.marquee-wrap {
  overflow: hidden; background: var(--white); color: var(--black);
  padding: 16px 0; border-top: 0; border-bottom: 0;
}
.marquee {
  display: flex; gap: 0;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 20px; letter-spacing: 0.05em;
  padding: 0 16px; white-space: nowrap;
}
.marquee .sep { color: var(--gray-600); padding: 0 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- CATEGORIES ---- */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 480px 480px;
  gap: 16px;
}
.cat-large {
  grid-row: span 2;
}
.cat-card {
  position: relative; overflow: hidden;
  display: block;
  background: var(--gray-900);
}
.cat-img {
  position: absolute; inset: 0;
  transition: transform 0.6s var(--transition-slow);
}
.cat-card:hover .cat-img { transform: scale(1.05); }
.cat-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
}
.cat-info h3 {
  font-family: var(--font-display); font-size: 36px;
  letter-spacing: 0.05em; margin-bottom: 8px;
}
.cat-large .cat-info h3 { font-size: 56px; }
.cat-info span {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-400); opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
  display: block;
}
.cat-card:hover .cat-info span { opacity: 1; transform: translateY(0); }

/* ---- PRODUCTS GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-skeleton {
  aspect-ratio: 3/4; background: var(--gray-900);
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.product-card {
  position: relative; cursor: none;
}
.product-card-img {
  aspect-ratio: 3/4;
  background: var(--gray-900);
  position: relative; overflow: hidden;
  margin-bottom: 16px;
}
.product-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--transition-slow);
}
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-card-img .product-img-hover {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover .product-img-hover { opacity: 1; }
.product-tags {
  position: absolute; top: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.product-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; background: var(--white); color: var(--black);
  display: inline-block;
}
.product-tag.sale { background: #ff4444; color: var(--white); }
.product-tag.new { background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,0.2); }
.product-actions {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  display: flex; gap: 8px;
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s var(--transition);
}
.product-card:hover .product-actions { transform: translateY(0); opacity: 1; }
.product-add-btn {
  flex: 1; padding: 12px;
  background: var(--white); color: var(--black);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 0.2s;
}
.product-add-btn:hover { background: var(--gray-200); }
.product-wish-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s;
}
.product-wish-btn svg { width: 18px; height: 18px; }
.product-wish-btn:hover { background: var(--white); color: var(--black); }
.product-wish-btn.active svg { fill: #ff4444; stroke: #ff4444; }
.product-info { padding: 0 4px; }
.product-name {
  font-size: 14px; font-weight: 500;
  margin-bottom: 8px; line-height: 1.3;
  transition: color 0.2s;
}
.product-card:hover .product-name { color: var(--gray-200); }
.product-pricing { display: flex; align-items: center; gap: 10px; }
.product-price { font-size: 15px; font-weight: 600; }
.product-price-compare { font-size: 13px; color: var(--gray-400); text-decoration: line-through; }
.product-rating {
  display: flex; gap: 2px; margin-top: 6px;
  color: var(--gray-400); font-size: 12px;
}

/* ---- PROMO BANNER ---- */
.promo-banner {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: grid; grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.promo-content {
  padding: 100px 80px;
  display: flex; flex-direction: column; gap: 24px;
  justify-content: center;
}
.promo-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,0.3);
  width: fit-content;
}
.promo-content h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1; letter-spacing: 0.02em;
}
.promo-content h2 em { font-style: normal; -webkit-text-stroke: 1px var(--white); color: transparent; }
.promo-content p { font-size: 15px; line-height: 1.7; color: var(--gray-400); }
.promo-visual {
  position: relative; overflow: hidden;
  min-height: 400px;
  background: var(--black);
}
.promo-shape {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}
.shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; }
.shape-2 { width: 250px; height: 250px; bottom: -50px; left: 50px; }
.promo-label {
  position: absolute; bottom: 40px; right: 40px;
  font-family: var(--font-display); font-size: 96px;
  color: rgba(255,255,255,0.05); letter-spacing: 0.1em;
  pointer-events: none;
}

/* ---- BRAND STATEMENT ---- */
.brand-statement {
  padding: 120px 40px;
  text-align: center;
  overflow: hidden;
}
.statement-text {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  line-height: 1;
  letter-spacing: 0.02em;
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 32px;
}
.statement-text .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}
.statement-sub {
  font-size: 16px; color: var(--gray-400); letter-spacing: 0.05em;
}

/* ---- FEATURES ---- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.feature-item {
  background: var(--black);
  padding: 48px 40px;
  text-align: center;
  transition: background 0.3s;
}
.feature-item:hover { background: var(--gray-900); }
.feature-icon {
  width: 48px; height: 48px; margin: 0 auto 24px;
  opacity: 0.6;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-item h4 {
  font-size: 13px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 8px;
}
.feature-item p { font-size: 13px; color: var(--gray-400); line-height: 1.5; }

/* ---- NEWSLETTER ---- */
.newsletter { background: var(--gray-900); }
.newsletter-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.newsletter-text h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05; letter-spacing: 0.02em;
  margin: 12px 0 20px;
}
.newsletter-text p { font-size: 14px; color: var(--gray-400); line-height: 1.7; }
.newsletter-form {
  display: flex; gap: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.newsletter-input {
  flex: 1; padding: 16px 24px;
  background: none; border: none; outline: none;
  color: var(--white); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
}
.newsletter-input::placeholder { color: var(--gray-400); }
.newsletter-form .btn { border: none; border-left: 1px solid rgba(255,255,255,0.2); }
.newsletter-note { font-size: 11px; color: var(--gray-600); margin-top: 12px; letter-spacing: 0.05em; }

/* ---- FOOTER ---- */
.footer { background: var(--gray-900); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-top {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 80px; padding: 80px 0;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 12px; display: block; }
.footer-logo { font-family: var(--font-display); font-size: 56px; margin-bottom: 16px; color: #ffffff; }
.footer-brand p { font-size: 14px; color: var(--gray-400); line-height: 1.7; margin-bottom: 32px; }
.footer-social { display: flex; gap: 16px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 24px; color: var(--gray-400);
}
.footer-col a {
  display: block; font-size: 14px; margin-bottom: 12px;
  color: var(--gray-400); transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--gray-600);
}

/* ---- CART DRAWER ---- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1250; opacity: 0; pointer-events: none;
  transition: opacity 0.4s; backdrop-filter: blur(4px);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
/* ═══════════════════════════════════════
   CART DRAWER — redesign
═══════════════════════════════════════ */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1250;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: #0a0a0a;
  color: #fff;
  z-index: 1300;
  transform: translateX(105%);
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
  font-family: var(--font-body);
}
.cart-drawer.open { transform: translateX(0); }

/* Header */
.cd-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cd-header h3 {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 0.12em;
  color: #fff; line-height: 1;
  margin-bottom: 4px;
}
.cd-count {
  font-size: 11px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.cd-close {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.cd-close:hover { background: #fff; color: #000; border-color: #fff; }

/* Body */
.cd-body {
  flex: 1; overflow-y: auto;
  padding: 0;
}
.cd-body::-webkit-scrollbar { width: 3px; }
.cd-body::-webkit-scrollbar-track { background: transparent; }
.cd-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

/* Empty state */
.cd-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 80px 32px; text-align: center;
}
.cd-empty-icon {
  width: 72px; height: 72px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.3);
}
.cd-empty-title {
  font-size: 15px; font-weight: 600; color: #fff;
  letter-spacing: 0.05em;
}
.cd-empty-sub { font-size: 12px; color: rgba(255,255,255,0.35); }
.cd-empty-cta {
  margin-top: 8px;
  padding: 12px 28px;
  background: #fff; color: #000;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  transition: all 0.2s;
}
.cd-empty-cta:hover { background: rgba(255,255,255,0.85); }

/* Cart items */
.cd-item {
  display: grid; grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.cd-item-img {
  aspect-ratio: 3/4;
  background: #1a1a1a;
  overflow: hidden; border-radius: 2px;
}
.cd-item-img img { width:100%; height:100%; object-fit:cover; }
.cd-item-info { display:flex; flex-direction:column; gap:6px; }
.cd-item-name {
  font-size: 13px; font-weight: 600;
  color: #fff; letter-spacing: 0.03em;
  padding-right: 24px; line-height: 1.3;
}
.cd-item-variant {
  font-size: 11px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.cd-item-price {
  font-size: 14px; font-weight: 700;
  color: #fff; margin-top: auto;
}
.cd-item-qty {
  display: flex; align-items: center; gap: 0;
  border: 1px solid rgba(255,255,255,0.15);
  width: fit-content; border-radius: 2px;
}
.cd-qty-btn {
  width: 30px; height: 30px;
  color: rgba(255,255,255,0.7);
  font-size: 17px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.cd-qty-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cd-qty-num {
  min-width: 28px; text-align: center;
  font-size: 13px; font-weight: 600; color: #fff;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(255,255,255,0.1);
  line-height: 30px;
}
.cd-item-remove {
  position: absolute; top: 20px; right: 28px;
  width: 24px; height: 24px;
  color: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.cd-item-remove:hover { color: #fff; }

/* Footer */
.cd-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0a0a0a;
  display: flex; flex-direction: column; gap: 14px;
}
.cd-ship-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 11px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.cd-ship-bar svg { flex-shrink: 0; opacity: 0.5; }
.cd-totals { display: flex; flex-direction: column; gap: 8px; }
.cd-total-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.cd-total-val {
  font-size: 18px; font-weight: 700;
  color: #fff; letter-spacing: 0.02em;
}
.cd-total-ship span:last-child { font-size: 11px; color: rgba(255,255,255,0.35); }
.cd-checkout-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px;
  background: #fff; color: #000;
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em;
  transition: all 0.2s;
  border-radius: 2px;
}
.cd-checkout-btn:hover { background: #e8e8e8; transform: translateY(-1px); }
.cd-view-cart {
  text-align: center;
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 0.2s;
}
.cd-view-cart:hover { color: rgba(255,255,255,0.7); }

/* ---- TOAST ---- */
.toast-container {
  position: fixed; bottom: 32px; right: 32px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 9000;
}
.toast {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: var(--white); color: var(--black);
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em;
  min-width: 280px;
  animation: slideInRight 0.4s var(--transition-slow) both;
}
.toast.exit { animation: slideOutRight 0.3s var(--transition) forwards; }
.toast-icon { font-size: 16px; }
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { to { transform: translateX(120%); opacity: 0; } }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--transition-slow), transform 0.8s var(--transition-slow);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cat-large { grid-row: span 1; }
}

/* ── TABLET ── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }

  /* NAV */
  .nav-link { display: none; }
  .nav-menu-btn { display: flex; }
  .nav-inner { padding: 0 16px; }
  .nav-left { min-width: auto; gap: 8px; }
  .nav-right { min-width: auto; gap: 4px; }
  .nav-logo { font-size: 26px; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-logo { font-size: 40px; margin-bottom: 12px; }
  .footer-brand p { font-size: 13px; margin-bottom: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding: 20px 0; }

  /* MISC */
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { grid-template-columns: 1fr; }
  .promo-visual { min-height: 200px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero-badge { display: none; }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  .container { padding: 0 14px; }

  /* NAV */
  .nav-inner { padding: 0 14px; }
  .nav-logo { font-size: 24px; }
  .nav-right { gap: 0; }
  .nav-icon-btn { width: 36px; height: 36px; }
  .nav-icon-btn svg { width: 18px; height: 18px; }

  /* FOOTER */
  .footer { padding: 0; }
  .footer .container { padding: 0 20px; }
  .footer-top { padding: 48px 0 24px; gap: 32px; }
  .footer-logo { font-size: 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col h5 { font-size: 10px; margin-bottom: 16px; }
  .footer-col a { font-size: 13px; margin-bottom: 10px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: 11px; padding: 16px 0; }
  .footer-social { gap: 10px; }
  .social-link { width: 36px; height: 36px; }

  /* MISC */
  .section { padding: 60px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}

/* ── VERY SMALL ── */
@media (max-width: 380px) {
  .nav-logo { font-size: 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  .footer-col { border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 16px; }
  .footer-col:last-child { border-bottom: none; }
}
