/* =========================================
   MINIPHONE STORE — CSS Ultra-Premium
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&family=Sacramento&display=swap');

:root {
  --bg-1: #040407;
  --bg-2: #08080f;
  --bg-3: #0e0e1c;
  --bg-4: #141428;
  --accent: #7c3aed;
  --accent-l: #a78bfa;
  --accent-ll: #c4b5fd;
  --accent-glow: rgba(124, 58, 237, 0.25);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.15);
  --gold: #f59e0b;
  --green: #10b981;
  --red: #ef4444;
  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #475569;
  --card-bg: rgba(255,255,255,0.025);
  --card-border: rgba(255,255,255,0.07);
  --card-hover: rgba(255,255,255,0.05);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-accent: 0 0 40px var(--accent-glow);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg-1);
  color: var(--text-1);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* =========================================
   LAYOUT
   ========================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* =========================================
   HEADER / NAV
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(4, 4, 7, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--card-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(4, 4, 7, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-1);
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo:hover { opacity: 0.85; }

.logo-svg {
  flex-shrink: 0;
  border-radius: 10px;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-1);
  white-space: nowrap;
}

.logo-dot {
  color: var(--accent-l);
  font-weight: 900;
}

.logo-accent {
  color: var(--accent-l);
  font-weight: 700;
}

/* Legacy icon (kept for fallback) */
.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--transition);
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent-l);
  transition: right 0.3s ease;
}

.nav a:hover { color: var(--text-1); }
.nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--card-hover);
  color: var(--text-1);
  border-color: var(--accent);
}

#cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-1);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: white;
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text-1);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: var(--card-hover);
  border-color: var(--accent);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  color: var(--bg-1);
  font-weight: 700;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--cyan-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--card-border);
}

.btn-ghost:hover {
  color: var(--text-1);
  border-color: var(--text-2);
}

.btn-danger {
  background: rgba(239,68,68,0.1);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.2);
}

.btn-danger:hover {
  background: rgba(239,68,68,0.2);
}

.btn-full { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orb-float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--cyan);
  bottom: -100px;
  left: -100px;
  animation-delay: -4s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, transparent 30%, black 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-visual {
  display: none !important;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-l);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-l);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-l), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 36px;
  justify-content: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-1), var(--accent-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-showcase {
  position: relative;
  width: 300px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-main {
  position: relative;
  width: 210px;
  height: 340px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(124, 58, 237, 0.35);
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 50px var(--accent-glow), 0 0 0 1px rgba(255,255,255,0.04);
  transform: rotate(-4deg);
  animation: phone-float 6s ease-in-out infinite;
  z-index: 2;
  flex-shrink: 0;
}

.hero-phone-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-phone-secondary {
  display: none;
}

.hero-badge-float {
  position: absolute;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.hero-badge-1 {
  top: 40px;
  left: -20px;
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.06);
}

.hero-badge-2 {
  bottom: 60px;
  right: -10px;
  color: var(--gold);
  border-color: rgba(245, 158, 11, 0.2);
  background: rgba(245, 158, 11, 0.06);
}

@keyframes phone-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-14px); }
}

/* =========================================
   FEATURES STRIP
   ========================================= */
.features-strip {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--bg-2);
  padding: 24px;
}

.features-strip-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-right: 1px solid var(--card-border);
}

.feature-strip-item:last-child { border-right: none; }

.feature-strip-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-l);
}

.feature-strip-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
}

.feature-strip-subtitle {
  font-size: 0.75rem;
  color: var(--text-3);
}

/* =========================================
   SECTION HEADER
   ========================================= */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-l);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================
   PRODUCTS GRID
   ========================================= */
.products-section {
  background: var(--bg-1);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px var(--accent-glow);
  transform: translateY(-6px);
}

.product-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-3);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
  z-index: 2;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  gap: 10px;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-category {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-l);
  margin-bottom: 6px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-card-tagline {
  font-size: 0.78rem;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.5;
  flex: 1;
}

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

.product-price {
  display: flex;
  flex-direction: column;
}

.product-price-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
}

.product-price-unit {
  font-size: 0.72rem;
  color: var(--text-3);
}

.product-price-old {
  font-size: 0.9rem;
  color: var(--text-3);
  text-decoration: line-through;
  font-weight: 400;
}

.product-price-amount.on-sale {
  color: #ef4444;
}

.product-card-sold-out {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px 16px 0 0;
}

.product-card-sold-out span {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  background: #ef4444;
  padding: 5px 16px;
  border-radius: 100px;
  text-transform: uppercase;
}

.product-card.out-of-stock {
  opacity: 0.75;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-2);
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: var(--gold);
  font-size: 0.75rem;
}

.product-card-add {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.product-card-add:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px var(--accent-glow);
}

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */
.product-detail-section {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.gallery {
  position: sticky;
  top: 96px;
}

.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  border: 1px solid var(--card-border);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--card-border);
  transition: var(--transition);
  background: var(--bg-3);
  flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--accent);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info { }

.product-info-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-l);
  margin-bottom: 12px;
}

.product-info-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-info-tagline {
  font-size: 1rem;
  color: var(--text-2);
  margin-bottom: 20px;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--card-border);
}

.rating-count {
  font-size: 0.85rem;
  color: var(--text-3);
}

.product-info-price {
  margin-bottom: 28px;
}

.product-info-price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-1), var(--accent-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-info-price-incl {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 4px;
}

.product-info-desc {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
}

.highlight-item svg {
  color: var(--accent-l);
  flex-shrink: 0;
}

.variant-selector {
  margin-bottom: 28px;
}

.variant-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 10px;
}

.variant-options {
  display: flex;
  gap: 10px;
}

.variant-option {
  padding: 8px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-2);
}

.variant-option.active,
.variant-option:hover {
  border-color: var(--accent);
  color: var(--accent-l);
  background: rgba(124, 58, 237, 0.1);
}

.product-info-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.product-info-actions .btn-primary {
  flex: 1;
}

.spec-table {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-table-title {
  padding: 16px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-l);
  border-bottom: 1px solid var(--card-border);
}

.spec-row {
  display: flex;
  padding: 12px 20px;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.88rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-key {
  flex: 1;
  color: var(--text-3);
  font-weight: 500;
}

.spec-value {
  flex: 1;
  color: var(--text-1);
  font-weight: 600;
  text-align: right;
}

/* =========================================
   CART PAGE
   ========================================= */
.cart-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cart-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-empty {
  text-align: center;
  padding: 80px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
}

.cart-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-l);
}

.cart-empty h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.cart-empty p {
  color: var(--text-2);
  margin-bottom: 28px;
}

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

.cart-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.cart-item:hover {
  border-color: var(--card-hover);
}

.cart-item-image {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info { flex: 1; }

.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 12px;
}

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

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--card-hover);
  color: var(--text-1);
}

.qty-value {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-3);
  cursor: pointer;
  transition: var(--transition);
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.cart-item-remove:hover {
  color: var(--red);
  background: rgba(239,68,68,0.1);
}

.cart-item-price {
  text-align: right;
  align-self: center;
  flex-shrink: 0;
}

.cart-item-price-amount {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Order Summary */
.order-summary {
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.order-summary-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-2);
}

.order-summary-row.total {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--card-border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
}

.order-summary-row.total span:last-child {
  font-family: var(--font-display);
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--text-1), var(--accent-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.free-badge {
  color: var(--green);
  font-weight: 600;
}

.checkout-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 8px;
}

/* =========================================
   CHECKOUT PAGE
   ========================================= */
.checkout-page {
  padding: 120px 0 80px;
  min-height: 100vh;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.checkout-form-section {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.checkout-section-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-2);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-section-title span {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

.form-input {
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--text-1);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder { color: var(--text-3); }

/* Stripe Element container */
.stripe-element-wrap {
  padding: 14px 16px;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stripe-element-wrap.StripeElement--focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.checkout-error {
  display: none;
  padding: 14px 16px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius);
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 16px;
}

.checkout-error.visible { display: block; }

.checkout-summary {
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 96px;
}

.checkout-items { margin-bottom: 24px; }

.checkout-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
}

.checkout-item:last-child { border-bottom: none; }

.checkout-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-4);
  flex-shrink: 0;
}

.checkout-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.checkout-item-qty {
  font-size: 0.8rem;
  color: var(--text-3);
}

.checkout-item-price {
  font-weight: 700;
  margin-left: auto;
  font-size: 0.95rem;
  align-self: center;
}

/* =========================================
   SUCCESS PAGE
   ========================================= */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.success-card {
  text-align: center;
  max-width: 560px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.success-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.success-subtitle {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}

.success-order-id {
  font-family: monospace;
  background: var(--bg-3);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--accent-l);
  border: 1px solid var(--card-border);
  display: inline-block;
  margin-bottom: 32px;
}

/* =========================================
   TOAST NOTIFICATION
   ========================================= */
#cart-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-3);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
  max-width: 360px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#cart-toast.visible {
  transform: translateY(0);
  opacity: 1;
}

#cart-toast span { color: var(--text-1); flex: 1; }

.toast-link {
  color: var(--accent-l);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  border-left: 1px solid var(--card-border);
  padding-left: 12px;
  margin-left: 4px;
}

.toast-link:hover { color: var(--accent-ll); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  padding: 60px 24px 32px;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 280px;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--text-1); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-3);
}

.dev-credit {
  display: block;
  text-align: center;
  font-family: 'Sacramento', cursive;
  font-size: 1.25rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  opacity: 0.35;
  color: var(--text-2);
  transition: opacity 0.2s, text-shadow 0.2s;
  padding-top: 24px;
  line-height: 1.2;
  user-select: none;
  cursor: default;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.dev-credit:hover { opacity: 1; }

.dev-credit:active,
.dev-credit:focus {
  opacity: 1;
  text-shadow: 0 0 12px currentColor;
  outline: none;
}

/* Mode toujours illuminé (clickEffect désactivé depuis l'admin) */
.dev-credit--lit {
  opacity: 1 !important;
  text-shadow: 0 0 12px currentColor !important;
}

/* Animation vibration pendant le délai de 2s avant ouverture du lien */
@keyframes dev-vibrate {
  0%,100% { transform: translateX(0) rotate(0deg); }
  20%     { transform: translateX(-3px) rotate(-0.5deg); }
  40%     { transform: translateX(3px) rotate(0.5deg); }
  60%     { transform: translateX(-2px) rotate(-0.3deg); }
  80%     { transform: translateX(2px) rotate(0.3deg); }
}
.dev-credit--vibrating {
  animation: dev-vibrate 0.12s linear infinite;
  cursor: wait !important;
}

.footer-payment-icons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.payment-icon {
  height: 24px;
  padding: 3px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  letter-spacing: 0.03em;
}

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent-l), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 1px;
  background: var(--card-border);
  margin: 40px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* =========================================
   BARRE D'ANNONCE
   ========================================= */
.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 48px 10px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  min-height: 40px;
}

.announcement-bar--default {
  background: linear-gradient(90deg, var(--accent), #6d28d9);
  color: white;
}

.announcement-bar--gold {
  background: linear-gradient(90deg, #92400e, var(--gold));
  color: white;
}

.announcement-bar--green {
  background: linear-gradient(90deg, #065f46, var(--green));
  color: white;
}

.announcement-bar--red {
  background: linear-gradient(90deg, #7f1d1d, var(--red));
  color: white;
}

.announcement-bar__text a { color: white; text-decoration: underline; }

.announcement-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.2s;
}

.announcement-bar__close:hover { background: rgba(255,255,255,0.3); }

/* Décaler le header quand la barre est active — hauteur dynamique via JS (--ann-h) */
body.has-announcement .header { top: var(--ann-h, 40px); }
body.has-announcement .mobile-nav-overlay { top: calc(64px + var(--ann-h, 40px)); }

/* Mode banderole défilante */
.announcement-bar--marquee {
  overflow: hidden;
  justify-content: flex-start;
  padding-left: 0;
}

.announcement-bar--marquee .announcement-bar__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: ann-marquee 10s linear infinite;
  will-change: transform;
}

.announcement-bar--marquee:hover .announcement-bar__track {
  animation-play-state: paused;
}

.announcement-bar__item {
  display: inline-flex;
  align-items: center;
  padding-right: 80px;
}

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

/* =========================================
   SECTION POURQUOI NOUS — why-card
   ========================================= */
.why-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.why-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-l);
  margin-bottom: 10px;
}

.why-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  margin-bottom: 14px;
  line-height: 1.2;
}

.why-card p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
  border-top: 1px solid var(--card-border);
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-3);
  padding-top: 8px;
}

.why-list li svg { color: var(--green); flex-shrink: 0; }

/* Hide on mobile */
.hide-mobile { }

/* Loading spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================
   HAMBURGER MENU BUTTON
   ========================================= */
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: var(--transition);
}

.menu-btn:hover {
  background: var(--card-hover);
  border-color: var(--accent);
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

.menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent-l); }
.menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent-l); }

/* =========================================
   MOBILE NAV OVERLAY
   ========================================= */
.mobile-nav-overlay {
  position: fixed;
  top: 72px;
  left: 0; right: 0; bottom: 0;
  background: rgba(4, 4, 7, 0.98);
  backdrop-filter: blur(24px);
  z-index: 998;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

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

/* Links */
.mnav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-bottom: 24px;
}

.mnav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-display);
  transition: var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}

.mnav-link:hover,
.mnav-link:active {
  background: var(--card-bg);
  border-color: var(--card-border);
  color: var(--text-1);
}

.mnav-link.active {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
  color: var(--accent-l);
}

.mnav-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-3);
  transition: var(--transition);
}

.mnav-link:hover .mnav-link-icon,
.mnav-link.active .mnav-link-icon {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-l);
}

.mnav-link > span:nth-child(2) {
  flex: 1;
}

.mnav-arrow {
  color: var(--text-3);
  flex-shrink: 0;
  transition: var(--transition);
}

.mnav-link:hover .mnav-arrow { color: var(--text-2); transform: translateX(4px); }

.mnav-badge {
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  background: var(--gold);
  color: var(--bg-1);
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Trust badges dans mobile nav */
.mnav-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 14px;
  background: var(--bg-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.mnav-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-3);
}

.mnav-trust-item svg { color: var(--accent-l); flex-shrink: 0; }

/* Bottom CTA */
.mnav-bottom {
  margin-top: auto;
}

.mobile-nav-bottom {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 12px;
}

/* =========================================
   GRILLES UTILITAIRES (responsive-safe)
   ========================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.banner-grid {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(34,211,238,0.08));
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 32px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.banner-phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================
   STICKY ADD-TO-CART (mobile product page)
   ========================================= */
.sticky-add-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(8, 8, 15, 0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--card-border);
  gap: 10px;
  align-items: center;
}

.sticky-add-bar .sticky-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================================
   TOUCHES — anti-highlight mobile
   ========================================= */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* =========================================
   CHRONOPOST 24H BAND
   ========================================= */
.chronopost-band {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(34,211,238,0.06) 50%, rgba(16,185,129,0.05) 100%);
  border-top: 1px solid rgba(124,58,237,0.15);
  border-bottom: 1px solid rgba(34,211,238,0.1);
  position: relative;
  overflow: hidden;
}

.chronopost-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.chronopost-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
}

.chronopost-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.chronopost-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(34,211,238,0.15));
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-l);
  flex-shrink: 0;
}

.chronopost-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-1);
}

.chronopost-sub {
  font-size: 0.72rem;
  color: var(--accent-l);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.chronopost-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.chronopost-desc {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 560px;
}

.chronopost-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.cp-feature {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
}

.cp-feature svg { color: var(--green); flex-shrink: 0; }

.chronopost-cta-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.chronopost-badge-big {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 40px rgba(124,58,237,0.4);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(124,58,237,0.4); }
  50% { box-shadow: 0 0 60px rgba(124,58,237,0.7), 0 0 20px rgba(34,211,238,0.3); }
}

.chronopost-unique {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  text-align: center;
}

/* =========================================
   COUNTDOWN AMAZON-STYLE (page produit)
   ========================================= */
.amz-delivery {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 14px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.amz-delivery::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
  border-radius: 3px 0 0 3px;
}

.amz-delivery.amz-no-countdown {
  background: rgba(255,255,255,0.025);
  border-color: rgba(255,255,255,0.07);
}
.amz-delivery.amz-no-countdown::before { background: var(--text-3); }

.amz-truck {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.amz-delivery.amz-no-countdown .amz-truck { color: var(--text-3); }

.amz-body {
  flex: 1;
  min-width: 0;
}

/* Ligne du haut : "Commandez dans [H:M:S]" */
.amz-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1;
}

/* Les 3 blocs H / M / S */
.amz-hms {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.amz-d {
  display: inline-block;
  font-family: 'Space Grotesk', monospace;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
  text-shadow: 0 0 16px rgba(16,185,129,0.45);
  letter-spacing: -0.02em;
}

.amz-sep {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.7;
  padding: 0 3px;
  align-self: flex-end;
  padding-bottom: 3px;
}

/* Ligne du bas : "livraison demain avant 13h..." */
.amz-bot {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-top: 5px;
  line-height: 1.4;
}

.amz-bot strong {
  color: var(--text-1);
  font-weight: 700;
}

/* Badge livraison 24h sur les cartes produits */
.product-delivery-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 6px;
}

.product-delivery-tag svg { flex-shrink: 0; }

/* =========================================
   DELIVERY OPTION SELECTOR (checkout)
   ========================================= */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.delivery-option:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.04);
}

.delivery-option.selected {
  border-color: var(--accent);
  background: rgba(124,58,237,0.07);
}

.delivery-option input[type="radio"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
}

.delivery-option-body {
  flex: 1;
}

.delivery-option-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.delivery-option-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  color: #fff;
  padding: 2px 8px;
  border-radius: 100px;
}

.delivery-option-desc {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 3px;
}

.delivery-option-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-1);
  flex-shrink: 0;
}

.delivery-option-price .free-badge {
  color: var(--green);
  font-size: 0.85rem;
}

/* =========================================
   RESPONSIVE — 1280px (large tablet)
   ========================================= */
@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .banner-grid { padding: 48px 40px; gap: 40px; }
}

/* =========================================
   RESPONSIVE — 1024px (tablet paysage)
   ========================================= */
@media (max-width: 1024px) {
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-stats { gap: 32px; }

  .product-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { position: static; }

  .cart-grid { grid-template-columns: 1fr; }
  .order-summary { position: static; }

  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 80px 0; }
}

/* =========================================
   RESPONSIVE — 768px (tablette portrait)
   ========================================= */
@media (max-width: 768px) {
  /* Nav → hamburger */
  .nav { display: none; }
  .menu-btn { display: flex; }

  /* Hero */
  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; justify-content: center; }
  .hero-eyebrow { font-size: 0.72rem; }

  /* Chronopost band */
  .chronopost-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .chronopost-logo-wrap { justify-content: center; }
  .chronopost-cta-wrap { flex-direction: row; justify-content: center; align-items: center; gap: 20px; }
  .chronopost-features { justify-content: center; }
  .chronopost-desc { max-width: 100%; }

  /* Features strip */
  .features-strip { padding: 0; }
  .features-strip-grid { grid-template-columns: 1fr 1fr; }
  .feature-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding: 16px;
  }
  .feature-strip-item:nth-child(odd) { border-right: 1px solid var(--card-border); }
  .feature-strip-item:nth-child(3),
  .feature-strip-item:nth-child(4) { border-bottom: none; }

  /* Sections */
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  /* Products grid — 2 colonnes tablette (boutique uniquement en dessous) */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .shop-grid-wrap .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Why grid — 1 colonne sur tablette */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Banner — stack */
  .banner-grid {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 32px;
    border-radius: 24px;
    text-align: center;
  }
  .banner-grid .btn { margin: 0 auto; }
  .banner-phones { justify-content: center; }

  /* Product detail */
  .product-detail-section { padding: 90px 0 100px; }
  .product-info-actions { flex-direction: column; }
  .product-info-actions .btn-cyan { display: none; } /* remplacé par sticky bar */
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .gallery-thumbs { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .gallery-thumb { flex-shrink: 0; }
  .sticky-add-bar { display: flex; }

  /* Cart */
  .cart-page { padding: 90px 0 32px; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-price { width: 100%; text-align: left; border-top: 1px solid var(--card-border); padding-top: 12px; }

  /* Checkout */
  .checkout-page { padding: 90px 0 32px; }
  .checkout-form-section { padding: 24px 20px; border-radius: var(--radius-lg); }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* Toast */
  #cart-toast { left: 12px; right: 12px; bottom: 12px; }
}

/* =========================================
   RESPONSIVE — 640px (grand mobile)
   ========================================= */
@media (max-width: 640px) {
  /* Products — 1 col sur mobile (page accueil, produit, etc.) */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Boutique — 2 col serrées */
  .shop-grid-wrap .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-grid-wrap .product-card-image { height: 200px; }
  .shop-grid-wrap .product-card-body { padding: 10px; }
  .shop-grid-wrap .product-card-category { font-size: 0.7rem; }
  .shop-grid-wrap .product-card-name { font-size: 0.88rem; }
  .shop-grid-wrap .product-card-tagline { font-size: 0.75rem; margin-bottom: 6px; }
  .shop-grid-wrap .product-price-amount { font-size: 1rem; }
  .shop-grid-wrap .product-price-old { font-size: 0.78rem; }
  .shop-grid-wrap .product-rating { font-size: 0.75rem; }
  .shop-grid-wrap .product-card-add { width: 34px; height: 34px; }

  /* Overlay désactivé uniquement sur la boutique en 2 colonnes */
  .shop-grid-wrap .product-card-overlay { display: none; }

  /* Highlights — 1 col */
  .highlights-grid { grid-template-columns: 1fr; }

  /* Hero stats row */
  .hero-stats { gap: 20px; }
  .hero-stat-number { font-size: 1.4rem; }

  /* Cart item simplifié */
  .cart-item { gap: 14px; padding: 16px; }
  .cart-item-image { width: 72px; height: 72px; }

  /* Footer — 1 col */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 40px 20px 24px; }
  .footer-desc { max-width: 100%; }
}

/* =========================================
   RESPONSIVE — 480px (mobile standard)
   ========================================= */
@media (max-width: 480px) {
  /* Layout */
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }

  /* Header */
  .header { padding: 0 16px; height: 64px; }
  .mobile-nav-overlay { top: 64px; }
  .logo { font-size: 1.1rem; }
  .logo-icon { width: 32px; height: 32px; font-size: 0.95rem; }

  /* Hero */
  .hero { padding: 90px 16px 52px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; text-align: center; }
  .hero-eyebrow { font-size: 0.68rem; padding: 5px 10px; }

  /* Boutique — maintenir 2 col sur très petit écran, mêmes dimensions qu'à 640px */
  .shop-grid-wrap .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Produits similaires (page produit) — 2 col optimisées */
  #related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #related-grid .product-card-image { height: 150px; }
  #related-grid .product-card-body { padding: 10px; }
  #related-grid .product-card-name { font-size: 0.88rem; }
  #related-grid .product-card-tagline { font-size: 0.75rem; margin-bottom: 10px; }
  #related-grid .product-price-amount { font-size: 1rem; }
  #related-grid .product-card-footer { flex-direction: column; align-items: flex-start; gap: 6px; }
  #related-grid .product-card-add { align-self: flex-end; width: 32px; height: 32px; }

  /* Sections */
  .section-header { margin-bottom: 32px; }
  .section-subtitle { font-size: 0.95rem; }

  /* Features strip */
  .features-strip-grid { grid-template-columns: 1fr; }
  .feature-strip-item { border-right: none !important; padding: 14px 16px; }
  .feature-strip-item:last-child { border-bottom: none; }

  /* Product detail */
  .product-detail-section { padding: 80px 0 100px; }
  .gallery-main { aspect-ratio: 1/1; }
  .product-info-title { font-size: 1.8rem; }
  .product-info-price-amount { font-size: 2.2rem; }
  .spec-row { flex-direction: column; gap: 2px; }
  .spec-value { text-align: left; font-size: 0.85rem; }
  .spec-key { font-size: 0.78rem; }

  /* Cart */
  .cart-page { padding: 80px 0 24px; }
  .cart-title { font-size: 0.85rem; }
  .cart-item { flex-direction: row; flex-wrap: wrap; }
  .cart-item-controls { flex-wrap: wrap; gap: 8px; }
  .order-summary { border-radius: var(--radius-lg); padding: 20px 16px; }

  /* Checkout */
  .checkout-page { padding: 80px 0 24px; }
  .checkout-form-section { padding: 20px 16px; border-radius: var(--radius); }
  .checkout-section-title { font-size: 0.85rem; }
  .form-input, select.form-input { font-size: 16px; } /* évite le zoom iOS */

  /* Stripe */
  .stripe-element-wrap { padding: 14px 12px; }

  /* Checkout summary compact */
  .checkout-summary { padding: 20px 16px; border-radius: var(--radius-lg); }
  .checkout-item-img { width: 48px; height: 48px; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr; }

  /* Chronopost band mobile */
  .chronopost-band { padding: 40px 0; }
  .chronopost-cta-wrap { flex-direction: column; gap: 10px; }

  /* Banner */
  .banner-grid { padding: 28px 20px; border-radius: var(--radius-lg); }
  .banner-phones { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 36px 16px 20px; }

  /* Success page */
  .success-card { padding: 40px 24px; border-radius: var(--radius-lg); }
  .success-title { font-size: 1.6rem; }

  /* Toast */
  #cart-toast {
    left: 8px; right: 8px; bottom: 8px;
    border-radius: var(--radius);
    font-size: 0.82rem;
    padding: 12px 14px;
  }
  .toast-link { display: none; }

  /* Hide mobile */
  .hide-mobile { display: none; }
}

/* =========================================
   RESPONSIVE — 360px (petit mobile)
   ========================================= */
@media (max-width: 360px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn-lg { padding: 14px 20px; font-size: 0.9rem; }
  .product-info-price-amount { font-size: 1.9rem; }
  .hero-stat-number { font-size: 1.2rem; }
  .products-grid { gap: 10px; }
}
