/* Custom CSS - Casquette NY */

/* ========== HEADER NAV - BANDEAU HAUT ========== */
.header-nav {
  background: #79ab90;
  position: relative;
  z-index: 98;
}

.header-nav-text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  padding: 3px 0;
  letter-spacing: 0.3px;
  font-weight: 400;
}

.header-nav-text .separator {
  margin: 0 10px;
  color: #fff;
  opacity: 0.7;
}

/* ========== HEADER STRUCTURE ========== */
main #header .header-top{
  padding: 0;
}
.header-top {
  position: relative;
  z-index: 500;
  padding: 0;
  background: #fff;
}

#wrapper {
  position: relative;
  z-index: 1;
  background: #fff !important;
}

/* Logo */
#_desktop_logo {
  position: relative;
  z-index: 500;
}

#_desktop_logo img,
#_desktop_logo h1 img {
  position: relative;
  margin-top: -60px;
  margin-bottom: -50px;
}

/* ========== ZONE CENTRALE - TEXTES + RECHERCHE ========== */
.header__search-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box {
  background: transparent;
  padding: 10px 0;
  text-align: center;
  width: 100%;
}

.top_search_head {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
  background: #172d43;
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block;
}

.top_search_head_livraison {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 15px;
  background: #172d43;
  padding: 8px 15px;
  border-radius: 5px;
  display: inline-block;
}

/* Barre de recherche */
#search_widget {
  display: block !important;
}

.search-box #search_widget {
  max-width: 350px;
  margin: 0 auto;
}

.search-box #search_widget form {
  display: flex;
  flex-direction: row;
  background: #fff;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-box #search_widget input[type="text"] {
  border: none;
  padding: 10px 15px;
  flex: 1;
  font-size: 13px;
  outline: none;
  order: 1;
  background: #fff;
  min-width: 0;
}

.search-box #search_widget input[type="text"]:focus {
  outline: none;
  box-shadow: none;
}

.search-box #search_widget i.search {
  background: #172d43 !important;
  color: #fff !important;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  order: 2;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  height: auto;
}

.search-box #search_widget i.search:hover {
  background: #79ab90 !important;
}

.search-box #search_widget i.clear {
  display: none !important;
}

/* ========== PANIER ET MON COMPTE ========== */
.header-top .header-top-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 5px;
}

/* Wrapper desktop_cart */
.header-top .header-top-right #_desktop_cart,
.header-top .header-top-right #_desktop_user_info {
  display: block;
}

/* Style commun pour panier et compte */
.header-top .header-top-right #_desktop_cart .blockcart,
.header-top .header-top-right .blockcart {
  background: #79ab90 !important;
  color: #FFF;
  padding: 12px 20px;
  border-radius: 5px;
  transition: background 0.3s ease;
  min-width: 140px;
  text-align: center;
}

.header-top .header-top-right #_desktop_user_info .user-info,
.header-top .header-top-right .user-info {
  background: #79ab90 !important;
  color: #FFF;
  padding: 12px 20px;
  border-radius: 5px;
  transition: background 0.3s ease;
  min-width: 140px;
  text-align: center;
}

/* Reset tous les enfants du panier */
.header-top .header-top-right .blockcart *,
.header-top .header-top-right .blockcart .header,
.header-top .header-top-right .blockcart .header a,
.header-top .header-top-right #_desktop_cart .blockcart *,
.header-top .header-top-right #_desktop_cart .blockcart .header {
  background: transparent !important;
  background-color: transparent !important;
}

/* Hover panier */
.header-top .header-top-right #_desktop_cart .blockcart:hover,
.header-top .header-top-right .blockcart:hover {
  background: #172d43 !important;
}

/* Hover mon compte */
.header-top .header-top-right #_desktop_user_info .user-info:hover,
.header-top .header-top-right .user-info:hover {
  background: #172d43 !important;
}

.header-top .header-top-right .blockcart a,
.header-top .header-top-right .user-info a {
  color: #fff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  padding: 0;
}

.header-top .header-top-right .blockcart .shopping-cart,
.header-top .header-top-right .user-info .material-icons {
  font-size: 18px;
  color: #fff !important;
}

.header-top .header-top-right .blockcart .cart-products-count {
  background: #172d43 !important;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: bold;
}

.header-top .header-top-right .blockcart:hover .cart-products-count {
  background: #79ab90 !important;
}

/* ========== MENU EN DESSOUS ========== */
.display-nav-full-width {
  background: #172d43;
  position: relative;
  z-index: 50;
}

/* ========== HARMONISATION SOUS-MENUS - 14px PARTOUT ========== */
/* Règle globale très spécifique pour tous les sous-menus desktop */
.display-nav-full-width #top-menu .sub-menu a,
.display-nav-full-width #top-menu .top-menu[data-depth="1"] > li > a,
.display-nav-full-width #top-menu .top-menu[data-depth="2"] > li > a,
.display-nav-full-width #top-menu .dropdown-item {
  font-size: 14px !important;
}

/* GENRES (436) - texte via ::after */
.display-nav-full-width #top-menu #category-436 .top-menu[data-depth="1"] > li > a {
  font-size: 0 !important;
}
.display-nav-full-width #top-menu #category-436 .top-menu[data-depth="1"] > li > a::after {
  font-size: 14px !important;
}

/* COULEURS (435) - texte via ::after */
.display-nav-full-width #top-menu #category-435 .top-menu[data-depth="1"] > li > a {
  font-size: 0 !important;
}
.display-nav-full-width #top-menu #category-435 .top-menu[data-depth="1"] > li > a::after {
  font-size: 14px !important;
}

/* EQUIPES (437) - logos sans texte */
.display-nav-full-width #top-menu #category-437 .top-menu[data-depth="1"] > li > a {
  font-size: 0 !important;
}

#top-menu {
  justify-content: center !important;
  margin: 0;
  padding: 0;
}

#top-menu .sub-menu {
  z-index: 100;
}

.display-nav-full-width #top-menu > li > a {
  color: #fff !important;
  padding: 15px 20px;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: block;
  text-decoration: none !important;
}

.display-nav-full-width #top-menu > li > a:hover,
.display-nav-full-width #top-menu > li > a:focus {
  color: #fff !important;
  text-decoration: none !important;
}

/* ========== HERO ACCUEIL ========== */
.hero-accueil {
  background: url('/themes/blck/assets/img/haut_acceuil.jpg') center center/cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.hero-accueil .hero-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(23,45,67,0.7);
  padding: 40px;
  border-radius: 8px;
}

.hero-accueil h1 {
  font-size: 42px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-accueil h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-accueil p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}

/* ========== SEO CONTENT ========== */
.seo-content {
  background: #fff;
  padding: 40px 0;
  margin-top: 30px;
}

.seo-content .card-body {
  padding: 30px;
  background: #f8f8f8;
  border-radius: 8px;
}

.seo-content h1 {
  font-size: 28px;
  color: #172d43;
  margin-bottom: 20px;
}

.seo-content h2 {
  font-size: 22px;
  color: #172d43;
  margin: 25px 0 15px;
}

.seo-content h3 {
  font-size: 18px;
  color: #172d43;
  margin: 20px 0 10px;
}

.seo-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

.seo-content a {
  color: #79ab90;
  text-decoration: underline;
}

/* ========== DESCRIPTION CATEGORIE - LIRE LA SUITE ========== */
#category-description {
  position: relative;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

#category-description.expanded {
  max-height: 2000px;
}

#category-description:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

.btn-voir-plus {
  display: block;
  margin-top: 15px;
  padding: 8px 20px;
  background: #172d43;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s ease;
  position: relative !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  float: none !important;
  width: fit-content;
}

.btn-voir-plus:hover {
  background: #79ab90;
  color: #fff;
}

.block-category-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* ========== SOUS-CATEGORIES ========== */
#subcategories .subcategories-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  justify-content: flex-start !important;
}

#subcategories .subcategories-list li {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  flex: none !important;
}

#subcategories .subcategories-list li h2.h5 {
  margin: 0;
}

#subcategories .subcategories-list li .subcategory-name {
  font-size: 12px;
  font-weight: 500;
  color: #172d43;
  text-decoration: none;
  padding: 5px 10px;
  background: #f5f5f5;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s ease, color 0.3s ease;
}

#subcategories .subcategories-list li .subcategory-name:hover {
  background: #172d43;
  color: #fff;
}

#subcategories .subcategories-list li .subcategory-image,
#subcategories .subcategories-list li .cat_desc {
  display: none;
}

#subcategories .subcategory-heading {
  font-size: 16px;
  margin-bottom: 15px;
}

/* ========== LISTING PRODUITS ========== */
/* Encadrer les produits */
.products .product-miniature {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background: #fff;
  margin-bottom: 30px;
}

.products .product-miniature:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Bouton ajouter au panier centré */
.products .product-miniature .add-to-cart {
  display: flex;
  justify-content: center;
}

.products .product-miniature .add-to-cart .btn {
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* ========== MENU COULEURS - PASTILLES ========== */
#category-435 .top-menu[data-depth="1"] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  padding: 15px 20px;
}

#category-435 .top-menu[data-depth="1"] > li {
  width: auto;
}

#category-435 .top-menu[data-depth="1"] > li > a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0;
  padding: 5px 0;
}

#category-435 .top-menu[data-depth="1"] > li > a::before {
  content: '';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ccc;
  flex-shrink: 0;
}

/* Taille gérée dans le bloc harmonisation */

/* Couleurs et noms */
#category-438 > a::before { background-color: #000000; }
#category-438 > a::after { content: 'Noire'; }
#category-439 > a::before { background-color: #ffffff; }
#category-439 > a::after { content: 'Blanche'; }
#category-440 > a::before { background-color: #ff69b4; }
#category-440 > a::after { content: 'Rose'; }
#category-441 > a::before { background-color: #0066cc; }
#category-441 > a::after { content: 'Bleue'; }
#category-442 > a::before { background: linear-gradient(45deg, #4a5a3a, #6b7b5a, #3a4a2a); }
#category-442 > a::after { content: 'Camo'; }
#category-443 > a::before { background-color: #d4b896; }
#category-443 > a::after { content: 'Beige'; }
#category-444 > a::before { background-color: #8b4513; }
#category-444 > a::after { content: 'Marron'; }
#category-445 > a::before { background-color: #228b22; }
#category-445 > a::after { content: 'Verte'; }
#category-446 > a::before { background-color: #800080; }
#category-446 > a::after { content: 'Violette'; }
#category-447 > a::before { background-color: #cc0000; }
#category-447 > a::after { content: 'Rouge'; }
#category-448 > a::before { background-color: #ffd700; }
#category-448 > a::after { content: 'Jaune'; }
#category-449 > a::before { background-color: #808080; }
#category-449 > a::after { content: 'Grise'; }

/* ========== MENU GENRE ========== */
/* Taille gérée dans le bloc harmonisation */

#category-450 > a::after { content: 'Homme'; }
#category-451 > a::after { content: 'Femme'; }
#category-452 > a::after { content: 'Enfant'; }
#category-453 > a::after { content: 'Bébé'; }

/* ========== MENU TYPES - TEXTE NETTOYÉ ========== */
/* Masquer le texte original, afficher via ::after */
.display-nav-full-width #top-menu #category-423 .top-menu[data-depth="1"] > li > a {
  font-size: 0 !important;
}
.display-nav-full-width #top-menu #category-423 .top-menu[data-depth="1"] > li > a::after {
  font-size: 14px !important;
}

#category-430 > a::after { content: 'Snapback'; }
#category-431 > a::after { content: 'Fitted'; }
#category-432 > a::after { content: 'Bonnet'; }
#category-433 > a::after { content: 'Visière Plate'; }
#category-434 > a::after { content: 'Trucker'; }
#category-461 > a::after { content: 'Dad Cap (destructurée)'; }

/* ========== MENU EQUIPES NY - LOGOS ========== */
#category-437 .top-menu[data-depth="1"] {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px;
  justify-content: center;
}

#category-437 .top-menu[data-depth="1"] > li {
  width: auto;
}

#category-437 .top-menu[data-depth="1"] > li > a {
  display: block;
  font-size: 0;
  width: 60px;
  height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.2s ease;
}

#category-437 .top-menu[data-depth="1"] > li > a:hover {
  transform: scale(1.1);
}

/* Logos des équipes */
#category-454 > a { background-image: url('/themes/blck/assets/img/teams/yankees.png'); }
#category-455 > a { background-image: url('/themes/blck/assets/img/teams/mets.png'); }
#category-456 > a { background-image: url('/themes/blck/assets/img/teams/knicks.png'); }
#category-457 > a { background-image: url('/themes/blck/assets/img/teams/jets.png'); }
#category-458 > a { background-image: url('/themes/blck/assets/img/teams/giants.png'); }

/* ========== PAGE PRODUIT - MINIATURES ========== */
.product-images .thumb {
  border: none !important;
  transition: opacity 0.3s ease;
}

.product-images .thumb:hover {
  opacity: 0.7;
  border: none !important;
}

.product-images .thumb.selected {
  border: none !important;
}

/* ========== PAGE COMMANDE (CHECKOUT) ========== */
body.page-order .header-home-link {
  display: none !important;
}

body#checkout #header .header-nav .logo {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  max-height: 120px !important;
  width: auto !important;
}


/* ========== FOOTER ========== */
.site-footer {
  background-color: #79ab90;
  color: #fff;
  padding: 30px 0;
  margin-top: 50px;
  text-align: center;
}

.site-footer .footer-links {
  margin-bottom: 15px;
}

.site-footer .footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.site-footer .footer-links a:hover {
  color: #172d43;
}

.site-footer .footer-links .separator {
  margin: 0 15px;
  color: rgba(255,255,255,0.5);
}

.site-footer .footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.site-footer .footer-copyright p {
  margin: 0;
}

/* ========== VERSION MOBILE ========== */
@media (max-width: 768px) {

  /* Container mobile : flexbox - éléments en haut */
  body #header .header-nav .container .row .hidden-md-up.text-sm-center.mobile {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 5px 15px 0 15px !important;
  }

  /* Header sticky sur mobile */
  #header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    height: auto !important;
    max-height: none !important;
  }

  .header-nav,
  #header .header-nav {
    background: #79ab90 !important;
    max-height: none !important;
    border: none !important;
    overflow: visible !important;
  }

  /* Panier - pas de background */
  body #header .header-nav #_mobile_cart .blockcart,
  .header-nav .blockcart,
  .header-nav .blockcart .header,
  #header .header-nav .blockcart,
  #header .header-nav .blockcart.active,
  #header .header-nav .cart-preview.active {
    background: none !important;
    background-color: transparent !important;
  }

  /* Panier - couleur du texte et icône en bleu */
  #header .header-nav .blockcart.active a:hover,
  #header .header-nav .cart-preview.active a,
  #header .header-nav .cart-preview.active i,
  #header .header-nav .blockcart a,
  #header .header-nav .blockcart i,
  #header .header-nav .blockcart .cart-products-count,
  .header-nav #_mobile_cart .blockcart a,
  .header-nav #_mobile_cart .blockcart i,
  .header-nav #_mobile_cart .blockcart span {
    color: #172d43 !important;
    background: none !important;
  }

  /* Contenu plus bas pour ne pas coller au logo */
  body #header .header-top {
    padding-top: 20px !important;
  }

  /* 1. Hamburger - gauche */
  body #header .header-nav #menu-icon {
    float: none !important;
    order: 1 !important;
    flex: 0 0 50px !important;
    padding: 0 !important;
  }

  /* 2. Logo - centre absolu de l'écran */
  body #header .header-nav #_mobile_logo {
    float: none !important;
    order: 2 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }

  body #header .header-nav #_mobile_logo img {
    max-height: 90px !important;
    width: auto !important;
  }

  /* 3. Panier - droite */
  body #header .header-nav #_mobile_cart {
    float: none !important;
    order: 3 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    margin-left: auto !important;
  }

  /* 4. Compte - droite */
  body #header .header-nav #_mobile_user_info {
    float: none !important;
    order: 4 !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
  }

  /* User info - pas de margin-left */
  body #header .header-nav .user-info {
    margin-left: 0 !important;
  }

  /* Cacher le clearfix */
  body #header .header-nav .hidden-md-up.mobile .clearfix {
    display: none !important;
  }

  /* Header-top - menu en dessous */
  .header-top {
    position: relative;
    z-index: 10;
    background: #fff;
  }

  /* Menu mobile wrapper - 100% largeur */
  #mobile_top_menu_wrapper,
  #mobile_top_menu_wrapper.row {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-left: calc(-50vw + 50%) !important;
    background: #fff;
  }

  #_mobile_top_menu,
  #_mobile_top_menu *,
  #_mobile_top_menu *::before,
  #_mobile_top_menu *::after,
  #mobile_top_menu_wrapper .js-top-menu,
  body #header #_mobile_top_menu {
    width: 100% !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    box-sizing: border-box !important;
  }

  /* Menu vertical */
  #_mobile_top_menu #top-menu,
  #mobile_top_menu_wrapper #top-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  #_mobile_top_menu #top-menu > li,
  #mobile_top_menu_wrapper #top-menu > li {
    width: 100% !important;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  #_mobile_top_menu #top-menu > li:last-child,
  #mobile_top_menu_wrapper #top-menu > li:last-child {
    border-bottom: none;
  }

  #_mobile_top_menu #top-menu > li > a,
  #mobile_top_menu_wrapper #top-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 15px;
    font-size: 16px;
  }

  /* Flèche juste après le texte */
  #_mobile_top_menu #top-menu > li > a .float-xs-right.hidden-md-up,
  #mobile_top_menu_wrapper #top-menu > li > a .float-xs-right.hidden-md-up {
    float: none !important;
    margin-left: 8px !important;
    order: 2;
  }

  /* Dropdown item aligné à gauche */
  #_mobile_top_menu .dropdown-item,
  #mobile_top_menu_wrapper .dropdown-item {
    text-align: left !important;
  }

  /* Span dans dropdown item aligné à droite */
  #_mobile_top_menu .dropdown-item span,
  #mobile_top_menu_wrapper .dropdown-item span {
    text-align: right !important;
  }

  /* Sous-menus 100% largeur */
  #_mobile_top_menu .sub-menu,
  #mobile_top_menu_wrapper .sub-menu,
  #_mobile_top_menu .top-menu[data-depth="1"],
  #mobile_top_menu_wrapper .top-menu[data-depth="1"] {
    width: 100% !important;
    position: relative !important;
    box-shadow: none !important;
    background: #f5f5f5;
  }

  #_mobile_top_menu .sub-menu li,
  #mobile_top_menu_wrapper .sub-menu li,
  #_mobile_top_menu .top-menu[data-depth="1"] > li,
  #mobile_top_menu_wrapper .top-menu[data-depth="1"] > li {
    width: 100% !important;
    text-align: left;
  }

  #_mobile_top_menu .sub-menu li a,
  #mobile_top_menu_wrapper .sub-menu li a,
  #_mobile_top_menu .top-menu[data-depth="1"] > li > a,
  #mobile_top_menu_wrapper .top-menu[data-depth="1"] > li > a {
    display: block;
    padding: 12px 15px 12px 30px;
    font-size: 14px;
    text-align: left;
  }

  /* ========== MOBILE - MENU COULEURS - PASTILLES ========== */
  #_mobile_top_menu #category-435 .top-menu[data-depth="1"],
  #mobile_top_menu_wrapper #category-435 .top-menu[data-depth="1"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 15px;
    padding: 15px 20px;
    background: #f5f5f5;
  }

  #_mobile_top_menu #category-435 .top-menu[data-depth="1"] > li,
  #mobile_top_menu_wrapper #category-435 .top-menu[data-depth="1"] > li {
    width: auto !important;
  }

  #_mobile_top_menu #category-435 .top-menu[data-depth="1"] > li > a,
  #mobile_top_menu_wrapper #category-435 .top-menu[data-depth="1"] > li > a {
    display: block !important;
    font-size: 0 !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    border: 1px solid #ccc !important;
    overflow: hidden !important;
    text-indent: -9999px !important;
    line-height: 0 !important;
  }

  #_mobile_top_menu #category-435 .top-menu[data-depth="1"] > li > a *,
  #mobile_top_menu_wrapper #category-435 .top-menu[data-depth="1"] > li > a * {
    display: none !important;
  }

  /* Couleurs mobile - pastilles uniquement */
  #_mobile_top_menu #category-438 > a, #mobile_top_menu_wrapper #category-438 > a { background-color: #000000 !important; }
  #_mobile_top_menu #category-439 > a, #mobile_top_menu_wrapper #category-439 > a { background-color: #ffffff !important; }
  #_mobile_top_menu #category-440 > a, #mobile_top_menu_wrapper #category-440 > a { background-color: #ff69b4 !important; }
  #_mobile_top_menu #category-441 > a, #mobile_top_menu_wrapper #category-441 > a { background-color: #0066cc !important; }
  #_mobile_top_menu #category-442 > a, #mobile_top_menu_wrapper #category-442 > a { background: linear-gradient(45deg, #4a5a3a, #6b7b5a, #3a4a2a) !important; }
  #_mobile_top_menu #category-443 > a, #mobile_top_menu_wrapper #category-443 > a { background-color: #d4b896 !important; }
  #_mobile_top_menu #category-444 > a, #mobile_top_menu_wrapper #category-444 > a { background-color: #8b4513 !important; }
  #_mobile_top_menu #category-445 > a, #mobile_top_menu_wrapper #category-445 > a { background-color: #228b22 !important; }
  #_mobile_top_menu #category-446 > a, #mobile_top_menu_wrapper #category-446 > a { background-color: #800080 !important; }
  #_mobile_top_menu #category-447 > a, #mobile_top_menu_wrapper #category-447 > a { background-color: #cc0000 !important; }
  #_mobile_top_menu #category-448 > a, #mobile_top_menu_wrapper #category-448 > a { background-color: #ffd700 !important; }
  #_mobile_top_menu #category-449 > a, #mobile_top_menu_wrapper #category-449 > a { background-color: #808080 !important; }

  /* Logos équipes mobile */
  #_mobile_top_menu #category-454 > a, #mobile_top_menu_wrapper #category-454 > a { background-image: url('/themes/blck/assets/img/teams/yankees.png') !important; }
  #_mobile_top_menu #category-455 > a, #mobile_top_menu_wrapper #category-455 > a { background-image: url('/themes/blck/assets/img/teams/mets.png') !important; }
  #_mobile_top_menu #category-456 > a, #mobile_top_menu_wrapper #category-456 > a { background-image: url('/themes/blck/assets/img/teams/knicks.png') !important; }
  #_mobile_top_menu #category-457 > a, #mobile_top_menu_wrapper #category-457 > a { background-image: url('/themes/blck/assets/img/teams/jets.png') !important; }
  #_mobile_top_menu #category-458 > a, #mobile_top_menu_wrapper #category-458 > a { background-image: url('/themes/blck/assets/img/teams/giants.png') !important; }

  /* ========== MOBILE - MENU GENRE ========== */
  #_mobile_top_menu #category-436 .top-menu[data-depth="1"],
  #mobile_top_menu_wrapper #category-436 .top-menu[data-depth="1"] {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 0;
    background: #f5f5f5;
  }

  #_mobile_top_menu #category-436 .top-menu[data-depth="1"] > li,
  #mobile_top_menu_wrapper #category-436 .top-menu[data-depth="1"] > li {
    width: 100% !important;
  }

  #_mobile_top_menu #category-436 .top-menu[data-depth="1"] > li > a,
  #mobile_top_menu_wrapper #category-436 .top-menu[data-depth="1"] > li > a {
    display: block !important;
    font-size: 0 !important;
    padding: 12px 15px 12px 30px !important;
    text-align: left !important;
  }

  #_mobile_top_menu #category-436 .top-menu[data-depth="1"] > li > a::after,
  #mobile_top_menu_wrapper #category-436 .top-menu[data-depth="1"] > li > a::after {
    font-size: 14px !important;
    display: inline !important;
    color: #333 !important;
  }

  /* Genre mobile - noms */
  #_mobile_top_menu #category-450 > a::after, #mobile_top_menu_wrapper #category-450 > a::after { content: 'Homme' !important; }
  #_mobile_top_menu #category-451 > a::after, #mobile_top_menu_wrapper #category-451 > a::after { content: 'Femme' !important; }
  #_mobile_top_menu #category-452 > a::after, #mobile_top_menu_wrapper #category-452 > a::after { content: 'Enfant' !important; }
  #_mobile_top_menu #category-453 > a::after, #mobile_top_menu_wrapper #category-453 > a::after { content: 'Bébé' !important; }

  /* ========== MOBILE - MENU EQUIPES NY - LOGOS ========== */
  #_mobile_top_menu #category-437 .top-menu[data-depth="1"],
  #mobile_top_menu_wrapper #category-437 .top-menu[data-depth="1"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px;
    padding: 20px;
    justify-content: center;
    background: #f5f5f5;
  }

  #_mobile_top_menu #category-437 .top-menu[data-depth="1"] > li,
  #mobile_top_menu_wrapper #category-437 .top-menu[data-depth="1"] > li {
    width: auto !important;
  }

  #_mobile_top_menu #category-437 .top-menu[data-depth="1"] > li > a,
  #mobile_top_menu_wrapper #category-437 .top-menu[data-depth="1"] > li > a {
    display: block !important;
    font-size: 0 !important;
    width: 50px !important;
    height: 50px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    padding: 0 !important;
  }

  /* ========== PAGES CATEGORIES FULL WIDTH (mobile uniquement) ========== */
  body.page-category #wrapper > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  body.page-category #left-column {
    display: none;
  }

  body.page-category #content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

}

/* Images dans le contenu des pages CMS (guides) */
.rte-content img,
.cms-content img,
.page-cms img,
img.img-article {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;   /* centre l'image + espace au-dessus/dessous */
  border-radius: 8px;    /* coins légèrement arrondis (facultatif) */
}

/* ========== FICHE PRODUIT - CATÉGORIES DU PRODUIT (onglet Détails, maillage interne) ========== */
.product-categories-cny .data-sheet dd.value { text-transform: none; }
.product-categories-cny .data-sheet dd.value a { text-decoration: underline; text-underline-offset: 2px; }
.product-categories-cny .data-sheet dd.value a:hover { color: #79ab90; }

/* ========== LOGO - pas de contour bleu au clic (le contour reste à la navigation au clavier) ========== */
#_desktop_logo a:focus:not(:focus-visible),
#_mobile_logo a:focus:not(:focus-visible) { outline: none; }
