/* ===================================
   FÉMINOVA — CSS Principal v2026
=================================== */

/* Google Fonts chargées via <link> dans le HTML pour éviter le blocage du rendu */

:root {
  --bordeaux: #6B1E2E;
  --bordeaux-dark: #4e1520;
  --bordeaux-light: #8b2a40;
  --gold: #C9A84C;
  --gold-light: #e0c06a;
  --gold-dark: #a8893a;
  --cream: #F5EDE0;
  --cream-dark: #ede0ce;
  --white: #ffffff;
  --black: #0d0d0d;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --bg: #faf9f7;
  --bg-card: #ffffff;

  --shadow-sm: 0 2px 8px rgba(107,30,46,0.08);
  --shadow-md: 0 8px 32px rgba(107,30,46,0.12);
  --shadow-lg: 0 20px 60px rgba(107,30,46,0.18);
  --shadow-xl: 0 32px 80px rgba(107,30,46,0.24);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --nav-h: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::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(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }

a { text-decoration: none; color: inherit; }

/* ===================================
   NAVBAR
=================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 24px rgba(0,0,0,0.10);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-logo:hover { transform: scale(1.03); opacity: 0.9; }

.nav-logo img {
  height: 88px;
  width: auto;
  /* Logo noir transparent → inversion pour fond bordeaux = logo blanc */
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(255,255,255,0.4));
  transition: filter var(--transition), height var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 76px;
  /* Sur fond blanc, logo noir transparent s'affiche tel quel */
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.10));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--transition);
}

.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }
.nav-link:hover, .nav-link.active { color: #fff; }

.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover, .navbar.scrolled .nav-link.active { color: var(--bordeaux); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.12);
  color: white;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  backdrop-filter: blur(8px);
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.22); transform: scale(1.05); }

.navbar.scrolled .nav-icon-btn { background: var(--border-light); color: var(--text); }
.navbar.scrolled .nav-icon-btn:hover { background: var(--cream); color: var(--bordeaux); }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-gold); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--bordeaux);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid white;
}

.hamburger { display: none; }

/* ===================================
   HERO
=================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--bordeaux) 45%, var(--bordeaux-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.04) 0%, transparent 30%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -200px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-content { z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  color: white;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 52px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 8px 24px rgba(201,168,76,0.4), 0 0 0 0 rgba(201,168,76,0.3);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(201,168,76,0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 4px; letter-spacing: 0.04em; }

/* 3D SHOE CARD */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.orb-1 { width: 300px; height: 300px; background: rgba(201,168,76,0.20); top: -50px; right: -50px; }
.orb-2 { width: 200px; height: 200px; background: rgba(255,255,255,0.06); bottom: 0; left: 0; }
.orb-3 { width: 150px; height: 150px; background: rgba(107,30,46,0.4); top: 50%; left: 50%; transform: translate(-50%,-50%); }

.shoe-3d-container {
  perspective: 1000px;
  animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  33% { transform: translateY(-12px) rotateY(3deg); }
  66% { transform: translateY(-6px) rotateY(-2deg); }
}

.shoe-3d-card {
  width: 380px;
  height: 480px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(16px);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.1) inset,
    inset 0 1px 0 rgba(255,255,255,0.2);
  transform-style: preserve-3d;
}

.shoe-3d-face {
  width: 100%;
  height: 78%;
  overflow: hidden;
  position: relative;
}

.shoe-3d-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shoe-3d-card:hover .shoe-3d-face img { transform: scale(1.05); }

.shoe-3d-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.shoe-3d-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.shoe-3d-name { color: white; font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.shoe-3d-price { color: var(--gold-light); font-weight: 700; font-size: 1.3rem; font-family: var(--font-display); }

/* ===================================
   MARQUEE
=================================== */
.marquee-strip {
  background: var(--bordeaux-dark);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.2);
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 36px;
}
.marquee-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }

/* ===================================
   SECTIONS
=================================== */
.section { padding: 100px 0; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--bordeaux));
  border-radius: 2px;
}

.section-header { margin-bottom: 56px; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.title-line { display: block; }
.title-line.italic { font-style: italic; color: var(--bordeaux); }

.section-subtitle { margin-top: 16px; color: var(--text-muted); font-size: 1rem; max-width: 520px; }

/* ===================================
   CATEGORIES
=================================== */
.categories-section { background: var(--cream); }

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

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-md);
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.cat-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.category-card:hover .cat-img { transform: scale(1.08); }

.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(78,21,32,0.88) 0%, rgba(107,30,46,0.3) 50%, transparent 100%);
  transition: opacity var(--transition);
}
.category-card:hover .cat-overlay { opacity: 0.85; }

.cat-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}
.cat-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: white; line-height: 1.2; }
.cat-count { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 4px; }

.cat-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--gold);
  color: var(--black);
  font-size: 1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
}
.category-card:hover .cat-arrow { opacity: 1; transform: scale(1); }

/* ===================================
   PRODUCTS GRID
=================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 24px 56px rgba(107,30,46,0.16),
    0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(201,168,76,0.25);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 320px;
  background: var(--cream);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-img { transform: scale(1.08); }

/* Shimmer on hover */
.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255,255,255,0.22) 50%,
    transparent 65%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.product-card:hover .product-img-wrap::after { transform: translateX(100%); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--bordeaux);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 3;
}
.product-badge.new { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--black); }
.product-badge.sale { background: #ef4444; }

.product-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  gap: 8px;
  transform: translateY(100%);
  transition: transform var(--transition);
  z-index: 3;
}
.product-card:hover .product-actions { transform: translateY(0); }

.btn-cart {
  flex: 1;
  background: var(--gold);
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-cart:hover { background: var(--gold-light); transform: scale(1.02); }

.btn-wishlist {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.btn-wishlist:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); }

.product-body { padding: 20px; }

.product-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-color {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-footer { display: flex; align-items: center; justify-content: space-between; }

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bordeaux);
}

.stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 2px; }

/* ===================================
   PROMO BANNER
=================================== */
.promo-banner {
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux), var(--bordeaux-light));
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  position: relative;
}

.promo-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}
.promo-text p { color: rgba(255,255,255,0.75); font-size: 1rem; }

.promo-code {
  background: rgba(201,168,76,0.15);
  border: 2px dashed var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 32px;
  text-align: center;
  transition: all var(--transition);
}
.promo-code:hover { background: rgba(201,168,76,0.25); transform: scale(1.02); }
.promo-code-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.promo-code-value { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold-light); letter-spacing: 0.08em; }
.promo-code-sub { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* ===================================
   FEATURES
=================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bordeaux), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,0.2);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon { font-size: 2.4rem; margin-bottom: 16px; }
.feature-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ===================================
   NEWSLETTER
=================================== */
.newsletter-section { padding: 80px 0; background: var(--cream); }

.newsletter-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.newsletter-card p { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; }

.newsletter-form { display: flex; gap: 12px; }

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.newsletter-input:focus { border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(107,30,46,0.08); }

.newsletter-btn {
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(107,30,46,0.3);
}
.newsletter-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,30,46,0.4); }

/* ===================================
   FOOTER
=================================== */
.footer {
  background: var(--bordeaux-dark);
  padding: 72px 0 32px;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.78); line-height: 1.7; max-width: 300px; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-btn:hover { background: var(--gold); transform: scale(1.1); }

.footer-col-title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-link {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-link:hover { color: white; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.footer-pay { display: flex; gap: 8px; }
.pay-badge {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================
   CART SIDEBAR
=================================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: white;
  z-index: 1999;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.15);
}
.cart-sidebar.active { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); }

.cart-close {
  width: 36px; height: 36px;
  background: var(--border-light);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.cart-close:hover { background: var(--bordeaux); color: white; }

.cart-items { flex: 1; overflow-y: auto; padding: 16px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 10px;
  background: var(--bg);
}
.cart-item-img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.88rem; color: var(--text); line-height: 1.3; margin-bottom: 4px; }
.cart-item-detail { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 6px; }
.cart-item-price { font-weight: 700; color: var(--bordeaux); font-size: 0.92rem; }
.cart-item-remove { font-size: 1.1rem; color: var(--text-muted); cursor: pointer; transition: color var(--transition); padding: 4px; }
.cart-item-remove:hover { color: #ef4444; }

.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); background: var(--bg); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-total-label { font-weight: 600; font-size: 0.92rem; }
.cart-total-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--bordeaux); }

.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(107,30,46,0.3);
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,30,46,0.4); }

/* ===================================
   CATALOGUE PAGE
=================================== */
.catalogue-hero {
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux));
  padding: 120px 0 60px;
  text-align: center;
  color: white;
}
.catalogue-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}
.catalogue-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.catalogue-hero .section-eyebrow { justify-content: center; color: var(--gold-light); }
.catalogue-hero .section-eyebrow::before { background: var(--gold); }

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  padding: 48px 0 80px;
}

.filters-sidebar {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.filter-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--cream);
}

.filter-group { margin-bottom: 24px; }
.filter-group-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 10px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-opt { display: flex; align-items: center; gap: 8px; }
.filter-opt input { accent-color: var(--bordeaux); width: 15px; height: 15px; cursor: pointer; }
.filter-opt label { font-size: 0.88rem; color: var(--text); cursor: pointer; }

.price-range { display: flex; align-items: center; gap: 8px; }
.price-input { flex: 1; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.85rem; outline: none; transition: border-color var(--transition); }
.price-input:focus { border-color: var(--bordeaux); }

.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.catalogue-count { font-weight: 600; color: var(--text); font-size: 0.92rem; }

.catalogue-sort {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  background: white;
}
.catalogue-sort:focus { border-color: var(--bordeaux); }

/* ===================================
   TOAST
=================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--text);
  color: white;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 50px;
  z-index: 9999;
  transition: transform var(--transition);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: #22c55e; }
.toast.error { background: #ef4444; }

/* ===================================
   ANIMATIONS
=================================== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in { opacity: 0; transition: opacity 0.7s ease; }
.scale-in { opacity: 0; transform: scale(0.95); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible, .fade-in.visible, .scale-in.visible { opacity: 1; transform: none; }

.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ===================================
   RESPONSIVE
=================================== */
@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* ── Hamburger ── */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }
  .hamburger span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition);
    display: block;
    transform-origin: center;
  }
  .navbar.scrolled .hamburger span { background: var(--text); }

  /* Hamburger → X animation */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Mobile nav menu ── */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 12px 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 998;
    gap: 2px;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link {
    color: var(--text) !important;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    width: 100%;
  }
  .nav-links .nav-link:hover { background: var(--cream); color: var(--bordeaux) !important; }
  .nav-links .nav-link::after { display: none; }

  /* ── Navbar actions ── */
  .nav-cta { display: none; }

  /* ── Hero ── */
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 32px; padding-bottom: 48px; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 24px; }

  /* ── Categories ── */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .category-card { height: 200px; }

  /* ── Products ── */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-img-wrap { height: 200px; }

  /* Always show product actions on touch devices */
  .product-actions {
    transform: translateY(0) !important;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
    padding: 10px 10px;
    gap: 6px;
  }
  .btn-cart { font-size: 0.75rem; padding: 8px 10px; }
  .btn-wishlist { width: 34px; height: 34px; font-size: 0.9rem; }

  /* ── Catalogue ── */
  .catalogue-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .catalogue-hero h1 { font-size: 2rem; }

  /* ── Promo ── */
  .promo-content { flex-direction: column; text-align: center; }

  /* ── Features / Footer / Newsletter ── */
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-form { flex-direction: column; }

  /* ── Hero card ── */
  .shoe-3d-card { width: 300px; height: 380px; }

  /* ── Checkout ── */
  .checkout-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  :root { --nav-h: 60px; }

  .container { padding: 0 16px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img-wrap { height: 180px; }
  .product-body { padding: 12px; }
  .product-name { font-size: 0.88rem; }
  .product-price { font-size: 1.1rem; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card { height: 160px; }
  .cat-name { font-size: 1rem; }

  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.92rem; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.6rem; }

  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 20px 14px; }
  .feature-icon { font-size: 1.8rem; }
  .feature-title { font-size: 0.95rem; }

  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-pay { flex-wrap: wrap; justify-content: center; }

  .toast { font-size: 0.82rem; padding: 10px 18px; white-space: normal; text-align: center; max-width: 85vw; }
}
