/* ================================================================
   Secret de Beauté — E-Shop Styles
   Premium cosmetics boutique — Mobile-first responsive design
   ================================================================ */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Gold palette */
  --gold:            #8C6F22;
  --gold-light:      #E8D48B;
  --gold-dark:       #AA7C11;
  --gold-metallic:   #C5A028;
  --gold-glow:       rgba(212, 175, 55, 0.15);
  --gold-glow-strong:rgba(212, 175, 55, 0.3);

  /* Rose palette */
  --rose:            #F4C2C2;
  --rose-light:      #FFF0F0;
  --rose-medium:     #E8A0A0;
  --rose-dark:       #C97878;

  /* Neutrals */
  --white:           #FFFDFD;
  --off-white:       #FBF9F7;
  --cream:           #F5F0EB;
  --gray-100:        #F0EDEA;
  --gray-200:        #E0DBD5;
  --gray-300:        #C5BEB6;
  --gray-400:        #9E9689;
  --gray-500:        #7A7268;
  --gray-600:        #5C554D;
  --gray-700:        #3E3832;
  --gray-800:        #2A2520;
  --gray-900:        #1A1614;

  /* Semantic */
  --bg-primary:      var(--white);
  --bg-secondary:    var(--off-white);
  --bg-card:         rgba(255, 253, 251, 0.85);
  --text-primary:    var(--gray-800);
  --text-secondary:  var(--gray-500);
  --text-heading:    var(--gray-900);
  --border:          var(--gray-200);
  --border-light:    rgba(212, 175, 55, 0.2);

  /* Status */
  --success:         #4CAF50;
  --success-bg:      #E8F5E9;
  --warning:         #FF9800;
  --warning-bg:      #FFF3E0;
  --error:           #E53935;
  --error-bg:        #FFEBEE;
  --info:            #2196F3;
  --info-bg:         #E3F2FD;

  /* Typography */
  --font-heading:    'Playfair Display', Georgia, serif;
  --font-body:       'Montserrat', 'Segoe UI', sans-serif;
  --font-accent:     'Alex Brush', cursive;

  /* Sizing */
  --header-height:   72px;
  --max-width:       1280px;
  --radius-sm:       8px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --radius-xl:       28px;

  /* Shadows */
  --shadow-sm:       0 2px 8px rgba(26, 22, 20, 0.06);
  --shadow-md:       0 4px 20px rgba(26, 22, 20, 0.08);
  --shadow-lg:       0 8px 40px rgba(26, 22, 20, 0.12);
  --shadow-gold:     0 4px 20px rgba(212, 175, 55, 0.15);
  --shadow-card:     0 2px 12px rgba(26, 22, 20, 0.05), 0 0 0 1px rgba(212, 175, 55, 0.08);

  /* Transitions */
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   0.2s;
  --duration-normal: 0.35s;
  --duration-slow:   0.5s;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: #f5c7cd;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  z-index: -10;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 40%, #fff6f7 0%, #f5c7cd 100%);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-heading); line-height: 1.2; }

/* ---- Utilities ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- Ambient Glowing Dust Particles (Matching Index Page) ---- */
.glowing-dust-container {
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.dust-particle {
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(circle, rgba(251, 245, 183, 0.85) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  animation: float-particle 14s ease-in-out infinite alternate;
  position: absolute;
}

@keyframes float-particle {
  0%   { transform: translateY(0) scale(0.9); opacity: 0.3; }
  50%  { transform: translateY(-40px) translateX(20px) scale(1.1); opacity: 0.7; }
  100% { transform: translateY(-80px) translateX(-15px) scale(0.95); opacity: 0.4; }
}

/* ---- Glassmorphism Cards ---- */
.glass-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(220, 180, 185, 0.25);
}

.glass-card-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.25);
}

/* ---- Metallic Gold Text Gradient ---- */
.text-gold-gradient {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #b38728 0%, #fbf5b7 25%, #daa520 50%, #fbf5b7 75%, #aa7c11 100%) 0 0 / 200%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gold-shine 6s linear infinite;
}

@keyframes gold-shine {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---- Gold Shimmer Buttons ---- */
.btn-gold-shimmer {
  background: linear-gradient(135deg, #8C6F22 0%, #aa7c11 100%);
  color: #FFFDFD;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
}

.btn-gold-shimmer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: all 0.6s ease;
}

.btn-gold-shimmer:hover::before {
  left: 150%;
}

.btn-gold-shimmer:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}


/* ================================================================
   LUXURY MARQUEE TICKER
   ================================================================ */
.luxury-ticker {
  background: linear-gradient(90deg, #1A1614 0%, #2A2520 50%, #1A1614 100%);
  color: var(--gold-light);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1002;
}
.ticker-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}
.ticker-content span {
  display: inline-block;
  padding: 0 30px;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.demo-banner {
  background: linear-gradient(90deg, #A71D1D 0%, #C62828 50%, #8E0000 100%);
  color: #FFFDFD;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  padding: 8px 40px 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--duration-fast) var(--ease-out);
}
.demo-banner.hidden {
  display: none !important;
}
.demo-banner svg { flex-shrink: 0; color: #FFF; }
.demo-banner-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 0.9rem;
  line-height: 1;
  padding: 4px;
  transition: color var(--duration-fast);
}
.demo-banner-close:hover { color: #FFF; }

/* ================================================================
   HEADER
   ================================================================ */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 253, 0.94);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
  transition: box-shadow var(--duration-normal) var(--ease-out);
}

.shop-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.header-logo-text {
  font-family: var(--font-accent);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
  line-height: 1;
}
.header-logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-dark);
  background: var(--gold-glow);
}
.nav-link svg { width: 18px; height: 18px; }

.nav-link .nav-text { display: none; }
@media (min-width: 768px) {
  .nav-link .nav-text { display: inline; }
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--gold);
  color: var(--gray-900);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease-spring);
}
.cart-badge.visible { transform: scale(1); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
}
.mobile-menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 600px) {
  .header-logo-text { font-size: 0.95rem; }
  .header-logo-sub { display: none; }
}

/* ================================================================
   MAIN CONTENT AREA
   ================================================================ */
.shop-main {
  min-height: calc(100vh - var(--header-height) - 200px);
  padding: 30px 0 60px;
}

/* ================================================================
   HERO SECTION (Catalogue)
   ================================================================ */
.shop-hero {
  text-align: center;
  padding: 50px 20px 40px;
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroGlow {
  0%   { transform: translate(-10%, -10%) scale(1); opacity: 0.5; }
  100% { transform: translate(10%, 10%) scale(1.1); opacity: 0.8; }
}

.shop-hero h1 {
  font-family: var(--font-accent);
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--gold-dark);
  margin-bottom: 4px;
  position: relative;
  line-height: 1.1;
}
.shop-hero .hero-accent {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.shop-hero p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 16px auto;
  position: relative;
}

/* ================================================================
   BENTO GRID CARDS (ADVERTISING / FEATURED BANNERS)
   ================================================================ */
.bento-section {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 20px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: 1fr; }
}

.bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(135deg, #1A1614 0%, #2A2520 100%);
  color: var(--white);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}
.bento-card:before {
  content: "";
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.25), transparent 60%);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  position: absolute;
  inset: 0;
}
.bento-card:hover:before {
  opacity: 1;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.3);
  border-color: var(--gold);
}
.bento-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: transform var(--duration-slow) var(--ease-out);
}
.bento-card:hover .bento-card-bg {
  transform: scale(1.06);
}
.bento-card-content {
  position: relative;
  z-index: 2;
}
.bento-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(212, 175, 55, 0.9);
  color: #1A1614;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bento-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #FFFDFD;
  margin-bottom: 6px;
  line-height: 1.2;
}
.bento-subtitle {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.bento-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap var(--duration-fast);
}
.bento-card:hover .bento-btn {
  gap: 12px;
  color: var(--gold);
}
.bento-span-2 {
  grid-column: span 2;
}
@media (max-width: 900px) {
  .bento-span-2 { grid-column: span 1; }
}

/* ================================================================
   CATEGORY FILTERS
   ================================================================ */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 0 20px 30px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--bg-secondary);
  border: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}
.filter-btn:hover {
  color: var(--gold-dark);
  border-color: var(--gold-glow-strong);
  background: var(--gold-glow);
}
.filter-btn.active {
  color: var(--gray-900);
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

/* ================================================================
   SEARCH & SORT CONTROLS
   ================================================================ */
.catalogue-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto 24px;
  padding: 0 20px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 400px;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 0.85rem;
  transition: all var(--duration-fast);
  outline: none;
}
.search-box input:focus {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray-400);
}

.sort-select {
  padding: 10px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  outline: none;
  cursor: pointer;
  transition: all var(--duration-fast);
}
.sort-select:focus { border-color: var(--gold); }

/* ================================================================
   WISHLIST HEART BUTTON
   ================================================================ */
.btn-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 253, 253, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}
.btn-wishlist:hover {
  transform: scale(1.1);
  color: #E53935;
  background: #fff;
}
.btn-wishlist.active {
  color: #E53935;
  background: #fff;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25);
}
.btn-wishlist svg { width: 18px; height: 18px; fill: currentColor; }

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Product Card */
.product-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(220, 180, 185, 0.22);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.22), 0 4px 12px rgba(220, 180, 185, 0.3);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--rose-light) 100%);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}
.product-card:hover .product-card-image img {
  transform: scale(1.06);
}

/* Product image placeholder */
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--gold);
  font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 240, 240, 0.8) 0%, rgba(245, 240, 235, 0.9) 50%, rgba(245, 199, 205, 0.4) 100%);
}
.product-placeholder span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Badges */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  z-index: 2;
}
.badge-sale {
  background: var(--error);
  color: #fff;
}
.badge-featured {
  background: linear-gradient(135deg, #8C6F22 0%, #aa7c11 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}
.badge-out {
  background: var(--gray-600);
  color: #fff;
}

.product-card-body {
  padding: 16px 18px 18px;
}

.product-card-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.product-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

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

.product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-current {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.price-compare {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  background: linear-gradient(135deg, #8C6F22 0%, #aa7c11 100%);
  color: #FFFDFD;
  font-size: 0.78rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  border: none;
}
.btn-add-cart::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: all 0.6s ease;
}
.btn-add-cart:hover::before {
  left: 150%;
}
.btn-add-cart:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45);
}
.btn-add-cart:hover {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: var(--shadow-gold);
  transform: scale(1.03);
}
.btn-add-cart:active { transform: scale(0.97); }
.btn-add-cart svg { width: 16px; height: 16px; }
.btn-add-cart.disabled {
  background: var(--gray-200);
  color: var(--gray-400);
  cursor: not-allowed;
  pointer-events: none;
}

/* ================================================================
   PRODUCT DETAIL (Modal/Page)
   ================================================================ */
.product-detail {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-detail-image {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream) 0%, var(--rose-light) 100%);
}
.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info { display: flex; flex-direction: column; gap: 16px; }

.detail-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.detail-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}
.detail-short-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.detail-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.detail-compare-price {
  font-size: 1rem;
  color: var(--gray-400);
  text-decoration: line-through;
}
.detail-tva {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-style: italic;
}

.detail-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.detail-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.stock-dot.in-stock { background: var(--success); }
.stock-dot.out-of-stock { background: var(--error); }

.detail-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  background: var(--bg-secondary);
  transition: all var(--duration-fast);
}
.qty-btn:hover { background: var(--gold-glow); color: var(--gold-dark); }
.qty-value {
  width: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  outline: none;
  background: transparent;
}

.btn-add-cart-lg {
  flex: 1;
  min-width: 200px;
  padding: 14px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-gold);
}
.btn-add-cart-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
}
.btn-add-cart-lg:active { transform: translateY(0); }
.btn-add-cart-lg svg { width: 20px; height: 20px; }

/* Back button */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--gray-500);
  transition: all var(--duration-fast);
}
.btn-back:hover { color: var(--gold-dark); background: var(--gold-glow); }
.btn-back svg { width: 16px; height: 16px; }

/* ================================================================
   CART PAGE
   ================================================================ */
.cart-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.cart-page h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
  text-align: center;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}
.cart-empty svg {
  width: 64px;
  height: 64px;
  color: var(--gray-300);
  margin: 0 auto 20px;
}
.cart-empty p {
  margin-bottom: 20px;
}

.cart-items { display: flex; flex-direction: column; gap: 16px; }

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: center;
  transition: all var(--duration-fast);
}
.cart-item:hover { box-shadow: var(--shadow-md); }

.cart-item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.cart-item-qty button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  background: var(--bg-secondary);
}
.cart-item-qty button:hover { background: var(--gold-glow); color: var(--gold-dark); }
.cart-item-qty span {
  padding: 0 12px;
  font-weight: 600;
  font-size: 0.85rem;
}

.cart-item-total {
  font-weight: 600;
  color: var(--gold-dark);
  min-width: 70px;
  text-align: right;
  font-size: 0.95rem;
}

.btn-remove-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all var(--duration-fast);
}
.btn-remove-item:hover { color: var(--error); background: var(--error-bg); }
.btn-remove-item svg { width: 16px; height: 16px; }

/* Cart summary */
.cart-summary {
  margin-top: 30px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}
.cart-summary-row.total {
  border-top: 2px solid var(--gold);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}
.cart-summary-row.total .cart-summary-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-dark);
}
.cart-tva-mention {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-style: italic;
  text-align: right;
  margin-top: 4px;
}

/* ================================================================
   SHIPPING SELECTION
   ================================================================ */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast);
}
.shipping-option:hover { border-color: var(--gold-glow-strong); background: var(--gold-glow); }
.shipping-option.selected {
  border-color: var(--gold);
  background: var(--gold-glow);
  box-shadow: var(--shadow-gold);
}
.shipping-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.shipping-option-info { flex: 1; }
.shipping-option-name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-heading);
}
.shipping-option-delay {
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.shipping-option-price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.checkout-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}
.checkout-page h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-align: center;
}
.checkout-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.checkout-section {
  margin-bottom: 30px;
}
.checkout-section h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.checkout-section h3 .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gray-900);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

/* ================================================================
   FORMS
   ================================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .full-width { grid-column: 1 / -1; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: #fff;
}
.form-group input::placeholder { color: var(--gray-300); }
.form-group .error-msg {
  font-size: 0.75rem;
  color: var(--error);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-gold);
  border: none;
  width: 100%;
  box-sizing: border-box;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled, .btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.btn-primary svg { width: 18px; height: 18px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  background: transparent;
  color: var(--gold-dark);
  font-size: 0.88rem;
  font-weight: 600;
  border: 2px solid var(--gold);
  transition: all var(--duration-fast) var(--ease-out);
  box-sizing: border-box;
}
.btn-secondary:hover {
  background: var(--gold-glow);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: all var(--duration-fast);
  box-sizing: border-box;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

/* ================================================================
   ACCOUNT PAGES
   ================================================================ */
.account-page {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.account-page h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 8px;
}
.account-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.auth-tabs {
  display: flex;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  padding: 4px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}
.auth-tab.active {
  background: #fff;
  color: var(--gold-dark);
  box-shadow: var(--shadow-sm);
}
.auth-tab:hover:not(.active) { color: var(--gold-dark); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Lien "Mot de passe oublié ?" */
.forgot-password-link {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 6px;
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
  transition: color var(--duration-fast);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}
.forgot-password-link:hover {
  color: var(--gold-dark);
  text-decoration-color: var(--gold-dark);
}

/* Texte d'intro dans le formulaire mot de passe oublié */
.forgot-intro {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.55;
  margin-bottom: 20px;
  text-align: center;
}


/* Profile page */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 600;
  flex-shrink: 0;
}
.profile-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
}
.profile-email {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ================================================================
   ORDERS PAGE
   ================================================================ */
.orders-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.orders-page h2 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 24px;
}

.orders-list { display: flex; flex-direction: column; gap: 16px; }

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-fast);
  cursor: pointer;
}
.order-card:hover { box-shadow: var(--shadow-md); }

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.order-number {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}
.order-status {
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.status-pending    { background: var(--warning-bg); color: var(--warning); }
.status-paid       { background: var(--success-bg); color: var(--success); }
.status-processing { background: var(--info-bg);    color: var(--info); }
.status-shipped    { background: #E8EAF6;           color: #3F51B5; }
.status-delivered  { background: var(--success-bg); color: var(--success); }
.status-cancelled  { background: var(--error-bg);   color: var(--error); }

.order-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.order-date {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.order-total {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold-dark);
}
.order-shipping-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ================================================================
   ORDER CONFIRMATION
   ================================================================ */
.confirmation-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}
.confirmation-page h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.confirmation-details {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  text-align: left;
  box-shadow: var(--shadow-card);
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--gray-800);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}
.toast.show {
  transform: translateX(0);
  opacity: 1;
}
.toast.success { background: #2E7D32; }
.toast.error   { background: #C62828; }
.toast.info    { background: #1565C0; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast-close {
  margin-left: auto;
  padding: 4px;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.toast-close:hover { color: #fff; }

/* ================================================================
   LOADING STATES
   ================================================================ */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ================================================================
   LUXURY ADMIN EXECUTIVE DASHBOARD
   ================================================================ */
.admin-hero-card {
  background: linear-gradient(135deg, #1A1614 0%, #2A2520 60%, #1A1614 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.admin-hero-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.admin-kpi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}
.admin-kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}
.admin-kpi-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 4px;
}
.admin-kpi-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.admin-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
.admin-table th {
  background: var(--off-white);
  padding: 14px 16px;
  font-weight: 600;
  color: var(--gray-700);
  border-bottom: 1.5px solid var(--border);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-fast);
}
.admin-table tr:hover td {
  background: rgba(212, 175, 55, 0.03);
}

/* ================================================================
   FOOTER
   ================================================================ */
.shop-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 40px 20px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.footer-links a {
  display: block;
  font-size: 0.82rem;
  padding: 4px 0;
  transition: color var(--duration-fast);
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 10px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-600);
  grid-column: 1 / -1;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-in {
  animation: fadeInUp 0.5s var(--ease-out) both;
}
.animate-fade {
  animation: fadeIn 0.4s var(--ease-out) both;
}
.animate-scale {
  animation: scaleIn 0.3s var(--ease-out) both;
}

/* Staggered card animations */
.product-card:nth-child(1)  { animation-delay: 0.05s; }
.product-card:nth-child(2)  { animation-delay: 0.1s; }
.product-card:nth-child(3)  { animation-delay: 0.15s; }
.product-card:nth-child(4)  { animation-delay: 0.2s; }
.product-card:nth-child(5)  { animation-delay: 0.25s; }
.product-card:nth-child(6)  { animation-delay: 0.3s; }
.product-card:nth-child(7)  { animation-delay: 0.35s; }
.product-card:nth-child(8)  { animation-delay: 0.4s; }
.product-card:nth-child(9)  { animation-delay: 0.45s; }
.product-card:nth-child(10) { animation-delay: 0.5s; }

/* Cart add animation */
@keyframes cartPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.cart-pop { animation: cartPop 0.4s var(--ease-spring); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    padding: 0 12px;
  }
  .product-card-body { padding: 12px 14px 14px; }
  .product-card-name { font-size: 0.9rem; }
  .product-card-desc { display: none; }
  .btn-add-cart span { display: none; }
  .btn-add-cart { padding: 8px; }

  .cart-item { flex-wrap: wrap; }
  .cart-item-actions { width: 100%; justify-content: space-between; }

  .shop-hero { padding: 30px 16px 24px; }
  .shop-hero h1 { font-size: 1.5rem; }

  .auth-card { padding: 24px 18px; }
}

@media (max-width: 360px) {
  .header-logo img { width: 36px; height: 36px; }
  .header-logo-text { font-size: 0.85rem; }
}

/* ================================================================
   CART SLIDE-OVER DRAWER (LUXURY OVERLAY)
   ================================================================ */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.65);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  box-shadow: -10px 0 40px rgba(0,0,0,0.25);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
}
.cart-drawer-overlay.open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
}
.cart-drawer-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--gold-dark);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-light);
  background: var(--off-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

/* ================================================================
   LUXURY QUICK VIEW MODAL
   ================================================================ */
.quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 10, 0.7);
  backdrop-filter: blur(10px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.quick-view-overlay.open {
  opacity: 1;
  visibility: visible;
}
.quick-view-modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px var(--gold-glow-strong);
  position: relative;
  transform: scale(0.92);
  transition: transform var(--duration-normal) var(--ease-spring);
}
.quick-view-overlay.open .quick-view-modal {
  transform: scale(1);
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .shop-header, .shop-footer, .demo-banner, .toast-container, .luxury-ticker { display: none; }
  .shop-main { padding: 0; }
  body { background: #fff; color: #000; }
}

/* ===== RGAA 4.1.2 — Accessibilité (patch 2026-07-27) ===== */
:focus-visible {
  outline: 3px solid #aa7c11 !important;
  outline-offset: 2px !important;
}

/* ================================================================
   ORDER COUNTDOWN TIMER — Alta visibilidad
   ================================================================ */
.order-countdown {
  position: relative;
  background: linear-gradient(135deg, #FFF4E5 0%, #FFE8C8 100%);
  border: 2px solid var(--warning, #f0a500);
  border-radius: var(--radius-md, 12px);
  padding: 14px 18px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #8a5a00;
  box-shadow: 0 2px 8px rgba(240, 165, 0, 0.15);
  overflow: hidden;
}

.order-countdown::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: var(--progress, 100%);
  background: linear-gradient(90deg, var(--warning, #f0a500) 0%, #ff7a00 100%);
  transition: width 1s linear;
}

.order-countdown .countdown-icon {
  display: inline-block;
  font-size: 1.3rem;
  margin-right: 6px;
  vertical-align: middle;
  animation: pulse-timer 2s ease-in-out infinite;
}

@keyframes pulse-timer {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.order-countdown .countdown-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: #8a5a00;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-countdown .countdown-timer {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 1.6rem;
  font-weight: 800;
  color: #8a5a00;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 12px;
  border-radius: 6px;
  letter-spacing: 2px;
  margin-left: 4px;
  min-width: 90px;
}

.order-countdown.warning {
  background: linear-gradient(135deg, #FFE8E0 0%, #FFD0C0 100%);
  border-color: #d9534f;
  color: #b03030;
}

.order-countdown.warning::before {
  background: linear-gradient(90deg, #d9534f 0%, #b03030 100%);
}

.order-countdown.warning .countdown-label,
.order-countdown.warning .countdown-timer {
  color: #b03030;
}

.order-countdown.warning .countdown-icon {
  animation: pulse-warning 1s ease-in-out infinite;
}

@keyframes pulse-warning {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.order-countdown.expired {
  background: linear-gradient(135deg, #fee 0%, #fcc 100%);
  border-color: #c00;
  color: #900;
}

.order-countdown.expired .countdown-timer {
  display: none;
}

/* Versión grande para la vista de detalle */
.order-countdown-large {
  padding: 18px 24px;
  font-size: 1.05rem;
}

.order-countdown-large .countdown-timer {
  font-size: 2rem;
  padding: 6px 18px;
  min-width: 120px;
}

@media (max-width: 600px) {
  .order-countdown-large {
    padding: 14px 16px;
  }
  .order-countdown-large .countdown-timer {
    font-size: 1.5rem;
  }
}

/* ============================================================
   ADDRESS AUTOCOMPLETE (Base Adresse Nationale)
   ============================================================ */
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border: 1px solid var(--border, #e0d5c8);
  border-top: none;
  border-radius: 0 0 var(--radius-md, 8px) var(--radius-md, 8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  margin-top: -1px;
}

.address-suggestions.open {
  display: block;
}

.address-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light, #f4ede0);
  transition: background 0.15s;
  font-size: 0.9rem;
  line-height: 1.35;
}

.address-suggestion:last-child {
  border-bottom: none;
}

.address-suggestion:hover,
.address-suggestion.active {
  background: var(--bg-cream, #faf6ef);
}

.address-suggestion .suggestion-label {
  color: var(--text-primary, #2d2418);
  font-weight: 500;
}

.address-suggestion .suggestion-context {
  color: var(--text-secondary, #8a7c66);
  font-size: 0.8rem;
  margin-top: 2px;
}

.address-suggestion .suggestion-loading {
  color: var(--text-secondary, #8a7c66);
  font-style: italic;
  text-align: center;
  padding: 14px;
  font-size: 0.85rem;
}

.form-group {
  position: relative;
}

/* ============================================================
   MONDIAL RELAY PICKER
   ============================================================ */
.mr-picker {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3e2 100%);
  border: 2px solid #fb923c;
  border-radius: var(--radius-md, 8px);
  padding: 18px;
  margin-top: 16px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mr-picker-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mr-picker-icon {
  font-size: 1.6rem;
}

.mr-picker-title {
  font-weight: 600;
  color: #9a3412;
  font-size: 0.95rem;
}

.mr-picker-subtitle {
  font-size: 0.8rem;
  color: #c2410c;
  margin-top: 2px;
}

.mr-step {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: #7c2d12;
}

.mr-step-num {
  background: #fb923c;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.mr-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c2410c;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  background: white;
  border: 1px solid #fb923c;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.2s;
  margin: 4px 0;
}

.mr-link:hover {
  background: #fb923c;
  color: white;
}

.mr-selected {
  margin-top: 12px;
  padding: 12px;
  background: white;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  display: flex;
  align-items: start;
  gap: 10px;
}

.mr-selected-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.mr-selected-info {
  flex: 1;
}

.mr-selected-name {
  font-weight: 600;
  color: #7c2d12;
  font-size: 0.9rem;
}

.mr-selected-addr {
  color: #9a3412;
  font-size: 0.8rem;
  margin-top: 2px;
}

.mr-selected-num {
  font-family: monospace;
  background: #fed7aa;
  color: #7c2d12;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
}

.mr-input-group {
  display: flex;
  gap: 8px;
  margin: 10px 0;
}

.mr-input-group input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #fb923c;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}

.mr-input-group input:focus {
  outline: 2px solid #fb923c;
  outline-offset: -1px;
}

.mr-error {
  color: #b91c1c;
  font-size: 0.8rem;
  margin-top: 6px;
}

.mr-clear {
  background: none;
  border: 1px solid #fb923c;
  color: #c2410c;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  margin-top: 6px;
}

.mr-clear:hover {
  background: #fb923c;
  color: white;
}

/* ============================================================
   RELAY POINTS LIST — Integrated Sendcloud picker results
   ============================================================ */
.mr-points-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.mr-points-list::-webkit-scrollbar {
  width: 4px;
}
.mr-points-list::-webkit-scrollbar-track {
  background: #fed7aa20;
  border-radius: 4px;
}
.mr-points-list::-webkit-scrollbar-thumb {
  background: #fb923c80;
  border-radius: 4px;
}

.mr-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border: 1.5px solid #fed7aa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.mr-point-item:hover {
  border-color: #fb923c;
  background: #fff7ed;
  transform: translateX(2px);
}

.mr-point-item.selected {
  border-color: #ea580c;
  background: #fff7ed;
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.3);
}

.mr-point-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fb923c;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

.mr-point-item.selected .mr-point-radio {
  background: #ea580c;
  border-color: #ea580c;
}

.mr-point-dot {
  width: 7px;
  height: 7px;
  background: transparent;
  border-radius: 50%;
  transition: all 0.18s;
}

.mr-point-item.selected .mr-point-dot {
  background: white;
}

.mr-point-info {
  flex: 1;
  min-width: 0;
}

.mr-point-name {
  font-weight: 600;
  color: #7c2d12;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mr-point-addr {
  color: #9a3412;
  font-size: 0.76rem;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mr-point-badge {
  font-size: 1.1rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.mr-point-item.selected .mr-point-badge {
  opacity: 1;
}
