/* =========================================
   ND Premium Design – Feuille de style principale
   ========================================= */

/* ── Typographie ─────────────────────────────────────────────
   Avenir Next Arabic : police système sur Apple / certains Windows.
   Josefin Sans (Google)  : fallback web géométrique très proche.
   Cormorant Garamond     : titres calligraphiques / display.
   ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,300;0,400;0,600;0,700;1,300;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* Priorité : Avenir Next Arabic (système) → Josefin Sans (web) → fallbacks */
:root {
  --font-heading: 'Avenir Next Arabic', 'Avenir Next', 'Avenir', 'Josefin Sans', 'Century Gothic', Futura, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Avenir Next Arabic', 'Avenir Next', 'Avenir', 'Inter', 'Josefin Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-callig:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

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

:root {
  --bg:          #000000;
  --text:        #ffffff;
  --accent:      #83dbe5;
  --heading:     #ffffff;
  --footer-bg:   #41494b;
  --footer-text: #000000;
  --border:      #2a2a2a;
  --card-bg:     #0d0d0d;
  --max-w:       1200px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* Titres calligraphiques – classe utilitaire pour les grandes sections */
.callig,
.section-title-callig,
.hero-callig {
  font-family: var(--font-callig);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

/* Titres de section – élégance Avenir Next Arabic */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  border: 2px solid transparent;
  text-decoration: none !important;
}
.btn-primary  { background: var(--accent); color: #000 !important; border-color: var(--accent); }
.btn-primary:hover  { background: #6dc9d3; border-color: #6dc9d3; color: #000 !important; }
.btn-outline  { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover  { background: var(--accent); color: #000; }
.btn-dark     { background: #000; color: #fff; border-color: #fff; }
.btn-dark:hover     { background: #fff; color: #000; }

/* ── PROMO BAR ───────────────────────── */
.promo-bar {
  background: var(--accent);
  color: #000;
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
}

/* ── HEADER ──────────────────────────── */
.site-header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid #1e1e1e;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}
.header-logo img { height: 44px; width: auto; }
.header-logo:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: color .2s;
}
.main-nav a:hover { color: var(--accent); text-decoration: none; }
.main-nav a.active { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions a { color: #fff; font-size: 20px; transition: color .2s; }
.header-actions a:hover { color: var(--accent); text-decoration: none; }
.header-actions .cart-count {
  min-width: 19px !important;
  height: 19px !important;
  padding: 0 5px !important;
  line-height: 19px !important;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translate(50%, -35%);
  font-size: 11px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: .3s; border-radius: 2px; }

/* ── MOBILE DRAWER ───────────────────── */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 300;
}
.drawer-overlay.open { display: block; }

.mobile-drawer {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100%;
  background: #111;
  z-index: 400;
  padding: 24px 20px;
  transform: translateX(-100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-close {
  background: none; border: none; color: #fff;
  font-size: 26px; cursor: pointer; float: right; margin-bottom: 20px;
}
.mobile-drawer ul { list-style: none; margin-top: 10px; clear: both; }
.mobile-drawer ul li a {
  display: block; color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
  transition: color .2s;
}
.mobile-drawer ul li a:hover { color: var(--accent); text-decoration: none; }

/* ── SECTIONS ────────────────────────── */
section { padding: 70px 0; }
.section-title {
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 48px;
}
.section-title span { color: var(--accent); }

/* ── VIDEO SECTION ───────────────────── */
.video-section { background: #050505; }
.video-section .section-title { margin-bottom: 8px; }
.video-subtitle { text-align: center; color: var(--accent); font-weight: 600; margin-bottom: 32px; font-style: italic; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
}
.video-wrapper iframe { position: absolute; top:0; left:0; width:100%; height:100%; border:none; }

/* ── THREE COLUMNS ───────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}
.feature-item { text-align: center; }
.feature-item img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 18px; }
.feature-item h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.feature-item p { font-size: 14px; color: #ccc; line-height: 1.75; }
.feature-item p em { font-style: italic; }
.feature-item p strong { color: #fff; }

/* ── ALTERNATING CONTENT ─────────────── */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.alt-row:last-child { border-bottom: none; }
.alt-row.reverse .alt-image { order: 2; }
.alt-row.reverse .alt-text  { order: 1; }
.alt-image img { width: 100%; border-radius: 6px; object-fit: cover; }
.alt-text h3 { font-size: 26px; margin-bottom: 18px; }
.alt-text p { color: #ccc; line-height: 1.85; margin-bottom: 16px; white-space: pre-line; }
.alt-text .btn { margin-top: 8px; }

/* ── FEATURED PRODUCT ────────────────── */
.product-section { background: #080808; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-gallery .main-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.thumb-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.thumb-strip img {
  width: 70px; height: 70px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  opacity: .75;
  transition: opacity .2s, border-color .2s;
}
.thumb-strip img:hover, .thumb-strip img.active {
  border-color: var(--accent);
  opacity: 1;
}
.product-info h2 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.product-reviews { font-size: 13px; color: #aaa; margin-bottom: 12px; }
.product-reviews span { color: var(--accent); }
.product-price { font-size: 28px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }

.option-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #ccc;
}
.color-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.swatch-btn {
  padding: 9px 16px;
  border: 1.5px solid #444;
  background: transparent;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.swatch-btn:hover, .swatch-btn.active { border-color: var(--accent); color: var(--accent); }
.swatch-btn.soldout { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.qty-box { display: flex; border: 1px solid #444; border-radius: 3px; overflow: hidden; }
.qty-box button {
  width: 38px; height: 42px;
  background: #1a1a1a; border: none; color: #fff;
  font-size: 18px; cursor: pointer; transition: background .2s;
}
.qty-box button:hover { background: #2a2a2a; }
.qty-box input {
  width: 52px; height: 42px;
  text-align: center;
  background: #111; border: none; color: #fff;
  font-size: 15px; font-family: 'Roboto', sans-serif;
}

.product-desc { font-size: 14px; color: #ccc; line-height: 1.85; margin: 24px 0; }
.product-desc strong { color: #fff; }
.product-desc em { color: var(--accent); }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.product-tag {
  background: #1a1a1a; border: 1px solid #333;
  padding: 4px 12px; border-radius: 20px;
  font-size: 12px; color: #aaa;
}

/* ── PAGE HEADER ─────────────────────── */
.page-hero {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 34px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* ── LEGAL CONTENT ───────────────────── */
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}
.legal-body h1 { font-size: 32px; margin-bottom: 40px; }
.legal-body h2 { font-size: 18px; color: var(--accent); margin-top: 36px; margin-bottom: 10px; }
.legal-body h3 { font-size: 15px; margin-top: 22px; margin-bottom: 8px; }
.legal-body p  { color: #ccc; margin-bottom: 14px; line-height: 1.85; }
.legal-body ul { margin: 0 0 14px 22px; }
.legal-body ul li { color: #ccc; margin-bottom: 6px; line-height: 1.7; }
.legal-body a { color: var(--accent); }
.legal-body hr { border: none; border-top: 1px solid var(--border); margin: 30px 0; }

/* ── FAQ ─────────────────────────────── */
.faq-container { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-toggle {
  width: 100%; text-align: left;
  background: none; border: none;
  color: #fff; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 600;
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-toggle .faq-icon {
  font-size: 22px; color: var(--accent);
  flex-shrink: 0; transition: transform .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 20px; }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { color: #ccc; line-height: 1.8; }

/* ── CONTACT ─────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 22px; margin-bottom: 16px; }
.contact-info p  { color: #ccc; margin-bottom: 12px; line-height: 1.7; }
.contact-info a  { color: var(--accent); }
.contact-info .social-link {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.contact-info .social-link:hover {
  background: rgba(131,219,229,.12);
  border-color: #fff;
}
.contact-info .social-link svg { fill: var(--accent); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 7px; color: #bbb;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #111; border: 1px solid #333; color: #fff;
  padding: 12px 16px; font-size: 15px;
  font-family: 'Roboto', sans-serif;
  border-radius: 3px; transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); outline: none; }
.form-group textarea { height: 140px; resize: vertical; }

/* ── ABOUT ───────────────────────────── */
.about-content { max-width: 820px; margin: 0 auto; }
.about-content p { color: #ccc; line-height: 1.85; margin-bottom: 20px; font-size: 16px; }
.about-content a { color: var(--accent); }
.about-photo { margin: 40px auto; max-width: 400px; text-align: center; }
.about-photo img { border-radius: 6px; }

/* ── NEWSLETTER (footer) ─────────────── */
.newsletter-bar { background: #0a0a0a; padding: 40px 0; border-bottom: 1px solid var(--border); }
.newsletter-inner { display: flex; align-items: center; gap: 20px; max-width: 550px; margin: 0 auto; }
.newsletter-inner input {
  flex: 1; background: #111; border: 1px solid #444;
  color: #fff; padding: 12px 16px; font-size: 14px;
  font-family: 'Roboto', sans-serif; border-radius: 3px;
}
.newsletter-inner input::placeholder { color: #666; }
.newsletter-inner input:focus { border-color: var(--accent); outline: none; }

/* ── FOOTER ──────────────────────────── */
.site-footer {
  position: relative;
  background-color: var(--footer-bg);
  background-image: url('../image footer.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--footer-text);
  padding: 56px 0 0;
}
/* Voile blanc léger – rend le texte noir lisible sans cacher l'image */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.60);
  pointer-events: none;
  z-index: 0;
}
.site-footer .container,
.site-footer .footer-bottom { position: relative; z-index: 1; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 44px; margin-bottom: 44px; }
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 18px; color: #000;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: rgba(0,0,0,.75); font-size: 14px; transition: color .2s; }
.footer-col ul li a:hover { color: #000; text-decoration: none; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(0,0,0,.3); border-radius: 50%;
  color: #000; font-size: 15px; transition: background .2s, border-color .2s;
  text-decoration: none;
}
.social-link:hover { background: rgba(0,0,0,.1); border-color: #000; text-decoration: none; }
.social-link svg { width: 16px; height: 16px; fill: #000; }

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,.15);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(0,0,0,.65);
}
.footer-bottom a { color: rgba(0,0,0,.55); }
.footer-bottom a:hover { color: #000; }

/* ── BREADCRUMB ──────────────────────── */
.breadcrumb { padding: 14px 0; font-size: 13px; color: #666; }
.breadcrumb a { color: #888; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: #555; margin: 0 6px; }

/* ── COOKIE BANNER (Loi 25 / C-25) ──── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #141414;
  border-top: 2px solid var(--accent);
  padding: 22px 28px;
  z-index: 9000;
  display: none;
  box-shadow: 0 -4px 24px rgba(0,0,0,.5);
}
#cookie-banner.show { display: block; }
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.cookie-banner-text { flex: 1; }
.cookie-banner-text h3 { font-size: 15px; color: var(--accent); margin-bottom: 7px; }
.cookie-banner-text p { font-size: 13px; color: #bbb; line-height: 1.6; }
.cookie-banner-text a { color: var(--accent); }
.cookie-banner-btns {
  display: flex; flex-direction: column; gap: 8px; min-width: 176px; flex-shrink: 0;
}
.cookie-banner-btns button {
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 3px; cursor: pointer; border: none;
}
.btn-accept-all  { background: var(--accent); color: #000; }
.btn-accept-all:hover { background: #6dc9d3; }
.btn-reject-all  { background: transparent; color: #ccc; border: 1px solid #555 !important; }
.btn-reject-all:hover { border-color: #fff !important; color: #fff; }
.btn-customize   { background: transparent; color: var(--accent); border: 1px solid var(--accent) !important; }
.btn-customize:hover { background: rgba(131,219,229,.1); }

/* Cookie Preferences Modal */
#cookie-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 9500;
  align-items: center; justify-content: center;
}
#cookie-modal.show { display: flex; }
.cookie-modal-box {
  background: #181818;
  border: 1px solid #333; border-radius: 8px;
  padding: 32px; max-width: 500px; width: 92%;
  max-height: 90vh; overflow-y: auto;
}
.cookie-modal-box h2 { font-size: 20px; margin-bottom: 6px; }
.cookie-modal-box > p { font-size: 13px; color: #aaa; margin-bottom: 24px; line-height: 1.6; }
.cookie-modal-box a { color: var(--accent); }
.cookie-cat { border-bottom: 1px solid #2a2a2a; padding: 18px 0; }
.cookie-cat:last-of-type { border-bottom: none; }
.cookie-cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cookie-cat-header h3 { font-size: 14px; }
.toggle { position: relative; width: 46px; height: 24px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute; inset: 0;
  background: #444; border-radius: 24px; cursor: pointer; transition: background .25s;
}
.toggle-track::before {
  content: '';
  position: absolute; width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .25s;
}
.toggle input:checked + .toggle-track { background: var(--accent); }
.toggle input:checked + .toggle-track::before { transform: translateX(22px); }
.toggle input:disabled + .toggle-track { opacity: .5; cursor: not-allowed; }
.cookie-cat p { font-size: 12px; color: #888; line-height: 1.55; margin-top: 4px; }
.cookie-modal-footer {
  display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap;
}
.cookie-modal-footer button {
  flex: 1; padding: 12px;
  font-family: var(--font-heading);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 3px; cursor: pointer; border: none;
}
.btn-save-prefs { background: var(--accent); color: #000; }
.btn-save-prefs:hover { background: #6dc9d3; }
.btn-accept-modal { background: #222; color: #fff; border: 1px solid #444 !important; }
.btn-accept-modal:hover { background: #2a2a2a; }

/* Cookie preferences link (footer) */
.cookie-settings-link {
  background: none; border: none;
  color: rgba(0,0,0,.55); font-size: 13px;
  cursor: pointer; text-decoration: underline; padding: 0;
  font-family: var(--font-body);
}
.cookie-settings-link:hover { color: #000; }

/* ── LANGUAGE SWITCHER ──────────────── */
.lang-switcher {
  display: flex; align-items: center; gap: 0;
  border: 1px solid rgba(255,255,255,.25); border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.lang-btn {
  background: transparent; border: none;
  color: rgba(255,255,255,.55); font-size: 12px;
  font-family: var(--font-heading); font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase;
  padding: 5px 10px; cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-btn.active { background: var(--accent); color: #000; }
.lang-btn + .lang-btn { border-left: 1px solid rgba(255,255,255,.15); }

/* ── UTILITY ─────────────────────────── */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.mt-0  { margin-top: 0; }
.mb-24 { margin-bottom: 24px; }
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ══════════════════════════════════════
   RESPONSIVE – Mobile First
══════════════════════════════════════ */

/* ── Tablette (≤960px) ──────────────── */
@media (max-width: 960px) {
  /* Navigation */
  .main-nav  { display: none; }
  .hamburger { display: flex; }

  /* Grilles */
  .features-grid { grid-template-columns: 1fr; gap: 36px; }
  .alt-row        { grid-template-columns: 1fr; gap: 32px; }
  .alt-row.reverse .alt-image { order: unset; }
  .alt-row.reverse .alt-text  { order: unset; }
  .product-layout  { grid-template-columns: 1fr; }
  .contact-layout  { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Header */
  .header-inner { padding: 0 16px; height: 60px; }
  .header-logo img { height: 36px; }

  /* Cookies */
  .cookie-banner-inner { flex-direction: column; gap: 16px; }
  .cookie-banner-btns  { flex-direction: row; flex-wrap: wrap; min-width: unset; }
}

/* ── Mobile (≤640px) ────────────────── */
@media (max-width: 640px) {
  /* Espacement général */
  section { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* Typographie */
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .section-title { font-size: 20px; letter-spacing: .05em; }

  /* Page hero */
  .page-hero { padding: 28px 0 16px; }
  .page-hero h1 { font-size: 26px; }

  /* Alt rows */
  .alt-row { padding: 28px 0; gap: 20px; }
  .alt-text h3 { font-size: 20px; }

  /* Grilles */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cookie-modal-footer { flex-direction: column; }

  /* Produit vedette */
  .thumb-strip img { width: 58px; height: 58px; }
  .product-info h2 { font-size: 17px; }
  .product-price { font-size: 24px; }
  .color-swatches { gap: 6px; }
  .swatch-btn { padding: 7px 12px; font-size: 12px; }

  /* Panier */
  .cart-layout { grid-template-columns: 1fr; }

  /* Checkout */
  .checkout-layout { grid-template-columns: 1fr; }

  /* Boutons */
  .btn { padding: 13px 24px; font-size: 12px; }

  /* Cookie banner */
  #cookie-banner { padding: 16px; }
  .cookie-banner-btns { flex-direction: column; }
  .cookie-banner-btns button { width: 100%; }

  /* Header */
  .header-inner { gap: 12px; }
  .lang-switcher { display: none; } /* caché en mobile – accessible via menu */

  /* Features */
  .feature-item img { width: 56px; height: 56px; }

  /* Contact */
  .contact-layout { gap: 32px; }
}

/* ── Très petit (≤390px) ────────────── */
@media (max-width: 390px) {
  .header-logo img { height: 30px; }
  h1 { font-size: 22px; }
  .product-price { font-size: 20px; }
  .btn { padding: 11px 18px; }
}
