/*
Theme Name: Kirikou Shop
Theme URI: https://kirikou.ci
Author: Kirikou
Description: Thème e-commerce moderne pour Kirikou - électroménagers et high-tech
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: kirikou
Tags: e-commerce, woocommerce, responsive, mobile-first
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #F05A1A;
  --orange-light: #FFF0E8;
  --navy:         #1A2744;
  --dark:         #1C1C1E;
  --gray:         #6B7280;
  --gray-light:   #F5F5F7;
  --white:        #FFFFFF;
  --border:       #E8E8E8;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.10);
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:        480px;
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: #F0F0F0;
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-wrap {
  width: 100%;
  max-width: var(--max-w);
  background: var(--white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  padding-bottom: 80px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input { font-family: var(--font); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--border);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.header-menu-btn {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
}
.header-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.site-logo .logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -1px;
  line-height: 1;
}
.site-logo .logo-eyes {
  font-size: 11px;
  letter-spacing: 8px;
  color: var(--navy);
  margin-top: -2px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-icon-btn {
  position: relative;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.header-icon-btn svg { width: 22px; height: 22px; stroke: var(--dark); fill: none; stroke-width: 1.8; }
.badge {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Search bar */
/* ═══════════════ SEARCH BAR ═══════════════ */

.header-search {
    background: #fff;
    position: relative;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 10px;
    padding-right:5px;
    padding-left:5px;
    padding-top:5px;
    padding-bottom:5px;
    flex: 1;
    gap: 5px;
    height: 50px;
    border: 1.5px solid #ebebeb;
    transition: border-color 0.2s;
}

.search-input-wrap:focus-within {
    border-color: #d0d0d0;
    background: #fff;
}

.search-input-wrap svg {
    width: 20px;
    height: 20px;
    stroke: #999;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    flex-shrink: 0;
}

.search-input-wrap input[type="search"] {
    border: none;
    background: transparent;
    outline: none;
    color: #222;
    width: 100%;
}

.search-input-wrap input[type="search"]::placeholder {
    color: #aaa;
    font-size:12px !important;
}

/* Masquer le bouton natif clear sur webkit */
.search-input-wrap input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-btn {
    background: #f25c05;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0 20px;
    height: 40px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
    font-size:12px !important;
}

.search-btn:hover {
    background: #d94f00;
}

.search-btn:active {
    background: #c24600;
}

/* ═══════════════ SEARCH RESULTS DROPDOWN ═══════════════ */

.search-results {
    position: absolute;
    top: calc(100% - 4px);
    left: 16px;
    right: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    z-index: 999;
    overflow: hidden;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: #222;
    transition: background 0.15s;
    border-bottom: 1px solid #f5f5f5;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #fdf3ec;
}

.search-result-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f5f5f5;
}

.search-result-item .result-info {
    flex: 1;
    min-width: 0;
}

.search-result-item .result-title {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-item .result-price {
    font-size: 13px;
    color: #f25c05;
    font-weight: 600;
    margin-top: 2px;
}

.search-no-results {
    padding: 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* =============================================
   TRUST BANNER
   ============================================= */
.trust-banner {
  background: var(--navy);
  padding-left: 10px;
  padding-right:10px;
  padding-top:5px;
  padding-bottom:8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  width: 97%;
  margin-right: auto;
  margin-left: auto;
  border-radius: 10px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.trust-item + .trust-item {
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.15);
}
.trust-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(240,90,26,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.trust-icon svg { width: 18px; height: 18px; stroke: var(--orange); fill: none; stroke-width: 1.8; }
.trust-text strong {
  display: block;
  font-size: 8px;
  font-weight: 700;
  color: var(--white);
}
.trust-text span {
  font-size: 8px;
  color: rgba(255,255,255,0.6);
}

/* =============================================
   CATEGORIES ICONS
   ============================================= */
/* ═══════════════ CATEGORIES ═══════════════ */

.categories-section {
    padding: 16px 0;
    background: #fff;
}

.categories-grid {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 4px solid #8080800f;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    gap:10px;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.cat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ebebeb;
    transition: border-color 0.2s, transform 0.2s;
}

.cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-item:hover .cat-icon {
    border-color: #f25c05;
    transform: scale(1.05);
}

.cat-label {
    font-size: 8px;
    color: #333;
    text-align: center;
    line-height: 1.3;
    max-width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-item:hover .cat-label {
    color: #f25c05;
}

/* =============================================
   HERO BANNER / SLIDER
   ============================================= */
.hero-section {
  padding: 16px 14px;
  background: var(--white);
  border-bottom: 8px solid var(--gray-light);
}
.hero-slide {
  background: #FFF0E2;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}
.hero-content { flex: 1; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.hero-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero-title .accent { color: var(--orange); }
.hero-desc {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 160px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--radius-xl);
}
.hero-image {
  width: 160px;
  flex-shrink: 0;
  text-align: center;
  font-size: 90px;
  line-height: 1;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.hero-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }

/* =============================================
   FEATURES STRIP
   ============================================= */
.features-strip {
  display: flex;
  justify-content: space-between;
  padding: 20px 14px;
  background: var(--white);
  border-bottom: 8px solid var(--gray-light);
  gap: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  text-align: center;
}
.feature-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; stroke: var(--orange); fill: none; stroke-width: 1.6; }
.feature-item strong {
  font-size: 8px;
  font-weight: 700;
  color: var(--dark);
  display: block;
}
.feature-item span {
  font-size: 8px;
  color: var(--gray);
}

/* =============================================
   SECTION HEADER
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 14px 12px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =============================================
   PRODUCT CARDS - FLASH DEALS
   ============================================= */
.flash-section .product-card {
  display: flex;
  flex-direction: column;
  min-width: 155px;
  max-width: 155px;
  width: 155px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}

.flash-section .product-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.flash-section {
  padding: 0 0 1.5rem 0;
  background: var(--white);
  border-bottom: 8px solid var(--gray-light);
}

.flash-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 14px 12px;
  margin-bottom: 0;
}

.flash-section .section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.flash-section .section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}


/* =============================================
   COLLECTION
   ============================================= */
/* ===== NOS COLLECTIONS ===== */
.collections-section {
  padding: 20px 0;
  background: #fff;
  border-bottom: 8px solid #f0f0f0;
}

.collections-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 14px;
}

.collections-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.collections-link {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #F05A1A;
  text-decoration: none;
}
.collections-link svg {
  width: 16px;
  height: 16px;
  stroke: #F05A1A;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== SCROLL ===== */
.collections-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.collections-scroll::-webkit-scrollbar {
  display: none;
}

/* ===== ITEM ===== */
.col-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  text-decoration: none;
}

.col-img {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0f0f0;
}

.col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.col-item:active .col-img img {
  transform: scale(1.04);
}

.col-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

/* Overlay dégradé bas */
.col-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.55) 100%);
  border-radius: 16px;
}

/* Label centré en bas */
.col-label {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .collections-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
    padding: 0 14px;
    gap: 14px;
  }
  .col-img {
    width: 100%;
    height: 160px;
  }
  .collections-title {
    font-size: 20px;
  }
}

/* ===== SCROLL HORIZONTAL MOBILE ===== */
.flash-section .products-scroll {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.flash-section .products-scroll::-webkit-scrollbar {
  display: none;
}

/* ===== CARTE PRODUIT ===== */
.flash-section .product-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex !important;
  flex-direction: column !important;
  min-width: 155px;
  max-width: 155px;
  width: 155px;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: box-shadow 0.2s;
}

/* ===== IMAGE ===== */
.flash-section .product-img {
  position: relative;
  width: 100%;
  height: 145px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.flash-section .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== BADGE ===== */
.flash-section .product-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  z-index: 1;
}

/* ===== FAVORI ===== */
.flash-section .product-wish {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.flash-section .product-wish svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #bbb;
  stroke-width: 2;
}

/* ===== INFOS ===== */
.flash-section .product-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 5px;
}
.flash-section .product-name {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ===== ÉTOILES ===== */
.flash-section .product-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.flash-section .star-icon {
  width: 12px;
  height: 12px;
  fill: #F59E0B;
  stroke: none;
}
.flash-section .rating-val {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark);
}
.flash-section .rating-count {
  font-size: 11px;
  color: #aaa;
}

/* ===== PRIX WOOCOMMERCE ===== */
.flash-section .product-price { line-height: 1.3; }
.flash-section .product-price del {
  font-size: 11px;
  color: #aaa;
  display: block;
}
.flash-section .product-price ins {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
}

/* ===== BOUTON PANIER ===== */
.flash-section .add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 4px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
  white-space: nowrap;
  transition: background 0.15s;
}
.flash-section .add-btn:hover,
.flash-section .add-btn:active {
  background: #d94f00;
  color: #fff;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .flash-section {
    padding: 0 0 2rem 0;
  }
  .flash-section .section-title { font-size: 20px; }
  .flash-section .products-scroll {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    overflow-x: visible;
    padding: 0 14px 0;
    gap: 16px;
  }
  .flash-section .product-card {
    min-width: unset;
    max-width: unset;
    width: auto;
  }
  .flash-section .product-img { height: 220px; }
  .flash-section .product-name { font-size: 13px; }
  .flash-section .product-price ins { font-size: 15px; }
  .flash-section .add-btn { font-size: 12px; padding: 10px 8px; }
}


/* =============================================
  NOUVEAUTE
   ============================================= */
/* ===== NOUVEAUTÉS ===== */
.nouveautes-section {
  padding: 20px 0;
  background: #fff;
  border-bottom: 8px solid #f0f0f0;
}

.nouveautes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 14px;
}

.nouveautes-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nouveautes-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.new-badge {
  background: #F05A1A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.nouveautes-link {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #F05A1A;
  text-decoration: none;
}
.nouveautes-link svg {
  width: 16px;
  height: 16px;
  stroke: #F05A1A;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== SCROLL ===== */
.nouveautes-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nouveautes-scroll::-webkit-scrollbar { display: none; }

/* ===== CARTE ===== */
.nv-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 150px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

.nv-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* ===== IMAGE ===== */
.nv-img {
  position: relative;
  width: 100%;
  height: 140px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nv-no-img { font-size: 36px; }

/* Badge NOUVEAU */
.nv-nouveau-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #F05A1A;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  z-index: 1;
  letter-spacing: 0.3px;
}

/* Favori */
.nv-wish {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 1;
}
.nv-wish svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #bbb;
  stroke-width: 2;
}

/* ===== INFOS ===== */
.nv-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nv-name {
  font-size: 12px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== ÉTOILES ===== */
.nv-stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nv-star-icon {
  width: 12px;
  height: 12px;
  fill: #F59E0B;
  stroke: none;
}
.nv-rating-val {
  font-size: 11px;
  font-weight: 600;
  color: #1a1a1a;
}
.nv-rating-count {
  font-size: 11px;
  color: #aaa;
}

/* ===== PRIX ===== */
.nv-price { line-height: 1.3; }
.nv-price del {
  font-size: 11px;
  color: #aaa;
  display: block;
}
.nv-price ins {
  font-size: 14px;
  font-weight: 700;
  color: #F05A1A;
  text-decoration: none;
}
.nv-price .woocommerce-Price-amount {
  font-size: 14px;
  font-weight: 700;
  color: #F05A1A;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .nouveautes-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    padding: 0 14px;
    gap: 16px;
  }
  .nv-card {
    width: auto;
  }
  .nv-img { height: 200px; }
  .nouveautes-title { font-size: 20px; }
  .nv-name { font-size: 13px; }
  .nv-price ins { font-size: 15px; }
}   
   
/* Cache "à partir de" et plage de prix sur variables */
.nv-price .woocommerce-Price-amount:first-child + .woocommerce-Price-amount::before {
  content: none;
}

















/* =============================================
/* ===== PROMO BANNER ===== */
   ============================================= */

/* ===== PROMO BANNER ===== */
.promo-banner-section {
  padding: 14px;
  background: #fff;
  border-bottom: 8px solid #f0f0f0;
}

.promo-banner-inner {
  background: #FFF0E8;
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  position: relative;
}

.promo-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.promo-pct-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #F05A1A;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(240,90,26,0.35);
  position: relative;
}

/* petites étoiles decoratives */
.promo-pct-icon::before,
.promo-pct-icon::after {
  content: '✦';
  position: absolute;
  color: #F05A1A;
  font-size: 8px;
}
.promo-pct-icon::before { top: -6px; left: -4px; }
.promo-pct-icon::after  { bottom: -4px; right: -6px; }

.promo-banner-text { flex: 1; }

.promo-banner-title {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 3px;
}

.promo-banner-sub {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.promo-banner-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.promo-banner-gifts {
  font-size: 22px;
  letter-spacing: -2px;
  line-height: 1;
}

.promo-banner-btn {
  background: #F05A1A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.promo-banner-btn:hover { background: #d94f00; }

/* ===== CONSEILS & GUIDES ===== */
.guides-section {
  padding: 20px 0;
  background: #fff;
  border-bottom: 8px solid #f0f0f0;
}

.guides-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 14px;
}

.guides-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.guides-link {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #F05A1A;
  text-decoration: none;
}
.guides-link svg {
  width: 16px;
  height: 16px;
  stroke: #F05A1A;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== SCROLL ===== */
.guides-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.guides-scroll::-webkit-scrollbar { display: none; }

/* ===== CARTE ARTICLE ===== */
.guide-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 200px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-img {
  position: relative;
  width: 100%;
  height: 130px;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
}
.guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.guide-card:active .guide-img img {
  transform: scale(1.03);
}
.guide-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

/* Badge catégorie */
.guide-cat-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: #F05A1A;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  z-index: 1;
  letter-spacing: 0.3px;
}

.guide-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.guide-title {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-date {
  font-size: 11px;
  color: #aaa;
}

/* ===== DESKTOP ===== */
@media (min-width: 768px) {
  .promo-banner-section { padding: 20px 0; }
  .promo-banner-title { font-size: 18px; }
  .promo-banner-gifts { font-size: 28px; }
  .promo-banner-btn { font-size: 13px; padding: 11px 20px; }

  .guides-section { padding: 24px 0; }
  .guides-title { font-size: 20px; }
  .guides-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    padding: 0 14px;
    gap: 16px;
  }
  .guide-card { width: auto; }
  .guide-img { height: 180px; }
  .guide-title { font-size: 14px; }
}
/* =============================================
   PRODUCT GRID (2 columns)
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 14px 16px;
}
.products-grid .product-card {
  min-width: unset;
  max-width: unset;
}
.products-grid .product-img { height: 150px; }

/* =============================================
   PROMO BANNER
   ============================================= */
.promo-banner {
  margin: 0 14px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, #2A3F6F 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.promo-text h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.promo-text p { font-size: 12px; color: rgba(255,255,255,0.7); }
.promo-btn {
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-xl);
  white-space: nowrap;
}

/* =============================================
   BOTTOM NAV
   ============================================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  background: var(--white);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 10px 0 14px;
  z-index: 200;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 52px;
}
.nav-item svg { width: 22px; height: 22px; stroke: var(--gray); fill: none; stroke-width: 1.8; }
.nav-item span { font-size: 10px; color: var(--gray); font-weight: 500; }
.nav-item.active svg { stroke: var(--orange); }
.nav-item.active span { color: var(--orange); font-weight: 700; }
.nav-cart-btn {
  width: 48px; height: 48px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: -18px;
  box-shadow: 0 4px 14px rgba(240,90,26,0.4);
}
.nav-cart-btn svg { stroke: var(--white); width: 22px; height: 22px; }

/* =============================================
   WOOCOMMERCE OVERRIDES
   ============================================= */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}
.woocommerce ul.products li.product a img {
  margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 10px 10px 4px !important;
}
.woocommerce ul.products li.product .price {
  color: var(--orange) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  padding: 0 10px 10px !important;
}
.woocommerce ul.products li.product a.button {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

/* =============================================
   MOBILE MENU (off-canvas)
   ============================================= */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: all; }
.mobile-menu {
  position: fixed;
  top: 0; left: -100%;
  width: 80%; max-width: 320px;
  height: 100%;
  background: var(--white);
  z-index: 301;
  transition: left .3s ease;
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.open { left: 0; }
.menu-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gray);
}
.menu-logo { font-size: 26px; font-weight: 800; color: var(--orange); margin-bottom: 28px; }
.menu-nav li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.menu-nav li a { font-size: 15px; font-weight: 500; color: var(--dark); display: flex; align-items: center; gap: 10px; }
.menu-nav li a svg { width: 18px; height: 18px; stroke: var(--orange); }

/* =============================================
   UTILITIES
   ============================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }


.custom-logo-link img {
    width:80px;
    height:60px;
}



/* =============================================
   DESKTOP — à coller à la fin de style.css
   S'applique à partir de 768px
   ============================================= */

@media (min-width: 768px) {

  /* ── BODY & LAYOUT ── */
  :root {
    --max-w: 1200px;
  }

  body {
    background: #f0f0f0;
  }

  .site-wrap {
    max-width: var(--max-w);
    padding-bottom: 0; /* plus de bottom nav sur desktop */
  }

  /* ── HEADER ── */
  .site-header {
    padding: 16px 32px 12px;
  }

  .header-top {
    margin-bottom: 14px;
  }

  .header-menu-btn {
    display: none; /* menu burger caché sur desktop */
  }

  .site-logo .logo-text {
    font-size: 36px;
  }

  .header-icons {
    gap: 24px;
  }

  .header-icon-btn {
    width: 38px;
    height: 38px;
  }

  .header-icon-btn svg {
    width: 26px;
    height: 26px;
  }

  /* Search bar plus large */
  .header-search {
    padding: 0 32px;
    margin-bottom: 4px;
  }

  .search-input-wrap {
    height: 52px;
    border-radius: 12px;
  }

  .search-btn {
    height: 44px;
    font-size: 14px !important;
    padding: 0 28px;
    border-radius: 12px;
  }

  .search-results {
    left: 32px;
    right: 32px;
  }

  /* ── TRUST BANNER ── */
  .trust-banner {
    width: calc(100% - 64px);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 24px;
    border-radius: 12px;
  }

  .trust-item {
    gap: 12px;
  }

  .trust-icon {
    width: 40px;
    height: 40px;
  }

  .trust-icon svg {
    width: 22px;
    height: 22px;
  }

  .trust-text strong {
    font-size: 11px;
  }

  .trust-text span {
    font-size: 10px;
  }

  /* ── CATEGORIES ── */
  .categories-section {
    padding: 20px 0;
  }

  .categories-grid {
    width: calc(100% - 64px);
    display: flex;
    overflow-x: visible;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 24px;
    border-bottom: none;
    padding-bottom: 8px;
  }

  .cat-icon {
    width: 56px;
    height: 56px;
    border-width: 2px;
  }

  .cat-label {
    font-size: 11px;
    max-width: 70px;
  }

  /* ── HERO BANNER ── */
  .hero-section {
    padding: 24px 32px;
  }

  .hero-slide {
    min-height: 280px;
    padding: 36px 40px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 14px;
    max-width: 280px;
  }

  .hero-cta {
    font-size: 15px;
    padding: 14px 28px;
  }

  .hero-image {
    width: 240px;
    font-size: 130px;
  }

  /* ── FEATURES STRIP ── */
  .features-strip {
    padding: 24px 32px;
    gap: 16px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
  }

  .feature-icon svg {
    width: 34px;
    height: 34px;
  }

  .feature-item strong {
    font-size: 12px;
  }

  .feature-item span {
    font-size: 11px;
  }

  /* ── SECTION HEADERS ── */
  .section-header {
    padding: 24px 32px 16px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-link {
    font-size: 14px;
  }

  /* ── FLASH SECTION ── */
  .flash-section {
    padding: 0 0 2.5rem 0;
  }

  .flash-section .section-header {
    padding: 24px 32px 16px;
  }

  .flash-section .products-scroll {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    overflow-x: visible;
    padding: 0 32px 0;
    gap: 16px;
  }

  .flash-section .product-card {
    min-width: unset;
    max-width: unset;
    width: auto;
  }

  .flash-section .product-img {
    height: 200px;
  }

  .flash-section .product-name {
    font-size: 13px;
  }

  .flash-section .product-price ins {
    font-size: 15px;
  }

  .flash-section .add-btn {
    font-size: 12px;
    padding: 10px 8px;
  }

  /* ── COLLECTIONS ── */
  .collections-section {
    padding: 24px 0;
  }

  .collections-header {
    padding: 0 32px 16px;
  }

  .collections-title {
    font-size: 22px;
  }

  .collections-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow-x: visible;
    padding: 0 32px;
    gap: 16px;
  }

  .col-img {
    width: 100%;
    height: 170px;
  }

  /* ── NOUVEAUTÉS ── */
  .nouveautes-section {
    padding: 24px 0;
  }

  .nouveautes-header {
    padding: 0 32px 16px;
  }

  .nouveautes-title {
    font-size: 22px;
  }

  .nouveautes-scroll {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    overflow-x: visible;
    padding: 0 32px;
    gap: 16px;
  }

  .nv-card {
    width: auto;
  }

  .nv-img {
    height: 200px;
  }

  .nv-name {
    font-size: 13px;
  }

  .nv-price ins {
    font-size: 15px;
  }

  /* ── PROMO BANNER ── */
  .promo-banner-section {
    padding: 24px 32px;
  }

  .promo-banner-inner {
    padding: 28px 32px;
    border-radius: 20px;
  }

  .promo-pct-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .promo-banner-title {
    font-size: 20px;
  }

  .promo-banner-sub {
    font-size: 14px;
  }

  .promo-banner-gifts {
    font-size: 32px;
  }

  .promo-banner-btn {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* ── GUIDES ── */
  .guides-section {
    padding: 24px 0;
  }

  .guides-header {
    padding: 0 32px 16px;
  }

  .guides-title {
    font-size: 22px;
  }

  .guides-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    padding: 0 32px;
    gap: 20px;
  }

  .guide-card {
    width: auto;
  }

  .guide-img {
    height: 190px;
  }

  .guide-title {
    font-size: 14px;
  }

  /* ── PRODUCT GRID ── */
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 32px 24px;
  }

  .products-grid .product-img {
    height: 200px;
  }

  /* ── BOTTOM NAV caché sur desktop ── */
  .bottom-nav {
    display: none;
  }

  /* ── MENU MOBILE caché sur desktop ── */
  .mobile-menu-overlay,
  .mobile-menu {
    display: none;
  }

  /* ── NAV DESKTOP (si tu veux en ajouter une) ── */
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 32px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

  .desktop-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.15s;
  }

  .desktop-nav a:hover {
    color: var(--orange);
  }

  .desktop-nav a.active {
    color: var(--orange);
    font-weight: 700;
  }

  /* ── WOOCOMMERCE OVERRIDES ── */
  .woocommerce ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
  }

  .woocommerce ul.products li.product .price {
    font-size: 16px !important;
  }

}

/* ── TRÈS GRAND ÉCRAN ── */
@media (min-width: 1200px) {

  .flash-section .products-scroll {
    grid-template-columns: repeat(6, 1fr) !important;
  }

  .nouveautes-scroll {
    grid-template-columns: repeat(6, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(5, 1fr) !important;
  }

}
