/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; color: #222; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== CSS VARIABLES ===== */
:root {
  --orange: #f26522;
  --orange-dark: #d4541a;
  --orange-light: #fff3ec;
  --black: #1a1a1a;
  --dark: #222;
  --gray: #666;
  --light-gray: #f5f5f5;
  --border: #e8e8e8;
  --white: #fff;
}

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.pad { padding: 60px 0; }

/* ===== PAGE LOAD PROGRESS ===== */
.kf-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
  z-index: 99999;
  background: transparent;
  opacity: 0;
  transition: opacity .25s ease;
}
.kf-progress-bar {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .18s ease-out;
  will-change: transform, opacity;
}

/* ===== TOPBAR ===== */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: #555;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }
.topbar-left i { color: var(--orange); }
.topbar-msg { color: #444; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-right a { color: #555; font-size: 13px; transition: color .2s; }
.topbar-right a:hover { color: var(--orange); }
.topbar-right i { color: var(--orange); }
.topbar-map-link,
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #222;
  font-weight: 700;
  text-decoration: none;
}
.topbar-map-link:hover,
.footer-map-link:hover {
  color: var(--orange);
}
.topbar-map-link i,
.footer-map-link i {
  color: var(--orange);
}
.topbar-map-link small,
.footer-map-link small {
  color: #555;
  font-weight: 400;
}
.topbar-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: #444;
  font-size: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
/* ===== HEADER ===== */
.header {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.header-inner { display: flex; align-items: center; gap: 20px; }

/* Logo */
.logo { font-family: 'Barlow Condensed', sans-serif; font-size: 32px; font-weight: 800; line-height: 1; flex-shrink: 0; }
.logo-kf { color: var(--orange); }
.logo-tech { color: var(--black); }

/* Search */
.search-bar {
  flex: 1;
  display: flex;
  border: 2px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  max-width: 600px;
}
.search-category {
  border-right: 1px solid var(--border);
  background: var(--light-gray);
}
.search-category select {
  border: none;
  background: transparent;
  padding: 0 14px;
  height: 44px;
  font-size: 13px;
  cursor: pointer;
  color: #444;
  outline: none;
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 0 16px;
  font-size: 14px;
  outline: none;
  height: 44px;
}
.btn-search {
  background: var(--orange);
  border: none;
  color: #fff;
  width: 50px;
  height: 44px;
  cursor: pointer;
  font-size: 16px;
  transition: background .2s;
}
.btn-search:hover { background: var(--orange-dark); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.action-item { font-size: 13px; cursor: pointer; color: #555; display: flex; align-items: center; gap: 4px; }
.action-item:hover { color: var(--orange); }
.action-icon { position: relative; font-size: 20px; color: #444; transition: color .2s; }
.action-icon:hover { color: var(--orange); }
.badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}

/* ===== MOBILE SEARCH BAR ===== */
.mobile-search {
  display: none;
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 54px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1002;
}
.user-dropdown-wrapper {
  position: relative;
}
.user-dropdown-btn {
  cursor: pointer;
  font-size: 24px;
}
.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 200px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all .2s ease;
  z-index: 1000;
  margin-top: 8px;
}
.user-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  font-size: 13px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--dark);
  font-size: 13px;
  transition: background .2s, color .2s;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}
.dropdown-item:hover {
  background: var(--light-gray);
  color: var(--orange);
}
.dropdown-item i {
  color: var(--orange);
  width: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  background: var(--black);
  position: sticky;
  top: 77px;
  z-index: 190;
  overflow: visible;
  isolation: isolate;
}

/* ---- NAVBAR DESKTOP (visible par défaut) ---- */
.navbar-desktop {
  display: block;
}
.navbar-mobile {
  display: none;
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nav-left { display: flex; align-items: center; gap: 0; min-width: 0; }
.nav-menu-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 14px 18px 14px 0;
  cursor: pointer;
  display: none; /* caché par défaut sur PC */
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.user-greeting {
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}
.btn-user {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
}
.btn-user:hover {
  background: rgba(255,255,255,.18);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
}
.nav-links li { flex: 0 0 auto; }
.nav-links li a {
  color: #ccc;
  font-size: 13.5px;
  font-weight: 500;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active-nav { color: #fff; background: rgba(255,255,255,.08); border-radius: 4px; }
.nav-links li a i { color: var(--orange); font-size: 14px; }
.nav-links::-webkit-scrollbar { height: 6px; }
.nav-links::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 3px; }
.nav-links::-webkit-scrollbar-track { background: transparent; }

/* Mobile-only menu hidden by default on desktop */
.nav-links-mobile { display: none; }

.btn-connexion {
  background: var(--orange);
  color: #fff;
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
  margin: 8px 0;
}

@media (max-width: 900px) {
  .nav-inner { flex-direction: column; align-items: stretch; }
  .nav-left { width: 100%; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .nav-right { width: 100%; justify-content: flex-start; gap: 8px; padding: 10px 0; }
  .btn-connexion, .btn-user { padding: 10px 16px; }
  .user-greeting { font-size: 12px; }
}
.btn-connexion:hover { background: var(--orange-dark); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 40%, #f5f5f5 100%);
  padding: 40px 0 0;
  overflow: hidden;
  min-height: 480px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr 340px;
  align-items: center;
  gap: 20px;
  min-height: 440px;
}

/* Hero content */
.hero-content { padding: 20px 0 40px; }
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 10px;
}
.hero-sub { color: var(--orange); font-weight: 600; font-size: 15px; margin-bottom: 16px; }
.hero-price { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.price-new { font-size: 26px; font-weight: 800; color: var(--black); }
.price-old { font-size: 18px; color: var(--orange); text-decoration: line-through; opacity: .8; }
.stock-wrap { margin-bottom: 24px; }
.stock-bar { background: #e0e0e0; border-radius: 20px; height: 8px; margin-bottom: 8px; overflow: hidden; }
.stock-fill { background: var(--orange); height: 100%; border-radius: 20px; transition: width 1s ease; }
.stock-info { display: flex; justify-content: space-between; font-size: 12px; color: #666; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s, transform .1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange);
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--orange); color: #fff; }

/* Assistance */
.help-section { background: #f8f9ff; }
.help-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: stretch; }
.help-info { max-width: 560px; }
.section-label { display: inline-flex; align-items: center; justify-content: center; background: rgba(242,101,34,.12); color: var(--orange); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 9px 16px; border-radius: 999px; margin-bottom: 18px; }
.help-info h2 { font-size: 38px; line-height: 1.1; margin-bottom: 16px; }
.help-info p { color: #555; font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.help-contact { display: grid; gap: 10px; margin-top: 18px; color: #555; font-size: 15px; }
.help-contact strong { color: var(--black); }
.help-form { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.06); }
.help-form label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #333; }
.help-form textarea,
.help-form input { width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #222; margin-bottom: 18px; background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.help-form textarea { min-height: 150px; resize: vertical; }
.help-form textarea:focus,
.help-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242,101,34,.1); }
.help-form .btn-primary { width: 100%; }
.help-form-message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.help-form-message.success {
  display: block;
  background: #ecf8f1;
  border: 1px solid #7dd3a6;
  color: #166534;
}
.help-form-message.error {
  display: block;
  background: #fff1f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
}
.help-toggle {
  display: block;
  margin: 0 auto 24px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  transition: background .2s;
}
.help-toggle:hover { background: var(--orange-dark); }
.help-grid {
  display: none;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: stretch;
}
.help-section.open .help-grid {
  display: grid;
}
@media (max-width: 900px) {
  .help-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .help-form { padding: 24px; } }

.account-page .account-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.account-card-head { max-width: 620px; margin-bottom: 32px; }
.account-card-head h1 { font-size: 34px; margin: 14px 0 10px; }
.account-card-head p { color: #555; line-height: 1.8; }
.account-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.account-section { background: #f9fbff; border-radius: 14px; padding: 24px; }
.account-section h2 { margin-bottom: 16px; font-size: 20px; }
.account-section ul { list-style: none; padding-left: 0; color: #444; }
.account-section li { margin-bottom: 12px; font-size: 15px; }
.account-section strong { color: var(--black); }
.account-danger { background: #fff4f4; border: 1px solid #f2d6d6; }
.account-danger p { color: #6b2b2b; margin-bottom: 24px; }
@media (max-width: 900px) { .account-details { grid-template-columns: 1fr; } }

/* Hero center */
.hero-center { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 380px; }
.hero-circle {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-img {
  position: relative;
  z-index: 2;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  animation: floatImg 3s ease-in-out infinite;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.discount-badge {
  position: absolute;
  bottom: 60px; right: 20px;
  width: 64px; height: 64px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(242,101,34,.4);
}
.discount-badge small { font-size: 11px; font-weight: 600; }

/* Best card sidebar */
.hero-sidebar { padding-bottom: 20px; }
.best-card {
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.best-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.best-card-header h3 { font-size: 15px; font-weight: 700; color: var(--black); }
.card-nav { display: flex; gap: 6px; }
.card-nav button, .row-arrows .arr-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  font-size: 11px;
  color: #555;
  transition: all .2s;
}
.card-nav button:hover, .row-arrows .arr-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.best-slides { overflow: hidden; }
.best-slide { display: none; text-align: center; }
.best-slide.active { display: block; }
.best-slide img { width: 100%; max-height: 160px; object-fit: contain; border-radius: 6px; margin-bottom: 8px; }
.stars { color: #f5a623; font-size: 14px; margin-bottom: 4px; }
.best-slide p { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.ptag { color: var(--orange); font-weight: 700; font-size: 14px; }
.avail { display: flex; justify-content: space-between; font-size: 11px; color: #888; margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; }
.thumb-row { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.thumb-row button { width: 22px; height: 22px; border: 1px solid var(--border); background: #fff; border-radius: 2px; cursor: pointer; font-size: 9px; color: #666; flex-shrink: 0; }
.thumb-row button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.thumbs-wrap { display: flex; gap: 6px; flex: 1; }
.thumbs-wrap img {
  width: 60px; height: 50px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color .2s;
}
.thumbs-wrap img.active, .thumbs-wrap img:hover { border-color: var(--orange); }

/* ===== FEATURES ===== */
.features { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.feat {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.feat:last-child { border-right: none; }
.feat > i { font-size: 28px; color: var(--orange); flex-shrink: 0; }
.feat h4 { font-size: 13px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.feat p { font-size: 11px; color: #888; }

/* ===== EVENTS SECTION ===== */
.events-section { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); padding: 50px 0 !important; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 28px; }
.event-card { cursor: pointer; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,0.12); transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.3s ease; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); filter: brightness(1.05); }
.event-banner { position: relative; height: 240px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.event-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.event-card:hover .event-img { transform: scale(1.08); }
.event-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 28px 24px; }
.event-badge { font-size: 11px; font-weight: 800; letter-spacing: 0.5px; background: rgba(255,255,255,0.25); backdrop-filter: blur(10px); color: #fff; padding: 6px 14px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.event-title { font-size: 28px; font-weight: 800; margin-bottom: 10px; color: #fff; line-height: 1.2; text-shadow: 0 3px 8px rgba(0,0,0,0.4); letter-spacing: -0.5px; }
.event-desc { font-size: 14px; margin-bottom: 18px; opacity: 0.95; color: #eee; line-height: 1.4; text-shadow: 0 2px 4px rgba(0,0,0,0.3); max-width: 280px; }
.event-meta { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.event-meta span { display: flex; align-items: center; justify-content: center; gap: 6px; color: #ddd; font-weight: 600; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.event-meta i { color: var(--orange); font-size: 13px; }

/* Events responsive */
@media (max-width: 768px) {
  .events-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
  .event-banner { height: 200px; }
  .event-title { font-size: 24px; }
  .event-desc { font-size: 13px; }
  .event-meta { font-size: 11px; gap: 6px; }
}

@media (max-width: 600px) {
  .events-section { padding: 36px 0 !important; }
  .events-grid { grid-template-columns: 1fr; gap: 16px; }
  .event-banner { height: 180px; }
  .event-title { font-size: 22px; margin-bottom: 8px; }
  .event-desc { font-size: 12px; margin-bottom: 14px; }
  .event-badge { font-size: 10px; padding: 5px 12px; }
  .event-overlay { padding: 20px 16px; }
  .event-meta { font-size: 11px; }
}

/* ===== TRENDING SECTION ===== */
.two-col { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }

/* Sidebar */
.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}
.cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  font-size: 13.5px;
  color: #444;
  transition: all .2s;
}
.cat-item i:first-child { color: #aaa; width: 16px; text-align: center; }
.cat-item span { flex: 1; }
.cat-item .fa-chevron-right { font-size: 10px; color: #bbb; }
.cat-item:hover, .cat-item.active { color: var(--orange); background: var(--orange-light); }
.cat-item:hover i, .cat-item.active i { color: var(--orange); }

/* Products area */
.section-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sec-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: var(--black); }
.sec-title span { color: var(--orange); }
.sec-title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--orange); margin-top: 5px; }
.row-arrows { display: flex; gap: 6px; }
.arr-btn { width: 30px; height: 30px; border: 1px solid var(--border); background: #fff; border-radius: 3px; cursor: pointer; font-size: 12px; color: #555; transition: all .2s; }
.arr-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.prod-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
  cursor: pointer;
  position: relative;
}
.prod-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-3px); }
.prod-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
}
.prod-img { height: 160px; background: var(--light-gray); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .3s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-info { padding: 12px; }
.prod-stars { color: #f5a623; font-size: 12px; margin-bottom: 4px; }
.prod-stars span { color: #999; font-size: 11px; margin-left: 4px; }
.prod-name { font-size: 13px; font-weight: 600; color: var(--black); margin-bottom: 6px; line-height: 1.3; }
.prod-prices { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.prod-price-new { color: var(--orange); font-weight: 700; font-size: 14px; }
.prod-price-old { color: #bbb; font-size: 12px; text-decoration: line-through; }
.prod-avail { font-size: 11px; color: #888; margin-bottom: 10px; }
.btn-add {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-add:hover { background: var(--orange-dark); }

/* ===== SMART SECTION ===== */
.smart-section { background: var(--light-gray); }
.brand-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.btab {
  padding: 7px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  color: #555;
}
.btab:hover, .btab.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.btab.orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.smart-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 20px; }
.smart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Review card */
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.review-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.review-card h3::after { content: ''; display: block; width: 30px; height: 2px; background: var(--orange); margin: 6px auto 10px; }
.rev-stars { color: #f5a623; font-size: 20px; margin-bottom: 12px; }
.review-card img { width: 100%; max-height: 140px; object-fit: contain; margin-bottom: 14px; }
.review-card p { font-size: 13px; color: #555; line-height: 1.6; font-style: italic; margin-bottom: 12px; }
.reviewer { display: flex; flex-direction: column; gap: 2px; }
.reviewer strong { font-size: 13px; }
.reviewer small { color: var(--orange); font-size: 11px; }

/* ===== SHIPPING BANNER ===== */
.ship-banner {
  background: var(--light-gray);
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ship-banner p {
  background: #fff;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 14px;
  color: #444;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ship-banner .pct { color: var(--orange); font-weight: 800; font-size: 16px; }
.ship-banner .amt { color: var(--orange); font-weight: 700; }

/* ===== CATEGORY PRODUCTS ===== */
.sec-title-lg {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--black);
}
.sec-title-lg::after { content: ''; display: block; width: 50px; height: 3px; background: var(--orange); margin-top: 6px; }
.cat-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cpcard {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .25s;
}
.cpcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.cpimg { background: var(--light-gray); padding: 20px; text-align: center; height: 180px; display: flex; align-items: center; justify-content: center; }
.cpimg img { max-height: 140px; object-fit: contain; }
.cpinfo { padding: 16px; }
.cpinfo h4 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.cpinfo ul { margin-bottom: 12px; }
.cpinfo ul li { font-size: 13px; color: #666; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.more-link { color: var(--orange); font-size: 13px; font-weight: 600; }
.more-link:hover { text-decoration: underline; }
.cpthumbs { display: flex; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--border); }
.cpthumbs img { width: 50px; height: 44px; object-fit: cover; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: border-color .2s; }
.cpthumbs img.t-active, .cpthumbs img:hover { border-color: var(--orange); }

/* ===== PROMO BANNERS ===== */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo-card {
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.dark-card { background: #ecf0f8; }
.light-card { background: #f5f0e8; }
.promo-txt h3 { font-size: 22px; font-weight: 800; color: var(--black); line-height: 1.2; margin-bottom: 8px; }
.promo-txt p { font-size: 13px; color: #666; margin-bottom: 16px; }
.promo-txt .org { color: var(--orange); }
.pill-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s;
}
.dark-pill { background: var(--black); color: #fff; }
.dark-pill:hover { background: var(--orange); }
.promo-img-wrap { position: relative; }
.promo-img-wrap img { max-height: 150px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.12)); }
.promo-pct {
  position: absolute;
  bottom: 10px; right: -10px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
}
.red-pct { background: #e63946; }

/* ===== BRANDS ===== */
.brands-bar { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-inner { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px; }
.brand-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #bbb;
  letter-spacing: 2px;
  transition: color .2s;
  cursor: pointer;
}
.brand-item:hover { color: var(--orange); }

/* ===== NEWSLETTER ===== */
.newsletter { background: var(--light-gray); padding: 50px 0; }
.newsletter-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.newsletter-inner h2 { font-size: 28px; font-weight: 800; color: var(--black); margin-bottom: 6px; }
.newsletter-inner h2 span { color: var(--orange); }
.newsletter-inner p { color: #666; font-size: 14px; }
.nl-form { display: flex; flex-shrink: 0; }
.nl-form input {
  padding: 0 20px;
  height: 48px;
  width: 280px;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
  outline: none;
}
.nl-form button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0 24px;
  height: 48px;
  border-radius: 0 4px 4px 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .5px;
  transition: background .2s;
}
.nl-form button:hover { background: var(--orange-dark); }

/* ===== FOOTER ===== */
.footer { background: #fafafa; padding: 50px 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 260px 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.f-brand .logo { margin-bottom: 16px; }
.f-brand p { font-size: 13px; color: #888; margin-bottom: 14px; }
.f-contact { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #555; }
.ficon {
  width: 34px; height: 34px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.f-links h4 { font-size: 14px; font-weight: 700; color: var(--black); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); display: inline-block; }
.f-links ul li { margin-bottom: 10px; }
.f-links ul li a { font-size: 13px; color: #777; transition: color .2s; }
.f-links ul li a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; background: #f0f0f0; }
.fb-inner { display: flex; justify-content: space-between; align-items: center; }
.fb-inner p { font-size: 13px; color: #888; }
.fb-inner p span { color: var(--orange); font-weight: 700; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  color: #666;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: all .2s;
}
.socials a:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(242,101,34,.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s;
  z-index: 999;
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--orange-dark); transform: translateY(-3px); }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 1003;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.show { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed;
  top: 0; right: -400px;
  width: min(380px, 100%); height: 100vh;
  max-width: 100%;
  background: #fff;
  z-index: 1010;
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transition: right .3s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.drawer-header h3 { font-size: 18px; font-weight: 700; }
.drawer-header button { background: none; border: none; font-size: 20px; cursor: pointer; color: #555; }
.drawer-header button:hover { color: var(--orange); }
.drawer-items { flex: 1; overflow-y: auto; padding: 16px; padding-bottom: 160px; }
.empty { text-align: center; color: #aaa; font-size: 14px; margin-top: 40px; }
.cart-item {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img { width: 60px; height: 60px; object-fit: contain; background: var(--light-gray); border-radius: 6px; }
.ci-info { flex: 1; }
.ci-info p { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.ci-info span { color: var(--orange); font-weight: 700; font-size: 13px; }
.ci-remove { background: none; border: none; color: #bbb; cursor: pointer; font-size: 14px; }
.ci-remove:hover { color: #e63946; }
.drawer-footer { position: sticky; bottom: 0; padding: 16px 20px; border-top: 1px solid var(--border); background: #fff; z-index: 5; }
.total-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.w100 { display: block; text-align: center; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: fadeInUp .6s ease; }

/* ===== NOTIFICATION MODAL ===== */
.notify-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.notify-modal {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  text-align: center;
}
.notify-modal h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--black);
}
.notify-modal p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.notify-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.notify-modal-actions button {
  flex: 1;
  min-width: 120px;
  height: 46px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.notify-modal-actions button:hover {
  transform: translateY(-1px);
}
.notify-modal-actions .accept {
  background: var(--orange);
  color: #fff;
}
.notify-modal-actions .decline {
  background: #f5f5f5;
  color: #444;
}

/* ===== NOTIFICATION IN-APP (Produits) ===== */
.notification-popup {
  position: fixed;
  top: 120px;
  right: 20px;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  z-index: 1999;
  animation: slideInRight 0.4s ease;
  overflow: hidden;
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}
.notification-popup.closing {
  animation: slideOutRight 0.4s ease forwards;
}

.notification-header {
  background: linear-gradient(135deg, var(--orange) 0%, #ff8c42 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.notification-header h4 {
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}
.notification-header .close-btn {
  background: rgba(255,255,255,.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.notification-header .close-btn:hover {
  background: rgba(255,255,255,.4);
  transform: rotate(90deg);
}

.notification-content {
  padding: 16px;
  max-height: 420px;
  overflow-y: auto;
}
.notification-content::-webkit-scrollbar {
  width: 6px;
}
.notification-content::-webkit-scrollbar-track {
  background: transparent;
}
.notification-content::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
.notification-content::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.notification-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 10px;
  background: var(--light-gray);
  transition: all .2s;
  cursor: pointer;
}
.notification-item:hover {
  background: #efefef;
  transform: translateX(-4px);
}
.notification-item:last-child {
  margin-bottom: 0;
}
.notification-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}
.notification-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notification-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.notification-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.notification-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}
.notification-item-cat {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

.notification-footer {
  background: var(--light-gray);
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.notification-footer a {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
}
.notification-footer a:hover {
  gap: 10px;
}

@media (max-width: 768px) {
  .notification-popup {
    top: 100px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* ===== LOGIN SOCIAL ICONS ===== */
.social-login {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.social-btn:hover {
  transform: translateY(-2px);
  border-color: #d0d0d0;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.social-btn.google { color: #4285f4; }
.social-btn.facebook { color: #1877f2; }
.social-btn.apple { color: #000; }
.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 12px;
  color: #888;
  font-size: 13px;
}
.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ebebeb;
}
.form-divider span { white-space: nowrap; }

.hero-center { animation: fadeInUp .6s ease .1s both; }
.hero-sidebar { animation: fadeInUp .6s ease .2s both; }
.feat { animation: fadeInUp .4s ease both; }
.feat:nth-child(1) { animation-delay: .1s; }
.feat:nth-child(2) { animation-delay: .2s; }
.feat:nth-child(3) { animation-delay: .3s; }
.feat:nth-child(4) { animation-delay: .4s; }
.feat:nth-child(5) { animation-delay: .5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-sidebar { display: none; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .feat { border-bottom: 1px solid var(--border); }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
  .cat-sidebar { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .smart-layout { grid-template-columns: 1fr; }
  .smart-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {

/* ---- HEADER FIXE MOBILE ---- */
  .header {
    display: none;
  }
  .mobile-search {
    display: block !important;
  }
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1005;
  }
  body {
    padding-top: calc(54px + 70px);
  }
  .logo { flex: 0 0 auto; }
  .header-actions { margin-left: auto; flex: 0 0 auto; }
  .search-bar {
    order: 10;
    width: 100%;
    flex: 1 1 100%;
  }
  .action-item { display: none; }

  /* ---- NAVBAR FIXE MOBILE ---- */
  .navbar {
    position: fixed;
    left: 0; right: 0;
    width: 100%;
    z-index: 1004;
    top: 0;
    padding: 0;
    margin: 0;
    /* top calculé dynamiquement par le JS */
  }

  /* Afficher navbar mobile, cacher navbar desktop */
  .navbar-mobile {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    background: var(--black);
    padding: 10px 12px;
    gap: 8px;
  }
  .navbar-desktop {
    display: none !important;
  }

  /* Navbar mobile logo */
  .navbar-mobile-logo {
    flex: 0 0 auto;
    text-align: left;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    color: #fff;
    margin-left: -10px;
  }
  .navbar-mobile-brand {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: inline-block;
  }
  .navbar-mobile-logo .logo-kf { color: var(--orange); }
  .navbar-mobile-logo .logo-tech { color: #fff; }

  .navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-search .search-bar {
    max-width: 100%;
  }
  .mobile-search .search-bar input {
    min-width: 0;
  }
  .mobile-search .btn-search {
    background: var(--orange);
    color: #fff;
    width: 56px;
    min-width: 56px;
    border-radius: 0 4px 4px 0;
    border: none;
  }
  .mobile-search .btn-search:hover {
    background: var(--orange-dark);
  }
  .nav-action-icon {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    padding: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
  }
  .nav-action-icon:hover {
    color: var(--orange);
    background: rgba(255,255,255,.08);
  }
  .nav-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
  }

  /* Navbar mobile actions */
  .navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-action-icon {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    padding: 6px 8px;
  }
  .nav-action-icon:hover {
    color: var(--orange);
  }
  .nav-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
  }

  /* Hamburger button */
  .nav-menu-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 6px 8px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Mobile dropdown utilisateur */
  .user-dropdown-wrapper-mobile {
    position: relative;
  }
  .user-dropdown-btn-mobile {
    cursor: pointer;
    color: #fff;
    font-size: 20px;
  }
  .user-dropdown-menu-mobile {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .2s ease;
    z-index: 1000;
    margin-top: 4px;
  }
  .user-dropdown-wrapper-mobile .user-dropdown-btn-mobile.open ~ .user-dropdown-menu-mobile,
  .user-dropdown-menu-mobile.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Menu links mobile */
  .nav-links-mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--black);
    z-index: 1005;
    padding: 6px 0 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.4);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    list-style: none;
  }
  .nav-links-mobile.open {
    display: flex;
  }
  .nav-links-mobile li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links-mobile li a {
    padding: 13px 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
  }
  .nav-links-mobile li a:active,
  .nav-links-mobile li a:hover { color: var(--orange); background: rgba(255,255,255,.04); }

  /* ---- COMPENSATION DU FIXED : calculée par JS via --kf-offset ---- */
  body { padding-top: var(--kf-offset, 110px); }

  /* ---- HERO MOBILE ---- */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero-center {
    display: flex !important;
    min-height: calc(100vw - 1cm);
    order: -1;
    justify-content: center;
    width: 100%;
    margin-top: 1cm;
  }
  .hero-circle {
    width: calc(100vw - 1cm);
    height: calc(100vw - 1cm);
    max-width: 100%;
    max-height: 100%;
  }
  .hero-img {
    width: calc(100vw - 1.8cm);
    height: calc(100vw - 1.8cm);
    max-width: 100%;
    max-height: 100%;
  }
  .hero-sidebar { display: none; }
  .hero-content { padding: 12px 0 24px; }
  .hero-title { font-size: 34px; }
  .discount-badge { bottom: 10px; right: 6px; width: 48px; height: 48px; font-size: 12px; }

  /* ---- GRILLES ---- */
  .prod-grid    { grid-template-columns: repeat(2, 1fr); }
  .smart-grid   { grid-template-columns: repeat(2, 1fr); }
  .features-grid{ grid-template-columns: repeat(2, 1fr); }
  .smart-section .review-card { display: none; }

  /* ---- PANIER DRAWER ---- */
  .cart-drawer { width: 100% !important; right: -100% !important; }
  .cart-drawer.open { right: 0 !important; }
  .drawer-items { padding-top: 0 !important; }
}

@media (max-width: 480px) {
  .topbar { display: none; }
  .notification-popup { display: none !important; }
  .logo-img { height: 28px; }
  .logo-kf, .logo-tech { font-size: 22px; }
  .hero-title { font-size: 28px; }
  .hero-price .price-new { font-size: 20px; }
  .hero-price .price-old  { font-size: 14px; }
  .hero-btns { flex-direction: column; gap: 8px; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { text-align: center; width: 100%; }
  .hero-dots { margin-top: 12px; }
  .hero-circle {
    width: calc(100vw - 1cm);
    height: calc(100vw - 1cm);
    max-width: 100%;
    max-height: 100%;
  }
  .hero-img {
    width: calc(100vw - 1.8cm);
    height: calc(100vw - 1.8cm);
    max-width: 100%;
    max-height: 100%;
  }
  .prod-grid   { grid-template-columns: 1fr 1fr; gap: 10px; }
  .smart-grid  { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cat-prod-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; }
  .nl-form { width: 100%; }
  .nl-form input { flex: 1; width: auto; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo-card { flex-direction: column; text-align: center; }
  .brands-inner { gap: 10px; }
  .brand-item { font-size: 16px; }
  .section-header-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .brand-tabs { flex-wrap: wrap; gap: 6px; }
  /* Cartes produits plus compactes */
  .prod-name  { font-size: 12px; }
  .prod-price-new { font-size: 13px; }
  .btn-add    { font-size: 11px; padding: 8px 4px; }
}

/* ===== LOGO IMAGE ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}
/* Footer logo un peu plus petit */
.f-brand .logo-img { height: 34px; }
/* Modal logo */
.modal-logo { justify-content: center; margin-bottom: 20px; }
.modal-logo .logo-img { height: 36px; }

/* ===== MODAL BASE ===== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal-box {
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  transform: translateY(20px);
  transition: transform .3s;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.show .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 18px; color: #aaa;
  cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--orange); }

/* Modal tabs */
.modal-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  gap: 0;
}
.mtab {
  flex: 1;
  background: none; border: none;
  padding: 10px;
  font-size: 14px; font-weight: 600;
  color: #aaa; cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.mtab.active { color: var(--orange); border-bottom-color: var(--orange); }

.modal-title { font-size: 22px; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.modal-sub { font-size: 13px; color: #888; margin-bottom: 20px; }

/* Form groups */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: #555; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.form-group input {
  width: 100%; height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  font-family: 'Barlow', sans-serif;
}
.form-group input:focus { border-color: var(--orange); }

.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 42px; }
.toggle-pass {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: #aaa; cursor: pointer; font-size: 14px;
}
.toggle-pass:hover { color: var(--orange); }

.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; }
.checkbox-label { display: flex; align-items: center; gap: 6px; color: #555; cursor: pointer; }
.forgot { color: var(--orange); font-weight: 600; }
.forgot:hover { text-decoration: underline; }

.modal-btn { height: 48px; font-size: 15px; border: none; cursor: pointer; border-radius: 6px; }
.modal-switch { text-align: center; font-size: 13px; color: #888; margin-top: 16px; }
.modal-switch a { color: var(--orange); font-weight: 700; }
.modal-switch a:hover { text-decoration: underline; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 80px; right: 24px;
  background: var(--black);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  opacity: 0;
  transform: translateY(10px);
  transition: all .3s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: #2ecc71; }
.toast.error { background: #e63946; }

/* ===== PRODUCT DETAIL MODAL ===== */
.prod-modal { max-width: 700px; padding: 28px; }
.prod-modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.pm-gallery img {
  width: 100%; border-radius: 8px;
  object-fit: contain;
  background: var(--light-gray);
  padding: 16px;
  max-height: 260px;
}
.pm-badge { display: inline-block; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 3px; margin-bottom: 10px; }
.pm-name { font-size: 18px; font-weight: 800; color: var(--black); margin-bottom: 8px; line-height: 1.3; }
.pm-stars { color: #f5a623; font-size: 15px; margin-bottom: 10px; }
.pm-stars span { color: #999; font-size: 12px; margin-left: 4px; }
.pm-prices { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.pm-price-new { font-size: 22px; font-weight: 800; color: var(--orange); }
.pm-price-old { font-size: 16px; color: #bbb; text-decoration: line-through; }
.pm-avail { font-size: 13px; color: #666; margin-bottom: 16px; }
.pm-avail span { color: #2ecc71; font-weight: 700; }
.pm-qty { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.pm-qty label { font-size: 13px; font-weight: 600; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.qty-btn { width: 34px; height: 34px; background: var(--light-gray); border: none; font-size: 16px; cursor: pointer; transition: background .2s; }
.qty-btn:hover { background: var(--orange); color: #fff; }
.qty-val { width: 40px; text-align: center; font-weight: 700; font-size: 15px; border: none; outline: none; background: #fff; }
.pm-btns { display: flex; flex-direction: column; gap: 10px; }
.pm-btns .btn-primary, .pm-btns .btn-outline { text-align: center; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 14px; border: none; cursor: pointer; border-radius: 4px; font-family: 'Barlow', sans-serif; font-weight: 700; }

@media (max-width: 580px) {
  .prod-modal-inner { grid-template-columns: 1fr; }
  .modal-box { padding: 20px 18px; }
}

/* ===== HERO DIAPORAMA - DOTS ===== */
.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}
.hero-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

/* Flèches hero */
.hero-arrows {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.hero-arr {
  width: 36px; height: 36px;
  border: 2px solid rgba(242,101,34,.4);
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  color: var(--orange);
  cursor: pointer;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.hero-arr:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Badge remise sur carte produit */
.prod-disc {
  position: absolute;
  top: 10px; right: 10px;
  background: #e63946;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 3px;
  z-index: 1;
}

/* ===== PANIER - BOUTONS QUANTITÉ ===== */
.ci-qty-btn {
  width: 24px; height: 24px;
  background: var(--light-gray);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all .2s;
  font-family: 'Barlow', sans-serif;
}
.ci-qty-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ===== MODAL ACHETER MAINTENANT ===== */
#modalAcheterNow input:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(242,101,34,.1);
}

/* ===== BOUTON FAVORI ===== */
.btn-wish.active,
.btn-wish-prod.active {
  border-color: #e63946 !important;
  color: #e63946 !important;
  background: #fff5f5 !important;
}
.btn-wish:hover,
.btn-wish-prod:hover {
  border-color: #e63946 !important;
  color: #e63946 !important;
}