/* =============================================
   GOOGLE FONTS - Typography
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;600;700;800;900&display=swap');

/* =============================================
   LUXURY DESIGN SYSTEM - Lotus Diamant
   ============================================= */

/* CSS Variables - Luxury Color Palette */
:root {
  /* Primary Colors - Luxury Palette */
  --luxury-charcoal: #2C2C2C;
  --luxury-ivory: #FAF8F5;
  --luxury-rose-gold: #D4AF7A;
  --luxury-sage: #A8B5A0;
  
  /* Accent Colors */
  --luxury-white: #FFFFFF;
  --luxury-warm-grey: #E8E4DF;
  --luxury-burgundy: #8B4049;
  
  /* Semantic Colors */
  --luxury-text-primary: #2C2C2C;
  --luxury-text-secondary: #6B6B6B;
  --luxury-text-muted: #9B9B9B;
  --luxury-border: #E8E4DF;
  --luxury-background: #FAF8F5;
  --luxury-card-bg: #FFFFFF;
  
  /* Status Colors */
  --luxury-success: #A8B5A0;
  --luxury-warning: #D4AF7A;
  --luxury-error: #8B4049;
  --luxury-info: #6B8E9F;
  
  /* Shadows - Subtle Elevation */
  --luxury-shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.04);
  --luxury-shadow-md: 0 4px 16px rgba(44, 44, 44, 0.08);
  --luxury-shadow-lg: 0 8px 24px rgba(44, 44, 44, 0.12);
  --luxury-shadow-hover: 0 12px 32px rgba(44, 44, 44, 0.16);
  
  /* Spacing Scale (8px base) */
  --space-xs: 8px;
  --space-s: 16px;
  --space-m: 24px;
  --space-l: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Typography Scale */
  --font-serif: 'League Spartan', sans-serif;
  --font-sans: 'League Spartan', sans-serif;
  --font-accent: 'League Spartan', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography System - Luxury Hierarchy */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--luxury-text-primary);
  background-color: var(--luxury-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--luxury-text-primary);
  margin: 0;
}

h1 {
  font-size: 42px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
  font-weight: 500;
}

h4 {
  font-size: 20px;
  font-weight: 500;
}

p {
  margin: 0;
  color: var(--luxury-text-secondary);
}

.text-muted {
  color: var(--luxury-text-muted);
  font-size: 14px;
}

.label-text {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--luxury-text-secondary);
}

/* =============================================
   LOADING STATES - Prevent Flash of Static Content
   ============================================= */
.hero-content,
#sliderTrack,
.categories-grid,
.about-grid,
#hotSellingGrid,
.testimonials-grid,
.gallery-grid {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.hero-content.loaded,
#sliderTrack.loaded,
.categories-grid.loaded,
.about-grid.loaded,
#hotSellingGrid.loaded,
.testimonials-grid.loaded,
.gallery-grid.loaded {
  opacity: 1;
}

/* =============================================
   PAGE LOADER - Elegant Loading Animation
   ============================================= */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #faf7f2 0%, #f5f0e8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 30px;
  animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.loader-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 50px;
  position: relative;
}

.loader-spinner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 3px solid #ede8df;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-text {
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loader-dots {
  display: inline-flex;
  gap: 4px;
  margin-left: 4px;
}

.loader-dots span {
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #9a7b2f;
  --primary-dark: #7d6325;
  --bg-light: #f5f0e8;
  --bg-card: #faf7f2;
  --border: #ede8df;
  --text: #000000;
  --text-muted: #6b7280;
  --white: #ffffff;
  --radius: 0.625rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'League Spartan', ui-sans-serif, system-ui, sans-serif;
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mb-12 { margin-bottom: 48px; }

/* =============================================
   MARQUEE BANNER
   ============================================= */
.marquee-banner {
  background: var(--primary);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  margin: 0 32px;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 240, 0.85);
  border-bottom: 1px solid #ddd8ce;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.header-logo-img {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-nav a,
.nav-dropdown a {
  font-size: 13px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.header-nav a:hover,
.nav-dropdown a:hover { color: var(--primary); }

.header-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  position: relative;
  padding: 8px;
  border-radius: 8px;
  color: #000;
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--bg-light); }
.icon-btn svg { display: block; }
.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.burger-btn {
  padding: 8px;
  color: #000;
  display: none;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: #000;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/h1-slider2-banner-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 65px 24px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}
.hero h1 {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 560px;
}
.hero-price {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 420px;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 16px 40px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-primary:hover { background: var(--primary-dark); }

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 80px 0;
  background: var(--bg-light);
}
.section-subtitle {
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 32px;
}
.about-title {
  text-align: center;
  margin-bottom: 64px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.about-title h2 {
  font-size: 28px;
  color: #000;
  line-height: 1.7;
  font-weight: 400;
}
.about-title h2 strong { font-weight: 700; }
.inline-avatar {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin: 0 4px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.rotating-logo {
  position: relative;
  width: 208px;
  height: 208px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rotating-circle {
  position: absolute;
  inset: 0;
  animation: spin-slow 20s linear infinite;
}
.spin-svg { width: 100%; height: 100%; color: #4b5563; }
@keyframes spin-slow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.logo-inner {
  position: absolute;
  z-index: 10;
  text-align: center;
}
.logo-inner-img {
  width: 110px;
  height: auto;
  object-fit: contain;
}
.logo-sub { font-size: 10px; color: #4b5563; letter-spacing: 0.1em; text-transform: uppercase; }
.about-desc {
  text-align: center;
  font-size: 13px;
  color: #374151;
  line-height: 1.7;
  max-width: 260px;
}

/* Slide button - Simplified hover */
.btn-slide-wrap { 
  display: inline-block;
}
.btn-slide {
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-slide:hover { 
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(154, 123, 47, 0.3);
}
.btn-slide-top {
  display: block;
}
.btn-slide-bottom {
  display: none;
}

/* =============================================
   FEATURED PRODUCTS SLIDER
   ============================================= */
.featured-products {
  padding: 64px 0;
  background: #fff;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 48px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 12px;
}
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.slider-btn {
  position: absolute;
  z-index: 10;
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.slider-btn:hover { background: var(--primary); color: #fff; }
.slider-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.slider-btn--prev { left: -16px; }
.slider-btn--next { right: -16px; }
.slider-viewport { overflow: hidden; width: 100%; }
.slider-track {
  display: flex;
  transition: transform 0.5s ease-out;
}
.product-card {
  flex-shrink: 0;
  width: 20%;
  padding: 0 12px;
  cursor: pointer;
}
.product-img-wrap {
  position: relative;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 2;
}
.product-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.product-card:hover .product-actions { opacity: 1; }
.action-btn {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}
.action-btn:hover { background: var(--primary); color: #fff; }

/* Wishlist/Favorite Button States */
.action-btn.is-favorite {
  background: #d4af37;
  color: #fff;
}
.action-btn.is-favorite svg path {
  fill: currentColor;
  stroke: currentColor;
}
.action-btn.is-favorite:hover {
  background: #c29d2f;
  color: #fff;
}
.product-cart-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  transform: translateY(100%);
  transition: transform 0.3s;
  z-index: 2;
}
.product-card:hover .product-cart-hover { transform: translateY(0); }
.btn-add-cart {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: background 0.2s;
}
.btn-add-cart:hover { background: var(--primary-dark); }
.product-info { 
  display: flex; 
  flex-direction: column; 
  gap: 8px;
  padding: 8px 4px 4px;
  width: 100%;
}
.product-cat {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-cat:hover { color: var(--primary); }
.product-price { 
  font-size: 22px; 
  font-weight: 700; 
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-price .price-old,
.product-price del {
  color: #9ca3af;
  text-decoration: line-through;
  font-size: 16px;
  font-weight: 400;
}
.product-name { 
  font-size: 15px; 
  font-weight: 500; 
  color: #000; 
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.product-name a {
  transition: color 0.2s;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-name a:hover { color: var(--primary); }
.product-rating { 
  display: flex; 
  align-items: center; 
  gap: 8px;
  margin-top: 4px;
}
.stars { display: inline-flex; gap: 2px; color: #fbbf24; font-size: 16px; }
.star { width: 14px; height: 14px; }
.star--filled { color: var(--primary); }
.star--empty { color: #d1d5db; }
.rating-val { font-size: 12px; color: #9ca3af; font-weight: 500; }

/* =============================================
   CATEGORIES
   ============================================= */
.categories {
  padding: 128px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.categories-deco {
  position: absolute;
  top: 50%;
  width: 242px;
  height: 272px;
  opacity: 0.4;
  z-index: 0;
}
.categories-deco--left { left: 64px; transform: translateY(-15%); }
.categories-deco--right { right: 64px; transform: translateY(-50%); }
.categories-deco img { width: 100%; height: 100%; object-fit: contain; }
.categories .container { position: relative; z-index: 10; }
.categories-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 48px;
}
.categories-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.categories-header p { color: rgba(255,255,255,0.9); font-size: 15px; }
.btn-see-all {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.btn-see-all:hover { background: rgba(255,255,255,0.3); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.cat-card {
  display: block;
  text-decoration: none;
}
.cat-inner {
  background: #faf7f2;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.3s;
}
.cat-card:hover .cat-inner { transform: scale(1.05); }
.cat-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  margin: 0 auto 24px;
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s, transform 0.5s;
}
.cat-card:hover .cat-img-wrap img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
.cat-inner h3 {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.cat-card:hover .cat-inner h3 { color: var(--primary); }
.cat-inner p { font-size: 13px; color: #6b7280; }

/* =============================================
   SPECIAL OFFER
   ============================================= */
.special-offer { padding: 64px 0; background: #fff; }
.offer-layout {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.offer-card {
  width: 788px;
  height: 610px;
  background: var(--bg-light);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-shrink: 0;
}
.offer-text {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.offer-label {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
}
.offer-percent {
  font-size: 140px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.offer-discount-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
}
.countdown {
  display: flex;
  align-items: center;
  gap: 12px;
}
.countdown-unit { text-align: center; }
.countdown-num {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #000;
  line-height: 1;
}
.countdown-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-top: 8px;
}
.countdown-sep {
  font-size: 36px;
  font-weight: 700;
  color: #000;
  margin-bottom: 24px;
}
.btn-offer {
  background: var(--primary);
  color: #fff;
  padding: 20px 40px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 16px;
  width: fit-content;
  transition: background 0.2s;
}
.btn-offer:hover { background: var(--primary-dark); }
.offer-woman {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.offer-woman img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right;
}
.offer-products {
  width: 525px;
  height: 610px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.offer-product {
  display: flex;
  gap: 24px;
  cursor: pointer;
}
.offer-product-img {
  position: relative;
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}
.offer-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.offer-product:hover .offer-product-img img { transform: scale(1.1); }
.offer-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.offer-product-name {
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.3;
  transition: color 0.2s;
}
.offer-product:hover .offer-product-name { color: var(--primary); }
.price-row { display: flex; align-items: center; gap: 8px; }
.price-old { 
  color: #9ca3af; 
  text-decoration: line-through; 
  font-size: 16px;
  font-weight: 400;
}

/* =============================================
   BEST SELLING
   ============================================= */
.best-selling { padding: 64px 0; background: #fff; }
.best-grid { display: flex; flex-direction: column; gap: 24px; }
.best-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.best-promo-card {
  border-radius: 16px;
  overflow: hidden;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 98px;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}
.best-promo-content { position: relative; z-index: 10; }
.best-promo-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.best-promo-content p {
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
}
.promo-big { font-size: 48px !important; font-weight: 700; color: #fff; margin-bottom: 8px !important; }
.promo-sub {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600 !important;
  margin-bottom: 24px !important;
  color: #fff;
}
.btn-white {
  background: #fff;
  color: #000;
  padding: 12px 32px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn-white:hover { background: #f3f4f6; }
.best-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.best-product { cursor: pointer; }
.best-product-img {
  position: relative;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 12px;
}
.best-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.best-product:hover .best-product-img img { transform: scale(1.1); }
.best-product-info { display: flex; flex-direction: column; gap: 4px; }
.best-product-info .product-price { font-size: 17px !important; }
.best-product-info h3 { font-size: 13px; font-weight: 400; color: #000; line-height: 1.3; }
.best-product-info h3 a:hover { color: var(--primary); }
.best-product-info .stars .star { width: 14px; height: 14px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { padding: 64px 0; background: var(--bg-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.testimonial-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-name { font-weight: 600; color: #000; font-size: 15px; }
.testimonial-stars { color: var(--primary); font-size: 14px; margin-top: 2px; }
.testimonial-text { color: #6b7280; font-size: 14px; line-height: 1.6; }

/* =============================================
   GALLERY
   ============================================= */
.gallery { padding: 64px 0; background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.gallery-col { display: flex; flex-direction: column; gap: 24px; }
.gallery-img { border-radius: 16px; overflow: hidden; }
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-img:hover img { transform: scale(1.1); }
.gallery-img--wide { aspect-ratio: 615/360; }
.gallery-img--sq { aspect-ratio: 1; }
.gallery-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery-center-card {
  background: var(--primary);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  gap: 32px;
}
.gallery-center-card h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #111;
  color: #fff;
  padding: 32px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand img.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.footer-brand p { font-size: 13px; opacity: 1; line-height: 1.6; color: #fff; }
.footer-col h4 { font-weight: 600; margin-bottom: 16px; font-size: 14px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 13px;
  opacity: 1;
  color: #fff;
  transition: opacity 0.2s;
}
.footer-col ul li a:hover { opacity: 1; }
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 1;
  color: #fff;
}
.footer-contact li a:hover { opacity: 1; }
.footer-divider { border-top: 1px solid rgba(255,255,255,0.15); margin-bottom: 32px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 13px; opacity: 1; color: #fff; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  padding: 8px;
  border-radius: 8px;
  color: #fff;
  transition: background 0.2s;
}
.footer-socials a:hover { background: rgba(255,255,255,0.1); }


/* =============================================
   RESPONSIVE - MOBILE & TABLET
   ============================================= */

/* Tablet & below (max-width: 1024px) */
@media (max-width: 1024px) {
  /* Hero */
  .hero { min-height: 500px; }
  .hero h1 { font-size: 48px; }
  .hero-price { font-size: 28px; }
  
  /* About - 3 cols → 1 col */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-img-wrap { max-width: 400px; margin: 0 auto; }
  
  /* Categories - 5 cols → 3 cols */
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-deco { display: none; }
  
  /* Special Offer - stack */
  .offer-layout { flex-direction: column; }
  .offer-card, .offer-products { width: 100%; height: auto; }
  
  /* Best Selling - 2 cols → 1 col */
  .best-row { grid-template-columns: 1fr; }
  .best-products-grid { grid-template-columns: repeat(3, 1fr); }
  
  /* Testimonials - 3 cols → 2 cols */
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Gallery - 3 cols → 1 col */
  .gallery-grid { grid-template-columns: 1fr; }
  
  /* Footer - 4 cols → 2 cols */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .container-wide { padding: 0 16px; }
  
  /* Header - hide desktop nav, show burger */
  .header-nav { display: none; }
  .burger-btn { display: block; }
  /* En mobile : garder Recherche et Panier, cacher Compte et Favoris */
  .icon-btn:nth-child(2),
  .icon-btn:nth-child(3) { display: none; }
  
  /* Hero */
  .hero { min-height: 400px; }
  .hero-inner { padding: 80px 16px; }
  .hero h1 { font-size: 36px; }
  .hero-price { font-size: 24px; }
  .hero-desc { font-size: 14px; }
  
  /* About */
  .about-title h2 { font-size: 20px; }
  .inline-avatar { width: 28px; height: 28px; }
  .rotating-logo { width: 160px; height: 160px; }
  .logo-inner-img { width: 70px; }
  
  /* Featured Products - HORIZONTAL SCROLL */
  .slider-wrapper { overflow: visible; }
  .slider-btn { display: none; }
  .slider-viewport { 
    overflow-x: auto; 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .slider-viewport::-webkit-scrollbar { display: none; }
  .slider-track { 
    transform: none !important;
    transition: none;
  }
  .product-card { 
    width: 280px;
    flex-shrink: 0;
  }
  
  /* Categories - 3 cols → 2 cols + horizontal scroll */
  .categories { padding: 64px 0; }
  .categories-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .btn-see-all { display: none; }
  .categories-grid { 
    display: flex;
    overflow-x: auto;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .categories-grid::-webkit-scrollbar { display: none; }
  .cat-card {
    flex-shrink: 0;
    width: 200px;
  }
  
  /* Special Offer */
  .offer-card { 
    grid-template-columns: 1fr;
    height: auto;
    padding: 32px 16px;
  }
  .offer-text { padding: 0; gap: 16px; }
  .offer-percent { font-size: 80px; }
  .countdown { flex-wrap: wrap; gap: 8px; }
  .countdown-num { font-size: 32px; }
  .countdown-sep { font-size: 24px; margin-bottom: 12px; }
  .offer-woman { display: none; }
  .offer-products { gap: 16px; }
  .offer-product { flex-direction: column; }
  .offer-product-img { width: 100%; height: 200px; }
  
  /* Best Selling */
  .best-products-grid { 
    display: flex;
    overflow-x: auto;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .best-products-grid::-webkit-scrollbar { display: none; }
  .best-product { 
    flex-shrink: 0;
    width: 160px;
  }
  
  /* Testimonials - horizontal scroll */
  .testimonials-grid { 
    display: flex;
    overflow-x: auto;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .testimonial-card {
    flex-shrink: 0;
    width: 280px;
  }
  
  /* Footer - 2 cols → 1 col */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 28px; }
  .categories-grid { grid-template-columns: 1fr; }
  .product-card { width: 240px; }
}


/* =============================================
   SEARCH OVERLAY
   ============================================= */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.search-overlay-content {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin-top: 80px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 32px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay.active .search-overlay-content {
  transform: translateY(0);
}

.search-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: all 0.2s;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.search-close:hover {
  background: var(--bg-light);
  color: var(--text);
}

.search-box {
  position: relative;
  margin-bottom: 24px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 16px 52px 16px 52px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.search-result-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
}

.search-result-item:hover {
  background: var(--bg-light);
}

.search-result-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.search-result-cat {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-result-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.search-result-price .price-old {
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 8px;
}

.search-loading,
.search-empty,
.search-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.search-see-all {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.2s;
}

.search-see-all:hover {
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .search-overlay-content {
    margin: 20px;
    margin-top: 60px;
    padding: 24px;
  }
  
  .search-result-img {
    width: 60px;
    height: 60px;
  }
}


/* =============================================
   PRODUCTS GRID (for search & products pages)
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.products-grid .product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.products-grid .product-card:hover {
  transform: translateY(-4px);
}

.products-grid .product-img-wrap {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
  aspect-ratio: 3/4;
  width: 100%;
}

.products-grid .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-grid .product-card:hover .product-img-wrap {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.breadcrumb {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }
}


/* =============================================
   PRODUCTS PAGE
   ============================================= */
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.products-header-left {
  flex: 0 0 auto;
}

.products-header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

/* Products Search Bar */
.products-search-bar {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.products-search-bar .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.products-search-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  transition: all 0.3s ease;
}

.products-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(154, 123, 47, 0.1);
}

.products-search-input::placeholder {
  color: var(--text-muted);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.2s;
  z-index: 10;
  cursor: pointer;
  border: none;
}

.search-clear-btn:hover {
  background: var(--primary);
  color: white;
}

.btn-filter-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-filter-toggle:hover {
  background: var(--primary-dark);
}

/* Mobile Filter Button (icon only) */
.btn-filter-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-filter-mobile:hover {
  background: var(--primary-dark);
}

/* Filter Bottom Sheet */
.filter-bottom-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-bottom-sheet.active {
  pointer-events: all;
  opacity: 1;
}

.bottom-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-bottom-sheet.active .bottom-sheet-overlay {
  opacity: 1;
}

.bottom-sheet-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 24px 24px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.filter-bottom-sheet.active .bottom-sheet-content {
  transform: translateY(0);
}

.bottom-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.bottom-sheet-header h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-close-sheet {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.2s;
}

.btn-close-sheet:hover {
  background: var(--border);
}

.bottom-sheet-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.bottom-sheet-footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.btn-clear-filters-mobile {
  flex: 1;
  padding: 14px 20px;
  background: white;
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s;
}

.btn-clear-filters-mobile:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-apply-filters-mobile {
  flex: 1;
  padding: 14px 20px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  transition: background 0.2s;
}

.btn-apply-filters-mobile:hover {
  background: var(--primary-dark);
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.products-sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  max-width: 280px;
  width: 100%;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.sidebar-header h3 {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-clear-filters {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

.btn-clear-filters:hover {
  color: var(--primary-dark);
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: var(--text);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.2s;
  word-break: break-word;
}

.filter-checkbox:hover {
  color: var(--primary);
}

.filter-checkbox input[type="checkbox"],
.filter-checkbox input[type="radio"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.filter-checkbox span {
  flex: 1;
  line-height: 1.4;
}

.filter-price {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.price-inputs input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}

.price-inputs input:focus {
  outline: none;
  border-color: var(--primary);
}

.price-inputs span {
  flex-shrink: 0;
  color: var(--text-muted);
}

.btn-apply-price {
  width: 100%;
  padding: 10px 16px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
}

.btn-apply-price:hover {
  background: var(--primary-dark);
}

/* Products Content */
.products-content {
  min-height: 500px;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.toolbar-results {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.toolbar-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.sort-select {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  background: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all 0.2s;
}

.sort-select:hover {
  border-color: var(--primary);
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(154, 123, 47, 0.1);
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 16px;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-state p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
}

.pagination-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.pagination-dots {
  padding: 0 8px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }
  
  .products-sidebar {
    max-width: 240px;
    padding: 20px;
  }
  
  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .products-header-right {
    width: 100%;
    justify-content: space-between;
  }
  
  .products-search-bar {
    max-width: none;
    flex: 1;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .products-header {
    gap: 20px;
  }
  
  .products-header-right {
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }
  
  .products-search-bar {
    max-width: none;
    flex: 1;
  }
  
  .btn-filter-mobile {
    display: flex;
  }
  
  .btn-filter-toggle {
    display: none;
  }
  
  .products-layout {
    grid-template-columns: 1fr;
  }
  
  .products-sidebar {
    display: none;
  }
  
  .products-toolbar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .toolbar-sort {
    justify-content: space-between;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .products-grid .product-card {
    min-width: 0;
  }
  
  /* Mobile: Bouton "Ajouter au panier" - Icon seulement, pleine largeur */
  .product-cart-hover {
    padding: 12px;
  }
  
  .btn-add-cart {
    padding: 14px;
    width: 100%;
    justify-content: center;
    position: relative;
  }
  
  /* Cacher le texte mais garder l'icône */
  .btn-add-cart {
    color: transparent;
  }
  
  .btn-add-cart svg {
    width: 22px;
    height: 22px;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    stroke: white;
  }
  
  /* Mobile: Actions buttons (wishlist, quick view) - Plus petits et plus haut */
  .product-actions {
    top: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  
  .action-btn svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .products-grid .product-card {
    max-width: 100%;
  }
}


/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 80px;
  height: fit-content;
  max-width: 500px;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-main:hover img {
  transform: scale(1.05);
}

.gallery-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}

.gallery-thumb {
  aspect-ratio: 1;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.gallery-thumb:hover {
  border-color: var(--primary);
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info */
.product-info-section {
  display: flex;
  flex-direction: column;
}

/* Selective gaps for visual hierarchy */
.product-info-section > .product-category-tag {
  margin-bottom: 5px;
}

.product-info-section > .product-title {
  margin-bottom: 8px;
}

.product-info-section > .product-price-section {
  margin-bottom: 6px;
}

.product-info-section > .product-stock-status {
  margin-bottom: 8px;
}

.product-info-section > .product-short-description {
  margin-top: 8px;
  margin-bottom: 8px;
}

.product-info-section > .product-divider {
  margin-top: 8px;
  margin-bottom: 8px;
}

.product-info-section > .product-variants-section {
  margin-bottom: 8px;
}

/* Solution B: Purchase Group (Quantity + Actions together) */
.product-info-section > .product-purchase-group {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-info-section > .trust-badges-bar {
  margin-top: 10px;
  margin-bottom: 10px;
}

.product-info-section > .product-meta-modern {
  margin-top: 8px;
}

.product-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.product-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.product-price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-current {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.product-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Variants */
.product-variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.variant-select {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s;
}

.variant-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Quantity */
.product-quantity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  color: var(--text);
  transition: background 0.2s;
}

.qty-btn:hover {
  background: var(--border);
}

.qty-input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
}

.qty-input:focus {
  outline: none;
}

/* Actions */
.product-actions {
  display: flex;
  gap: 12px;
}

.btn-add-to-cart {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-add-to-cart:hover {
  background: var(--primary-dark);
}

.btn-add-to-wishlist {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  transition: all 0.2s;
}

.btn-add-to-wishlist:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Meta */
.product-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
}

.meta-label {
  font-weight: 600;
  color: var(--text);
}

.meta-value {
  color: var(--text-muted);
}

.meta-link {
  color: var(--primary);
  transition: color 0.2s;
}

.meta-link:hover {
  color: var(--primary-dark);
}

/* Tabs */
.product-tabs {
  margin-bottom: 80px;
}

.tabs-header {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tabs-content {
  position: relative;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Info Table - Modern Card Style */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

.info-table td {
  padding: 16px 20px;
  background: #fafafa;
  border: none;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px 0 0 8px;
  width: 30%;
}

.info-table td:last-child {
  color: var(--text-secondary);
  border-radius: 0 8px 8px 0;
}

.info-table tr:hover td {
  background: #f0f0f0;
  transition: background 0.2s ease;
}

/* Reviews Section Enhancement */
.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.reviews-summary {
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
}

.reviews-summary-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
}

.reviews-average {
  text-align: center;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.average-score {
  font-size: 56px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.average-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.average-count {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-distribution {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.distribution-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.distribution-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  min-width: 40px;
}

.distribution-bar {
  flex: 1;
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
}

.distribution-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #d4af37 100%);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.distribution-count {
  font-size: 13px;
  color: var(--text-muted);
  min-width: 30px;
  text-align: right;
}

/* Review Form Enhancement */
.review-form-container {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.review-form-container h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.rating-input {
  display: flex;
  gap: 8px;
}

.rating-star {
  cursor: pointer;
  transition: all 0.2s ease;
  color: #d1d5db;
}

.rating-star:hover {
  transform: scale(1.15);
  color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  padding: 12px 16px;
  font-size: 15px;
  font-family: 'League Spartan', sans-serif;
  color: var(--text-dark);
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-help {
  font-size: 12px;
  color: var(--text-muted);
}

.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.form-message-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Reviews List */
.reviews-list-header {
  margin-bottom: 24px;
}

.reviews-list-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
}

.reviews-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.review-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #d4af37 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.review-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-rating {
  display: flex;
  gap: 2px;
}

.review-comment {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.reviews-empty {
  text-align: center;
  padding: 64px 32px;
  background: #fafafa;
  border-radius: 12px;
  border: 2px dashed var(--border);
}

.reviews-empty p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Related Products */
.related-products {
  margin-top: 80px;
}

.related-products .section-title {
  margin-bottom: 32px;
}

/* Error State */
.error-state {
  text-align: center;
  padding: 80px 20px;
}

.error-state h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-detail-layout {
    gap: 48px;
  }
  
  .product-title {
    font-size: 28px;
  }
  
  .price-current {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .product-gallery {
    position: static;
  }
  
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .product-title {
    font-size: 24px;
  }
  
  .price-current {
    font-size: 24px;
  }
  
  .price-old {
    font-size: 18px;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .btn-add-to-wishlist {
    width: 100%;
    height: 56px;
  }
  
  .tabs-header {
    overflow-x: auto;
  }
  
  .tab-btn {
    padding: 12px 24px;
    white-space: nowrap;
  }
}


/* =============================================
   AUTHENTICATION PAGES
   ============================================= */
.auth-page {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-card) 100%);
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.auth-card {
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-header h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.auth-header p {
  font-size: 15px;
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.password-input {
  position: relative;
}

.password-input input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.password-toggle:hover {
  color: var(--text);
}

.password-strength {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.checkbox-label span {
  color: var(--text-muted);
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
}

.forgot-link {
  color: var(--primary);
  font-weight: 500;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: var(--primary-dark);
}

.form-message {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.btn-auth {
  width: 100%;
  padding: 16px 32px;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-auth:hover:not(:disabled) {
  background: var(--primary-dark);
}

.btn-auth:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  animation: spin 0.8s linear infinite;
}

.auth-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

.auth-footer a:hover {
  color: var(--primary-dark);
}

/* Benefits Section */
.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-benefits h3 {
  font-size: 24px;
  font-weight: 700;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  line-height: 1.6;
}

.benefits-list svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .auth-benefits {
    order: -1;
  }
}

@media (max-width: 768px) {
  /* Réduire l'espace en haut de la page de connexion */
  .auth-page {
    padding: 24px 0 !important;
    min-height: auto !important;
  }
  
  .auth-card {
    padding: 32px 24px;
  }
  
  /* Cacher la section "Pourquoi créer un compte?" en mode mobile */
  .auth-benefits {
    display: none;
  }
  
  /* Accélérer la bannière défilante en mode mobile */
  .marquee-track {
    animation: marquee 7.5s linear infinite; /* Réduit de 30s à 7.5s (4x plus rapide) */
  }
  
  .auth-header h1 {
    font-size: 24px;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}


/* =============================================
   ACCOUNT PAGE
   ============================================= */
.account-page {
  background: var(--luxury-background);
  min-height: calc(100vh - 200px);
}

.account-header {
  text-align: left;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-m);
  border-bottom: 1px solid var(--luxury-border);
}

.account-header h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-xs);
  color: var(--luxury-text-primary);
}

.account-header p {
  font-size: 16px;
  color: var(--luxury-text-secondary);
  font-weight: 400;
}

.account-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-l);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

/* Sidebar - Luxury Style */
.account-sidebar {
  position: sticky;
  top: 80px;
  background: var(--luxury-card-bg);
  border-radius: var(--radius-md);
  padding: var(--space-m);
  box-shadow: var(--luxury-shadow-sm);
  border: 1px solid var(--luxury-border);
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--luxury-text-secondary);
  background: transparent;
  transition: all var(--transition-base);
  text-align: left;
  width: 100%;
  border: none;
  cursor: pointer;
}

.account-nav-item:hover {
  background: var(--luxury-ivory);
  color: var(--luxury-rose-gold);
}

.account-nav-item.active {
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%);
  color: white;
  box-shadow: var(--luxury-shadow-sm);
}

.account-nav-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke-width: 1.5px;
}

/* Content - Luxury Style */
.account-content {
  background: var(--luxury-card-bg);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--luxury-shadow-sm);
  border: 1px solid var(--luxury-border);
  min-height: 500px;
}

.account-tab {
  display: none;
  animation: luxuryFadeIn var(--transition-smooth);
}

.account-tab.active {
  display: block;
}

@keyframes luxuryFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin-bottom: var(--space-l);
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--luxury-border);
  color: var(--luxury-text-primary);
}

/* Dashboard Stats - Removed (replaced with new design) */

/* Dashboard Recent Orders */
.dashboard-recent h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: var(--space-m);
  color: var(--luxury-text-primary);
}

.empty-message {
  text-align: center;
  padding: var(--space-xl);
  color: var(--luxury-text-muted);
  font-size: 15px;
}

/* Order Cards - Luxury Style */
.order-card {
  background: var(--luxury-card-bg);
  border-radius: var(--radius-md);
  padding: var(--space-m);
  margin-bottom: var(--space-s);
  transition: all var(--transition-base);
  border: 1px solid var(--luxury-border);
}

.order-card:hover {
  box-shadow: var(--luxury-shadow-md);
  transform: translateY(-2px);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-s);
  padding-bottom: var(--space-s);
  border-bottom: 1px solid var(--luxury-border);
}

.order-number {
  font-size: 16px;
  font-weight: 600;
  color: var(--luxury-text-primary);
  margin-bottom: 4px;
  font-family: var(--font-sans);
}

.order-date {
  font-size: 13px;
  color: var(--luxury-text-muted);
}

.order-status {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-accent);
}

.status-pending {
  background: rgba(212, 175, 122, 0.1);
  color: var(--luxury-rose-gold);
  border: 1px solid var(--luxury-rose-gold);
}

.status-processing {
  background: #dbeafe;
  color: #1e40af;
}

.status-shipped {
  background: #e0e7ff;
  color: #3730a3;
}

.status-delivered,
.status-confirmed {
  background: rgba(168, 181, 160, 0.1);
  color: var(--luxury-sage);
  border: 1px solid var(--luxury-sage);
}

.status-cancelled {
  background: rgba(139, 64, 73, 0.1);
  color: var(--luxury-burgundy);
  border: 1px solid var(--luxury-burgundy);
}

.status-processing,
.status-shipped {
  background: rgba(107, 142, 159, 0.1);
  color: var(--luxury-info);
  border: 1px solid var(--luxury-info);
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-s);
}

.order-item-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--luxury-text-secondary);
}

.order-item-mini img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: white;
  border: 1px solid var(--luxury-border);
}

.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-s);
  border-top: 1px solid var(--luxury-border);
}

.order-total {
  font-size: 18px;
  font-weight: 600;
  color: var(--luxury-rose-gold);
  font-family: var(--font-sans);
}

.btn-view-order {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-view-order:hover {
  box-shadow: var(--luxury-shadow-md);
  transform: translateY(-2px);
}

/* Full Order Cards */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.order-card-full {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 32px;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.order-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: white;
  border-radius: 8px;
}

.order-item img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.order-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-item-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.order-item-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.item-price {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
  margin-top: 4px;
}

.order-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  font-size: 15px;
}

.order-summary p {
  color: var(--text-muted);
}

.order-summary .order-total {
  font-size: 20px;
  color: var(--primary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* Profile Form */
.account-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.account-form .form-group {
  margin-bottom: 0;
}

.account-form .btn-primary {
  width: auto;
  padding: 14px 32px;
}

/* Responsive */
@media (max-width: 1024px) {
  .account-layout {
    grid-template-columns: 240px 1fr;
    gap: 24px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
    padding: 16px;
  }

  .account-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
  }

  .account-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .account-nav-item span {
    display: none;
  }

  .account-content {
    padding: 24px;
  }

  .tab-title {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .order-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .btn-view-order {
    width: 100%;
  }
}


/* =============================================
   WISHLIST PAGE
   ============================================= */
.wishlist-page {
  background: var(--bg-light);
  min-height: calc(100vh - 200px);
}

.wishlist-header {
  text-align: center;
  margin-bottom: 48px;
}

.wishlist-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wishlist-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.wishlist-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.wishlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wishlist-card-img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-card);
  overflow: hidden;
}

.wishlist-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.wishlist-card:hover .wishlist-card-img img {
  transform: scale(1.05);
}

.wishlist-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  z-index: 2;
}

.wishlist-remove-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.1);
}

.wishlist-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wishlist-card-info .product-cat {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.wishlist-card-info .product-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.wishlist-card-info .product-name a {
  color: var(--text);
  transition: color 0.2s;
}

.wishlist-card-info .product-name a:hover {
  color: var(--primary);
}

.wishlist-card-info .product-prices {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wishlist-card-info .price-current {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.wishlist-card-info .price-old {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-to-cart {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-add-to-cart:hover {
  background: var(--primary-dark);
}

.btn-out-of-stock {
  width: 100%;
  padding: 14px 24px;
  background: var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: not-allowed;
}

/* Notification Animation */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .wishlist-header h1 {
    font-size: 28px;
  }

  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .wishlist-card-info {
    padding: 16px;
  }

  .wishlist-card-info .product-name {
    font-size: 14px;
  }

  .wishlist-card-info .price-current {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================
   SIMPLE DASHBOARD DESIGN
   ============================================ */

/* Dashboard Welcome */
.dashboard-welcome {
  margin-bottom: 32px;
}

.dashboard-welcome h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.dashboard-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

/* Dashboard Sections */
.dashboard-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.section-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.section-link {
  background: none;
  border: none;
  color: #667eea;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.section-link:hover {
  color: #764ba2;
}

/* Active Orders Container */
.active-orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.active-order-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.active-order-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.order-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.order-product-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

.order-card-info {
  flex: 1;
}

.order-number {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.order-summary {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.order-progress {
  margin: 16px 0;
}

.progress-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.progress-step {
  flex: 1;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  position: relative;
}

.progress-step.completed {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.progress-step.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  animation: pulse-progress 2s ease-in-out infinite;
}

@keyframes pulse-progress {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
  margin-top: 8px;
}

.progress-label.active {
  color: #667eea;
  font-weight: 600;
}

.order-delivery-info {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
}

.delivery-time {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 8px;
}

.delivery-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #059669;
  font-weight: 600;
}

.order-card-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.order-action-btn {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.order-action-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.order-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.order-action-btn.secondary {
  background: white;
  border: 2px solid #e5e7eb;
  color: #6b7280;
}

.order-action-btn.secondary:hover {
  border-color: #667eea;
  color: #667eea;
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quick-action-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.quick-action-card:hover {
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.15);
}

.quick-action-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.quick-action-label {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
}

.quick-action-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 20px;
}

/* Order Filters */
.order-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid #e5e7eb;
  background: white;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
}

.filter-btn:hover:not(.active) {
  border-color: #667eea;
  color: #667eea;
}

/* Recent Orders Container */
.recent-orders-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recent-order-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}

.recent-order-card:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.order-date {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.order-item-info {
  flex: 1;
}

.order-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.order-item-details {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 4px;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.order-status-badge.delivered {
  background: #d1fae5;
  color: #065f46;
}

.order-status-badge.pending {
  background: #fed7aa;
  color: #92400e;
}

.order-status-badge.cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.order-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.order-item-btn {
  flex: 1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.order-item-btn.primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.order-item-btn.secondary {
  background: white;
  border: 1px solid #e5e7eb;
  color: #6b7280;
}

/* Favorites Carousel */
.favorites-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.favorites-carousel::-webkit-scrollbar {
  height: 8px;
}

.favorites-carousel::-webkit-scrollbar-track {
  background: #f3f4f6;
  border-radius: 4px;
}

.favorites-carousel::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

.favorite-product-card {
  min-width: 200px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.favorite-product-card:hover {
  border-color: #667eea;
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.favorite-product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.favorite-product-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.favorite-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 12px;
}

.favorite-add-btn {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.favorite-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 48px 24px;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 8px;
}

.empty-state-message {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.empty-state-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.empty-state-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-order-card {
  height: 200px;
  margin-bottom: 16px;
}

.skeleton-product-card {
  min-width: 200px;
  height: 280px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .dashboard-welcome h2 {
    font-size: 24px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .quick-action-card {
    padding: 20px 12px;
  }

  .quick-action-icon {
    font-size: 28px;
  }

  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-product-image {
    width: 100%;
    height: 120px;
  }

  .order-card-actions {
    flex-direction: column;
  }

  .progress-labels {
    font-size: 10px;
  }

  .favorites-carousel {
    gap: 12px;
  }

  .favorite-product-card {
    min-width: 160px;
  }

  .order-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
  }
}


/* =============================================
   LUXURY DASHBOARD STYLES - Phase 1 Complete
   ============================================= */

/* Dashboard Welcome - Luxury Style */
.dashboard-welcome {
  margin-bottom: var(--space-xl) !important;
  padding-bottom: var(--space-m) !important;
  border-bottom: 1px solid var(--luxury-border) !important;
}

.dashboard-welcome h2 {
  font-family: var(--font-serif) !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  letter-spacing: -0.4px !important;
  color: var(--luxury-text-primary) !important;
  margin-bottom: var(--space-xs) !important;
}

.dashboard-subtitle {
  font-size: 16px !important;
  color: var(--luxury-text-secondary) !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* Dashboard Sections - Luxury Style */
.dashboard-section {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: var(--space-xl) !important;
  box-shadow: none !important;
}

.section-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: var(--space-m) !important;
}

.section-header h3 {
  font-family: var(--font-serif) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: var(--luxury-text-primary) !important;
  margin: 0 !important;
  letter-spacing: -0.2px !important;
}

.section-badge {
  background: var(--luxury-rose-gold) !important;
  color: white !important;
  padding: 4px 12px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: var(--font-accent) !important;
  letter-spacing: 0.5px !important;
}

.section-link {
  background: none !important;
  border: none !important;
  color: var(--luxury-rose-gold) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: color var(--transition-base) !important;
  font-family: var(--font-sans) !important;
}

.section-link:hover {
  color: var(--luxury-burgundy) !important;
}

/* Active Orders Container - Luxury Style */
.active-orders-container {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-s) !important;
}

.active-order-card {
  border: 1px solid var(--luxury-border) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-m) !important;
  transition: all var(--transition-base) !important;
  background: var(--luxury-card-bg) !important;
}

.active-order-card:hover {
  border-color: var(--luxury-rose-gold) !important;
  box-shadow: var(--luxury-shadow-md) !important;
  transform: translateY(-2px) !important;
}

.order-card-header {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-s) !important;
  margin-bottom: var(--space-s) !important;
}

.order-product-image {
  width: 80px !important;
  height: 80px !important;
  border-radius: var(--radius-sm) !important;
  object-fit: cover !important;
  border: 1px solid var(--luxury-border) !important;
}

.order-card-info {
  flex: 1 !important;
}

.order-card-info .order-number {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--luxury-text-primary) !important;
  margin-bottom: 4px !important;
  font-family: var(--font-sans) !important;
}

.order-card-info .order-summary {
  font-size: 14px !important;
  color: var(--luxury-text-secondary) !important;
  margin-bottom: var(--space-xs) !important;
}

.order-progress {
  margin: var(--space-s) 0 !important;
}

.progress-bar {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-xs) !important;
  margin-bottom: var(--space-xs) !important;
}

.progress-step {
  flex: 1 !important;
  height: 3px !important;
  background: var(--luxury-warm-grey) !important;
  border-radius: 2px !important;
  position: relative !important;
  transition: all var(--transition-smooth) !important;
}

.progress-step.completed {
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%) !important;
}

.progress-step.active {
  background: var(--luxury-rose-gold) !important;
  animation: luxuryPulse 2s ease-in-out infinite !important;
}

@keyframes luxuryPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.progress-labels {
  display: flex !important;
  justify-content: space-between !important;
  font-size: 11px !important;
  color: var(--luxury-text-muted) !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.progress-label {
  flex: 1 !important;
  text-align: center !important;
}

.progress-label.active {
  color: var(--luxury-rose-gold) !important;
  font-weight: 600 !important;
}

.order-delivery-info {
  background: var(--luxury-ivory) !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--space-s) !important;
  margin: var(--space-s) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-xs) !important;
}

.delivery-time,
.delivery-amount {
  font-size: 14px !important;
  color: var(--luxury-text-secondary) !important;
}

.order-card-actions {
  display: flex !important;
  gap: var(--space-xs) !important;
  margin-top: var(--space-s) !important;
}

.order-action-btn {
  flex: 1 !important;
  padding: 12px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
  border: none !important;
}

.order-action-btn.primary {
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%) !important;
  color: white !important;
}

.order-action-btn.primary:hover {
  box-shadow: var(--luxury-shadow-md) !important;
  transform: translateY(-2px) !important;
}

.order-action-btn.secondary {
  background: transparent !important;
  color: var(--luxury-text-secondary) !important;
  border: 1px solid var(--luxury-border) !important;
}

.order-action-btn.secondary:hover {
  background: var(--luxury-ivory) !important;
  border-color: var(--luxury-rose-gold) !important;
  color: var(--luxury-rose-gold) !important;
}

/* Quick Actions Grid - Luxury Style */
.quick-actions-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--space-s) !important;
}

.quick-action-card {
  background: var(--luxury-card-bg) !important;
  border: 1px solid var(--luxury-border) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-m) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: var(--space-xs) !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
  text-decoration: none !important;
  position: relative !important;
}

.quick-action-card:hover {
  border-color: var(--luxury-rose-gold) !important;
  box-shadow: var(--luxury-shadow-sm) !important;
  transform: translateY(-2px) !important;
}

.quick-action-icon {
  font-size: 32px !important;
  line-height: 1 !important;
}

.quick-action-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--luxury-text-primary) !important;
  font-family: var(--font-sans) !important;
  text-align: center !important;
}

.quick-action-badge {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  background: var(--luxury-burgundy) !important;
  color: white !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  font-family: var(--font-accent) !important;
}

/* Order Filters - Luxury Style */
.order-filters {
  display: flex !important;
  gap: var(--space-xs) !important;
  margin-bottom: var(--space-m) !important;
}

.filter-btn {
  padding: 8px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  font-family: var(--font-sans) !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
  background: transparent !important;
  color: var(--luxury-text-secondary) !important;
  border: 1px solid var(--luxury-border) !important;
}

.filter-btn:hover {
  background: var(--luxury-ivory) !important;
  border-color: var(--luxury-rose-gold) !important;
  color: var(--luxury-rose-gold) !important;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%) !important;
  color: white !important;
  border-color: transparent !important;
}

/* Recent Orders Container - Luxury Style */
.recent-orders-container {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-s) !important;
}

.recent-order-card {
  background: var(--luxury-card-bg) !important;
  border: 1px solid var(--luxury-border) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-m) !important;
  transition: all var(--transition-base) !important;
}

.recent-order-card:hover {
  box-shadow: var(--luxury-shadow-sm) !important;
}

.recent-order-card .order-date {
  font-size: 12px !important;
  color: var(--luxury-text-muted) !important;
  margin-bottom: var(--space-xs) !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.order-item {
  display: flex !important;
  gap: var(--space-s) !important;
  margin-bottom: var(--space-s) !important;
}

.order-item-image {
  width: 64px !important;
  height: 64px !important;
  border-radius: var(--radius-sm) !important;
  object-fit: cover !important;
  border: 1px solid var(--luxury-border) !important;
}

.order-item-info {
  flex: 1 !important;
}

.order-item-name {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--luxury-text-primary) !important;
  margin-bottom: 4px !important;
  font-family: var(--font-sans) !important;
}

.order-item-details {
  font-size: 13px !important;
  color: var(--luxury-text-secondary) !important;
  margin-bottom: var(--space-xs) !important;
}

.order-status-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 10px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.order-status-badge.delivered {
  background: rgba(168, 181, 160, 0.1) !important;
  color: var(--luxury-sage) !important;
  border: 1px solid var(--luxury-sage) !important;
}

.order-status-badge.cancelled {
  background: rgba(139, 64, 73, 0.1) !important;
  color: var(--luxury-burgundy) !important;
  border: 1px solid var(--luxury-burgundy) !important;
}

.order-status-badge.pending {
  background: rgba(212, 175, 122, 0.1) !important;
  color: var(--luxury-rose-gold) !important;
  border: 1px solid var(--luxury-rose-gold) !important;
}

.order-item-actions {
  display: flex !important;
  gap: var(--space-xs) !important;
}

.order-item-btn {
  padding: 8px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
  border: none !important;
}

.order-item-btn.primary {
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%) !important;
  color: white !important;
}

.order-item-btn.primary:hover {
  box-shadow: var(--luxury-shadow-sm) !important;
  transform: translateY(-1px) !important;
}

.order-item-btn.secondary {
  background: transparent !important;
  color: var(--luxury-text-secondary) !important;
  border: 1px solid var(--luxury-border) !important;
}

.order-item-btn.secondary:hover {
  background: var(--luxury-ivory) !important;
  border-color: var(--luxury-rose-gold) !important;
  color: var(--luxury-rose-gold) !important;
}

/* Favorites Carousel - Luxury Style */
.favorites-carousel {
  display: flex !important;
  gap: var(--space-s) !important;
  overflow-x: auto !important;
  padding-bottom: var(--space-xs) !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--luxury-rose-gold) var(--luxury-warm-grey) !important;
}

.favorites-carousel::-webkit-scrollbar {
  height: 6px !important;
}

.favorites-carousel::-webkit-scrollbar-track {
  background: var(--luxury-warm-grey) !important;
  border-radius: 3px !important;
}

.favorites-carousel::-webkit-scrollbar-thumb {
  background: var(--luxury-rose-gold) !important;
  border-radius: 3px !important;
}

.favorite-product-card {
  flex: 0 0 200px !important;
  background: var(--luxury-card-bg) !important;
  border: 1px solid var(--luxury-border) !important;
  border-radius: var(--radius-md) !important;
  padding: var(--space-s) !important;
  transition: all var(--transition-base) !important;
}

.favorite-product-card:hover {
  box-shadow: var(--luxury-shadow-sm) !important;
  transform: translateY(-2px) !important;
}

.favorite-product-image {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: var(--space-xs) !important;
  border: 1px solid var(--luxury-border) !important;
}

.favorite-product-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--luxury-text-primary) !important;
  margin-bottom: 4px !important;
  font-family: var(--font-sans) !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.favorite-product-price {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--luxury-rose-gold) !important;
  margin-bottom: var(--space-xs) !important;
  font-family: var(--font-sans) !important;
}

.favorite-add-btn {
  width: 100% !important;
  padding: 8px 12px !important;
  background: transparent !important;
  color: var(--luxury-rose-gold) !important;
  border: 1px solid var(--luxury-rose-gold) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: pointer !important;
  transition: all var(--transition-base) !important;
}

.favorite-add-btn:hover {
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%) !important;
  color: white !important;
  border-color: transparent !important;
}

/* Empty States - Luxury Style */
.empty-state {
  text-align: center !important;
  padding: var(--space-xxl) var(--space-m) !important;
}

.empty-state-icon {
  font-size: 64px !important;
  line-height: 1 !important;
  margin-bottom: var(--space-m) !important;
  opacity: 0.3 !important;
}

.empty-state-title {
  font-family: var(--font-serif) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: var(--luxury-text-primary) !important;
  margin-bottom: var(--space-xs) !important;
}

.empty-state-message {
  font-size: 15px !important;
  color: var(--luxury-text-secondary) !important;
  margin-bottom: var(--space-m) !important;
}

.empty-state-btn {
  display: inline-block !important;
  padding: 12px 24px !important;
  background: linear-gradient(135deg, var(--luxury-rose-gold) 0%, var(--luxury-burgundy) 100%) !important;
  color: white !important;
  border-radius: var(--radius-sm) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: var(--font-accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-decoration: none !important;
  transition: all var(--transition-base) !important;
  border: none !important;
  cursor: pointer !important;
}

.empty-state-btn:hover {
  box-shadow: var(--luxury-shadow-md) !important;
  transform: translateY(-2px) !important;
}

/* Loading Skeletons - Luxury Style */
.skeleton {
  background: linear-gradient(90deg, var(--luxury-warm-grey) 25%, var(--luxury-ivory) 50%, var(--luxury-warm-grey) 75%) !important;
  background-size: 200% 100% !important;
  animation: luxuryShimmer 1.5s ease-in-out infinite !important;
  border-radius: var(--radius-sm) !important;
}

@keyframes luxuryShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-order-card {
  height: 200px !important;
  margin-bottom: var(--space-s) !important;
}

.skeleton-product-card {
  height: 300px !important;
  flex: 0 0 200px !important;
}


/* =============================================
   PRODUCT DETAIL PAGE - PROFESSIONAL UX/UI UPGRADE
   ============================================= */

/* Category Tag */
.product-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}

/* Product Title Enhancement */
.product-info-section .product-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

/* Price Section Enhancement */
.product-price-section {
  /* margin controlled by parent */
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.price-old {
  font-size: 20px;
  color: var(--text-muted);
  text-decoration: line-through;
  font-weight: 500;
}

.price-current {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

/* Stock Status Enhancement */
.product-stock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  background: #f0fdf4;
  color: #10b981;
  border: 1px solid #d1fae5;
}

.product-stock-status svg {
  flex-shrink: 0;
}

.product-stock-status.low-stock {
  background: #fffbeb;
  color: #f59e0b;
  border-color: #fde68a;
}

.product-stock-status.out-of-stock {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fecaca;
}

/* Short Description */
.product-short-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 42px;
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-badge-text strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.trust-badge-text span {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Product Divider */
.product-divider {
  height: 1px;
  background: var(--border);
}

/* Product Label */
.product-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Variants Section Enhancement */
.product-variants-section {
  /* margin controlled by parent */
}

.product-select {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 500;
  color: var(--text-dark);
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-select:hover {
  border-color: var(--primary);
}

.product-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Quantity Section Enhancement */
.product-quantity-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-selector-modern {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  flex-shrink: 0;
}

.qty-btn-modern {
  width: 40px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-dark);
}

.qty-btn-modern:hover {
  background: #fafafa;
  color: var(--primary);
}

.qty-btn-modern:active {
  background: #f0f0f0;
}

.qty-input-modern {
  width: 50px;
  height: 46px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: 'League Spartan', sans-serif;
  color: var(--text-dark);
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: white;
}

.qty-input-modern:focus {
  outline: none;
}

/* Modern Action Buttons */
.product-actions-modern {
  display: flex;
  gap: 10px;
}

.btn-add-to-cart-modern {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.btn-add-to-cart-modern:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.btn-add-to-cart-modern:active:not(:disabled) {
  transform: translateY(0);
}

.btn-add-to-cart-modern:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-add-to-cart-modern svg {
  flex-shrink: 0;
}

.btn-wishlist-modern {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-dark);
}

.btn-wishlist-modern:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-wishlist-modern.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Meta Info Enhancement */
.product-meta-modern {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.meta-label-modern {
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 80px;
}

.meta-value-modern {
  color: var(--text-dark);
}

.meta-link-modern {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.meta-link-modern:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
}

.share-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Gallery Enhancement */
.gallery-main {
  position: relative;
  background: #fafafa;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-main:hover img {
  transform: scale(1.05);
}

.gallery-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.product-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: #ef4444;
  color: white;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-badge-new {
  background: #10b981;
}

.product-badge-featured {
  background: var(--primary);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) #f0f0f0;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border: 3px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #fafafa;
}

.gallery-thumb:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sticky Mobile Cart Button */
.sticky-mobile-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  justify-content: space-between;
}

/* Logout Confirmation Modal */
.logout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.logout-modal.active {
  display: flex;
}

.logout-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.logout-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
  text-align: center;
}

.logout-modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
}

.logout-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.logout-modal-text {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.logout-modal-actions {
  display: flex;
  gap: 12px;
}

.logout-modal-btn {
  flex: 1;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.logout-modal-btn-cancel {
  background: #f3f4f6;
  color: var(--text);
}

.logout-modal-btn-cancel:hover {
  background: #e5e7eb;
}

.logout-modal-btn-confirm {
  background: #dc2626;
  color: white;
}

.logout-modal-btn-confirm:hover {
  background: #b91c1c;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sticky-cart-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.sticky-price-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticky-price-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.sticky-cart-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'League Spartan', sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sticky-cart-btn svg {
  flex-shrink: 0;
}

.sticky-cart-btn span {
  white-space: nowrap;
}

.sticky-cart-btn:active {
  transform: scale(0.98);
}

/* Tabs Enhancement - Solution A: Modern Pill Tabs */
.tabs-header {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  padding: 6px;
  background: #f8f8f8;
  border-radius: 50px;
  width: fit-content;
}

.tab-btn {
  position: relative;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'League Spartan', sans-serif;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.tab-btn:hover:not(.active) {
  color: var(--text-dark);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.tab-btn.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.tab-btn:active {
  transform: translateY(0);
}

/* Remove old underline animation */
.tab-btn::after {
  display: none;
}

/* Tab Content Animation */
.tab-panel {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Animation for Button */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .trust-badges-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  
  .product-info-section .product-title {
    font-size: 28px;
  }
  
  .price-current {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .product-info-section .product-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .price-current {
    font-size: 26px;
  }
  
  .price-old {
    font-size: 18px;
  }
  
  .trust-badges-bar {
    padding: 14px;
    gap: 12px;
    margin: 16px 0;
  }
  
  .trust-badge {
    gap: 8px;
  }
  
  /* Purchase Group Mobile Styling */
  .product-purchase-group {
    gap: 14px;
  }
  
  .product-actions-modern {
    flex-direction: row;
    align-items: center;
  }
  
  .btn-wishlist-modern {
    width: 56px;
    height: 52px;
    flex-shrink: 0;
  }
  
  .gallery-thumb {
    width: 70px;
    height: 70px;
  }
  
  .sticky-mobile-cart {
    display: flex !important;
  }
  
  /* Add padding to body to prevent content being hidden behind sticky button */
  body.product-detail-page {
    padding-bottom: 80px;
  }
  
  .product-quantity-section {
    flex-direction: row;
    gap: 12px;
  }
  
  /* Tabs Mobile Responsive */
  .tabs-header {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px;
  }
  
  .tabs-header::-webkit-scrollbar {
    display: none;
  }
  
  .tab-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  /* Reviews Mobile */
  .reviews-summary-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .review-form-container {
    padding: 24px 16px;
  }
}

@media (min-width: 769px) {
  .sticky-mobile-cart {
    display: none !important;
  }
}


/* ============================================
   ORDER DETAILS MODAL - Modern Design
   ============================================ */

/* Modal Overlay & Container */
.order-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.order-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.order-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modal Header */
.order-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 32px;
  border-bottom: 2px solid #f0f0f0;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.order-modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  font-family: 'League Spartan', sans-serif;
}

.order-modal-date {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.order-modal-close {
  background: #f5f5f5;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.order-modal-close:hover {
  background: #e5e5e5;
  transform: rotate(90deg);
}

.order-modal-close svg {
  color: var(--text-secondary);
}

/* Pill Tabs - Matching Product Detail Style */
.order-tabs-header {
  display: flex;
  gap: 8px;
  padding: 20px 32px;
  background: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
  overflow-x: auto;
  scrollbar-width: none;
}

.order-tabs-header::-webkit-scrollbar {
  display: none;
}

.order-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'League Spartan', sans-serif;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.order-tab-btn svg {
  flex-shrink: 0;
}

.order-tab-btn:hover:not(.active) {
  color: var(--text-dark);
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-1px);
}

.order-tab-btn.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

/* Tab Content */
.order-tabs-content {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.order-tab-panel {
  display: none;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-tab-panel.active {
  display: block;
}

/* Tab 1: Informations Grid */
.order-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.order-info-card {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.2s ease;
}

.order-info-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.order-info-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 16px 0;
  font-family: 'League Spartan', sans-serif;
}

.order-info-title svg {
  color: var(--primary);
  flex-shrink: 0;
}

.order-info-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

/* Status Badge */
.order-status-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.order-status-badge.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.order-status-badge.status-processing {
  background: #dbeafe;
  color: #1e40af;
}

.order-status-badge.status-shipped {
  background: #e0e7ff;
  color: #3730a3;
}

.order-status-badge.status-delivered,
.order-status-badge.status-livrée {
  background: #d1fae5;
  color: #065f46;
}

.order-status-badge.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* Price Summary */
.order-price-summary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-price-summary .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.order-price-summary .price-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-row-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding-top: 12px;
  border-top: 2px solid var(--primary);
}

/* Tab 2: Products List */
.order-products-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-product-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.order-product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.order-product-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #e5e5e5;
}

.order-product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  font-family: 'League Spartan', sans-serif;
}

.order-product-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.order-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.order-product-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

/* Review Button */
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'League Spartan', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-review-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-review-primary:hover {
  background: #8a6a28;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-review-success {
  background: #10b981;
  color: white;
  cursor: default;
}

.btn-review-disabled {
  background: #e5e5e5;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Tab 3: Tracking Timeline */
.order-tracking-timeline {
  position: relative;
  padding-left: 40px;
}

.timeline-item {
  position: relative;
  padding-bottom: 32px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 8px;
  bottom: -8px;
  width: 2px;
  background: #e5e5e5;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e5e5e5;
  transition: all 0.3s ease;
}

.timeline-item.active .timeline-dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

.timeline-content {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 16px 20px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  font-family: 'League Spartan', sans-serif;
}

.timeline-date {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px 0;
}

.timeline-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   REVIEW MODAL - Modern Design
   ============================================ */

.review-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.review-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.review-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 2px solid #f0f0f0;
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.review-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  font-family: 'League Spartan', sans-serif;
}

.review-modal-close {
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-modal-close:hover {
  background: #e5e5e5;
  transform: rotate(90deg);
}

.review-modal-body {
  padding: 28px;
  overflow-y: auto;
  max-height: calc(90vh - 100px);
}

/* Review Product Info */
.review-product-info {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
  margin-bottom: 28px;
  border: 1px solid #e5e5e5;
}

.review-product-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #e5e5e5;
}

.review-product-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px 0;
  font-family: 'League Spartan', sans-serif;
}

.review-product-category {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Review Form */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.review-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'League Spartan', sans-serif;
}

.required {
  color: #ef4444;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 8px;
}

.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.star-btn svg {
  color: #d1d5db;
  transition: all 0.2s ease;
}

.star-btn:hover svg,
.star-btn.active svg {
  color: #fbbf24;
  fill: #fbbf24;
  transform: scale(1.1);
}

.rating-text {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Textarea */
.review-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'League Spartan', sans-serif;
  color: var(--text-dark);
  background: #fafafa;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  resize: vertical;
  min-height: 120px;
  transition: all 0.2s ease;
}

.review-form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.review-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* Form Message */
.review-form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
}

.review-form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.review-form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

/* Form Actions */
.review-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 8px;
}

.btn-secondary {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'League Spartan', sans-serif;
  color: var(--text-dark);
  background: #f5f5f5;
  border: 2px solid #e5e5e5;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: #e5e5e5;
  border-color: #d1d5db;
}

/* Spinner Animation */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .order-modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .order-modal-header {
    padding: 20px;
  }

  .order-modal-header h2 {
    font-size: 20px;
  }

  .order-tabs-header {
    padding: 16px 20px;
  }

  .order-tabs-content {
    padding: 20px;
  }

  .order-info-grid {
    grid-template-columns: 1fr;
  }

  .order-product-card {
    flex-direction: column;
  }

  .order-product-img {
    width: 100%;
    height: 200px;
  }

  .review-modal-content {
    max-width: 100%;
    border-radius: 16px;
  }

  .review-modal-body {
    padding: 20px;
  }

  .review-form-actions {
    flex-direction: column-reverse;
  }

  .review-form-actions button {
    width: 100%;
  }
}

/* Empty State */
.order-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.order-empty-state svg {
  width: 64px;
  height: 64px;
  color: #d1d5db;
  margin-bottom: 16px;
}

.order-empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
}

.order-empty-state p {
  font-size: 14px;
  margin: 0;
}


/* View Order Details Button */
.btn-view-order-details {
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'League Spartan', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-view-order-details:hover {
  background: #8a6a28;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-view-order-details:active {
  transform: translateY(0);
}

/* Order Footer Layout */
.order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 2px solid #f0f0f0;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .order-footer {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-view-order-details {
    width: 100%;
  }
}


/* Review Verified Purchase Badge */
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 6px 12px;
  background: #d1fae5;
  color: #065f46;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid #10b981;
}
