/* ═══════════════════════════════════════════
   MANTE — Nike-Inspired White Minimalist Store
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Loader Screen ────────────────────────── */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease;
}

.loader-brand {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  text-transform: uppercase;
  color: #000;
}

.loader-brand span {
  color: #e63946;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0%;
  background: #000;
  border-radius: 2px;
  transition: width 0.15s linear;
}

.loader-text {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(0,0,0,0.35);
}

/* ── Reset & Base ─────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: #111;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 2px;
}

/* ── Navigation ───────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  position: relative;
}

.nav-logo::after {
  content: '.';
  color: #e63946;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(0,0,0,0.5);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #111;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #111;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-icon {
  color: rgba(0,0,0,0.45);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-icon:hover {
  color: #111;
  transform: scale(1.1);
}

.nav-icon svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  background: #e63946;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  margin-top: -10px;
}

/* ── Mobile Menu Toggle ───────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Loader Screen ────────────────────────── */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease;
}

.loader-brand {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #111;
}

.loader-brand span {
  color: #e63946;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(0,0,0,0.06);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: #111;
  transition: width 0.2s ease;
}

.loader-text {
  font-size: 11px;
  font-weight: 500;
  color: rgba(0,0,0,0.3);
  letter-spacing: 2px;
}

/* Lock scroll while loading */
body.loading {
  overflow: hidden !important;
  height: 100vh;
}

/* ── Video Section (Fixed + Spacer) ───────── */
.video-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  /* iOS: prevent pull-to-refresh stretching */
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
}

.video-fixed video {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.video-fixed canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* White fade overlay — transitions video to white content */
.video-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.video-section {
  position: relative;
  width: 100%;
  height: 250vh;
  z-index: 1;
  background: transparent;
}

/* Content after video covers it */
.transition-section,
.products-section,
#featured,
.featured-banner-wrap,
.footer {
  position: relative;
  z-index: 2;
  background: #fff;
}

/* ── Video Overlay ────────────────────────── */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-overlay.hidden {
  opacity: 0;
}

.hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.4);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.5s forwards;
}

.hero-title {
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  color: #111;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 300;
  color: rgba(0,0,0,0.4);
  margin-top: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 1.1s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s ease 1.5s forwards;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ── Progress Bar ─────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #111;
  z-index: 1001;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Transition Section ───────────────────── */
.transition-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 48px;
  background: #fff;
  overflow: hidden;
}

.transition-text {
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.transition-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.transition-text h2 {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -3px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 20px;
  color: #111;
}

.transition-text h2 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.2);
}

.transition-text p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(0,0,0,0.45);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.5px;
}

/* ── Products Section ─────────────────────── */
.products-section {
  position: relative;
  padding: 80px 48px 120px;
  background: #fff;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  text-transform: uppercase;
  line-height: 1;
  color: #111;
}

.section-header a {
  color: rgba(0,0,0,0.4);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.section-header a:hover {
  color: #111;
}

.section-header a svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.section-header a:hover svg {
  transform: translateX(4px);
}

/* ── Product Grid ─────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  border-radius: 0; /* SQUARE */
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0,0,0,0.06);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.15s; }
.product-card:nth-child(4) { transition-delay: 0.2s; }
.product-card:nth-child(5) { transition-delay: 0.25s; }
.product-card:nth-child(6) { transition-delay: 0.3s; }
.product-card:nth-child(7) { transition-delay: 0.35s; }
.product-card:nth-child(8) { transition-delay: 0.4s; }

.product-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  text-decoration: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #111;
  padding: 5px 12px;
  border-radius: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.product-badge.new { background: #111; }
.product-badge.hot { background: #e63946; }

.product-quick-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 0;
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.product-card:hover .product-quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-quick-add:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.product-quick-add svg {
  width: 18px;
  height: 18px;
}

.product-info {
  padding: 16px 16px 20px;
}

.product-category {
  font-size: 10px;
  font-weight: 500;
  color: rgba(0,0,0,0.35);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.product-price .current {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.product-price .original {
  font-size: 13px;
  color: rgba(0,0,0,0.3);
  text-decoration: line-through;
}

/* ── Buy Button ───────────────────────────── */
.btn-buy {
  display: block;
  width: 100%;
  padding: 12px 0;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-buy:hover {
  background: #333;
}

.btn-buy:active {
  transform: scale(0.98);
}

/* ── Featured Banner ──────────────────────── */
.featured-banner {
  margin: 40px 48px 0;
  padding: 80px 60px;
  border-radius: 0;
  background: #f5f5f5;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.featured-content {
  flex: 1;
  max-width: 500px;
}

.featured-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e63946;
  margin-bottom: 16px;
}

.featured-content h3 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: #111;
}

.featured-content p {
  font-size: 15px;
  color: rgba(0,0,0,0.45);
  line-height: 1.7;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary:hover {
  background: #333;
  transform: scale(1.03);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.featured-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-visual img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ── Footer ───────────────────────────────── */
.footer {
  padding: 80px 48px 40px;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  display: inline-block;
  font-size: 32px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(0,0,0,0.4);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(0,0,0,0.35);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #111;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(0,0,0,0.25);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: rgba(0,0,0,0.3);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
}

.footer-socials a:hover {
  color: #111;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
}

/* ── Animations ───────────────────────────── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .video-section {
    height: 200vh;
  }
  
  .hero-title {
    letter-spacing: -2px;
  }
  
  .products-section {
    padding: 60px 16px 80px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 4px;
  }
  
  .featured-banner {
    margin: 40px 16px 0;
    padding: 48px 24px;
    flex-direction: column;
    text-align: center;
  }
  
  .featured-content {
    max-width: 100%;
  }
  
  .transition-section {
    padding: 80px 24px;
  }
  
  .footer {
    padding: 60px 24px 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .product-info {
    padding: 12px 10px 16px;
  }
  
  .product-name {
    font-size: 13px;
  }

  .product-price .current {
    font-size: 14px;
  }
  
  .btn-buy {
    font-size: 11px;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ── Side Cart ────────────────────────────── */
.side-cart-overlay { position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.4);z-index:2000;opacity:0;visibility:hidden;transition:all 0.3s; }
.side-cart-overlay.open { opacity:1;visibility:visible; }
.side-cart { position:fixed;top:0;right:0;width:380px;max-width:90vw;height:100%;background:#fff;z-index:2001;display:flex;flex-direction:column;transition:transform 0.35s cubic-bezier(0.16,1,0.3,1);box-shadow:-4px 0 30px rgba(0,0,0,0.08);transform:translateX(100%); }
.side-cart.open { transform:translateX(0); }
.side-cart-header { display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(0,0,0,0.06); }
.side-cart-header h3 { font-size:18px;font-weight:700; }
.side-cart-close { background:none;border:none;font-size:28px;cursor:pointer;color:#111; }
.side-cart-items { flex:1;overflow-y:auto;padding:16px 24px; }
.side-cart-item { display:flex;gap:12px;padding:12px 0;border-bottom:1px solid rgba(0,0,0,0.04);align-items:center; }
.side-cart-item img { width:60px;height:60px;object-fit:cover; }
.side-cart-item-info { flex:1; }
.side-cart-item-name { font-size:14px;font-weight:600;margin-bottom:4px; }
.side-cart-item-price { font-size:13px;color:rgba(0,0,0,0.5); }
.side-cart-item-qty { display:flex;align-items:center;gap:10px;margin-top:6px; }
.side-cart-item-qty button { width:24px;height:24px;border:1px solid rgba(0,0,0,0.1);background:#fff;cursor:pointer;font-size:14px; }
.side-cart-item-remove { background:none;border:none;font-size:20px;color:rgba(0,0,0,0.3);cursor:pointer; }
.side-cart-footer { padding:20px 24px;border-top:1px solid rgba(0,0,0,0.06); }
.side-cart-total { display:flex;justify-content:space-between;margin-bottom:16px;font-size:16px; }
.empty-cart { text-align:center;padding:40px 0;color:rgba(0,0,0,0.3); }

/* ── Auth Page ────────────────────────────── */
.auth-page { min-height:100vh;display:flex;align-items:center;justify-content:center;padding:120px 24px 60px; }
.auth-container { width:100%;max-width:420px; }
.auth-tabs { display:flex;gap:0;margin-bottom:32px;border-bottom:1px solid rgba(0,0,0,0.06); }
.auth-tab { flex:1;text-align:center;padding:14px;text-decoration:none;color:rgba(0,0,0,0.3);font-size:14px;font-weight:600;letter-spacing:1px;text-transform:uppercase;transition:all 0.3s; }
.auth-tab.active { color:#111;border-bottom:2px solid #111; }
.auth-form { display:flex;flex-direction:column;gap:16px; }
.auth-error { background:#f8d7da;color:#721c24;padding:12px 16px;font-size:14px;margin-bottom:16px; }
.form-group { display:flex;flex-direction:column;gap:6px; }
.form-group label { font-size:12px;font-weight:600;color:rgba(0,0,0,0.5);text-transform:uppercase;letter-spacing:1px; }
.form-group input,.form-group select,.form-group textarea { padding:12px 16px;border:1px solid rgba(0,0,0,0.1);font-family:'Inter',sans-serif;font-size:14px;transition:border 0.2s; }
.form-group input:focus,.form-group select:focus { outline:none;border-color:#111; }
.form-row { display:flex;gap:16px; }
.form-row .form-group { flex:1; }

/* ── Modals ───────────────────────────────── */
.modal-overlay { position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.5);z-index:3000;display:none;align-items:center;justify-content:center;padding:24px; }
.modal-overlay.open { display:flex; }
.modal-content { background:#fff;width:100%;max-width:500px;max-height:80vh;overflow-y:auto;padding:32px; }
.modal-header { display:flex;justify-content:space-between;align-items:center;margin-bottom:20px; }
.modal-header h3 { font-size:20px;font-weight:700; }
.modal-close { background:none;border:none;font-size:28px;cursor:pointer;color:#111; }
.modal-body p { font-size:14px;line-height:1.7;color:rgba(0,0,0,0.6); }
.contact-info { display:flex;flex-direction:column;gap:20px; }
.contact-item { display:flex;gap:16px;align-items:center; }
.contact-item div strong { display:block;font-size:14px;margin-bottom:2px; }
.contact-item div p { font-size:14px;color:rgba(0,0,0,0.5);margin:0; }

/* ── Tracking Page ────────────────────────── */
.tracking-page { min-height:100vh;padding:120px 24px 60px;max-width:700px;margin:0 auto; }
.tracking-page h1 { font-size:32px;font-weight:800;letter-spacing:-1px;margin-bottom:8px; }
.tracking-subtitle { color:rgba(0,0,0,0.4);margin-bottom:32px; }
.tracking-form { display:flex;gap:12px;margin-bottom:32px; }
.tracking-form input { flex:1;padding:14px 16px;border:1px solid rgba(0,0,0,0.1);font-family:'Inter',sans-serif;font-size:15px; }
.tracking-error { background:#f8d7da;color:#721c24;padding:16px;text-align:center; }
.tracking-result { border:1px solid rgba(0,0,0,0.06);padding:24px; }
.tracking-header { display:flex;justify-content:space-between;align-items:center;margin-bottom:20px; }
.tracking-header h3 { font-size:20px;font-weight:700; }
.tracking-date { font-size:13px;color:rgba(0,0,0,0.4); }
.tracking-status { padding:6px 14px;font-size:12px;font-weight:700;text-transform:uppercase; }
.tracking-info { margin-bottom:20px;font-size:14px;line-height:2; }
.tracking-timeline h4 { margin-bottom:16px;font-size:16px;font-weight:700; }
.timeline-item { display:flex;gap:16px;padding-bottom:20px;position:relative; }
.timeline-item:not(:last-child)::before { content:'';position:absolute;left:7px;top:20px;width:1px;height:calc(100% - 8px);background:rgba(0,0,0,0.08); }
.timeline-dot { width:16px;height:16px;border:2px solid rgba(0,0,0,0.1);background:#fff;flex-shrink:0;margin-top:2px; }
.timeline-item.active .timeline-dot { background:#111;border-color:#111; }
.timeline-content strong { font-size:14px;display:block; }
.timeline-content p { font-size:13px;color:rgba(0,0,0,0.5);margin:4px 0; }
.timeline-date { font-size:12px;color:rgba(0,0,0,0.3); }

/* ── Product Detail Page ──────────────────── */
.product-page { padding:100px 48px 60px;max-width:1200px;margin:0 auto; }
.product-detail { display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-bottom:60px; }
.product-detail-image { position:relative;background:#f5f5f5; }
.product-detail-image img { width:100%;aspect-ratio:1;object-fit:cover;display:block; }
.product-detail-info h1 { font-size:32px;font-weight:800;letter-spacing:-1px;margin-bottom:16px; }
.product-detail-price { display:flex;align-items:center;gap:12px;margin-bottom:20px; }
.product-detail-price .current { font-size:28px;font-weight:800; }
.product-detail-price .original { font-size:18px;color:rgba(0,0,0,0.3);text-decoration:line-through; }
.product-detail-price .discount { background:#e63946;color:#fff;padding:4px 10px;font-size:12px;font-weight:700; }
.product-description { font-size:15px;line-height:1.7;color:rgba(0,0,0,0.5);margin-bottom:20px; }
.product-detail-stock { margin-bottom:24px;font-size:14px; }
.in-stock { color:#155724; }
.out-stock { color:#721c24; }
.product-detail-actions { display:flex;gap:12px;align-items:center; }
.qty-selector { display:flex;align-items:center;border:1px solid rgba(0,0,0,0.1); }
.qty-btn { width:40px;height:44px;border:none;background:#fff;font-size:18px;cursor:pointer; }
.qty-selector input { width:50px;height:44px;text-align:center;border:none;border-left:1px solid rgba(0,0,0,0.1);border-right:1px solid rgba(0,0,0,0.1);font-family:'Inter',sans-serif;font-size:15px; }
.btn-buy-large { padding:14px 40px;font-size:14px; }
.related-products h2 { font-size:24px;font-weight:800;letter-spacing:-1px;margin-bottom:32px; }
.error-page { min-height:60vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:120px 24px; }

/* ── Product Actions Row ──────────────────── */
.product-actions { display:flex;gap:8px;align-items:center; }
.product-actions .btn-buy { flex:1; }
.btn-fav { width:40px;height:40px;border:1px solid rgba(0,0,0,0.1);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.3s;flex-shrink:0; }
.btn-fav:hover,.btn-fav.active { border-color:#e63946;color:#e63946; }
.btn-fav-large { width:44px;height:44px; }

/* ── Category Page ────────────────────────── */
.category-page { padding:100px 48px 60px;max-width:1200px;margin:0 auto; }
.category-header { margin-bottom:24px; }
.category-header h1 { font-size:36px;font-weight:800;letter-spacing:-2px; }
.category-header p { color:rgba(0,0,0,0.4);font-size:14px; }
.category-filters { display:flex;gap:8px;flex-wrap:wrap;margin-bottom:40px; }
.filter-tag { padding:8px 20px;border:1px solid rgba(0,0,0,0.1);text-decoration:none;color:rgba(0,0,0,0.5);font-size:13px;font-weight:500;transition:all 0.2s; }
.filter-tag:hover,.filter-tag.active { background:#111;color:#fff;border-color:#111; }
.empty-state { grid-column:1/-1;text-align:center;padding:60px;color:rgba(0,0,0,0.3); }

/* ── Cart Page ────────────────────────────── */
.cart-page { padding:100px 48px 60px;max-width:1000px;margin:0 auto; }
.cart-page h1 { font-size:32px;font-weight:800;letter-spacing:-1px;margin-bottom:32px; }
.cart-grid { display:grid;grid-template-columns:1fr 340px;gap:40px; }
.cart-item { display:flex;gap:16px;padding:20px 0;border-bottom:1px solid rgba(0,0,0,0.04);align-items:center; }
.cart-item img { width:80px;height:80px;object-fit:cover; }
.cart-item-info h3 { font-size:15px;font-weight:600;margin-bottom:4px; }
.cart-item-price { font-size:14px;color:rgba(0,0,0,0.5); }
.cart-item-qty { display:flex;align-items:center;gap:12px;margin-top:8px; }
.cart-item-qty button { width:28px;height:28px;border:1px solid rgba(0,0,0,0.1);background:#fff;cursor:pointer;font-size:15px; }
.cart-item-subtotal { margin-left:auto;text-align:right; }
.cart-item-remove { background:none;border:none;color:rgba(0,0,0,0.3);font-size:13px;cursor:pointer;margin-top:6px;display:block; }
.cart-summary { border:1px solid rgba(0,0,0,0.06);padding:24px;height:fit-content;position:sticky;top:100px; }
.cart-summary h3 { font-size:18px;font-weight:700;margin-bottom:20px; }
.cart-summary-row { display:flex;justify-content:space-between;font-size:14px;margin-bottom:12px;color:rgba(0,0,0,0.5); }
.cart-summary-total { display:flex;justify-content:space-between;font-size:18px;font-weight:700;padding-top:16px;border-top:1px solid rgba(0,0,0,0.06);margin-bottom:20px; }
.btn-continue { display:block;text-align:center;color:rgba(0,0,0,0.4);text-decoration:none;font-size:13px;font-weight:500;margin-top:12px; }

/* ── Checkout Page ────────────────────────── */
.checkout-page { padding:100px 48px 60px;max-width:1100px;margin:0 auto; }
.checkout-page h1 { font-size:32px;font-weight:800;letter-spacing:-1px;margin-bottom:32px; }
.checkout-grid { display:grid;grid-template-columns:1fr 380px;gap:40px; }
.checkout-fields h3 { font-size:16px;font-weight:700;margin:24px 0 16px;padding-top:16px;border-top:1px solid rgba(0,0,0,0.06); }
.checkout-fields h3:first-child { border:none;margin-top:0;padding-top:0; }
.shipping-options { display:flex;flex-direction:column;gap:8px; }
.shipping-option { display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid rgba(0,0,0,0.08);cursor:pointer;transition:border 0.2s; }
.shipping-option:has(input:checked) { border-color:#111; }
.shipping-option span { flex:1;font-size:14px; }
.shipping-option small { color:rgba(0,0,0,0.4); }
.shipping-option strong { font-size:14px; }
.checkout-summary { border:1px solid rgba(0,0,0,0.06);padding:24px;height:fit-content;position:sticky;top:100px; }
.checkout-summary h3 { font-size:18px;font-weight:700;margin-bottom:20px; }
.checkout-item { display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(0,0,0,0.04); }
.checkout-item img { width:50px;height:50px;object-fit:cover; }
.checkout-item div p { font-size:14px;font-weight:600; }
.checkout-item div small { font-size:12px;color:rgba(0,0,0,0.4); }
.checkout-totals { padding-top:16px;margin-top:16px; }
.checkout-totals > div { display:flex;justify-content:space-between;margin-bottom:10px;font-size:14px;color:rgba(0,0,0,0.5); }
.checkout-total-row { font-size:18px !important;font-weight:700;color:#111 !important;padding-top:12px;border-top:1px solid rgba(0,0,0,0.06);margin-top:8px; }

/* ── Flash Messages ───────────────────────── */
.flash-message { position:fixed;top:80px;left:50%;transform:translateX(-50%);padding:14px 28px;font-size:14px;font-weight:500;z-index:5000;animation:flashIn 0.3s ease; }
.flash-success { background:#d4edda;color:#155724; }
.flash-error { background:#f8d7da;color:#721c24; }
@keyframes flashIn { from{opacity:0;transform:translateX(-50%) translateY(-10px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* ── Responsive overrides ─────────────────── */
@media (max-width:768px) {
  .product-detail { grid-template-columns:1fr;gap:30px; }
  .product-page,.category-page,.cart-page,.checkout-page { padding:80px 16px 40px; }
  .cart-grid,.checkout-grid { grid-template-columns:1fr; }
  .category-filters { overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:8px; }
  .filter-tag { white-space:nowrap; }
  .account-page { flex-direction:column; }
  .account-sidebar { width:100%;border-right:none;border-bottom:1px solid rgba(0,0,0,0.06); }
  .account-nav { flex-direction:row;overflow-x:auto; }
  .account-nav a { white-space:nowrap; }
}

/* ── Announcement Bar ─────────────────────── */
.announcement-bar { position:fixed;top:0;left:0;width:100%;z-index:1001;font-size:12px;font-weight:500;letter-spacing:0.5px;text-align:center;height:36px;display:flex;align-items:center;justify-content:center;overflow:hidden; }
.announcement-slider { position:relative;width:100%;height:100%; }
.announcement-slide { position:absolute;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:8px;opacity:0;transition:opacity 0.5s ease; }
.announcement-slide.active { opacity:1; }
.announcement-slide a { text-decoration:none; }
.announcement-icon { display:flex;align-items:center; }
.navbar.has-announcement { top:36px; }
@media (max-width:768px) { .announcement-bar { font-size:11px;height:32px; } .navbar.has-announcement { top:32px; } }

/* ── Account Page ─────────────────────────── */
.account-page { display:flex;gap:0;min-height:100vh;padding-top:100px; }
.account-sidebar { width:280px;padding:40px 24px;border-right:1px solid rgba(0,0,0,0.06);flex-shrink:0; }
.account-user { display:flex;gap:14px;align-items:center;margin-bottom:28px; }
.account-avatar { width:48px;height:48px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800; }
.account-user div strong { display:block;font-size:15px; }
.account-user div p { font-size:13px;color:rgba(0,0,0,0.4);margin:0; }
.account-nav { display:flex;flex-direction:column;gap:2px; }
.account-nav a { padding:10px 16px;text-decoration:none;color:rgba(0,0,0,0.5);font-size:14px;font-weight:500;transition:all 0.2s; }
.account-nav a:hover,.account-nav a.active { color:#111;background:rgba(0,0,0,0.03); }
.account-content { flex:1;padding:40px 48px;max-width:800px; }
.account-content h2 { font-size:24px;font-weight:800;letter-spacing:-1px;margin-bottom:24px; }
.order-card { border:1px solid rgba(0,0,0,0.06);margin-bottom:12px; }
.order-card-header { display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid rgba(0,0,0,0.04); }
.order-card-header div strong { display:block;font-size:14px; }
.order-card-header div span { font-size:12px;color:rgba(0,0,0,0.3); }
.order-card-body { padding:14px 20px;display:flex;justify-content:space-between;align-items:center;font-size:14px; }
.order-card-body a { color:#111;font-weight:600;text-decoration:none; }

/* ── Product Variants (Nike-style) ────────── */
.variant-section { margin-bottom:24px; }
.variant-section h4,.size-section h4 { font-size:14px;font-weight:700;margin-bottom:12px; }
.variant-grid { display:flex;gap:10px;flex-wrap:wrap; }
.variant-option { width:80px;height:80px;border:2px solid rgba(0,0,0,0.08);cursor:pointer;overflow:hidden;transition:border 0.2s;display:flex;align-items:center;justify-content:center; }
.variant-option img { width:100%;height:100%;object-fit:cover; }
.variant-option:hover { border-color:rgba(0,0,0,0.3); }
.variant-option.active { border-color:#111; }

/* ── Size Grid ────────────────────────────── */
.size-section { margin-bottom:24px; }
.size-header { display:flex;justify-content:space-between;align-items:center;margin-bottom:12px; }
.size-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:8px; }
.size-option { padding:12px;border:1px solid rgba(0,0,0,0.1);background:#fff;font-family:'Inter',sans-serif;font-size:14px;font-weight:500;cursor:pointer;text-align:center;transition:all 0.2s; }
.size-option:hover:not(:disabled) { border-color:#111; }
.size-option.active { background:#111;color:#fff;border-color:#111; }
.size-option.unavailable { color:rgba(0,0,0,0.2);cursor:not-allowed;text-decoration:line-through; }

/* ── Product Detail Actions (stacked) ─────── */
.product-detail-actions-stack { display:flex;flex-direction:column;gap:10px;margin-top:8px; }
.btn-buy-full { display:block;width:100%;padding:16px;font-size:14px;border-radius:999px;text-align:center; }
.btn-fav-full { display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px;border:1px solid rgba(0,0,0,0.12);background:#fff;font-family:'Inter',sans-serif;font-size:14px;font-weight:500;cursor:pointer;border-radius:999px;transition:all 0.2s; }
.btn-fav-full:hover,.btn-fav-full.active { border-color:#e63946;color:#e63946; }
.pix-price { font-size:14px;color:rgba(0,0,0,0.4);font-weight:500; }

/* ── Status badges ────────────────────────── */
.status-badge { padding:4px 10px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px; }
.status-pending { background:#fff3cd;color:#856404; }
.status-confirmed { background:#d1ecf1;color:#0c5460; }
.status-preparing { background:#e2e3f1;color:#383d6e; }
.status-shipped { background:#cce5ff;color:#004085; }
.status-delivered { background:#d4edda;color:#155724; }
.status-cancelled { background:#f8d7da;color:#721c24; }

/* ── Checkout Steps ───────────────────────── */
.checkout-steps { display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:40px; }
.checkout-step { display:flex;align-items:center;gap:8px;padding:10px 20px;cursor:default; }
.step-num { width:32px;height:32px;border:2px solid rgba(0,0,0,0.1);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;transition:all 0.3s; }
.step-label { font-size:13px;font-weight:500;color:rgba(0,0,0,0.3);transition:color 0.3s; }
.checkout-step.active .step-num { background:#111;color:#fff;border-color:#111; }
.checkout-step.active .step-label { color:#111; }
.checkout-step.done .step-num { background:#d4edda;color:#155724;border-color:#d4edda; }
.checkout-step-line { width:40px;height:2px;background:rgba(0,0,0,0.08); }
.checkout-panel { display:none; }
.checkout-panel.active { display:block; }
.step-nav { display:flex;gap:12px;justify-content:space-between;margin-top:24px; }
.btn-outline { padding:14px 28px;background:#fff;border:1px solid rgba(0,0,0,0.12);font-family:'Inter',sans-serif;font-size:13px;font-weight:600;cursor:pointer;transition:all 0.2s; }
.btn-outline:hover { border-color:#111; }
.checkout-suggested { margin-top:60px;padding-top:40px;border-top:1px solid rgba(0,0,0,0.06); }
.checkout-suggested h3 { font-size:20px;font-weight:700;margin-bottom:24px; }

/* ── Footer Socials ───────────────────────── */
.footer-socials { display:flex;gap:16px; }
.footer-socials a { color:rgba(255,255,255,0.4);transition:color 0.3s;display:flex; }
.footer-socials a:hover { color:#fff; }
.footer-socials svg { width:20px;height:20px; }

/* ── Popup Image ──────────────────────────── */
.popup-image { width:100%;margin-bottom:16px; }

/* ── Toast Notification ───────────────────── */
.toast-notify {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  z-index: 99999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  pointer-events: none;
}
.toast-notify.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-success svg { color: #4ade80; }
.toast-info svg { color: #f59e0b; }

/* ── Mobile Profile Fix ───────────────────── */
@media (max-width: 768px) {
  .account-page {
    flex-direction: column;
    padding-top: 80px;
  }
  .account-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 20px 16px;
  }
  .account-user {
    margin-bottom: 16px;
  }
  .account-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    -webkit-overflow-scrolling: touch;
  }
  .account-nav a {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
    border-bottom: 2px solid transparent;
  }
  .account-nav a.active {
    background: transparent;
    border-bottom-color: #111;
    color: #111;
  }
  .account-content {
    padding: 24px 16px;
  }
  .account-content h2 {
    font-size: 20px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .order-card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .product-detail-info h1 { font-size: 22px; }
  .variant-option { width: 64px; height: 64px; }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .btn-buy-full { padding: 14px; font-size: 13px; }
}

/* ── Nav Dropdown ─────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 1000;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,0,0,0.6);
  text-decoration: none;
  transition: all 0.2s;
}
.nav-dropdown-menu li a:hover { background: rgba(0,0,0,0.03); color: #111; }

/* ── Brands Grid ──────────────────────────── */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  color: #111;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 160px;
}
.brand-card:hover { border-color: #111; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.brand-card img { max-width: 120px; max-height: 60px; object-fit: contain; margin-bottom: 12px; }
.brand-card-name { font-size: 24px; font-weight: 800; letter-spacing: -1px; }
.brand-card p { font-size: 13px; color: rgba(0,0,0,0.4); margin-top: 8px; line-height: 1.4; }
.brand-logo-header { max-width: 120px; max-height: 50px; object-fit: contain; margin-bottom: 12px; }

/* ── Product Brand Badge ──────────────────── */
.product-brand-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 4px;
}
.product-brand-badge a { color: inherit; text-decoration: none; }
.product-brand-badge a:hover { color: #111; }

/* ═══════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width:768px) {
  /* ── Mobile Nav ── */
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    box-shadow: -4px 0 30px rgba(0,0,0,0.08);
    transition: right 0.35s cubic-bezier(0.16,1,0.3,1);
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .navbar { padding: 16px 20px; }

  /* Hero */
  .hero-section { min-height: 60vh; }
  .hero-title { font-size: clamp(36px, 10vw, 64px); }
  .hero-subtitle { font-size: 11px; letter-spacing: 2px; }
  .hero-cta { font-size: 12px; padding: 14px 28px; }
  
  /* Login */
  .login-page { padding: 80px 16px 40px; }
  .login-page .form-container { max-width: 100%; padding: 24px 20px; }
  
  /* Tracking */
  .tracking-page { padding: 80px 16px 40px; }
  
  /* Brands */
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
  .brand-card { padding: 24px 16px; min-height: 120px; }
  .brand-card-name { font-size: 18px; }
  
  /* Favorites */
  .favorites-page { padding: 80px 16px 40px; }
  
  /* Checkout Steps */
  .checkout-steps { flex-direction: column; gap: 12px; }
  .checkout-step { font-size: 13px; }
  
  /* Cart items */
  .cart-item img { width: 60px; height: 60px; }
  .cart-item-info h3 { font-size: 13px; }

  /* Product Detail */
  .product-gallery { max-height: 50vh; }
  .product-detail-info { padding: 0 4px; }
  .product-actions { flex-direction: row; }
  .product-actions .btn-buy-full { flex: 1; }
  
  /* Category Page */
  .category-header { padding: 80px 16px 24px; }
  .category-header h1 { font-size: 28px; }
  
  /* Search (if inline) */
  .search-results { padding: 80px 16px 40px; }
  
  /* Transition section text */
  .transition-section h2 { font-size: clamp(28px, 8vw, 48px); }
  .transition-section p { font-size: 13px; }
  
  /* General containers */
  .container { padding-left: 16px; padding-right: 16px; }
  
  /* Nav icons spacing */
  .nav-icons { gap: 12px; }
  .nav-icons a svg, .nav-icons button svg { width: 20px; height: 20px; }
  
  /* Side cart full width on small devices */
  .side-cart { max-width: 100vw; width: 100vw; transform: translateX(100%); }
  .side-cart.open { transform: translateX(0); }
  html, body { overflow-x: hidden; overscroll-behavior-y: none; }
}

@media (max-width:480px) {
  /* Smaller product cards */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-info { padding: 10px 8px 14px; }
  .product-name { font-size: 12px; }
  .product-price .current { font-size: 13px; }
  .btn-buy { font-size: 10px; padding: 8px 0; }
  
  /* Hero even smaller */
  .hero-title { font-size: 32px; }
  
  /* Cart/Checkout tighter */
  .cart-page h1, .checkout-page h1 { font-size: 24px; }
  .cart-summary, .checkout-summary { padding: 16px; }
  
  /* Account compact */
  .account-content h2 { font-size: 18px; }
  
  /* Brands grid single column on very small */
  .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  
  /* Size grid 3 columns */
  .size-grid { grid-template-columns: repeat(3, 1fr); }
  
  /* Footer */
  .footer { padding: 40px 16px 20px; }
  .footer-col h4 { font-size: 12px; }
  .footer-col a { font-size: 12px; }
  
  /* Announcement */
  .announcement-bar { font-size: 10px; height: 28px; }
  .navbar.has-announcement { top: 28px; }
}

@media (max-width:360px) {
  .product-grid { gap: 6px; }
  .product-info { padding: 8px 6px 12px; }
  .product-name { font-size: 11px; }
  .hero-title { font-size: 28px; }
  .navbar { padding: 12px 12px; }
}
/* ── Product Rich Description (Shopify Style) ─ */
.product-description-rich {
  max-width: var(--container);
  margin: 60px auto;
  padding: 0 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.description-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 40px;
  justify-content: center;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0,0,0,0.4);
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.tab-btn.active {
  color: #111;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #111;
}

.tab-content {
  display: none;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: rgba(0,0,0,0.7);
  font-size: 16px;
}

.tab-content.active {
  display: block;
}

.rich-text-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.rich-text-content h1, .rich-text-content h2, .rich-text-content h3 {
  color: #111;
  margin: 32px 0 16px;
  letter-spacing: -0.5px;
}

.rich-text-content p {
  margin-bottom: 20px;
}

.rich-text-content ul, .rich-text-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .description-tabs { gap: 16px; }
  .tab-btn { font-size: 12px; }
  .product-description-rich { margin: 40px auto; }
}
/* ── Dynamic Index Sections ───────────────── */
.hero-section-dynamic {
  height: auto;
  width: 100%;
  position: relative;
}

.hero-section-dynamic .video-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.hero-section-dynamic video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-section-dynamic .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.hero-section-dynamic .video-overlay > * { pointer-events: auto; }

.categories-section {
  padding: 80px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.category-card {
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.featured-banner-sec {
  padding: 40px 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.brands-section {
  padding: 60px 20px;
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.brands-scroller::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .hero-section-dynamic .hero-title { font-size: 32px; }
  .categories-section { padding: 40px 20px; }
}
