/** Shopify CDN: Minification failed

Line 1305:9 Expected identifier but found whitespace
Line 1305:11 Unexpected "{"
Line 1305:20 Expected ":"
Line 1305:48 Expected ":"
Line 1310:26 Expected identifier but found whitespace
Line 1310:28 Unexpected "{"
Line 1310:37 Expected ":"
Line 1310:77 Expected ":"
Line 1323:2 Unexpected "{"
Line 1323:3 Expected identifier but found "%"
... and 34 more hidden warnings

**/
/* =====================================================
   NEKONIBBLES THEME - CSS OPTIMISÉ & NETTOYÉ
   ===================================================== */

/* =====================================================
   VARIABLES CSS
   ===================================================== */
:root {
  --color-pink-light: #FFE5F0;
  --color-pink: #FFB5D6;
  --color-pink-dark: #FF8AB8;
  --color-coral: #FF9999;
  --color-blue-light: #D4F1F9;
  --color-green-light: #D5E8B5;
  --color-cream: #FFF8F0;
  --color-lavender: #E8D9F5;
  --color-brown: #8B6F47;
  --color-text: #4A3728;
  --color-white: #FFFFFF;
  
  --font-heading: 'Patrick Hand', cursive;
  --font-body: 'Nunito', sans-serif;
  
  --border-radius: 25px;
  --shadow-soft: 0 8px 20px rgba(255, 181, 214, 0.3);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   RESET & BASE
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-pink-light) 0%, var(--color-lavender) 100%);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Empêcher le scroll du body quand le menu est ouvert */
body.menu-open {
  overflow: hidden;   /* empêche le scroll du body */
  position: relative; /* ne bloque pas le scroll interne */
}

.mobile-menu {
  max-height: 100vh;                 /* hauteur maximale égale à l'écran */
  overflow-y: auto;                  /* active le scroll vertical */
  -webkit-overflow-scrolling: touch; /* scroll fluide sur iOS */
  padding: 20px;
}


/* =====================================================
   ANIMATIONS DÉCORATIVES
   ===================================================== */

/* Sakura Petals Animation */
#sakura-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  width: 15px;
  height: 15px;
  background: radial-gradient(circle, #FFB5D6 0%, #FFD4E5 50%, #FFF 100%);
  border-radius: 50% 0 50% 0;
  top: -20px;
  animation: fall linear infinite;
  opacity: 0.6;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Cute Cursor Trail Effect */
.cursor-trail {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-pink);
  pointer-events: none;
  opacity: 0;
  animation: trail 0.8s ease-out;
  z-index: 9999;
}

@keyframes trail {
  0% {
    transform: scale(0);
    opacity: 0.8;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Decorative Elements */
.deco-flower {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.3;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* =====================================================
   TYPOGRAPHIE
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  color: var(--color-text);
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.8);
}

h2 {
  font-size: 2.8rem;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

h2::before,
h2::after {
  content: '🌸';
  margin: 0 15px;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* =====================================================
   HEADER KAWAII
   ===================================================== */


.kawaii-header {
  position: absolute;
  background: transparent;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  overflow: hidden;
}

.kawaii-header-bg {
  position: absolute;
  inset: 0;              /* ← prend toute la hauteur du header */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.kawaii-header-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* Logo */
.kawaii-logo {
  display: flex;
  align-items: center;
  z-index: 10002;
}

.kawaii-logo img {
  max-height: 60px;
  margin-bottom: 0;
  transition: max-height 0.3s ease;
}

.kawaii-logo h1 {
  font-family: 'Mochiy Pop One', sans-serif;
  color: #E77C8E;
  font-size: 2rem;
  margin-bottom: 0;
  transition: font-size 0.3s ease;
}



.kawaii-nav a {
  font-family: 'Mochiy Pop One', sans-serif;
  text-decoration: none;
  color: #6D071A;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.kawaii-nav a::after {
  content: "•";
  color: #F4A6B8;
  margin-left: 12px;
}

.kawaii-nav a:hover {
  color: #E77C8E;
}

.kawaii-nav {
  display: none;
}


/* Focus visible pour accessibilité */
.kawaii-nav a:focus-visible {
  outline: 3px solid var(--color-pink-dark);
  outline-offset: 3px;
  border-radius: 5px;
}

/* =====================================================
   MENU BURGER MOBILE
   ===================================================== */

/* ==============================================
   MENU BURGER - CORRECTION Z-INDEX
   Ajoutez ces règles à votre CSS ou remplacez
   la section menu burger existante
   ============================================== */

/* Empêcher le scroll du body quand le menu est ouvert */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}



/* ===============================
   BURGER → X ANIMATION
   =============================== */

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: var(--burger-size);
  height: var(--burger-size);
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--burger-color);
  border-radius: 10px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
}

/* ÉTAT OUVERT = X */
.burger-btn.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger-btn.open span:nth-child(2) {
  opacity: 0;
}

.burger-btn.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}





.mobile-menu.active {
  right: 0; /* Glisse vers la gauche */
}

/* Navigation dans le menu mobile */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 3rem;
}

.mobile-nav a {
  color: #4A3728;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  display: block;
  border: 2px solid transparent;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: linear-gradient(135deg, #FFB5D6, #FF8AB8);
  color: white;
  transform: translateX(5px);
  border-color: #FF8AB8;
}



/* ✅ HIÉRARCHIE DES Z-INDEX COMPLÈTE */
/*
  - Contenu de la page: z-index: 1-100
  - Header: z-index: 100
  - Overlay: z-index: 10000
  - Menu mobile: z-index: 10001
  - Burger button: z-index: 10002
*/

/* =====================================================
   HERO SECTION
   ===================================================== */

#MainContent, 
main#MainContent {
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Image de fond DESKTOP (défaut) */
.hero-background-desktop {
  display: block;
}

/* Image de fond MOBILE (cachée par défaut) */
.hero-background-mobile {
  display: none;
}

/* =====================================================
   BOUTONS
   ===================================================== */

.btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-pink-dark) 100%);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 25px rgba(255, 138, 184, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #FF9999 0%, #FFB5D6 100%);
  color: var(--color-white);
}

.btn-cart {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-pink) 100%);
  color: var(--color-white);
  padding: 12px 30px;
  font-size: 0.95rem;
}

/* =====================================================
   CARTES (CARDS)
   ===================================================== */

.card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--color-pink) 0%, var(--color-coral) 50%, var(--color-pink-dark) 100%);
  border-radius: var(--border-radius);
  z-index: -1;
  opacity: 0.3;
}

.card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 15px 40px rgba(255, 138, 184, 0.4);
}

/* =====================================================
   GRILLE PRODUITS COLLECTION
   ===================================================== */

.products-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
  align-items: stretch;
}

.product-card-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-image-wrapper {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  position: relative;
}

.product-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;  /* ✅ Utilisez "right" au lieu de "left" */
  background: #FF5C8A;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(255, 92, 138, 0.35);
  z-index: 3;
}

.product-badge::after {
  content: " ✨";
}

/* Infos produit */
.product-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 15px;
}

.product-card h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--color-text);
  margin-bottom: 10px;
  text-align: center;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-pink-dark);
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.product-price::before,
.product-price::after {
  content: '✦';
  font-size: 0.8em;
  opacity: 0.6;
}

/* Bouton ajouter au panier */
.add-to-cart-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #FF8AB8, #FFB5D6);
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 138, 184, 0.35);
  transition: all 0.25s ease;
}

.add-to-cart-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(255, 138, 184, 0.45);
}

.add-to-cart-btn:disabled {
  background: #E0E0E0;
  color: #999;
  cursor: not-allowed;
  box-shadow: none;
}

/* =====================================================
   CARTES CATÉGORIES
   ===================================================== */

.category-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 0;
  border: 5px solid var(--color-white);
}

.category-card.pink-theme {
  background: linear-gradient(135deg, #FFD4E5 0%, #FFE5F0 100%);
}

.category-card.green-theme {
  background: linear-gradient(135deg, #D5E8B5 0%, #E8F5D5 100%);
}

.category-card.cream-theme {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFE8D5 100%);
}

.category-content {
  padding: 30px 20px 20px;
  text-align: center;
}

.category-image {
  width: 100%;
  height: auto;
  margin-bottom: 0px;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.category-title::before,
.category-title::after {
  content: '🌸';
  font-size: 0.8em;
}

/* ===== MOBILE (768px et moins) ===== */
@media (max-width: 768px) {
  .category-card {
    border-radius: 15px; /* Réduit le border-radius */
    border: 3px solid var(--color-white); /* Bordure plus fine */
  }

  .category-content {
    padding: 15px 12px 12px; /* Padding réduit */
  }

  .category-image {
    margin-bottom: 10px; /* Moins d'espace */
  }

  .category-title {
    font-size: 2.1rem; /* Titre plus petit */
    margin-bottom: 8px;
    gap: 6px; /* Moins d'espace entre les éléments */
  }

  .category-title::before,
  .category-title::after {
    font-size: 0.7em; /* Emojis plus petits */
  }

  }

/* =====================================================
   FEATURES (ICÔNES)
   ===================================================== */

.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.feature-item {
  text-align: center;
  padding: 30px;
}

.feature-item h3 {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
}

/* =====================================================
   GRILLES & CONTENEURS
   ===================================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
  position: relative;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* =====================================================
   WAVE DIVIDERS
   ===================================================== */

.wave-divider {
  position: relative;
  width: 100%;
  height: 60px;
  background: transparent;
  overflow: hidden;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
}

/* =====================================================
   UTILITAIRES
   ===================================================== */

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 181, 214, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-pink-dark);
  animation: spin 1s ease-in-out infinite;
}

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

.decorative-petals {
  pointer-events: none;
}

/* =====================================================
   RESPONSIVE - TABLETTE (max-width: 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  
  .kawaii-header {
  position: absolute;
  background: transparent;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  overflow: hidden;
}

  .kawaii-header-inner {
    padding: 12px 30px;
  }
  
  
  .kawaii-nav a {
    font-size: 0.95rem;
  }
  
  .hero-container {
    gap: 40px;
  }
  
  .products-collection-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ===================================================== */

@media (max-width: 768px) {
  
  /* === TYPOGRAPHIE === */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* === HEADER === */
  .kawaii-header-bg {
    background-size: cover;
    background-position: center top;
  }
  
  .kawaii-header-inner {
    min-height: 80px;
    padding: 12px 20px;
  }
  
  .kawaii-logo img {
    max-height: 50px;
  }
  
  .kawaii-logo h1 {
    font-size: 1.6rem;
  }
  
  
  /* === HERO === */
  .hero-background-desktop {
    display: none;
  }
  
  .hero-background-mobile {
    display: block;
  }
  
  #MainContent, 
  main#MainContent {
    margin-top: -40px;
  }
  
  .hero-section {
    min-height: 550px;
    padding: 80px 20px 60px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
 

  
  section {
    padding: 50px 0;
  }
}

/* =====================================================
   CORRECTION GRILLE PRODUITS MOBILE
   ===================================================== */

@media (max-width: 768px) {

 
  .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* RÉDUIRE LES TEXTES */
  .product-card h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  
  /* BADGE PLUS PETIT */
  .product-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    right: 8px;  /* ✅ Cohérent avec le desktop */
    top: 8px;
  }
  
}

/* Pour très petits écrans, garder 2 colonnes mais encore plus compact */
@media (max-width: 400px) {
  .products-collection-grid {
    gap: 8px !important;
  }
  
  .product-image-wrapper {
    height: 140px !important;
  }
}

/* =====================================================
   RESPONSIVE - TRÈS PETIT MOBILE (max-width: 480px)
   ===================================================== */

@media (max-width: 480px) {

  
  .kawaii-header-inner {
    min-height: 70px;
    padding: 10px 15px;
  }
  
  .kawaii-logo img {
    max-height: 45px;
  }
  
  .kawaii-logo h1 {
    font-size: 1.4rem;
  }
  
  .mobile-menu {
    width: 100%;
    padding: 80px 20px 30px;
  }
  
  .hero-section {
    min-height: 500px;
    padding: 60px 15px 50px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .btn-primary {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
}

/* === MODE HERO COMPACT (toggle Shopify) === */
.hero-section.hero-compact {
  min-height: 480px;
  padding: 60px 20px 50px;
}

.hero-section.hero-compact .hero-title {
  font-size: 3rem;
}

.hero-section.hero-compact .hero-description {
  font-size: 1.5rem;
}

.hero-section.hero-compact .hero-character {
  max-width: 420px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-section.hero-compact {
    min-height: 440px;
    padding: 50px 20px 40px;
  }
}

@media (max-width: 480px) {
  .hero-section.hero-compact {
    min-height: 400px;
    padding: 45px 15px 35px;
  }
}

/* ===============================
   LOGIQUE MENU DESKTOP / MOBILE
   =============================== */

/* Desktop par défaut */
.kawaii-nav {
  display: flex;
}

.burger-btn {
  display: none;
}

/* Mobile */
@media (max-width: 768px) {
  .kawaii-nav {
      display: none !important;
  }

  .burger-btn {
    display: flex;
    z-index: 10002;
  }
}

/* ===============================
   CSS TEMPLATE PAGE
   =============================== */
.nekopage-content {
  font-size: 1.1rem;
  line-height: 1.7;
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 181, 214, 0.25);
}

.nekopage-the h1 {
  text-align: center;
  margin-bottom: 50px;
}

/* ===============================
   CSS du filtre page
   =============================== */

.tea-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 40px 0;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: #FFE5F0;
  color: #6D071A;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background: #FF8AB8;
  color: white;
}

.filter-btn.active {
  background: linear-gradient(135deg, #FF8AB8, #FFB5D6);
  color: white;
  box-shadow: 0 6px 18px rgba(255, 138, 184, 0.4);
}

/* ======================================
   ANIMATION KAWAII PRODUITS
   fade-in + slide + pop
   ====================================== */

@keyframes nekoPopIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.03);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Carte produit */
.product-card-item {
  animation: nekoPopIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: both;
}

/* Effet cascade (delay progressif) */
.product-card-item:nth-child(1) { animation-delay: 0.05s; }
.product-card-item:nth-child(2) { animation-delay: 0.10s; }
.product-card-item:nth-child(3) { animation-delay: 0.15s; }
.product-card-item:nth-child(4) { animation-delay: 0.20s; }
.product-card-item:nth-child(5) { animation-delay: 0.25s; }
.product-card-item:nth-child(6) { animation-delay: 0.30s; }
.product-card-item:nth-child(7) { animation-delay: 0.35s; }
.product-card-item:nth-child(8) { animation-delay: 0.40s; }

/* ======================================
   FILTRES - POP KAWAII
   ====================================== */

.filter-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover {
  transform: translateY(-2px) scale(1.05);
}

.filter-btn:active {
  transform: scale(0.92);
}

@keyframes nekoFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nekopage h1,
.nekopage-content {
  animation: nekoFadeUp 0.5s ease-out both;
}

/* ======================================
   BADGES PRODUITS KAWAII
   ====================================== */

.product-card-item {
  position: relative;
}

/* Conteneur */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 5;
}

/* Badge générique */
.product-badge {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 600;
  background: #ffd6e8;
  color: #8a1456;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  animation: badgePop 0.4s ease-out both;
}

/* Animation pop */
@keyframes badgePop {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 🌿 BADGES SPÉCIFIQUES */
.badge-matcha {
  background: #dff5c8;
  color: #2f6b1c;
}

.badge-the-vert {
  background: #e4ffe9;
  color: #1f7a3a;
}

.badge-the-noir {
  background: #eee;
  color: #333;
}

.badge-bio {
  background: #c8f1da;
  color: #145a3a;
}

.badge-nouveau {
  background: #ffe3f1;
  color: #c2185b;
}

.badge-best-seller {
  background: #fff0c2;
  color: #a86a00;
}

/* CSS de menu connexion */
.kawaii-top-bar {
  width: 100%;
  position: relative;
  padding: 6px 24px;
  display: flex;
  justify-content: flex-end;
  font-size: 20px;
  z-index: 20;
}

.kawaii-top-nav {
  display: flex;
  gap: 16px;
}

.kawaii-top-nav a {
  color: #6D071A;
  text-decoration: none;
  opacity: 0.85;
}

.kawaii-top-nav a:hover {
  opacity: 1;
}


/* CSS panier */
.top-cart {
  position: relative;
  text-decoration: none;
  font-size: 20px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #FF5C8A;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  animation: cartPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count.is-empty {
  display: none;
}

@keyframes cartPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/*sticky bar*/

.kawaii-top-bar.hide { transform: translateY(-100%); }

.kawaii-top-nav { display: flex; gap: 16px; }

.kawaii-top-nav a { color: #6D071A; text-decoration: none; opacity: 0.85; }
.kawaii-top-nav a:hover { opacity: 1; }

.top-cart { position: relative; }
.cart-count {
  background: #FF8AB8;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  position: absolute;
  top: -6px;
  right: -8px;
  transition: transform 0.3s ease;
}
.cart-count.is-empty { display: none; }

/* ===== HEADER ===== */
.kawaii-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: {{ section.settings.header_height }}px;
  z-index: 10000;
}

@media (max-width: 768px) {
  .kawaii-header { height: {{ section.settings.header_height | minus: 20 }}px; }
}

.kawaii-header-bg {
  position: absolute;
  inset: 0;
  background-image: url('{{ section.settings.header_bg_desktop | image_url: width: 2000 }}');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

@media (max-width: 768px) {
  {% if section.settings.header_bg_mobile != blank %}
  .kawaii-header-bg { background-image: url('{{ section.settings.header_bg_mobile | image_url: width: 1200 }}'); }
  {% endif %}
}

.kawaii-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  padding: 0 24px;
  height: 100%;
}

.kawaii-logo img { max-height: {{ section.settings.logo_height }}px; }

/* Desktop nav */
.kawaii-nav { display: flex; flex: 1; justify-content: {{ section.settings.menu_alignment }}; gap: {{ section.settings.menu_gap | default: 24 }}px; }
.kawaii-nav a {
  color: {{ section.settings.menu_color }};
  font-size: {{ section.settings.menu_font_size }}px;
  font-family: {{ section.settings.menu_font_family }};
  text-decoration: none;
}

/* Burger */
.burger-btn { display: none; flex-direction: column; justify-content: center; gap: 6px; width: {{ section.settings.burger_size }}px; height: {{ section.settings.burger_size }}px; background: transparent; border: none; cursor: pointer; z-index: 10002; }
.burger-btn span { display: block; width: 100%; height: 3px; background: {{ section.settings.burger_color }}; border-radius: 10px; transition: all 0.35s ease; }
.burger-btn.open span:nth-child(1) { transform: rotate(45deg) translateY(9px); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: rotate(-45deg) translateY(-9px); }

@media (max-width: 768px) { .kawaii-nav { display: none !important; } .burger-btn { display: flex; } }

/* ===============================
   🐾 MOBILE MENU - NEKONIBBLES 2026
   =============================== */

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: 20;
  right: -100%;
  width: 88%;
  max-width: 420px;
  height: 100vh;
  background: linear-gradient(180deg, #FFF4F9 0%, #FFE5F0 100%);
  border-bottom-left-radius: 30px;
  box-shadow: -15px 0 50px rgba(255, 138, 184, 0.25);
  padding: 0px 50px 50px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 9999;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}


.mobile-menu-close:hover {
  transform: scale(1.1);
  background: #ff6fa8;
}

/* Nav links */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #4A3728;
  padding: 12px 10;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.6);
  transition: all 0.25s ease;
}

.mobile-nav a:hover {
  background: linear-gradient(135deg, #FFB5D6, #FF8AB8);
  color: #fff;
  transform: translateX(6px);
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  top: 10;
  right: -100%;
  width: 88%;
  max-width: 420px;
  height: 85vh;                     /* prend toute la hauteur de l’écran */
  background: linear-gradient(180deg, #FFF4F9 0%, #FFE5F0 100%);
  border-bottom-left-radius: 30px;
  box-shadow: -15px 0 50px rgba(255, 138, 184, 0.25);
  z-index: 9999;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;                  /* bloque le scroll direct sur le menu */
}

/* Scroll uniquement pour le contenu */
.mobile-menu-scroll {
  flex: 1;                            /* prend tout l’espace vertical */
  overflow-y: auto;                   /* scroll vertical si contenu dépasse */
  -webkit-overflow-scrolling: touch;  /* fluide sur mobile */
  padding: 20px 30px;
}

.nn-article {
  background: linear-gradient(180deg, #fffafc 0%, #ffffff 240px);
  padding-bottom: 48px;
}

.nn-article__hero {
  padding: 32px 0 18px;
}

.nn-article__hero-inner {
  max-width: 980px;
  margin: 0 auto;
}

.nn-article__breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  margin-bottom: 18px;
  color: #7d6b78;
}

.nn-article__breadcrumbs a {
  color: #7d6b78;
  text-decoration: none;
}

.nn-article__breadcrumbs a:hover {
  text-decoration: underline;
}

.nn-article__header-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid #f4dce6;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(216, 154, 179, 0.12);
  padding: 28px 26px;
}

.nn-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.nn-article__tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff0f6;
  border: 1px solid #f6cddd;
  font-size: 12px;
  font-weight: 700;
  color: #b85d84;
}

.nn-article__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  color: #2d1f28;
}

.nn-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  color: #8b7581;
}

.nn-article__featured-media {
  max-width: 980px;
  margin: 24px auto 0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.nn-article__featured-media img {
  display: block;
  width: 100%;
  height: auto;
}

.nn-article__body-wrap {
  max-width: 980px;
  margin: 28px auto 0;
}

.nn-article__body {
  background: #ffffff;
  border: 1px solid #f4e8ee;
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(50, 30, 40, 0.04);
}

.nn-article__body.rte {
  color: #43333d;
  font-size: 17px;
  line-height: 1.9;
}

.nn-article__body.rte h2,
.nn-article__body.rte h3,
.nn-article__body.rte h4 {
  color: #2c1f27;
  line-height: 1.25;
  margin-top: 1.8em;
  margin-bottom: 0.7em;
}

.nn-article__body.rte h2 {
  font-size: 30px;
}

.nn-article__body.rte h3 {
  font-size: 24px;
}

.nn-article__body.rte p,
.nn-article__body.rte ul,
.nn-article__body.rte ol {
  margin-bottom: 1.1em;
}

.nn-article__body.rte ul,
.nn-article__body.rte ol {
  padding-left: 1.3em;
}

.nn-article__body.rte strong {
  color: #1f1720;
}

.nn-article__body.rte blockquote {
  margin: 1.6em 0;
  padding: 18px 20px;
  border-left: 4px solid #f3b8cf;
  background: #fff7fa;
  border-radius: 16px;
  color: #6e4e5f;
}

.nn-article__body.rte img {
  border-radius: 22px;
  margin: 18px 0;
}

.nn-article__bottom {
  max-width: 980px;
  margin: 22px auto 0;
}

.nn-article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #2f7d68;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(47, 125, 104, 0.18);
}

.nn-article__back:hover {
  opacity: 0.92;
}

@media screen and (max-width: 749px) {
  .nn-article__hero {
    padding-top: 18px;
  }

  .nn-article__header-card,
  .nn-article__body {
    border-radius: 22px;
    padding: 22px 18px;
  }

  .nn-article__title {
    font-size: 28px;
  }

  .nn-article__body.rte {
    font-size: 16px;
    line-height: 1.8;
  }

  .nn-article__body.rte h2 {
    font-size: 24px;
  }

  .nn-article__body.rte h3 {
    font-size: 20px;
  }
}

.nn-blog {
  padding-top: 28px;
  padding-bottom: 48px;
}

.nn-blog__header {
  max-width: 900px;
  margin: 0 auto 28px;
}

.nn-blog__eyebrow {
  margin: 0 0 10px;
  color: #b85d84;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nn-blog__title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  color: #2d1f28;
}

.nn-blog__subtitle {
  margin: 0;
  max-width: 720px;
  color: #6d5b66;
  line-height: 1.7;
}

.nn-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nn-blog-card {
  background: #fff;
  border: 1px solid #f1e4eb;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(40, 20, 30, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nn-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(40, 20, 30, 0.08);
}

.nn-blog-card__image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #faf4f7;
}

.nn-blog-card__image,
.nn-blog-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nn-blog-card__content {
  padding: 18px 18px 20px;
}

.nn-blog-card__meta {
  font-size: 13px;
  color: #907985;
  margin-bottom: 10px;
}

.nn-blog-card__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
}

.nn-blog-card__title a {
  color: #2b1f27;
  text-decoration: none;
}

.nn-blog-card__title a:hover {
  color: #b85d84;
}

.nn-blog-card__excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: #65535d;
  margin-bottom: 14px;
}

.nn-blog-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff1f6;
  color: #b85d84;
  text-decoration: none;
  font-weight: 700;
}

.nn-blog__pagination {
  margin-top: 28px;
}

@media screen and (max-width: 989px) {
  .nn-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 749px) {
  .nn-blog__grid {
    grid-template-columns: 1fr;
  }
}

