/* ============================================
   RAYHANETTE — Luxury Tunisian Fashion
   Color System: White & Gold
============================================ */

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

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A0;
  --gold-dark: #9A7A30;
  --gold-shimmer: #D4AF37;
  --white: #FFFFFF;
  --off-white: #F9F7F2;
  --cream: #F2EDE3;
  --charcoal: #1C1C1A;
  --warm-gray: #7A7570;
  --border: rgba(201,168,76,0.25);
  --border-light: rgba(201,168,76,0.12);
  --shadow-gold: 0 4px 32px rgba(201,168,76,0.12);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Raleway', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  overflow-x: hidden;
  cursor: default;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ============ UTILITIES ============ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.gold-line-left {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-light);
  box-shadow: 0 2px 40px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.logo-tagline {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-top: 4px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--gold);
}

.nav a:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
  transition: var(--transition);
  position: relative;
}

.btn-icon:hover {
  color: var(--gold);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-body);
  transform-origin: center;
}

.cart-badge.pulse {
  animation: cart-pulse 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes cart-pulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(201,168,76,0.6); }
  35%  { transform: scale(1.45); box-shadow: 0 0 0 10px rgba(201,168,76,0); }
  70%  { transform: scale(0.92); }
  100% { transform: scale(1);   box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

/* Language Toggle */
.lang-toggle {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.lang-toggle:hover {
  color: var(--gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 40%);
}

.hero-ornament {
  display: none;
}

.hero-ornament::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
}

.hero-ornament::after {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.07);
}

.hero-content {
  width: 45%;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-vertical-line {
  width: 1px;
  height: 80px;
  background: var(--gold);
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  margin: 0 0 16px;
}

.hero-italic-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--gold);
  margin: 0 0 28px;
  letter-spacing: 0.01em;
}

.hero-separator {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin: 8px 0 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 40px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-badge { white-space: nowrap; }

.hero-shipping {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--warm-gray);
  letter-spacing: 0.06em;
  font-weight: 300;
}
.hero-shipping svg { color: var(--gold); flex-shrink: 0; }

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-label .gold-line-left {
  width: 40px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.hero-subtitle em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--warm-gray);
  max-width: 500px;
  margin-bottom: 16px;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  white-space: nowrap;
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  white-space: nowrap;
  background: transparent;
  color: var(--charcoal);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold:hover {
  background: var(--gold-dark);
}

/* Hero image area (legacy .hero-visual kept for responsive hiding) */
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
  background: var(--cream);
  z-index: 1;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Hero carousel — 50% full-height column */
.hero-carousel {
  width: 42%;
  height: calc(100vh - 120px);
  position: relative;
  top: 25px;
  right: auto;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,0.25);
  background: var(--cream);
  z-index: 1;
}
.hero-carousel-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--cream);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  overflow: hidden;
}
.hero-slides-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}
.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 44%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

/* ============ MARQUEE STRIP ============ */
.marquee-strip {
  background: var(--charcoal);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.marquee-dot {
  width: 3px;
  height: 3px;
  background: var(--gold-dark);
  border-radius: 50%;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ CATEGORIES ============ */
.categories {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 54px);
  color: var(--charcoal);
  margin: 16px 0 12px;
  font-weight: 400;
}

.section-desc {
  font-size: 14px;
  color: var(--warm-gray);
  max-width: 480px;
  margin: 16px auto 0;
  line-height: 1.8;
  font-weight: 300;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card.size-large { grid-column: span 3; }
.category-card.size-small { grid-column: span 2; }

.category-img {
  width: 100%;
  height: 300px;
  background-color: var(--cream);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s ease;
}

.category-card.size-large .category-img { height: 420px; }
.category-card.size-small .category-img { height: 300px; }

.category-card:hover .category-img {
  transform: scale(1.04);
}

/* Fallback tints when background-image fails to load */
.cat-jeba .category-img { background-color: #e8dcc4; }
.cat-abaya .category-img { background-color: #d4c9b5; }
.cat-qoftan .category-img { background-color: #ddd3bc; }
.cat-robe .category-img { background-color: #e8dfc9; }
.cat-foulard .category-img { background-color: #e0d5be; }

.category-icon {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  color: rgba(255,255,255,0.2);
  user-select: none;
  z-index: 1;
  position: relative;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(28,28,26,0.85) 0%, transparent 100%);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.category-card:hover .category-overlay {
  transform: translateY(0);
}

.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(20,20,18,0.92) 0%, rgba(20,20,18,0.55) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  pointer-events: none;
}

.category-name {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.category-count {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.category-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: var(--transition);
}

.category-card:hover .category-arrow {
  background: var(--gold);
  border-color: var(--gold);
}

/* ============ FEATURED PRODUCTS ============ */
.products {
  padding: 100px 0;
  background: var(--off-white);
}

.products-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 56px;
  background: var(--white);
  padding: 8px;
  border: 1px solid var(--border);
  width: fit-content;
  margin: 0 auto 56px;
}

.filter-btn {
  padding: 10px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--charcoal);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* Product Card */
.product-card {
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(201,168,76,0.2);
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.product-badge.new { background: var(--charcoal); }
.product-badge.sale { background: #8B4513; }

.product-actions {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 38px;
  height: 38px;
  background: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--charcoal);
}

.action-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.action-btn svg {
  width: 16px;
  height: 16px;
}

.add-to-cart-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  cursor: pointer;
  font-weight: 500;
}

.product-card:hover .add-to-cart-overlay {
  transform: translateY(0);
}

.add-to-cart-overlay:hover {
  background: var(--gold);
}

.product-info {
  padding: 16px 0 4px;
}

.product-category {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-weight: 500;
}

.product-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--charcoal);
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-current {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}

.price-old {
  font-size: 13px;
  color: var(--warm-gray);
  text-decoration: line-through;
}

.color-swatches {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--transition);
}

.swatch:hover,
.swatch.active {
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold);
}

/* ============ ABOUT STRIP ============ */
.about-strip {
  padding: 100px 0;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.about-strip::before {
  content: '';
  position: absolute;
  left: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
}

.about-strip::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-title em {
  color: var(--gold);
  font-style: italic;
}

.about-text {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  font-weight: 300;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-item {
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: 20px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

.about-visual {
  position: relative;
}

.about-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-display {
  width: 180px;
  height: auto;
  opacity: 0.85;
  filter: drop-shadow(0 8px 32px rgba(201,168,76,0.3));
}

.about-frame-ornament {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.about-frame-ornament-bl {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

/* ============ FEATURES BAR ============ */
.features-bar {
  padding: 64px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 6px;
  font-weight: 400;
}

.feature-desc {
  font-size: 12px;
  color: var(--warm-gray);
  line-height: 1.6;
  font-weight: 300;
}

/* ============ NEWSLETTER ============ */
.newsletter {
  padding: 100px 0;
  background: var(--cream);
  text-align: center;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 46px);
  color: var(--charcoal);
  margin: 16px 0 16px;
  font-weight: 400;
}

.newsletter-desc {
  font-size: 14px;
  color: var(--warm-gray);
  margin-bottom: 40px;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--white);
}

.newsletter-input {
  flex: 1;
  padding: 16px 24px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--charcoal);
  outline: none;
}

.newsletter-input::placeholder {
  color: var(--warm-gray);
  letter-spacing: 0.05em;
}

.newsletter-btn {
  padding: 16px 32px;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background: var(--gold-dark);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--charcoal);
  padding: 80px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  filter: brightness(1.2);
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-desc {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  font-weight: 300;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
  font-size: 14px;
}

.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 300;
  letter-spacing: 0.03em;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.7;
}

.footer-contact strong {
  color: var(--gold);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

.footer-gold-line {
  height: 1px;
  flex: 1;
  max-width: 200px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  margin: 0 24px;
}

/* ============ CART SIDEBAR ============ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,26,0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  background: var(--white);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  transform: translateX(0);
}

.cart-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}

.cart-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--charcoal);
  transition: var(--transition);
  font-size: 18px;
}

.cart-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--warm-gray);
}

.cart-empty-icon {
  font-size: 48px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.cart-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-total-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.cart-total-amount {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--charcoal);
}

/* Breakdown sous-total / livraison dans le footer du sidebar */
.cart-breakdown {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--warm-gray);
  padding: 3px 0;
}
.cart-line span:last-child { color: var(--charcoal); font-weight: 500; }
.cart-hint {
  font-size: 11px;
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  margin-top: 6px;
  padding: 6px 10px;
  background: rgba(201,168,76,0.08);
  text-align: center;
}

/* Items du panier */
.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  background: var(--cream);
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.cart-item-meta {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  margin-bottom: 6px;
}
.cart-item-price {
  font-size: 13px;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 8px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}
.cart-qty button {
  width: 28px; height: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--charcoal);
  font-size: 14px;
  transition: var(--transition);
}
.cart-qty button:hover { border-color: var(--gold); color: var(--gold); }
.cart-qty span { min-width: 28px; text-align: center; }
.cart-qty .cart-rm {
  margin-left: 8px;
  color: var(--warm-gray);
  font-size: 12px;
}
.cart-qty .cart-rm:hover { color: #b53030; border-color: #b53030; }

/* Checkout overlay */
#checkoutOverlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,26,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 3000;
}
#checkoutOverlay.open { display: flex; }
.checkout-modal {
  background: var(--white);
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px 32px;
  border-top: 3px solid var(--gold);
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.checkout-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 16px;
  color: var(--warm-gray);
}
.checkout-close:hover { border-color: var(--gold); color: var(--gold); }
.checkout-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--charcoal);
}
.checkout-sub {
  font-size: 13px;
  color: var(--warm-gray);
  margin-bottom: 24px;
  font-weight: 300;
}
.ck-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.ck-field { margin-bottom: 14px; }
.ck-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 6px;
  font-weight: 500;
}
.ck-field input,
.ck-field textarea,
.ck-field select {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid rgba(28,28,26,0.18);
  background: var(--white);
  color: var(--charcoal);
  transition: var(--transition);
  resize: vertical;
}
.ck-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%237A7570' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.ck-field input:focus,
.ck-field textarea:focus,
.ck-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.ck-summary {
  background: var(--off-white);
  padding: 16px 18px;
  margin: 12px 0 22px;
  border-left: 2px solid var(--gold);
}
.ck-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--warm-gray);
  padding: 4px 0;
}
.ck-summary-row.total {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
  padding-top: 10px;
}
.ck-success {
  background: rgba(45,122,58,0.08);
  border-left: 3px solid #2d7a3a;
  color: #2d7a3a;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}
.btn-checkout {
  width: 100%;
  padding: 16px 24px;
  background: var(--charcoal);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-checkout:hover { background: var(--gold); }
@media (max-width: 480px) {
  .checkout-modal { padding: 28px 20px; max-height: 96vh; }
  .ck-row { grid-template-columns: 1fr; gap: 0; }
  .checkout-title { font-size: 22px; }
}

/* ============ MOBILE MENU ============ */
.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============ FLOATING BUTTONS ============ */
.float-btn {
  position: fixed;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  z-index: 9999;
}

.float-btn:hover { transform: scale(1.08); }

.sound-btn {
  bottom: 24px !important;
  left: 24px !important;
  background: white;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  color: #C9A84C;
}

.sound-btn svg {
  width: 16px;
  height: 16px;
  stroke: #C9A84C;
}

.float-right-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#musicBtn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
}

/* Bouton retour en haut : style identique au bouton son (blanc + or) */
.float-top {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, transform 0.2s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-top:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.float-top svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
}

/* Bouton Messenger : style original (fond or, icone blanche) */
.float-messenger {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 2px 10px rgba(201,168,76,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
  color: var(--white);
}

.float-messenger:hover {
  background: var(--gold-dark);
  transform: scale(1.08);
}

.float-messenger svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.float-messenger:hover {
  background: #9A7A30;
  transform: scale(1.08);
}

/* ============ RESPONSIVE ============ */

/* ====== DESKTOP (> 1024px) — déjà géré par le CSS principal ====== */

/* ====== TABLETTE (768px - 1024px) ====== */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .header-inner { padding: 0 24px; }
  .nav { gap: 18px; }
  .nav a { font-size: 11px; letter-spacing: 0.16em; }
  .header-actions { gap: 14px; }
  .logo-name { font-size: 19px; }
  .logo img { height: 44px; }
  .hero-content { width: 50%; padding: 0 32px; }
  .hero-carousel { width: 50%; }
  .hero-title { font-size: 44px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card.size-large { grid-column: span 1; }
  .category-card.size-small { grid-column: span 1; }
  .category-card.size-large .category-img { height: 340px; }
  .category-card.size-small .category-img { height: 260px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .cat-products-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about-inner { gap: 40px; }
  .about-visual { display: none; }
  .category-banner { height: 280px; }
  .cat-filters { padding: 16px 20px; gap: 14px 18px; }
  .cat-filter-group { flex-wrap: wrap; }
}

/* ====== TABLETTE étroite (< 900px) ====== */
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .product-name { font-size: 16px; }
}

/* ====== SMARTPHONE (< 768px) ====== */
@media (max-width: 767px) {

  /* Header transparent sur hero */
  .header {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    height: 64px;
  }
  .header.scrolled {
    background: rgba(255,255,255,0.96) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(201,168,76,0.12) !important;
  }
  .header-inner { padding: 0 16px; height: 64px; }
  .nav { display: none; }
  .lang-toggle { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { top: 64px; padding: 24px 20px; }
  .mobile-nav a { font-size: 22px; padding-bottom: 16px; }
  .logo img { height: 36px; }
  .logo-name { font-size: 16px; color: white; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
  .logo-tagline { color: rgba(255,255,255,0.8); }
  .header.scrolled .logo-name { color: var(--charcoal); text-shadow: none; }
  .header.scrolled .logo-tagline { color: var(--gold); }

  /* Hero plein écran */
  .hero {
    display: block;
    position: relative;
    min-height: 100svh;
    padding-top: 0;
    overflow: hidden;
  }
  .hero-bg-pattern { display: none; }
  .hero-carousel {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 0;
    border: none;
    top: auto;
    right: auto;
  }
  .hero-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.2) 0%,
      rgba(0,0,0,0.05) 40%,
      rgba(0,0,0,0.7) 100%
    );
    z-index: 2;
    pointer-events: none;
  }
  .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    width: 100%;
    padding: 32px 24px 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero-eyebrow { color: rgba(255,255,255,0.85); font-size: 10px; }
  .hero-title { color: #ffffff; font-size: 40px; line-height: 1.08; text-shadow: 0 2px 16px rgba(0,0,0,0.3); }
  .hero-title em { color: var(--gold-light); }
  .hero-separator { background: var(--gold-light); }
  .hero-desc { color: rgba(255,255,255,0.85); font-size: 13px; max-width: 100%; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .btn-primary { background: var(--gold); color: #fff; width: 100%; justify-content: center; font-size: 10px; }
  .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; width: 100%; justify-content: center; font-size: 10px; }
  .hero-scroll { left: 50%; bottom: 12px; }
  .scroll-text { color: rgba(255,255,255,0.7); }

  /* Marquee */
  .marquee-item { font-size: 9px; gap: 16px; padding: 0 16px; }

  /* Container */
  .container { padding: 0 16px; }

  /* Categories */
  .categories { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 13px; }
  .categories-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-card.size-large,
  .category-card.size-small { grid-column: span 1; }
  .category-card.size-large .category-img { height: 260px; }
  .category-card.size-small .category-img { height: 200px; }

  /* Products */
  .products { padding: 60px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-filter { flex-wrap: wrap; width: 100%; }
  .filter-btn { padding: 8px 12px; font-size: 10px; }
  .product-name { font-size: 14px; }
  .price-current { font-size: 13px; }

  /* About */
  .about-strip { padding: 60px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { display: none; }
  .about-title { font-size: 30px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 9px; }

  /* Features */
  .features-bar { padding: 40px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Newsletter */
  .newsletter { padding: 60px 0; }
  .newsletter-title { font-size: 28px; }
  .newsletter-form { flex-direction: column; border: none; gap: 8px; }
  .newsletter-input { border: 1px solid rgba(201,168,76,0.3); width: 100%; padding: 14px 16px; }
  .newsletter-btn { width: 100%; padding: 14px; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-gold-line { display: none; }

  /* Cart */
  .cart-sidebar { width: 100%; }
  .cart-header { padding: 22px 20px; }
  .cart-items { padding: 18px 20px; }
  .cart-footer { padding: 18px 20px; }
  .cart-item { grid-template-columns: 60px 1fr; gap: 12px; padding: 14px 0; }
  .cart-item img { width: 60px; height: 78px; }
  .cart-item-name { font-size: 14px; }

  /* Category page tablette/mobile */
  .category-banner { height: 240px; margin-top: 64px; }
  .category-banner-title { font-size: 44px; }
  .category-banner-subtitle { font-size: 13px; }
  .cat-page { padding: 40px 0 60px; }
  .cat-filters {
    padding: 14px 14px;
    gap: 10px 12px;
    margin-bottom: 32px;
    flex-direction: column;
    align-items: stretch;
  }
  .cat-filter-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
  }
  .cat-filter-btn { padding: 7px 12px; font-size: 11px; }
  .cat-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pagination { gap: 4px; margin-top: 48px; flex-wrap: wrap; }
  .page-link { min-width: 36px; height: 36px; font-size: 12px; }
  .add-cart-btn { padding: 10px 12px; font-size: 10px; letter-spacing: 0.18em; }

  /* Boutons flottants mobile : tous au meme format compact */
  #musicBtn { bottom: 16px !important; left: 16px !important; width: 38px; height: 38px; }
  .sound-btn { bottom: 16px !important; left: 16px !important; }
  .float-right-btns { bottom: 16px; right: 16px; gap: 8px; }
  .float-messenger { width: 38px; height: 38px; }
  .float-messenger svg { width: 16px; height: 16px; }
  .float-top { width: 38px; height: 38px; }
  .float-top svg { width: 14px; height: 14px; }
}

/* ====== TRÈS PETIT (< 380px) ====== */
@media (max-width: 380px) {
  .hero-title { font-size: 34px; }
  .products-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .filter-btn { padding: 6px 10px; font-size: 9px; }
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(201,168,76,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease, visibility 0.35s ease;
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold-dark);
  box-shadow: 0 8px 32px rgba(154,122,48,0.45);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}
/* ============ CATEGORY PAGES ============ */
.category-banner {
  position: relative;
  height: 350px;
  margin-top: 80px;
  background-color: #1c1c1a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.category-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,20,18,0.5) 0%, rgba(20,20,18,0.75) 100%);
}
.category-banner-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.category-banner-eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.category-banner-line {
  width: 64px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
}
.category-banner-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: 0.05em;
  margin: 0 0 14px;
  color: #fff;
}
.category-banner-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 620px;
}

.cat-page {
  padding: 72px 0 96px;
  background: #fff;
}
.cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  align-items: center;
  justify-content: center;
  padding: 22px 28px;
  margin-bottom: 56px;
  background: #faf7f0;
  border: 1px solid rgba(201,168,76,0.18);
}
.cat-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cat-filter-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-right: 4px;
}
.cat-filter-btn {
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  background: transparent;
  border: 1px solid rgba(28,28,26,0.16);
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.cat-filter-select {
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  background: #fff;
  border: 1px solid rgba(28,28,26,0.16);
  color: var(--charcoal);
  cursor: pointer;
}

.cat-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.add-cart-btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}
.add-cart-btn:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 72px;
}
.page-link {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28,28,26,0.16);
  color: var(--charcoal);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: var(--transition);
}
.page-link:hover,
.page-link.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.page-link.dots { border: none; pointer-events: none; color: var(--warm-gray); }


/* ============================================
   RESPONSIVE FINAL OVERRIDES
   Bloc place a la fin du fichier pour battre la
   cascade CSS de .cat-products-grid et autres
   regles de bas-de-fichier.
============================================ */

/* Anti-overflow horizontal global */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* === TABLETTE (1024px et moins) === */
@media (max-width: 1024px) {
  .cat-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .category-banner { height: 300px; }
  .category-banner-title { font-size: clamp(40px, 6vw, 64px); }
}

/* === TABLETTE etroite (900px et moins) === */
@media (max-width: 900px) {
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* === MOBILE (768px et moins) === */
@media (max-width: 768px) {
  /* Container plus serre */
  .container { padding: 0 16px !important; }

  /* Header : compactage des icones, garder TOUTES les actions visibles */
  .header-inner { padding: 0 12px !important; height: 64px !important; }
  .header-actions { gap: 6px !important; }
  .btn-icon { width: 36px !important; height: 36px !important; }
  .btn-icon svg { width: 18px !important; height: 18px !important; }
  .menu-toggle { display: flex !important; padding: 4px 6px !important; }
  .nav { display: none !important; }
  .lang-toggle { display: none !important; }
  .logo img { height: 32px !important; }
  .logo-text { display: flex !important; }
  .logo-name { font-size: 15px !important; letter-spacing: 0.08em !important; }
  .logo-tagline { font-size: 7px !important; letter-spacing: 0.2em !important; }

  /* Category banner mobile */
  .category-banner { height: 220px !important; margin-top: 64px !important; }
  .category-banner-title { font-size: 38px !important; }
  .category-banner-subtitle { font-size: 12px !important; padding: 0 12px; }
  .category-banner-line { margin: 14px auto; width: 48px; }

  /* Filtres catalogue : stack vertical */
  .cat-page { padding: 32px 0 60px !important; }
  .cat-filters {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 14px 14px !important;
    gap: 12px !important;
    margin-bottom: 28px !important;
  }
  .cat-filter-group {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100%;
    gap: 6px !important;
  }
  .cat-filter-label { margin-right: 6px; font-size: 10px !important; }
  .cat-filter-btn { padding: 6px 10px !important; font-size: 11px !important; flex-shrink: 0; }
  .cat-filter-select { width: 100%; padding: 8px 12px; }

  /* Products grid : 2 colonnes propres */
  .cat-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .product-name { font-size: 13px !important; line-height: 1.3; }
  .product-category { font-size: 9px !important; }
  .price-current { font-size: 13px !important; }
  .price-old { font-size: 11px !important; }
  .product-info { padding: 12px 0 4px !important; }
  .add-cart-btn {
    margin-top: 10px !important;
    padding: 9px 6px !important;
    font-size: 9px !important;
    letter-spacing: 0.15em !important;
  }
  .swatch { width: 14px; height: 14px; }
  .color-swatches { gap: 4px; }
  .product-badge { padding: 4px 8px; font-size: 8px; letter-spacing: 0.15em; }

  /* Pagination */
  .pagination { gap: 4px !important; margin-top: 36px !important; flex-wrap: wrap; }
  .page-link { min-width: 34px !important; height: 34px !important; font-size: 11px !important; }
}

/* === MOBILE STREET (480px et moins, iPhone Pro/Pro Max) === */
@media (max-width: 480px) {
  .logo-tagline { display: none !important; }
  .logo-name { font-size: 14px !important; }
  .logo img { height: 28px !important; }
  .header-actions { gap: 4px !important; }
  .btn-icon { width: 32px !important; height: 32px !important; }
  .btn-icon svg { width: 16px !important; height: 16px !important; }
  .cart-badge { width: 14px; height: 14px; font-size: 8px; top: 2px; right: 2px; }

  /* Hero mobile compactage */
  .hero-title { font-size: 36px !important; }
  .hero-desc { font-size: 12px !important; }

  /* Banner mobile street */
  .category-banner { height: 180px !important; }
  .category-banner-title { font-size: 32px !important; }
  .category-banner-subtitle { font-size: 11px !important; }
  .category-banner-eyebrow { font-size: 10px !important; }

  /* Cards : on garde 2 colonnes mais plus compact */
  .cat-products-grid { gap: 10px !important; }
  .products-grid { gap: 10px !important; }
  .product-image-wrap { aspect-ratio: 3/4; }

  /* Floating buttons : un peu plus bas */
  #musicBtn, .sound-btn { bottom: 12px !important; left: 12px !important; }
  .float-right-btns { bottom: 12px !important; right: 12px !important; }
}

/* === TRES PETIT (375px et moins, iPhone SE) === */
@media (max-width: 380px) {
  .header-inner { padding: 0 10px !important; }
  .logo-name { font-size: 13px !important; }
  .header-actions { gap: 2px !important; }
  .btn-icon { width: 30px !important; height: 30px !important; }
  .menu-toggle { padding: 4px !important; }
  .hero-title { font-size: 30px !important; }
  .category-banner-title { font-size: 28px !important; }
  .product-name { font-size: 12px !important; }
  .add-cart-btn { font-size: 8px !important; padding: 8px 4px !important; }
  .cat-filter-btn { padding: 5px 8px !important; font-size: 10px !important; }
}
