
/* Charger FontAwesome partout */
@import url("../../../../../cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");






/* -----------------------------------------------------------------------------
   Import de la police Poppins
----------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&amp;display=swap');

/* -----------------------------------------------------------------------------
   DÃ©finition des couleurs et variables CSS de base
----------------------------------------------------------------------------- */

/* 1) Cache subtilement les blocs sources en footer 


#hidden-products-block,
#hidden-services-block {
  position: absolute !important;  /* sort du flux */
  width: 1px;                     /* presque invisible */
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);            /* accessibilité conservée */
  white-space: nowrap;            /* empêche la ligne de grandir */
}

*/


/* EN : j’affiche le bloc products et je cache services */
html[lang="en"] #hidden-products-block  { 
  position: static !important;
  width: auto; height: auto; 
  clip: auto; overflow: visible; 
  white-space: normal;
}
html[lang="en"] #hidden-services-block {
  position: absolute !important;
  width: 1px; height: 1px; 
  clip: rect(0 0 0 0); overflow: hidden;
  white-space: nowrap;
}

/* FR : j’affiche le bloc services et je cache products */
html[lang="fr"] #hidden-services-block {
  position: static !important;
  width: auto; height: auto;
  clip: auto; overflow: visible;
  white-space: normal;
}
html[lang="fr"] #hidden-products-block {
  position: absolute !important;
  width: 1px; height: 1px; 
  clip: rect(0 0 0 0); overflow: hidden;
  white-space: nowrap;
}


/* === AKAGURIR0 AUTH MODAL — BRAND + ACCESS === */

/* couche modale au-dessus de tout */
#akaAuthModal.modal{z-index:20050!important}
.modal-backdrop.show{z-index:20040!important;opacity:.5}

/* visibilité: laisser Bootstrap gérer, mais safe */
#akaAuthModal{display:none}
#akaAuthModal.show{display:block!important}

/* si le bloc est en footer, ne pas clipper */
#block-jango-sub-akaguriroauthmodal,.region-footer{overflow:visible!important}

/* bouton déclencheur (garde ton bouton existant) */
.aka-auth-trigger{display:inline-flex!important;align-items:center;gap:.5rem}

/* --- Variables marque --- */
:root{
  --aka-blue:#0b2a6b;
  --aka-yellow:#f5a300;
  --aka-yellow-d:#d98700;
  --aka-link:#0b5ed7;
  --aka-border:#e5e7eb;
  --aka-text:#111827;
  --aka-muted:#6b7280;
}

/* --- Contenant modale --- */
#akaAuthModal .modal-dialog{max-width:520px}
#akaAuthModal .modal-content{
  border:none;border-radius:18px;
  box-shadow:0 24px 64px rgba(11,42,107,.25);
}

/* Titre/fermeture */
#akaAuthModal .modal-header{border:0;padding-bottom:.25rem}
#akaAuthModal .modal-title{color:var(--aka-blue);font-weight:800;letter-spacing:.2px}
#akaAuthModal .btn-close{opacity:.75}

/* Stack & séparateur */
#akaAuthModal .aka-stack-center{
  display:flex;flex-direction:column;align-items:center;gap:14px
}
#akaAuthModal .aka-divider{
  position:relative;text-align:center;margin:12px 0;color:var(--aka-muted)
}
#akaAuthModal .aka-divider:before,#akaAuthModal .aka-divider:after{
  content:"";position:absolute;top:50%;width:42%;height:1px;background:var(--aka-border)
}
#akaAuthModal .aka-divider:before{left:0}
#akaAuthModal .aka-divider:after{right:0}

/* --- Bouton Google (HÉROS) --- */
#akaAuthModal .aka-social .aka-google{
  width:100%;max-width:420px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  background:#fff;border:1px solid var(--aka-border);
  border-radius:9999px;padding:12px 16px;font-weight:700;color:var(--aka-text)
}
#akaAuthModal .aka-social .aka-google:hover{box-shadow:0 10px 24px rgba(2,6,23,.08)}

/* --- Bouton e-mail (primaire Akaguriro) --- */
#akaAuthModal .aka-cta-email{
  width:100%;max-width:420px;display:inline-block;text-align:center;
  padding:14px 18px;border:none;border-radius:9999px;
  background:linear-gradient(180deg,var(--aka-yellow),var(--aka-yellow-d));
  color:var(--aka-text);font-weight:800;
  box-shadow:0 10px 24px rgba(245,163,0,.30);
  transition:filter .15s ease
}
#akaAuthModal .aka-cta-email:hover{filter:brightness(.96)}

/* Liens sous le bouton */
#akaAuthModal .aka-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
#akaAuthModal .aka-links a{color:var(--aka-link)!important;font-weight:700;text-decoration:none}
#akaAuthModal .aka-links a:hover{text-decoration:underline}

/* Petites lignes légales + centre d’aide */
#akaAuthModal .aka-legal{font-size:.92rem;line-height:1.35;color:var(--aka-muted);text-align:center;max-width:620px;margin-top:6px}
#akaAuthModal .aka-legal a{color:var(--aka-link)!important;font-weight:700;text-underline-offset:2px}
#akaAuthModal .aka-help{padding:0 1rem 1rem;text-align:center}
#akaAuthModal .aka-help a{color:var(--aka-link)!important;font-weight:700}

/* S’assure que **tous** les liens du modal restent visibles malgré les styles globaux du thème */
#akaAuthModal a{color:var(--aka-link)!important}

/* Accessibilité : focus rings nets */
#akaAuthModal a:focus,#akaAuthModal button:focus{
  outline:3px solid rgba(11,94,215,.35);outline-offset:2px;border-radius:12px
}


/* Lisibilité de la ligne d'aide */
#akaAuthModal .aka-help { color:#6b7280; }
#akaAuthModal .aka-help a { color:#0b5ed7; font-weight:700; text-decoration:underline; text-underline-offset:2px; }

/* Effet hover sur le bouton jaune */
#akaAuthModal .aka-cta-email{
  transition:transform .06s ease, box-shadow .12s ease, filter .12s ease;
}
#akaAuthModal .aka-cta-email:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(245,163,0,.45);
  filter:brightness(.97);
}

/* Google "héros" un peu plus lisible */
#akaAuthModal .aka-google{
  background:#fff; border:1px solid #e5e7eb; border-radius:9999px;
  box-shadow:0 8px 18px rgba(2,6,23,.06);
}

/* Titre + bouton X un peu plus nets */
#akaAuthModal .modal-header{ padding:18px 20px 6px; }
#akaAuthModal .btn-close{ opacity:.7; }
#akaAuthModal .btn-close:hover{ opacity:1; }


















:root {
  --akaguriro-blue: #071689;
  --akaguriro-orange: #ff8400;
  --akaguriro-white: #ffffff;
  --akaguriro-gray: #ddd;

  --theme-text: var(--akaguriro-blue);
  --theme-bg: var(--akaguriro-white);
  --theme-highlight: var(--akaguriro-orange);
}

.theme-yellow {
  --theme-text: var(--akaguriro-orange);
  --theme-bg: var(--akaguriro-blue);
  --theme-highlight: var(--akaguriro-blue);
}

/* -----------------------------------------------------------------------------
   Global : typographie et Ã©lÃ©ments de base
----------------------------------------------------------------------------- */
body, p, span, a {
  font-family: 'Poppins', sans-serif !important;
}

a {
  color: var(--akaguriro-blue);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: var(--akaguriro-orange);
}



/* -----------------------------------------------------------------------------
   Currency Switcher
----------------------------------------------------------------------------- */
.block-commerce-currency-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 6px;
  border-radius: 3px;
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--akaguriro-gray);
  margin-left: 10px;
}

.block-commerce-currency-switcher select {
  background: var(--akaguriro-white);
  border: none;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-text);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

/* -----------------------------------------------------------------------------
   Menus spÃ©ciaux
----------------------------------------------------------------------------- */
.menu-faq,
.menu-comarelisk {
  display: block !important;
  opacity: 1 !important;
}

/* -----------------------------------------------------------------------------
   Footer : masquer temporairement certains blocs
----------------------------------------------------------------------------- */
.footer-block-hidden {
  display: none;
}

/* -----------------------------------------------------------------------------
   Dropdown Cart
----------------------------------------------------------------------------- */
.dropdown-cart .cart-label {
  display: block !important;
  opacity: 1 !important;
}

/* -----------------------------------------------------------------------------
   Contenu principal
----------------------------------------------------------------------------- */
.c-section {
  color: var(--theme-text);
  font-size: 16px;
  line-height: 1.6;
  margin: 20px auto;
  max-width: 800px;
  background-color: var(--akaguriro-white);
  padding: 0 10px;
}

.c-title {
  color: var(--theme-text);
  font-size: 22px;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.c-subtitle {
  color: var(--theme-text);
  font-size: 20px;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: 500;
}

.c-highlight {
  color: var(--theme-highlight);
  font-weight: bold;
}

.c-list {
  list-style: disc;
  margin-left: 1.6em;
  margin-bottom: 1em;
}

.c-hr {
  border: none;
  height: 1px;
  background-color: var(--akaguriro-gray);
  margin: 1.5em 0;
}

.c-btn {
  background-color: var(--akaguriro-orange);
  color: var(--akaguriro-white);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-weight: 500;
  transition: background-color 0.3s;
}
.c-btn:hover {
  background-color: var(--theme-text);
  color: var(--akaguriro-white);
}

.c-link {
  color: var(--akaguriro-orange);
  text-decoration: none;
  font-weight: 500;
}
.c-link:hover {
  color: var(--theme-text);
}

.c-muted {
  color: #5c6873;
  font-size: 16px;
}

.c-muted-title {
  color: #5c6873;
  font-size: 20px;
  font-weight: 600;
}

.rtecenter {
  text-align: center;
}

.single-product .c-section {
  max-width: 100% !important;
  margin: 0 !important;
  background-color: transparent !important;
  padding: 0 !important;
}

/* -----------------------------------------------------------------------------
   Checkout Akaguriro
----------------------------------------------------------------------------- */
.checkout-pane-shipping-information > legend {
  font-size: 20px;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 15px;
  padding-left: 10px;
  display: block;
}

.form-item-telephone,
.form-item-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.form-item-telephone label::before {
  content: "ðŸ“ž ";
}

.form-item-whatsapp label::before {
  content: "ðŸ“± ";
}

.checkout-pane-shipping-information .form-radios .form-item label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  width: 100%;
  font-size: 15px;
  line-height: 1.4;
}

.checkout-pane-shipping-information .form-item {
  margin-bottom: 10px;
}

.commerce-checkout-flow-checkout-form {
  max-width: 1000px;
  margin: auto;
}

/* -----------------------------------------------------------------------------
   Header et Footer
----------------------------------------------------------------------------- */
#header {
  background-color: var(--akaguriro-blue) !important;
  color: var(--akaguriro-white) !important;
}

#header a,
#header .menu,
#header .dropdown-menu,
#header .nav > li > a {
 /* color: var(--akaguriro-blue) !important;  */
}


/* Header principal (fond bleu) */
header .c-layout-main-menu a,
.navbar-nav > li > a {
  color: var(--akaguriro-white) !important;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
}

header .c-layout-main-menu a:hover,
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
  color: var(--akaguriro-orange) !important;
}

/* Header secondaire (haut, fond blanc) */
header .c-top-menu a {
  color: var(--akaguriro-blue) !important;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 1 !important;
  visibility: visible !important;
  transition: color 0.3s ease-in-out;
}

header .c-top-menu a:hover {
  color: var(--akaguriro-orange) !important;
}

footer,
#footer,
.site-footer {
  background-color: var(--akaguriro-blue) !important;
  color: var(--akaguriro-white) !important;
}

footer a,
#footer a,
.site-footer a {
  color: var(--akaguriro-white);
  text-decoration: none;
}

footer a:hover,
#footer a:hover,
.site-footer a:hover {
  color: var(--akaguriro-orange);
  text-decoration: underline;
}

.footer .block-title,
.footer .region-title,
.site-footer h2,
.site-footer h3 {
  color: var(--akaguriro-orange);
  font-weight: bold;
}

.site-footer .copyright,
footer .copyright,
#footer .copyright {
  font-size: 14px;
  color: var(--akaguriro-white);
  opacity: 0.9;
}

/* -----------------------------------------------------------------------------
   Boutons
----------------------------------------------------------------------------- */
input[type="submit"],
button[type="submit"],
.btn-primary {
  background-color: var(--akaguriro-blue) !important;
  color: var(--akaguriro-white) !important;
  font-weight: bold;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.btn-primary:hover {
  background-color: var(--akaguriro-orange) !important;
  color: var(--akaguriro-white) !important;
}

/* -----------------------------------------------------------------------------
   Responsive
----------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .navbar-nav > li > a {
    font-size: 14px;
  }
}

/* Header fixe au scroll */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 10px 20px;
  transition: padding 0.3s ease-in-out;
}

.c-page-on-scroll header.navbar {
  padding: 5px 20px;
}


/* âœ… Hover orange actif sur les deux menus */
header a:hover,
.navbar-nav > li > a:hover,
header .c-top-menu a:hover,
header .c-layout-main-menu a:hover {
  color: var(--akaguriro-orange) !important;
}

/* ðŸš« Supprimer tous les headers indÃ©sirables sauf le bon */
header.c-layout-header-default,
header.c-layout-header-topbar {
  display: none !important;
}

/* âœ… Assurer la visibilitÃ© du header Menu Bottom Position */
header.c-layout-header-6 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 9999;
}

/* Conteneur commun aux deux sÃ©lecteurs */
.language-currency-wrapper {
  display: flex;
  align-items: center;
  gap: 10px; /* espace entre les deux */
  justify-content: flex-end;
}

/* SÃ©lecteur de devise */
.block-commerce-currency-switcher {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid var(--akaguriro-gray);
  border-radius: 4px;
  background-color: var(--akaguriro-white);
  font-size: 13px;
}

/* SÃ©lecteur de devise - dropdown */
.block-commerce-currency-switcher select {
  border: none;
  background: transparent;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--theme-text);
}

.c-language-currency {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 5px 15px;
  font-size: 14px;
}

.c-language-currency .block-language,
.c-language-currency .block-commerce-currency-switcher {
  display: inline-block;
}

/* ===== Footer Extra Section ===== */
.c-footer-extra {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 14px;
  color: var(--akaguriro-white);
  margin-top: 20px;
}

@media (min-width: 768px) {
  .c-footer-extra {
    flex-direction: row;
    justify-content: space-between;
  }
}

.c-footer-group {
  flex: 1;
  min-width: 220px;
}

.c-footer-group h4 {
  color: var(--akaguriro-orange);
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.c-footer-group ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.c-footer-group ul li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.c-footer-group ul li a {
  color: var(--akaguriro-white);
  transition: color 0.3s ease;
}

.c-footer-group ul li a:hover {
  color: var(--akaguriro-orange);
}

/* Bouton Account (normal) */
.account-button,
.account-button a {
  background-color: #071689 !important;
  color: #ffffff !important;
  border: none;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 4px;
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
}

/* Survol (hover) : texte devient jaune */
.account-button:hover,
.account-button a:hover {
  color: #ff8400 !important;
}

/* ✅ Bouton Account avec icône */
a.btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold {
  background-color: var(--akaguriro-blue) !important;
  color: var(--akaguriro-white) !important;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
}

/* ✅ Hover : texte jaune */
a.btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold:hover {
  color: var(--akaguriro-orange) !important;
}

/* ✅ Menu principal (barre bleue du bas) */
.navbar-nav > li > a {
  color: var(--akaguriro-white) !important;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
}

/* ✅ Hover : texte orange Akaguriro */
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a {
  color: var(--akaguriro-orange) !important;
} 

/* ✅ Correction extrême : couleur survol des liens du menu principal */
header.c-layout-header-6 .c-layout-main-menu .navbar-nav > li > a {
  color: var(--akaguriro-white) !important;
}

header.c-layout-header-6 .c-layout-main-menu .navbar-nav > li > a:hover,
header.c-layout-header-6 .c-layout-main-menu .navbar-nav > li.active > a {
  color: var(--akaguriro-orange) !important;
}

/* Bouton "Account" amélioré */
a.btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold {
  background-color: var(--akaguriro-blue) !important;
  color: var(--akaguriro-white) !important;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color 0.3s ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

/* Icône "👤" avant le texte */
a.btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold::before {
  content: "👤";
  font-size: 15px;
  color: var(--akaguriro-white); /* Icône blanche */
  display: inline-block;
}

/* Hover = fond orange, texte et icône restent blancs */
a.btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold:hover {
  background-color: var(--akaguriro-orange) !important;
  color: var(--akaguriro-white) !important;
}
a.btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold:hover::before {
  color: var(--akaguriro-white) !important;
}


.socicon {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.socicon .socicon-lg {
  font-size: 20px;
  color: #ffffff !important;
  transition: background 0.3s ease;
}

.socicon .socicon-lg:hover {
  background-color: var(--akaguriro-orange);
  color: #ffffff !important;
  border-radius: 50%;
  padding: 6px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-icons a {
  background-color: #071689;
  color: #ffffff;
  padding: 8px;
  border-radius: 50%;
  text-align: center;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.footer-social-icons a:hover {
  background-color: #ff8400;
  color: #ffffff;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #071689;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.footer-social-icons a:hover {
  background-color: #ff8400;
  color: #ffffff;
}


.akg-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.akg-social-icons .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background-color: #071689; /* Bleu Akaguriro */
  color: #ffffff;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 16px;
}

.akg-social-icons .icon:hover {
  background-color: #ff8400; /* Orange Akaguriro */
  color: #ffffff;
}

.akg-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.akg-social-icons .social-icon {
  background-color: #ff8400; /* orange Akaguriro */
  color: #ffffff; /* texte blanc */
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px; /* carré à coins arrondis */
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
}

.akg-social-icons .social-icon:hover {
  background-color: #ffffff;
  color: #ff8400; /* orange Akaguriro au hover */
  transform: scale(1.1); /* petit effet au survol */
}

.c-highlight {
  color: var(--akaguriro-orange);
  font-weight: 600;
}

.c-muted-title {
  font-size: 18px;
  color: #5c6873;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 10px;
}


/* Style global pour toutes les icônes du footer */
.footer-columns i {
  color: #ffffff;
  margin-right: 6px;
  font-size: 16px;
  transition: color 0.3s ease;
}

/* Hover élégant */
.footer-columns i:hover {
  color: #ff8400;
}

/* Pour les réseaux sociaux spécifiquement */
.akg-social-icons a {
  color: #ff8400;
  margin-right: 10px;
  font-size: 18px;
  transition: transform 0.3s, color 0.3s;
}

.akg-social-icons a:hover {
  transform: scale(1.2);
  color: #ffffff;
}


/* ====== Styles Icônes Footer Akaguriro ====== */

/* Icônes dans les colonnes de texte */
.footer-columns i {
  color: #ff8400; /* Jaune Akaguriro par défaut */
  margin-right: 6px;
  font-size: 16px;
  transition: color 0.3s ease;
}

/* Au survol, deviennent blanches */
.footer-columns i:hover {
  color: #ffffff;
}

/* Icônes des Réseaux sociaux */
.akg-social-icons a {
  color: #ff8400;
  margin-right: 10px;
  font-size: 18px;
  transition: transform 0.3s, color 0.3s;
}

/* Hover : léger zoom + blanc */
.akg-social-icons a:hover {
  transform: scale(1.2);
  color: #ffffff;
}

.footer-columns i {
  color: #ff8400; /* Couleur jaune Akaguriro */
  margin-right: 8px;
  font-size: 16px;
}

.footer-columns i:hover {
  color: #ffffff;
}

.akg-social-icons a {
  color: #ff8400;
  margin-right: 12px;
  font-size: 20px;
}

.akg-social-icons a:hover {
  color: #ffffff;
}


.akg-icons-list {
  list-style: none;
  padding-left: 0;
  color: #fff;
  font-size: 16px;
}

.akg-icons-list li {
  margin: 8px 0;
  display: flex;
  align-items: center;
}

.akg-icons-list i {
  color: #ff8400; /* Jaune Akaguriro */
  margin-right: 10px;
  transition: color 0.2s ease;
  min-width: 18px;
  text-align: center;
}

.akg-icons-list li:hover i {
  color: #ffffff; /* Blanc au survol */
}

.akg-icons-list {
  list-style: none;
  padding-left: 0;
  color: #fff;
  font-size: 16px;
}

.akg-icons-list li {
  margin: 8px 0;
  display: flex;
  align-items: center;
}

.akg-icons-list i {
  color: #ff8400; /* Orange Akaguriro */
  margin-right: 10px;
  transition: color 0.1s ease; /* Plus rapide que 0.2s pour effet instantané */
  min-width: 18px;
  text-align: center;
  font-size: 1.2em; /* Taille légèrement augmentée pour élégance */
}

.akg-icons-list li:hover i {
  color: #ffffff; /* Blanc au survol */
}


.akg-icons-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0;
}


/* ---------- Styles Méga-menu Akaguriro ---------- */
.ak-megamenu {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 10px;
  background-color: var(--akaguriro-blue);
}

.ak-megamenu .column {
  padding: 20px;
  min-width: 220px;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.ak-megamenu .column:first-child {
  border-left: none;
}

.ak-megamenu h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--akaguriro-orange);
  margin-bottom: 0.75em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.ak-megamenu h3 i {
  font-size: 1rem;
}

.ak-megamenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ak-megamenu li a {
  display: block;
  color: var(--akaguriro-white);
  font-size: 0.9375rem;
  padding: 0.25em 0;
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.ak-megamenu li a:hover {
  color: var(--akaguriro-orange);
  padding-left: 0.5em;
}


/* ---------- Fix Méga-menu Akaguriro ---------- */
.ak-megamenu {
  position: absolute;       /* Caler le méga-menu sous la nav */
  top: 100%;                /* juste sous la barre */
  left: 0;
  width: 100%;              /* prend toute la largeur */
  display: flex;
  flex-wrap: wrap;
  background-color: var(--akaguriro-blue);
  padding: 1rem 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
}

.ak-megamenu .column {
  flex: 1 1 220px;          /* colonnes flexibles, min-width 220px */
  margin: 0 1rem;
}

.ak-megamenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ak-megamenu li {
  display: flex;            /* icône + texte alignés */
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0;
}

.ak-megamenu li i {
  font-size: 1.2em;         /* taille icône adaptée */
  color: var(--akaguriro-orange);
}

.ak-megamenu li a {
  color: var(--akaguriro-white);
  transition: color 0.2s, padding-left 0.2s;
}

.ak-megamenu li a:hover {
  color: var(--akaguriro-orange);
  padding-left: 0.5em;
}

/* ——— Contexte du parent ——— */
.navbar-nav,
.navbar-nav > li {
  position: relative;       /* pour que l’absolu se base ici */
}

/* ——— Méga-menu caché par défaut ——— */
.ak-megamenu {
  display: none !important;  /* on masque tant qu’on n’est pas en hover */
  position: absolute;        /* on l’ancre sous le li */
  top: 100%;
  left: 0;
  width: 100%;               /* plein largeur */
  background-color: var(--akaguriro-blue);
  padding: 1rem 2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
  flex-wrap: wrap;
}

/* ——— Affichage au hover ——— */
.navbar-nav > li:hover > .ak-megamenu {
  display: flex !important;  /* on le passe en flex seulement au survol */
}

/* ——— Colonnes flexibles ——— */
.ak-megamenu .column {
  flex: 1 1 220px;
  margin: 0 1rem;
}

/* ——— Items : icône + texte alignés ——— */
.ak-megamenu li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 0;
}
.ak-megamenu li i {
  font-size: 1.2em;
  color: var(--akaguriro-orange);
}
.ak-megamenu li a {
  color: var(--akaguriro-white);
  transition: color 0.2s, padding-left 0.2s;
}
.ak-megamenu li a:hover {
  color: var(--akaguriro-orange);
  padding-left: 0.5em;
}


/* ===== Akaguriro Cat Grid ===== */
.akaguriro-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: var(--akaguriro-blue);
}

.akagi-category {
  background: var(--akaguriro-bg, var(--akaguriro-blue));
  border-radius: 0.5rem;
  padding: 1rem;
}

.akagi-category__title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--akaguriro-orange);
  margin-bottom: 0.75rem;
}

.akagi-category__title i {
  font-size: 1.5em;
  color: var(--akaguriro-orange);
}

.akagi-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akagi-category__list li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5rem;
  color: var(--akaguriro-white);
  font-size: 0.95rem;
}

.akagi-category__list li i {
  font-size: 1.2em;
  color: var(--akaguriro-orange);
}

.akagi-category__list li:last-child {
  margin-bottom: 0;
}



.akagi-category__desc {
  color: var(--akaguriro-white);
  font-size: 0.9rem;
  margin: 0.25rem 0 0.75rem;
}




/* ==== Akaguriro Cat Grid ==== */
.akaguriro-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: var(--akaguriro-blue);
}

.akagi-category {
  background: var(--akaguriro-blue);
  border-radius: 0.5rem;
  padding: 1rem;
}

.akagi-category__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--akaguriro-orange);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.akagi-category__title i {
  font-size: 1.5em;
  color: var(--akaguriro-orange);
}

.akagi-category__title a {
  color: var(--akaguriro-orange);
  text-decoration: none;
}

.akagi-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akagi-category__list li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5rem;
}

.akagi-category__list li i {
  font-size: 1.2em;
  color: var(--akaguriro-orange);
}

.akagi-category__list li a {
  color: var(--akaguriro-white);
  text-decoration: none;
}

.akagi-category__list li:last-child {
  margin-bottom: 0;
}

/* ---------- Akaguriro Cat Grid ---------- */
.akaguriro-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  background-color: var(--akaguriro-blue);
}

/* Carte de chaque catégorie */
.akagi-category {
  background-color: var(--theme-bg);
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Titre parent */
.akagi-category__title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--akaguriro-orange);
  margin-bottom: 0.75rem;
}

.akagi-category__title i {
  font-size: 1.4em;
  color: var(--akaguriro-orange);
}

.akagi-category__title a {
  color: var(--akaguriro-orange);
  text-decoration: none;
  transition: color 0.2s;
}

.akagi-category__title a:hover {
  color: var(--akaguriro-blue);
}

/* Liste des enfants */
.akagi-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akagi-category__list li {
  display: flex;
  align-items: center;
  gap: 0.4em;
  margin-bottom: 0.4rem;
}

.akagi-category__list li i {
  font-size: 1.1em;
  color: var(--akaguriro-orange);
}

.akagi-category__list li a {
  color: var(--theme-text);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.akagi-category__list li a:hover {
  color: var(--akaguriro-orange);
  padding-left: 0.3em;
}

/* ––– Ajustements pour éviter le chevauchement des <li> ––– */
.akagi-category {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.akagi-category__list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex-grow: 1; /* pour que la liste prenne tout l’espace disponible sous le titre */
}

.akagi-category__list li {
  display: block;        /* plus de flex, juste un <li> qui s’empile */
  margin: 0.3rem 0;      /* espacement vertical */
  line-height: 1.3;      /* pour aérer la ligne */
}

.akagi-category__list li i {
  float: left;           /* icône à gauche */
  margin-right: 0.5rem;  /* petit écart avant le texte */
  font-size: 1.1em;
  color: var(--akaguriro-orange);
}

.akagi-category__list li a {
  display: block;        /* pour que tout le texte reste sur sa propre ligne */
  color: var(--theme-text);
  text-decoration: none;
  transition: color 0.2s;
}

.akagi-category__list li a:hover {
  color: var(--akaguriro-orange);
}

/* === Forcer les icônes de la grille en orange === */
.akagi-category__list li i {
  color: var(--akaguriro-orange) !important;
}

/* ==== Contraste : texte des listes en bl eu foncé ==== */
.akagi-category__list li,
.akagi-category__list li a {
  color: var(--akaguriro-blue) !important;
}

/* 1) Charger FontAwesome (en tout début du fichier) */
@import url("../../../../../cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/* … toutes les règles précédentes … */

/* ==== Styles spécifiques à la grille de catégories ==== */
.akaguriro-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  background-color: var(--akaguriro-blue);
}

.akagi-category {
  background-color: var(--akaguriro-white);
  border-radius: 0.5rem;
  padding: 1.5rem !important;
  display: flex;
  flex-direction: column;
}

.akagi-category__title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--akaguriro-orange);
  margin-bottom: 0.5rem;
}

.akagi-category__title i {
  font-size: 1.5em;
  color: var(--akaguriro-orange);
}

.akagi-category__title a {
  color: var(--akaguriro-orange);
  text-decoration: none;
}

.akagi-category__title a:hover {
  color: var(--akaguriro-blue);
}

.akagi-category__desc {
  font-size: 1rem;
  color: var(--akaguriro-gray);
  margin: 0.5rem 0 1rem;
}

.akagi-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}

.akagi-category__list li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
  line-height: 1.4;
}

.akagi-category__list li:last-child {
  margin-bottom: 0;
}

.akagi-category__list li i {
  font-size: 1.2em;
  color: var(--akaguriro-orange);
}

/* Liens dans la liste */
.akagi-category__list li a {
  color: var(--akaguriro-blue) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s, padding-left 0.2s;
}

.akagi-category__list li a:hover {
  color: var(--akaguriro-orange) !important;
  padding-left: 0.3em;
}

/* Masquer les descriptions par défaut */
.akagi-category__desc {
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  color: #f1f1f1;         /* ou une couleur claire qui contraste */
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

/* Au survol de la « carte » faire apparaître la description */
.akagi-category:hover .akagi-category__desc {
  display: block;
  opacity: 1;
}

/* Facultatif : positionner la description en « tooltip » */
  
.akagi-category {
  position: relative;
}

.akagi-category__desc {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}

/* 1. Taille de police plus généreuse */
.akagi-category__title {
  font-size: 1.3rem;        /* au lieu de 1.125rem */
  line-height: 1.2;
}
.akagi-category__list li {
  font-size: 1rem;          /* au lieu de 0.95rem */
  line-height: 1.4;
}
.akagi-category__list li a {
  padding-left: 0;          /* on enlève le padding sur les liens */
}

/* 2. Fond des cartes plus subtil */
.akagi-category {
  background-color: rgba(255,255,255,0.15); /* blanc très légèrement transparent */
  /* si tu préfères un off-white fixe, remplace par : #f8f8f8 */
  border: none;             /* on supprime la bordure blanche un peu trop marquée */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 3. Harmoniser l’espacement interne */
.akagi-category {
  padding: 1.2rem;          /* un peu plus d’air à l’intérieur */
}

/* 4. Améliorer le contraste des liens */
.akagi-category__list li a {
  color: #ffffff;           /* texte blanc (pour contraste sur fond foncé) */
  transition: color 0.2s;
}
.akagi-category__list li a:hover {
  color: var(--akaguriro-orange);
}

/* 5. Optionnel : rendre le fond encore plus discret au survol */
.akagi-category:hover {
  background-color: rgba(255,255,255,0.25);
}

/* 1. Texte toujours blanc et plus gros */
.akagi-category,
.akagi-category__title,
.akagi-category__title a,
.akagi-category__list li,
.akagi-category__list li a {
  color: #ffffff !important;
  font-size: 1.05rem !important;   /* taille augmentée */
  line-height: 1.4 !important;
}

/* 2. Titres encore un peu plus gros */
.akagi-category__title {
  font-size: 1.3rem !important;
}

/* 3. Fond plus doux */
.akagi-category {
  background-color: rgba(255,255,255,0.1) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

/* 4. Liens orange au survol */
.akagi-category__list li a:hover {
  color: var(--akaguriro-orange) !important;
}

/* 5. Désactiver les tooltips HTML natifs */
/* On va supprimer les attributs title dès le chargement de la page */



/* ——————— Amélioration Titres et Textes ——————— */

/* Titres de catégorie : plus gros et couleur orange Akaguriro */
.akagi-category__title {
  font-size: 1.4rem;                 /* +25% vs 1.125rem */
  color: var(--akaguriro-orange) !important;
}

/* Icône du titre un peu plus grande */
.akagi-category__title i {
  font-size: 1.7em;                  /* vs 1.4em */
}

/* Liens (items) : taille de police augmentée */
.akagi-category__list li a {
  font-size: 1rem;                   /* vs 0.95rem */
  line-height: 1.4;                  /* plus de confort de lecture */
}

/* Icônes des items : inchangé, mais on peut les grossir si besoin */
.akagi-category__list li i {
  font-size: 1.3em;                  /* vs 1.1em */
}

/* Augmentation globale de la police dans la grille */
.akaguriro-cat-grid {
  font-size: 1rem;                   /* remplace le 0.95 pour tout le bloc */
}

/* Un peu plus de contraste sur le fond des cartes */
.akagi-category {
  background-color: rgba(255,255,255,0.15) !important; /* plus sombre */
}

/* ——— Optionnel : élévation au hover ——— */
.akagi-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* ——— Services Grid ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.5rem;
  padding: 2rem 1rem;
  background-color: var(--akaguriro-blue);
}

/* Carte individuelle */
.services-grid .akagi-category {
  background-color: rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 1rem;
  transition: background 0.3s ease;
}
.services-grid .akagi-category:hover {
  background-color: rgba(255,255,255,0.12);
}

/* Titre & icône */
.services-grid .akagi-category__title {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--akaguriro-orange);
  margin-bottom: 0.5rem;
}
.services-grid .akagi-category__title i {
  font-size: 1.4em;
  color: var(--akaguriro-orange);
}
.services-grid .akagi-category__title a {
  color: var(--akaguriro-orange);
  text-decoration: none;
}
.services-grid .akagi-category__title a:hover {
  text-decoration: underline;
}

/* Description */
.services-grid .akagi-category__desc {
  font-size: 0.95rem;
  color: #ffffffaa;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.services-grid .akagi-category:hover .akagi-category__desc {
  color: #ffffff;
}

/* Liste des sous-services */
.services-grid .akagi-category__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.services-grid .akagi-category__list li {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 0.4rem;
}
.services-grid .akagi-category__list li:last-child {
  margin-bottom: 0;
}
.services-grid .akagi-category__list li i {
  font-size: 1.1em;
  color: var(--akaguriro-orange);
}
.services-grid .akagi-category__list li a {
  color: var(--akaguriro-white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}
.services-grid .akagi-category__list li a:hover {
  color: var(--akaguriro-orange);
  padding-left: 0.3em;
}  




/*

.hidden-megamenu {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

*/



/* on masque tous les hidden-megamenu dans la région footer */
.region-footer .hidden-megamenu {
  display: none !important;
}


/* ============================================================================
   1) TOP-BAR (header.c-layout-header-topbar) – Full width + style général 
   ============================================================================ */

/* 1.1) Full-width, arrière-plan blanc */
header.c-layout-header-topbar {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  padding: 0 !important; /* on gère le padding interne dans la section 1.3 */
  box-shadow: none !important;
}

/* 1.2) Conteneur interne full-width (si une <div class="container"> est présente) */
header.c-layout-header-topbar .container,
header.c-layout-header-topbar .c-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 auto !important;
}

/* 1.3) Disposition générale : flex + alignement */
header.c-layout-header-topbar,
header.c-layout-header-topbar .c-top-menu {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.25rem 1rem !important; /* hauteur réduite du top-bar */
  background: #ffffff !important;
}

/* 1.4) Logo réduit (hauteur max) */
header.c-layout-header-topbar .brand-logo img {
  height: 40px !important;
  max-height: 40px !important;
}

/* 1.5) Menu secondaire “BLOG | CONTACT | FAQ | …” */
header.c-layout-header-topbar .c-top-menu .nav.navbar-nav {
  display: flex !important;
  gap: 1rem !important;      /* espacement horizontal entre chaque lien */
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* 1.6) Liens du menu secondaire – style compact */
header.c-layout-header-topbar .c-top-menu .nav.navbar-nav > li > a {
  font-size: 0.80rem !important;
  color: #16327E !important;        /* bleu foncé */
  text-transform: uppercase;
  padding: 0.15rem 0 !important;     /* très peu de padding vertical */
  transition: color 0.2s ease-in-out;
}
header.c-layout-header-topbar .c-top-menu .nav.navbar-nav > li > a:hover {
  color: #F7941E !important;        /* orange Akaguriro au survol */
}

/* 1.7) Séparateur vertical orange entre chaque <li> (sauf le premier) */
header.c-layout-header-topbar .c-top-menu .nav.navbar-nav > li + li:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 1px;                   /* épaisseur du trait */
  height: 1.2em;                /* longueur du trait */
  background-color: #ff8400;    /* var(--akaguriro-orange) */
  margin: 0 0.5rem;             /* espacement autour du trait */
}
/* 1.7b) Ajouter un léger padding horizontal supplémentaire pour éviter que le texte colle au séparateur */
header.c-layout-header-topbar .c-top-menu .nav.navbar-nav > li > a {
  padding: 0.2rem 0.5rem !important;
}

/* 1.8) Bouton “Account” dans le top-bar */
header.c-layout-header-topbar .c-top-menu .btn.c-theme-btn.c-btn-uppercase.c-btn-bold {
  background-color: #16327E !important; /* bleu foncé */
  color: #ffffff !important;
  font-size: 0.875rem !important;
  padding: 0.30rem 0.8rem !important;
  border-radius: 4px !important;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
header.c-layout-header-topbar .c-top-menu .btn.c-theme-btn.c-btn-uppercase.c-btn-bold:hover {
  background-color: #F7941E !important; /* orange Akaguriro */
  color: #16327E !important;            /* texte bleu foncé */
}

/* 1.9) Sélecteur de langue dans le top-bar */
header.c-layout-header-topbar .c-top-menu .block-language {
  margin-left: 1rem !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 0.875rem !important;
}
header.c-layout-header-topbar .c-top-menu .block-language select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #ffffff !important;
  border: 1px solid #ccc !important;
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
  color: #16327E !important;
  border-radius: 4px !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D'10'%20height%3D'6'%20viewBox%3D'0%200%2010%206'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%200l5%206%206-6H0z'%20fill%3D'%2316327E'%20/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.5rem center !important;
  min-width: 5rem !important;
}

/* 1.10) Adaptation mobile (< 768px) pour li et select */
@media (max-width: 768px) {
  header.c-layout-header-topbar .c-top-menu .nav.navbar-nav > li > a {
    font-size: 0.75rem !important;
    padding: 0.15rem 0 !important;
  }
  header.c-layout-header-topbar .c-top-menu .block-language {
    margin-left: 0.5rem !important;
    font-size: 0.75rem !important;
  }
  header.c-layout-header-topbar .c-top-menu .block-language select {
    font-size: 0.75rem !important;
    padding: 0.2rem 0.4rem !important;
    min-width: 4rem !important;
  }
}

/* 1.11) Icônes réseaux sociaux du top-bar (agrandies + orange) */
header.c-layout-header-topbar .c-top-menu .social-icons a,
header.c-layout-header-topbar .c-top-menu .akg-social-icons a {
  background-color: #ff8400 !important;  /* var(--akaguriro-orange) */
  color: #ffffff !important;
  width: 40px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem !important;         /* taille de l’icône */
  border-radius: 50% !important;
  transition: background-color 0.25s ease, transform 0.25s ease;
}
header.c-layout-header-topbar .c-top-menu .social-icons a:hover,
header.c-layout-header-topbar .c-top-menu .akg-social-icons a:hover {
  background-color: #ffffff !important;
  color: #ff8400 !important;
  transform: scale(1.1) !important;
}


/* ============================================================================
   2) BARRE PRINCIPALE (header.c-layout-header-6) – Bleu foncé centré à 1200px 
   ============================================================================ */

/* 2.1) Full-width + largeur max 1200px */
header.c-layout-header-6 {
 /*  max-width: 1200px !important; */
  width: 100% !important;
  margin: 0 auto !important;
  background-color: #16327E !important; /* bleu foncé */
  /* padding: 0.5rem 1rem !important;       hauteur réduite */
}

/* 2.2) Menu principal “ACCUEIL | PRODUITS | SERVICES” */
header.c-layout-header-6 .c-layout-main-menu .nav.navbar-nav {
  display: flex !important;
  gap: 2rem !important;     /* espacement horizontal */
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
header.c-layout-header-6 .c-layout-main-menu .nav.navbar-nav > li > a {
  font-size: 1rem !important;
  color: #ffffff !important;
  text-transform: uppercase;
  padding: 0.3rem 0 !important;
  transition: color 0.2s ease-in-out;
}
header.c-layout-header-6 .c-layout-main-menu .nav.navbar-nav > li > a:hover,
header.c-layout-header-6 .c-layout-main-menu .nav.navbar-nav > li.active > a {
  color: #F7941E !important; /* orange Akaguriro au survol ou actif */
}

/* 2.3) Zone “Recherche + Panier + LOGIN” à droite */
header.c-layout-header-6 .c-layout-main-menu .container .primary-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

/* 2.4) Icône Recherche */
header.c-layout-header-6 .icon-search a {
  font-size: 1.2rem !important;
  color: #ffffff !important;
}

/* 2.5) Icône Panier + compteur */
header.c-layout-header-6 .icon-cart a {
  font-size: 1.2rem !important;
  color: #ffffff !important;
}
header.c-layout-header-6 .icon-cart .cart-count {
  background-color: #F7941E !important; /* orange Akaguriro */
  color: #16327E !important;            /* bleu foncé texte */
  font-size: 0.75rem !important;
  font-weight: bold !important;
  border-radius: 999px !important;
  padding: 0 0.25rem !important;
  margin-left: 0.25rem !important;
  line-height: 1 !important;
}

/* 2.6) Bouton LOGIN – compact et orange vif */
header.c-layout-header-6 .btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold {
  background-color: #F7941E !important; /* orange Akaguriro */
  color: #16327E !important;            /* bleu foncé */
  font-size: 0.80rem !important;
  padding: 0.25rem 0.6rem !important;
  border-radius: 3px !important;
  text-transform: uppercase !important;
  transition: background-color 0.2s, color 0.2s !important;
}
header.c-layout-header-6 .btn.c-theme-btn.c-btn-square.c-btn-uppercase.c-btn-bold:hover {
  background-color: #ffffff !important;
  color: #16327E !important;
  border: 1px solid #F7941E !important;
}

/* 2.7) Icônes réseaux sociaux (éventuelle s) dans la barre bleue */
.akg-social-icons a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #071689 !important; /* bleu Akaguriro */
  color: #ff8400 !important;             /* orange Akaguriro */
  width: 36px !important;
  height: 36px !important;
  border-radius: 4px !important;
  font-size: 18px !important;
  transition: background-color 0.3s ease, transform 0.3s ease !important;
}
.akg-social-icons a:hover {
  background-color: #ff8400 !important; /* orange au hover */
  color: #ffffff !important;
  transform: scale(1.1) !important;
}



/* ---------- OVERRIDE : supprimer la max-width de header.c-layout-header-6 ---------- */
header.c‐layout‐header‐6 {
  max‐width: none !important;
}


.text-akaguriro-blue {
    color: #071689;
}

.text-akaguriro-orange {
    color: #ff8400;
}

.bg-akaguriro-orange {
    background-color: #ff8400;
}

.bg-akaguriro-orange:hover {
    background-color: #e67300;
}

/* COULEURS OFFICIELLES AKAGURIRO */
.text-akaguriro-blue {
  color: #071689;
}

.text-akaguriro-orange {
  color: #ff8400;
}

.bg-akaguriro-orange {
  background-color: #ff8400;
}

.bg-akaguriro-orange:hover {
  background-color: #e67300;
}

.border-akaguriro-orange {
  border-color: #ff8400;
}

.border-akaguriro-blue {
  border-color: #071689;
} 

.text-akaguriro-blue {
  color: #071689 !important;
}

.text-akaguriro-orange {
  color: #ff8400 !important;
}

.bg-akaguriro-orange {
  background-color: #ff8400 !important;
}

.bg-akaguriro-orange:hover {
  background-color: #e67300 !important;
}

.border-akaguriro-orange {
  border-color: #ff8400 !important;
}

.border-akaguriro-blue {
  border-color: #071689 !important;
}


/* Conteneur principal */
.user-guide {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Titres principaux */
.user-guide h1,
.user-guide h2 {
  color: #071689; /* Bleu Akaguriro */
  border-left: 6px solid #ff8400; /* Jaune Akaguriro */
  padding-left: 12px;
  margin-top: 2rem;
}

/* Sous-titres */
.user-guide h3 {
  color: #ff8400;
  margin-top: 1.5rem;
}

/* Liens */
.user-guide a {
  color: #071689;
  text-decoration: underline;
}

.user-guide a:hover {
  color: #ff8400;
  text-decoration: none;
}

/* Listes */
.user-guide ul {
  list-style: disc;
  padding-left: 2rem;
}

.user-guide ol {
  padding-left: 2rem;
}

/* Tableau */
.user-guide table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: #f9f9f9;
}

.user-guide th {
  background-color: #071689;
  color: #fff;
  padding: 12px;
  text-align: left;
}

.user-guide td {
  border: 1px solid #ddd;
  padding: 10px;
}

/* Encadré résumé */
.user-guide hr {
  border: none;
  height: 2px;
  background-color: #ff8400;
  margin: 1.5rem 0;
}

/* Icônes emojis dans les titres (optionnel) */
.user-guide h1::before,
.user-guide h2::before,
.user-guide h3::before {
  margin-right: 6px;
}



.user-guide table th {
  background-color: #071689; /* Bleu Akaguriro */
  color: #ffffff !important; /* Texte blanc bien lisible */
}



.view-product-list .views-row {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.view-product-list h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.view-product-list .field--name-body {
  font-size: 0.95rem;
  color: #5c6873;
  line-height: 1.4;
}

.product-label {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
}

.product-label.sale {
  background-color: #ff8400;
  color: #fff;
}

.product-label.new {
  background-color: #071689;
  color: #fff;
}


/* Neutraliser le fond parasite dans la page de taxonomie */
.page-taxonomy-term .field--type-text-long {
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  color: #1a1a1a; /* Texte foncé lisible */
}

.page-taxonomy-term .field__label {
  font-weight: bold;
  margin-bottom: 0.3rem;
  color: #071689; /* Bleu Akaguriro */
}

.page-taxonomy-term .field--name-description {
  background-color: #f9f9f9;
  border-left: 4px solid #071689;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}


.call-to-action {
  background-color: #f5f5f5;
  color: #071689;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}


.cta-box {
  background-color: #fefefe;
  border: 1px solid #eee;
  padding: 1.5rem;
  border-radius: 6px;
  color: #333;
}

/* Supprime le fond bleu sur tout le champ de description longue */
.taxonomy-term .field--name-description-long,
.taxonomy-term .field--type-text-long {
  background-color: transparent !important;
  color: #1a1a1a !important;
  padding: 0 !important;
  border: none !important;
}

/* Optionnel : améliorer    la typographie */
.taxonomy-term .field--type-text-long p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #333;
} 


/* Correction du cart dropdown */
.c-cart-menu .views-field,
.c-cart-menu .views-field a,
.c-cart-menu .views-field span {
  display: block;
  line-height: 1.4em;
  white-space: normal;
  word-wrap: break-word;
}

.c-cart-menu .views-field {
  margin-bottom: 5px;
}

.c-cart-menu .c-cart-menu-items > li {
  padding: 10px 0;
  border-top: 1px solid #f3f3f3;
}



form.commerce-currency-resolver-select-form input[type="submit"] {
  display: none !important;
}


/* 1. Appliquer une forme identique aux deux blocs */
#block-languageswitcher,
#block-jango-sub-currencyblock {
  display: inline-block;
  background: white;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 6px 14px;
  margin: 0 5px;
  max-width: 160px;
  font-size: 14px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  white-space: nowrap;
}

/* 2. Centrer ou aligner à droite si nécessaire */
.region-header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

/* 3. Ajuster le style du sélecteur devise */
#block-jango-sub-currencyblock select {
  border: none;
  background: transparent;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

/* 4. Ajuster les liens de langue */
#block-languageswitcher a {
  padding: 2px 6px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

#block-languageswitcher a.is-active {
  color: white;
  background: #062577;
  border-radius: 12px;
}


/* Boîte globale semblable au select */
#block-languageswitcher {
  display: inline-block;
  background: white;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  color: #003087;
  max-width: 160px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

/* Enlever l'apparence menu déroulant */
#block-languageswitcher ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Liens de langue */
#block-languageswitcher ul li a {
  text-decoration: none;
  color: #003087;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 12px;
}

/* Langue active mise en avant */
#block-languageswitcher ul li a.is-active {
  background-color: #ff7f00;
  color: white;
} 

/* Boîte globale autour du bloc de langue */
#block-languageswitcher {
  display: inline-block;
  background: white;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  color: #003087;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  max-width: 160px;
  white-space: nowrap;
}

/* Suppression du style menu déroulant */
#block-languageswitcher ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/*   Liens de langue = ressemblent à des options */
#block-languageswitcher ul li a {
  display: block;
  text-decoration: none;
  color: #003087;
  padding: 4px 10px;
  border-radius: 12px;
  background: transparent;
  font-weight: bold;
  transition: all 0.2s ease;
}

/* Langue active = visuellement sélectionnée */
#block-languageswitcher ul li a.is-active {
  background-color: #ff7f00;
  color: white;
}

/* === 1. Boîte du sélecteur de langue === */
#block-languageswitcher {
  display: inline-block;
  background: white;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: bold;
  color: #003087;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
  max-width: 160px;
  vertical-align: middle;
  height: auto;
}

/* 1.1 Liste horizontale */
#block-languageswitcher ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

/* 1.2 Liens de langue */
#block-languageswitcher ul li a {
  display: block;
  text-decoration: none;
  color: #003087;
  padding: 4px 10px;
  border-radius: 12px;
  background: transparent;
  font-weight: bold;
  transition: all 0.2s ease;
}

/* 1.3 Langue active */
#block-languageswitcher ul li a.is-active {
  background-color: #ff7f00;
  color: white;
}

/* 1.4 Petite flèche pour ressembler à un select */
#block-languageswitcher::after {
  content: "▼";
  font-size: 10px;
  color: #888;
  padding-left: 6px;
  vertical-align: middle;
}


/* === 2. Sélecteur de devise : réduction hauteur === */
#block-jango-sub-currencyblock select {
  padding: 4px 10px !important;
  height: auto !important;
  line-height: 1.2;
  font-size: 14px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}


/* === 3. Alignement horizontal propre (si parent personnalisé) === */
/* À activer si tu enveloppes les deux blocs dans un <div class="header-currency-language-container"> */
.header-currency-language-container {
  display: flex;
  align-items: center;
  gap: 10px;
}


/* === Bloc DEVISE : #block-jango-sub-currencyblock === */
#block-jango-sub-currencyblock {
  position: absolute;
  top: 10px;
  right: 80px; /* Ajuste selon la place du bloc langue */
  z-index: 10;
}

#block-jango-sub-currencyblock select {
  padding: 4px 10px !important;
  font-size: 13px;
  font-weight: bold;
  height: auto !important;
  line-height: 1.2;
  border-radius: 14px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: none !important;
  width: auto;
}


/* === Bloc LANGUE : #block-languageswitcher === */
#block-languageswitcher {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: white;
  border: 1px solid #ccc;
  border-radius: 14px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  white-space: nowrap;
  max-width: 200px;
}

/* Liste horizontale */
#block-languageswitcher ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

/* Lien langue */
#block-languageswitcher ul li a {
  display: block;
  text-decoration: none;
  color: #003087;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

/* Langue active */
#block-languageswitcher ul li a.is-active {
  background-color: #ff7f00;
  color: white;
}


/* === Responsive (mobile) === */
@media (max-width: 768px) {
  #block-jango-sub-currencyblock {
    top: 8px;
    right: 90px;
  }

  #block-languageswitcher {
    top: 8px;
    right: 10px;
    padding: 3px 8px;
    font-size: 12px;
  }

  #block-jango-sub-currencyblock select {
    font-size: 12px;
    padding: 3px 8px !important;
  }

  #block-languageswitcher ul li a {
    padding: 3px 6px;
    font-size: 12px;
  }
}


/* === Bloc DEVISE : compact et équilibré === */
#block-jango-sub-currencyblock {
  position: absolute;
  top: 10px;
  right: 80px;
  z-index: 10;
}

#block-jango-sub-currencyblock select {
  padding: 2px 8px !important;
  font-size: 13px;
  font-weight: bold;
  height: auto !important;
  line-height: 1.2;
  border-radius: 10px; /* ⚠️ réduit à 10px */
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: none !important;
  width: auto;
}


/* === Bloc LANGUE : équilibré et harmonisé === */
#block-languageswitcher {
  position: absolute;
  top: 40px;
  right: 75px;
  z-index: 10;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px; /* idem que devise */
  padding: 2px 8px; /* ⚠️ réduit */
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  white-space: nowrap;
  max-width: 160px;
}

/* Liste horizontale */
#block-languageswitcher ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

/* Liens langue */
#block-languageswitcher ul li a {
  display: block;
  text-decoration: none;
  color: #003087;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 13px;
  transition: background-color 0.2s ease;
}

/* Langue active */
#block-languageswitcher ul li a.is-active {
  background-color: #ff7f00;
  color: white;
}


/* === Responsive (mobile) === */
@media (max-width: 768px) {
  #block-jango-sub-currencyblock {
    top: 8px;
    right: 90px;
  }

  #block-languageswitcher {
    top: 8px;
    right: 10px;
    padding: 2px 6px;
    font-size: 12px;
  }

  #block-jango-sub-currencyblock select {
    font-size: 12px;
    padding: 2px 6px !important;
  }

  #block-languageswitcher ul li a {
    padding: 2px 5px;
    font-size: 12px;
  }
}


/* === Bloc devise compact et aligné === */
#block-jango-sub-currencyblock {
  position: absolute;
  top: 40px;       /* à ajuster finement pour s’aligner avec "FR" */
  right: 75px;     /* juste à gauche de FR (ajuste si besoin) */
  z-index: 10;
}

#block-jango-sub-currencyblock select {
  padding: 2px 8px !important;
  font-size: 13px;
  font-weight: 600;
  height: auto !important;
  line-height: 1.2;
  border-radius: 8px; /* plus sobre */
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: none !important;
  width: auto;
  min-width: 60px;
}  


/* Supprimer les marge s internes du bloc */
#block-jango-sub-currencyblock {
  position: absolute;
  top: 40px;
  right: 1px;
  z-index: 10;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Styliser uniquement le select */
#block-jango-sub-currencyblock select {
  padding: 2px 8px !important;
  font-size: 13px;
  font-weight: 600;
  height: auto !important;
  line-height: 1.2;
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: none !important;
  width: auto;
  min-width: 60px;
}

.commerce-currency-resolver-select-form {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


footer .block-facets {
    display: none !important;
}


/* Pages login/register */
body.path-user-login .block, body.path-user-register .block { }

/* Bouton Google : transforme le lien en gros CTA */
.path-user-login a[href*="google"], 
.path-user-register a[href*="google"] {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: 0.85rem 1.1rem;
  border-radius: .75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
}

.path-user-login a[href*="google"]:hover,
.path-user-register a[href*="google"]:hover { background: #f9fafb; }

.path-user-login a[href*="google"]::before,
.path-user-register a[href*="google"]::before {
  content: "";
  width: 20px; height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'><path fill='%23FFC107' d='M43.611 20.083H42V20H24v8h11.303C33.797 31.915 29.273 35 24 35 16.82 35 11 29.18 11 22S16.82 9 24 9c3.438 0 6.563 1.294 8.963 3.412l5.657-5.657C34.871 3.053 29.671 1 24 1 10.745 1 0 11.745 0 25s10.745 24 24 24 24-10.745 24-24c0-1.627-.17-3.215-.389-4.917z'/><path fill='%23FF3D00' d='M6.305 14.691l6.571 4.817C14.52 15.297 18.879 13 24 13c3.438 0 6.563 1.294 8.963 3.412l5.657-5.657C34.871 3.053 29.671 1 24 1 15.317 1 7.889 5.658 3.695 12.309l2.61 2.382z'/><path fill='%234CAF50' d='M24 49c5.166 0 9.86-1.977 13.418-5.197l-6.199-5.238C29.27 40.915 25.827 42 22 42c-5.23 0-9.733-3.353-11.32-8.013l-6.56 5.046C7.254 45.968 15.042 49 24 49z'/><path fill='%231976D2' d='M43.611 20.083H42V20H24v8h11.303c-1.334 3.832-4.991 6.562-9.303 6.562-5.23 0-9.733-3.353-11.32-8.013l-6.56 5.046C7.254 45.968 15.042 49 24 49c13.255 0 24-10.745 24-24 0-1.627-.17-3.215-.389-4.917z'/></svg>") no-repeat center/contain;
}

/* Petite ligne “ou” */
.path-user-login .aka-divider, .path-user-register .aka-divider {
  display:flex; align-items:center; gap:.75rem; margin:1rem 0; color:#6b7280; font-size:.9rem;
}
.path-user-login .aka-divider::before, .path-user-register .aka-divider::after {
  content:""; height:1px; background:#e5e7eb; flex:1;
}

/* Bloc Google stylé en gros bouton */
.aka-google-cta a[href*="/oauth/google"],
.aka-google-cta a[href*="/user/login/google"]{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.85rem 1.1rem;
  border-radius:.75rem; border:1px solid #e5e7eb;
  background:#fff; font-weight:700; font-size:1rem;
  text-decoration:none;
}
.aka-google-cta a[href*="/oauth/google"]:hover,
.aka-google-cta a[href*="/user/login/google"]:hover{ background:#f9fafb; }

/* Icône fournie par le module (évite qu’elle soit énorme) */
.aka-google-cta a[href*="google"] img{
  width:22px; height:22px; display:block; margin:0;
}

/* Libellé si le lien ne contient que l’image */
html[lang^="fr"] .aka-google-cta a[href*="google"]::after{ content:"Continuer avec Google"; }
html[lang^="en"] .aka-google-cta a[href*="google"]::after{ content:"Continue with Google"; }

/* Option : cacher le titre du bloc si tu l’as laissé */
.aka-google-cta .block-title, .aka-google-cta h2{ display:none; }

/* Un peu d’espace sous le bouton */
.aka-google-cta{ margin-bottom:1rem; }



/* Taille/espacement/cohérence */
.aka-google-cta a[href*="/oauth/google"],
.aka-google-cta a[href*="/user/login/google"]{
  display:inline-flex; align-items:center; gap:.6rem;
  padding:.9rem 1.2rem;
  border-radius:.9rem; border:1px solid #e5e7eb; background:#fff;
  font-weight:700; font-size:1rem; text-decoration:none;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.aka-google-cta a[href*="google"]:hover{ background:#f9fafb; }
.aka-google-cta a[href*="google"] img{ width:22px; height:22px; display:block; }
.aka-google-cta{ margin: 8px 0 16px; }

/* plein écran sur mobile */
@media (max-width: 576px){
  .aka-google-cta a[href*="google"]{ width:100%; justify-content:center; }
}


.aka-divider{
  display:flex; align-items:center; gap:.75rem; margin:10px 0 18px;
  color:#6b7280; font-size:.9rem;
}
.aka-divider::before,.aka-divider::after{
  content:""; height:1px; background:#e5e7eb; flex:1;
}

.tabs.primary{ gap:.5rem; margin:6px 0 14px; }
.tabs.primary a{ border-radius:.6rem; border-color:#e5e7eb; }

/* Wrapper du bloc → centre le bouton */
.aka-google-cta{
  display:flex;
  justify-content:center;
  margin: 12px 0 10px;
}

/* Gros CTA Google (couvre /oauth/google et /user/login/google) */
.aka-google-cta a[href*="/oauth/google"],
.aka-google-cta a[href*="/user/login/google"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.7rem;
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background:#fff;
  font-weight:700;
  font-size: 1.05rem;
  line-height:1;
  text-decoration:none;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  width: 100%;
  max-width: 420px;              /* large mais pas trop */
}

/* Hover & icône */
.aka-google-cta a[href*="google"]:hover{ background:#f9fafb; }
.aka-google-cta a[href*="google"] img{ width:24px; height:24px; display:block; margin:0; }

/* Mobile = plein écran */
@media (max-width: 576px){
  .aka-google-cta a[href*="google"]{ max-width: none; }
}

/* (optionnel) Si le lien n'a QUE l'image, on ajoute le texte : */
html[lang^="fr"] .aka-google-cta a[href*="google"]::after{ content:"Continuer avec Google"; }
html[lang^="en"] .aka-google-cta a[href*="google"]::after{ content:"Continue with Google"; }


/* === AUTH MODAL – CLEAN + MINIFIED === */
#akaAuthModal.modal{z-index:20050!important}
.modal-backdrop.show{z-index:20040!important}
#akaAuthModal{display:none}
#akaAuthModal.show{display:block!important}
#block-jango-sub-akaguriroauthmodal,.region-footer{overflow:visible!important}
.aka-auth-trigger{display:inline-flex!important;align-items:center;gap:.5rem}

/* portrait / compacte */
#akaAuthModal .modal-dialog{max-width:520px}
#akaAuthModal .modal-content{border-radius:16px}
#akaAuthModal .aka-stack-center{display:flex;flex-direction:column;align-items:center;gap:14px}
#akaAuthModal .aka-cta-email,#akaAuthModal .aka-social .aka-google{width:100%;max-width:420px}
#akaAuthModal .aka-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

/* séparateur */
#akaAuthModal .aka-divider{position:relative;text-align:center;margin:12px 0;color:#6b7280}
#akaAuthModal .aka-divider:before,#akaAuthModal .aka-divider:after{content:"";position:absolute;top:50%;width:42%;height:1px;background:#e5e7eb}
#akaAuthModal .aka-divider:before{left:0}#akaAuthModal .aka-divider:after{right:0}

/* boutons */
#akaAuthModal .aka-google{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:9999px;padding:10px 16px;font-weight:600}
#akaAuthModal .aka-cta-email{display:inline-block;background:#f5a300;border:none;border-radius:9999px;color:#111827;padding:14px 18px;font-weight:700;text-align:center;box-shadow:0 8px 18px rgba(245,163,0,.35);transition:filter .15s}
#akaAuthModal .aka-cta-email:hover{filter:brightness(.95)}

/* textes */
#akaAuthModal .aka-legal{font-size:.85rem;text-align:center;color:#6b7280;margin-top:10px}
#akaAuthModal .aka-help{padding:0 1rem 1rem;text-align:center}



/* Cache les liens contextuels Drupal à l'intérieur du modal */
#akaAuthModal .contextual,
#akaAuthModal .contextual-region { display:none !important; }

/* === AUTH PANEL — petit panneau ancré sous l'icône "Connexion" ===
   (style Alibaba : pas de modale plein écran, juste un dropdown comme
   celui du menu "Mon compte" déjà utilisé pour les clients connectés)
   Sélecteur combiné .akg-account-menu.akg-auth-panel (spécificité plus
   haute) : la règle .akg-account-menu{z-index:200} définie plus bas dans
   ce fichier gagnerait sinon la cascade (même spécificité, définie après),
   et le panneau se retrouvait sous la barre de navigation bleue (z-index:999). */
.akg-account-menu.akg-auth-panel{
  flex-direction:column;gap:14px;
  min-width:400px;max-width:440px;padding:20px 18px;
  z-index:1500;
}
/* display:flex UNIQUEMENT quand .open est posé (au clic) — sinon la règle
   .akg-account-menu{display:none} par défaut doit continuer à s'appliquer.
   Sélecteur plus spécifique que .akg-account-dropdown.open .akg-account-menu
   (qui met display:block) pour que ce panneau passe bien en flex, pas en block. */
.akg-account-dropdown.open .akg-account-menu.akg-auth-panel{display:flex}
.akg-auth-panel .aka-cta-email,.akg-auth-panel .aka-social .aka-google{width:100%}
.akg-auth-panel .aka-links{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.akg-auth-panel .aka-divider{position:relative;text-align:center;margin:2px 0;color:#6b7280}
.akg-auth-panel .aka-divider:before,.akg-auth-panel .aka-divider:after{content:"";position:absolute;top:50%;width:42%;height:1px;background:#e5e7eb}
.akg-auth-panel .aka-divider:before{left:0}
.akg-auth-panel .aka-divider:after{right:0}
.akg-auth-panel .aka-google{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid #e5e7eb;border-radius:9999px;padding:10px 16px;font-weight:600}
.akg-auth-panel .aka-cta-email{display:inline-block;background:#f5a300;border:none;border-radius:9999px;color:#111827;padding:14px 18px;font-weight:700;text-align:center;box-shadow:0 8px 18px rgba(245,163,0,.35);transition:filter .15s}
.akg-auth-panel .aka-cta-email:hover{filter:brightness(.95)}
.akg-auth-panel .aka-legal{font-size:.8rem;text-align:center;color:#6b7280;margin:0}
@media (max-width:420px){
  .akg-account-menu.akg-auth-panel{min-width:calc(100vw - 32px);max-width:calc(100vw - 32px)}
}





.view .view-header,
.view .view-footer,
.view .attachment { display:block !important; }

.table tfoot { display: table-footer-group !important; }



/* Forcer l’affichage des zones de la vue */
.view .view-header,
.view .view-footer,
.view .attachment {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0.5rem;
}

/* S’assurer que le pied de tableau (totaux) est rendu */
.view .view-content table tfoot {
  display: table-footer-group !important;
}
.view .view-content table tfoot tr {
  display: table-row !important;
}
.view .view-content table tfoot th,
.view .view-content table tfoot td {
  display: table-cell !important;
  font-weight: 600;
}

/* Le résumé de totaux de Commerce */
.line-item-summary { 
  display: block !important; 
}
.line-item-summary .order-total-line {
  display: flex;
  justify-content: space-between;
}

/* (optionnel) petit alignement à droite des montants */
.view .view-footer,
.line-item-summary .order-total-line:last-child {
  text-align: right;
}





.line-item-summary .order-total-line{display:flex;justify-content:space-between;padding:.35rem 0}
.line-item-summary .order-total-line__total{border-top:2px solid #1c3d91;margin-top:.35rem;padding-top:.6rem}

/* Grille 2 colonnes + sidebar sticky */
.kg-checkout{
  display:grid;
  grid-template-columns: 1fr minmax(300px, 380px);
  gap: 2rem;
}
.kg-summary{
  position: sticky;
  top: 1rem;
  align-self: start;
}

/* Mobile : une colonne */
@media (max-width: 992px){
  .kg-checkout{ grid-template-columns: 1fr; }
  .kg-summary{ position: static; }
}


/* Boîte compacte scrollable */
.form-item-shipping-method .form-radios {
  max-height: 320px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  columns: 2;        /* 2 colonnes pour gagner la place */
  column-gap: 16px;
}

.form-item-shipping-method .form-type-radio {
  break-inside: avoid;
  margin: 4px 0;
}

.form-item-shipping-method label {
  font-size: 14px;
  line-height: 1.25;
  display: inline-block;
}

/* Allège les puces */
.form-item-shipping-method input[type="radio"] {
  transform: scale(0.9);
  margin-right: 6px;
}


/* Laisse de la place à la barre d’admin Drupal sur mobile */
@media (max-width: 991px) {
  body.toolbar-fixed,
  body.toolbar-horizontal {
    padding-top: 56px; /* ajuste à la hauteur réelle de ta toolbar */
  }
  /* Cache les bulles contextuelles sur mobile pour éviter le chevauchement */
  .contextual,
  .quickedit {
    display: none !important;
  }
}


/* Layout responsive du catalogue */
.view-catalogue-akg .view-content {
  display: grid;
  grid-template-columns: 1fr;      /* mobile: 1 carte */
  gap: 12px;
}

@media (min-width: 576px) {
  .view-catalogue-akg .view-content { grid-template-columns: repeat(2, 1fr); } /* 2 colonnes */
}
@media (min-width: 992px) {
  .view-catalogue-akg .view-content { grid-template-columns: repeat(3, 1fr); } /* 3 colonnes */
}
@media (min-width: 1200px) {
  .view-catalogue-akg .view-content { grid-template-columns: repeat(4, 1fr); } /* 4 colonnes */
}

/* Chaque item (row) */
.view-catalogue-akg .akg-catalogue-row {
  width: 100%;
  display: block;
}

/* Images et cartes à l’intérieur (sélecteurs larges pour couvrir Jango/Commerce) */
.view-catalogue-akg img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Filtres exposés en pile sur mobile */
@media (max-width: 575px) {
  .view-catalogue-akg .bef-exposed-form select,
  .view-catalogue-akg .bef-exposed-form .form-actions {
    width: 100%;
    margin-bottom: 8px;
  }
}

/* Barre admin qui chevauche sur mobile (quand connecté) */
@media (max-width: 991px) {
  body.toolbar-fixed, body.toolbar-horizontal { padding-top: 56px; }
  .contextual, .quickedit { display: none !important; }
} 


/* ===== Grille responsive pour la View Catalogue ===== */
.view-catalogue-akg .view-content {
  display: grid;
  grid-template-columns: 1fr;  /* Mobile: 1 carte */
  gap: 16px;
}

/* Tablette : 2 colonnes */
@media (min-width: 576px) {
  .view-catalogue-akg .view-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop : grille fluide auto-fill (3–4 colonnes selon la largeur) */
@media (min-width: 992px) {
  .view-catalogue-akg .view-content {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); /* ajuste 240–300px si besoin */
  }
}

/* Chaque ligne/élément de la vue */
.view-catalogue-akg .akg-catalogue-row {
  width: 100%;
  display: flex;               /* égaliser la hauteur des cartes */
  flex-direction: column;
  border: 1px solid #eef0f3;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

/* Image produit full width, sans déformation */
.view-catalogue-akg .akg-catalogue-row img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Contenu de la carte (titre, prix, actions) */
.view-catalogue-akg .akg-catalogue-row .content,
.view-catalogue-akg .akg-catalogue-row .product-content,
.view-catalogue-akg .akg-catalogue-row .commerce-product__content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1; /* push footer en bas */
}

/* Titre sur 2 lignes max pour éviter les cartes très hautes */
.view-catalogue-akg .akg-catalogue-row .title,
.view-catalogue-akg .akg-catalogue-row h3,
.view-catalogue-akg .akg-catalogue-row .product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.3;
}

/* Prix + wishlist alignés */
.view-catalogue-akg .akg-catalogue-row .price-line {
  margin-top: auto; /* colle en bas de carte */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Boutons (ajout panier, wishlist, etc.) */
.view-catalogue-akg .akg-catalogue-row .actions a,
.view-catalogue-akg .akg-catalogue-row .actions button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Sécurité contre l’effet “lamelles” sur petites largeurs */
@media (max-width: 575px) {
  .view-catalogue-akg img { width: 100%; height: auto; object-fit: cover; }
}

/* Si la vue est trop collée aux bords sur desktop */
@media (min-width: 1200px) {
  .view-catalogue-akg { padding-left: 4px; padding-right: 4px; }
}


/* FIX: show taxonomy term fields */ 
.page-taxonomy-term .field--type-text-long,
.taxonomy-term .field--type-text-long,
.page-taxonomy-term .field--name-description,
.taxonomy-term .field--name-description,
.page-taxonomy-term .field--name-field_description_longue,
.page-taxonomy-term .field--name-field_image_a_la_une,
.page-taxonomy-term .field--name-field_liste_attache_product {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Titres dans les fiches produits Akaguriro */
.node--type-product .node__content h2,
.node--type-product .product-full .product-description h2 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: #004996; /* Bleu Akaguriro */
  margin-top: 1.2em;
  margin-bottom: 0.4em;
}

.node--type-product .node__content h3,
.node--type-product .product-full .product-description h3 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  color: #004996; /* Bleu Akaguriro */
  margin-top: 1em;
  margin-bottom: 0.4em;
}


/* TITRES AKAGURIRO – Fiches produits */
.node--type-product .product-description h1,
.node--type-product .product-description h2,
.node--type-product .product-description h3 {
  font-family: inherit;
  color: #F28C00 !important; /* Orange Akaguriro */
  font-weight: 700 !important;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
}

/* Taille spécifique */
.node--type-product .product-description h1 {
  font-size: 30px !important;
}

.node--type-product .product-description h2 {
  font-size: 24px !important;
}

.node--type-product .product-description h3 {
  font-size: 20px !important;
}
/* ✅ Réactiver le TOPBAR (sinon le currency switcher disparaît) */
header.c-layout-header-topbar{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* ✅ Sécuriser le bloc devise */
#block-jango-sub-currencyblock{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
}


.c-product-gallery-content .c-zoom.c-hide {
  display: none !important;
}

.c-product-gallery-thumbnail {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.c-product-gallery-thumbnail .c-product-thumb {
  cursor: pointer;
  border: 2px solid transparent;
  padding: 4px;
  max-width: 120px;
}

.c-product-gallery-thumbnail .c-product-thumb.c-active {
  border-color: #1f3a93;
}

.c-product-gallery-thumbnail .c-product-thumb img,
.c-product-gallery-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.c-product-gallery-content {
  text-align: center;
}

.c-product-gallery-content .c-zoom img {
  margin: 0 auto;
  max-height: 650px;
  width: auto;
  object-fit: contain;
}


.c-product-gallery-content .c-zoom.c-hide {
  display: none !important;
}

.c-product-gallery {
  max-width: 650px;
  margin: 0 auto;
}

.c-product-gallery-content {
  text-align: center;
}

.c-product-gallery-content .c-zoom img {
  display: block;
  max-width: 100%;
  max-height: 650px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.c-product-gallery-thumbnail {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.c-product-gallery-thumbnail .c-product-thumb {
  cursor: pointer;
  border: 2px solid transparent;
  padding: 4px;
  width: 90px;
}

.c-product-gallery-thumbnail .c-product-thumb.c-active {
  border-color: #1f3a93;
}

.c-product-gallery-thumbnail .c-product-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── HOMEPAGE 3 COLONNES ─────────────────────────────────────────────── */
.akg-home-layout { padding: 20px 0; }

.akg-three-col {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 20px;
  align-items: start;
}

/* LEFT */
.akg-cat-menu h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1B3FAB;
  padding: 10px 14px;
  background: #EEF2FF;
  border-radius: 8px;
  margin: 0 0 8px;
}

.akg-cat-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akg-cat-menu ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 13px;
  color: #3D4451;
  text-decoration: none;
  border-radius: 6px;
  transition: all .15s;
  border-left: 2px solid transparent;
}

.akg-cat-menu ul li a:hover {
  background: #EEF2FF;
  color: #1B3FAB;
  border-left-color: #F97316;
  padding-left: 18px;
}

.akg-cat-menu ul li a span {
  background: #F97316;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
}

/* RIGHT */
.akg-right .view-ng-blog-list h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1B3FAB;
  padding: 10px 14px;
  background: #EEF2FF;
  border-radius: 8px;
  margin: 0 0 8px;
}

/* Sticky sidebars */
.akg-left, .akg-right {
  position: sticky;
  top: 80px;
}

/* Responsive */
@media (max-width: 991px) {
  .akg-three-col {
    grid-template-columns: 1fr;
  }
  .akg-left, .akg-right { position: static; }
}

/* ── CATALOGUE CENTRE — forcer 3 colonnes ─────────────────────────── */
.akg-centre .view-catalogue-akg .grid,
.akg-centre .views-view-grid,
.akg-centre .view-content {
  grid-template-columns: repeat(3, 1fr) !important;
  display: grid !important;
  gap: 14px !important;
}

.akg-centre .views-col,
.akg-centre .views-row {
  width: 100% !important;
  float: none !important;
}

/* Réduire la taille des cards produits dans le centre */
.akg-centre .commerce-product--teaser img {
  height: 180px;
  object-fit: cover;
}

/* ── SEARCH BAR CENTRE ──────────────────────────────────────────────── */
.akg-search-bar { margin-bottom: 16px; }
.akg-search-bar .akg-search-inner {
  display: flex;
  border: 2px solid #1B3FAB;
  border-radius: 30px;
  overflow: hidden;
  height: 44px;
}
.akg-search-bar .akg-cat-select {
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 12px;
  background: #EEF2FF;
  color: #1B3FAB;
  font-weight: 600;
  cursor: pointer;
  min-width: 140px;
}
.akg-search-bar .akg-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 14px;
}
.akg-search-bar .akg-search-btn {
  background: #F97316;
  border: none;
  color: #fff;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.akg-search-bar .akg-search-btn:hover { background: #EA6200; }

/* ── BLOG RIGHT COMPACT ─────────────────────────────────────────────── */
.akg-blog-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #1B3FAB;
  padding: 8px 12px;
  background: #EEF2FF;
  border-radius: 8px;
  margin-bottom: 10px;
}
.akg-right .views-row {
  border-bottom: 1px solid #E5E7EB;
  padding: 8px 0;
}
.akg-right .views-row img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover;
  border-radius: 6px;
  float: left;
  margin-right: 8px;
}
.akg-right .views-field-title a {
  font-size: 12px;
  font-weight: 600;
  color: #1A1D1F;
  text-decoration: none;
  line-height: 1.3;
}
.akg-right .views-field-title a:hover { color: #F97316; }
.akg-right .views-field-created {
  font-size: 11px;
  color: #9CA3AF;
  clear: both;
}

/* ── BLOG RIGHT — réduire taille texte ─────────────────────────── */
.akg-right .views-field-title a {
  font-size: 12px !important;
  line-height: 1.4 !important;
}
.akg-right h3, .akg-right h2 {
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 4px !important;
}
.akg-right .node--type-nd-blog {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #E5E7EB;
}
.akg-right .node--type-nd-blog img {
  width: 55px !important;
  height: 55px !important;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.akg-right .field--name-field-nd-blog-image { flex-shrink: 0; }

/* Cacher les sliders MD sur la homepage */
body.path-frontpage #block-shophome1,
body.path-frontpage #block-shophome3,
body.path-frontpage #block-shophome6,
body.path-frontpage #block-homev2,
body.path-frontpage #block-homev4,
body.path-frontpage #block-homev5,
body.path-frontpage #block-homev6,
body.path-frontpage #block-homev7,
body.path-frontpage #block-homev8,
body.path-frontpage #block-homev9,
body.path-frontpage #block-homev11,
body.path-frontpage #block-homev12 {
  display: none !important;
}

/* Cacher sliders homepage — IDs corrects */
body.path-frontpage #block-homev11,
body.path-frontpage #block-homev12,
body.path-frontpage #block-homev2,
body.path-frontpage #block-homev4,
body.path-frontpage #block-homev5,
body.path-frontpage #block-homev6,
body.path-frontpage #block-homev7,
body.path-frontpage #block-homev8,
body.path-frontpage #block-homev9,
body.path-frontpage #block-shophome1,
body.path-frontpage #block-shophome3,
body.path-frontpage #block-shophome6 { display: none !important; }

/* Blog right — compact avec image */
.akg-right .views-row { 
  display: flex !important; 
  gap: 8px !important; 
  padding: 8px 0 !important;
  border-bottom: 1px solid #E5E7EB !important;
  align-items: flex-start !important;
}
.akg-right .views-row img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 6px !important;
  flex-shrink: 0 !important;
}
.akg-right .views-row h2,
.akg-right .views-row h3,
.akg-right .views-row .node__title {
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}
.akg-right .views-row .node__title a { color: #1A1D1F !important; }
.akg-right .views-row .node__title a:hover { color: #F97316 !important; }

/* Forcer height 0 sur les conteneurs des sliders MD homepage */
body.path-frontpage .region-header > div[id^="block-homev"],
body.path-frontpage .region-header > div[id^="block-shophome"] {
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: hidden !important;
}

/* Supprimer l'espace du header layout sur homepage */
body.path-frontpage .c-layout-header-6 > .c-bg-white {
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Supprimer espace entre nav et contenu homepage */
body.path-frontpage .akg-home-layout {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.path-frontpage .region-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
body.path-frontpage .c-layout-header-6 {
  margin-bottom: 0 !important;
}

/* ── FOOTER homepage — forcer fond bleu ─────────────────────────── */
body.path-frontpage .region-footer {
  background: transparent !important;
}

/* ── RESPONSIVE MOBILE homepage ─────────────────────────────────── */
@media (max-width: 768px) {
  .akg-three-col {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .akg-left {
    display: none !important;
  }
  .akg-right {
    order: -1;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 12px;
    margin-bottom: 8px;
  }
  .akg-centre .views-view-responsive-grid {
    --views-responsive-grid--column-count: 2 !important;
  }
  .akg-search-bar .akg-cat-select {
    display: none !important;
  }
  .akg-search-bar .akg-search-inner {
    border-radius: 30px !important;
  }
  /* Blog sidebar compact mobile */
  .akg-right .c-post-title a {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .akg-centre .views-view-responsive-grid {
    --views-responsive-grid--column-count: 1 !important;
  }
}

/* ============================================
   FOOTER AKAGURIRO — charte officielle
   Bleu #071689 + Orange #ff8400
   ============================================ */

body .c-layout-footer,
body .c-layout-footer.c-layout-footer-7 {
  background-color: var(--akaguriro-blue) !important;
  color: var(--akaguriro-white) !important;
}

body .c-layout-footer .c-prefooter,
body .c-layout-footer-7 .c-prefooter {
  background-color: var(--akaguriro-blue) !important;
  color: #d8def0 !important;
  padding: 40px 0 30px;
}

body .c-layout-footer .c-postfooter,
body .c-layout-footer-7 .c-postfooter {
  background-color: #050f5e !important;
  color: #d8def0 !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  padding: 25px 0 15px;
}

body .c-layout-footer .c-prefooter h2,
body .c-layout-footer .c-prefooter h3,
body .c-layout-footer .c-prefooter h4,
body .c-layout-footer .c-prefooter .c-postfooter-title,
body .c-layout-footer .c-prefooter strong,
body .c-layout-footer h2,
body .c-layout-footer h3,
body .c-layout-footer h4 {
  color: var(--akaguriro-white) !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
}

body .c-layout-footer p,
body .c-layout-footer li,
body .c-layout-footer span,
body .c-layout-footer address {
  color: #d8def0 !important;
}

body .c-layout-footer a,
body .c-layout-footer .c-prefooter a,
body .c-layout-footer .c-postfooter a {
  color: var(--akaguriro-orange) !important;
  text-decoration: none;
  transition: color .2s ease;
}
body .c-layout-footer a:hover,
body .c-layout-footer a:focus {
  color: #ffa840 !important;
  text-decoration: underline;
}

body .c-layout-footer .fa,
body .c-layout-footer i.fa,
body .c-layout-footer i {
  color: var(--akaguriro-orange) !important;
}

body .c-layout-footer .c-copyright,
body .c-layout-footer .c-postfooter .c-copyright,
body .c-layout-footer .c-postfooter p {
  color: #aab3d4 !important;
  font-size: 13px;
}

body .c-layout-footer .c-postfooter h2,
body .c-layout-footer .c-postfooter h3 {
  color: var(--akaguriro-white) !important;
  text-align: center;
  margin-bottom: 15px;
}

body .c-layout-footer .c-socials a,
body .c-layout-footer .social-link {
  background-color: transparent !important;
}

/* ============================================
   FOOTER LINKS — override : blanc par défaut, orange au hover
   (les icônes restent orange en permanence)
   ============================================ */
body .c-layout-footer a,
body .c-layout-footer .c-prefooter a,
body .c-layout-footer .c-postfooter a,
body .c-layout-footer ul li a,
body .c-layout-footer .menu a {
  color: var(--akaguriro-white) !important;
}
body .c-layout-footer a:hover,
body .c-layout-footer a:focus,
body .c-layout-footer ul li a:hover,
body .c-layout-footer .menu a:hover {
  color: var(--akaguriro-orange) !important;
  text-decoration: underline;
}
/* Garder les icônes orange même si dans un <a> */
body .c-layout-footer a .fa,
body .c-layout-footer a i,
body .c-layout-footer a i.fa {
  color: var(--akaguriro-orange) !important;
}

/* ============================================
   BLOG SIDEBAR — markup custom akg-blog-item
   ============================================ */
.akg-blog-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.akg-blog-item:last-child { border-bottom: none; }

.akg-blog-thumb {
  flex: 0 0 70px;
  width: 70px;
}
.akg-blog-thumb img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.akg-blog-meta {
  flex: 1;
  min-width: 0;
}
.akg-blog-title {
  margin: 0 0 4px;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
.akg-blog-title a {
  color: var(--akaguriro-blue) !important;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.akg-blog-title a:hover {
  color: var(--akaguriro-orange) !important;
}

.akg-blog-date {
  display: block;
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

/* ============================================
   BLOG SIDEBAR — fixes additionnels
   ============================================ */

/* Neutraliser le style badge/encadré hérité sur les titres */
.akg-blog-item .akg-blog-title,
.akg-blog-item .akg-blog-title a {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* S'assurer que l'image s'affiche bien (au cas où une règle parent la cache) */
.akg-blog-thumb,
.akg-blog-thumb img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Si pas d'image, ne pas garder l'espace vide à gauche */
.akg-blog-item:not(:has(.akg-blog-thumb)) .akg-blog-meta {
  flex: 1;
}

/* ============================================================
   HOMEPAGE — Layout 3 colonnes hauteurs égales
   ============================================================ */
.akg-three-col {
  display: grid !important;
  grid-template-columns: 220px 1fr 280px !important;
  gap: 20px !important;
  align-items: stretch !important;
}

.akg-left, .akg-right {
  display: flex;
  flex-direction: column;
}

.akg-left .akg-cat-menu,
.akg-right > * {
  /* Le contenu reste en haut, la couleur de fond s'étend si l'aside grandit */
  flex: 0 0 auto;
}

/* Donner un fond aux asides pour qu'elles aient un look cohérent même si elles s'étendent */
.akg-left .akg-cat-menu {
  background: #fff;
  border-radius: 8px;
  padding: 14px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  height: 100%;
}

.akg-right {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.akg-right .akg-blog-title {
  background: #eef2ff;
  color: var(--akaguriro-blue);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============================================================
   HERO BLOG — featured récent
   ============================================================ */
.akg-hero-blog {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  margin: 12px 0 18px;
  border: 1px solid #eef2ff;
}
.akg-hero-thumb {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}
.akg-hero-thumb img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.akg-hero-thumb:hover img { transform: scale(1.04); }

.akg-hero-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.akg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--akaguriro-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.akg-hero-title { margin: 4px 0 0; font-size: 18px; line-height: 1.3; }
.akg-hero-title a {
  color: var(--akaguriro-blue) !important;
  text-decoration: none;
}
.akg-hero-title a:hover { color: var(--akaguriro-orange) !important; }

.akg-hero-summary {
  margin: 0;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.akg-hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #e5e7eb;
  flex-wrap: wrap;
  gap: 8px;
}
.akg-hero-date {
  font-size: 12px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.akg-hero-date i { color: var(--akaguriro-orange); }

/* Boutons partage */
.akg-hero-share { display: inline-flex; gap: 6px; }
.akg-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: #fff !important;
  text-decoration: none !important;
  transition: transform .15s ease, opacity .15s ease;
}
.akg-share-btn:hover { transform: translateY(-2px); opacity: .9; }
.akg-share-fb   { background: #1877f2; }
.akg-share-tw   { background: #1da1f2; }
.akg-share-wa   { background: #25d366; }
.akg-share-copy { background: #6b7280; }
.akg-share-copy.akg-share-copied { background: #10b981; }

/* ============================================================
   CATALOGUE PRODUITS — 5 colonnes (5 → 3 → 2)
   ============================================================ */
.akg-centre .view-catalogue-akaguriro .view-content,
.akg-centre .view-id-catalogue_akaguriro .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 14px !important;
}
.akg-centre .view-catalogue-akaguriro .views-row,
.akg-centre .view-id-catalogue_akaguriro .views-row {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

/* Grille responsive Drupal `grid_responsive` peut utiliser des wrappers, on neutralise */
.akg-centre .view-catalogue-akaguriro .views-view-grid-responsive,
.akg-centre .view-catalogue-akaguriro .row,
.akg-centre .view-catalogue-akaguriro [class*="col-"] {
  display: contents !important;
}

@media (max-width: 1024px) {
  .akg-three-col {
    grid-template-columns: 1fr !important;
  }
  .akg-centre .view-catalogue-akaguriro .view-content {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .akg-hero-blog { grid-template-columns: 180px 1fr; }
}

@media (max-width: 600px) {
  .akg-centre .view-catalogue-akaguriro .view-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .akg-hero-blog {
    grid-template-columns: 1fr;
  }
  .akg-hero-thumb img { max-height: 180px; }
  .akg-hero-meta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   CATALOGUE FULL-WIDTH — hors des sidebars
   ============================================================ */
.akg-catalogue-full {
  margin-top: 28px;
  padding: 0;
}
.akg-catalogue-full .view-catalogue-akaguriro,
.akg-catalogue-full .view-id-catalogue_akaguriro {
  width: 100%;
}
.akg-catalogue-full .view-catalogue-akaguriro .view-content,
.akg-catalogue-full .view-id-catalogue_akaguriro .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
}
.akg-catalogue-full .views-row {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.akg-catalogue-full .views-view-grid-responsive,
.akg-catalogue-full .row,
.akg-catalogue-full [class*="col-md-"],
.akg-catalogue-full [class*="col-lg-"],
.akg-catalogue-full [class*="col-sm-"] {
  display: contents !important;
}

/* Header de la grille (filtres, tri exposés) — laisser pleine largeur naturelle */
.akg-catalogue-full .view-filters,
.akg-catalogue-full .view-header {
  margin-bottom: 14px;
}

/* Pager en bas */
.akg-catalogue-full .pager,
.akg-catalogue-full nav.pager {
  margin-top: 24px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .akg-catalogue-full .view-catalogue-akaguriro .view-content {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .akg-catalogue-full .view-catalogue-akaguriro .view-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Neutraliser les anciennes règles (si présentes) qui ciblaient .akg-centre */
.akg-centre .view-catalogue-akaguriro,
.akg-centre .view-id-catalogue_akaguriro {
  display: none !important;
}

/* ============================================================
   HERO SLIDESHOW — 5 derniers articles
   ============================================================ */
.akg-hero-slider {
  position: relative;
  margin: 12px 0 18px;
}
.akg-hero-slides {
  position: relative;
}
.akg-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid #eef2ff;
}
.akg-hero-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

/* Dots */
.akg-hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.akg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d1d5db;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}
.akg-dot.active {
  background: var(--akaguriro-orange);
  transform: scale(1.3);
}
.akg-dot:hover { background: var(--akaguriro-blue); }

/* ============================================================
   WIDGET "TÉLÉCHARGER L'APP" (sous catégories)
   ============================================================ */
.akg-app-widget {
  margin-top: 16px;
  padding: 16px 14px;
  background: linear-gradient(135deg, var(--akaguriro-blue) 0%, #050f5e 100%);
  border-radius: 10px;
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.akg-app-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff !important;
}
.akg-app-title i { color: var(--akaguriro-orange); margin-right: 4px; }
.akg-app-text {
  margin: 0 0 12px;
  font-size: 12px;
  color: #d8def0 !important;
  line-height: 1.4;
}
.akg-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.akg-app-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #000;
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 11px;
  transition: transform .15s ease, background .15s ease;
}
.akg-app-btn:hover {
  background: #333;
  transform: translateY(-2px);
  color: #fff !important;
}
.akg-app-btn i {
  font-size: 22px;
  color: #fff !important;
}
.akg-app-btn span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.akg-app-btn small { font-size: 9px; opacity: .8; }
.akg-app-btn strong { font-size: 13px; font-weight: 600; }

/* ============================================================
   CATALOGUE FULL-WIDTH — width = même container que .akg-three-col
   ============================================================ */
.akg-catalogue-full {
  width: 100%;
  max-width: 100%;
  margin-top: 28px;
  padding: 0;
  overflow: hidden; /* prévient débordement horizontal */
}
.akg-catalogue-full > * {
  max-width: 100%;
}
.akg-catalogue-full .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
}
.akg-catalogue-full .views-row {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  min-width: 0 !important;
}
.akg-catalogue-full .views-row * {
  max-width: 100%;
  box-sizing: border-box;
}
/* Neutraliser wrappers Bootstrap-style */
.akg-catalogue-full .views-view-grid-responsive,
.akg-catalogue-full .row,
.akg-catalogue-full [class*="col-md-"],
.akg-catalogue-full [class*="col-lg-"],
.akg-catalogue-full [class*="col-sm-"],
.akg-catalogue-full [class*="col-xs-"] {
  display: contents !important;
}

/* Le wrapper englobant force max-width raisonnable */
.akg-home-layout {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Responsive */
@media (max-width: 1024px) {
  .akg-catalogue-full .view-content {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .akg-hero-slide {
    grid-template-columns: 180px 1fr;
  }
  .akg-app-buttons {
    flex-direction: row;
  }
}
@media (max-width: 600px) {
  .akg-catalogue-full .view-content {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .akg-hero-slide {
    grid-template-columns: 1fr;
  }
  .akg-hero-meta { flex-direction: column; align-items: flex-start; }
  .akg-app-buttons { flex-direction: column; }
}

/* ============================================================
   FIX : sidebar gauche en flex column propre
   - .akg-cat-menu et .akg-app-widget se suivent naturellement
   - le aside s'étend en hauteur via le grid stretch parent
   ============================================================ */
.akg-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}
.akg-left .akg-cat-menu {
  height: auto !important; /* ÉCRASE l'ancien height: 100% qui cachait le widget */
  flex: 0 0 auto !important;
}
.akg-left .akg-app-widget {
  flex: 0 0 auto !important;
  display: block !important; /* sécurité au cas où un ancestor cache */
}

/* Le catalogue full-width respecte maintenant la largeur du .container Bootstrap parent */
.akg-catalogue-full {
  width: 100%;
  max-width: 100%;
}

/* On retire la règle max-width sur akg-home-layout — le .container Bootstrap fait déjà le boxed */
.akg-home-layout {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ============================================================
   FIX FINAL : layout naturel sans stretch
   - Chaque colonne prend sa hauteur naturelle
   - Plus d'espace blanc forcé
   ============================================================ */
.akg-three-col {
  align-items: flex-start !important; /* écrase le stretch précédent */
}

/* Le aside-left n'a plus besoin de fond étendu */
.akg-left .akg-cat-menu {
  height: auto !important;
}
.akg-left {
  height: auto !important;
}
.akg-right {
  height: auto !important;
}

/* Widget app : adapter le style pour la sidebar droite (cohérent avec le bloc Actualités) */
.akg-right .akg-app-widget {
  margin-top: 16px;
  padding: 14px 12px;
  background: linear-gradient(135deg, var(--akaguriro-blue) 0%, #050f5e 100%);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.akg-right .akg-app-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
}
.akg-right .akg-app-text {
  margin: 0 0 10px;
  font-size: 11px;
  color: #d8def0 !important;
  line-height: 1.4;
}
.akg-right .akg-app-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.akg-right .akg-app-btn {
  padding: 6px 10px;
  font-size: 10px;
}
.akg-right .akg-app-btn i { font-size: 18px; }
.akg-right .akg-app-btn small { font-size: 8px; }
.akg-right .akg-app-btn strong { font-size: 11px; }

/* ============================================================
   WIDGET APP en BANDEAU HORIZONTAL (dans .akg-centre)
   - Title + description à gauche
   - Boutons Google Play / App Store à droite
   ============================================================ */
.akg-centre .akg-app-widget {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-areas:
    "title   buttons"
    "text    buttons" !important;
  gap: 4px 28px !important;
  align-items: center !important;
  text-align: left !important;
  padding: 20px 28px !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  border-radius: 12px !important;
  /* fond et couleurs : on garde celui de la version sidebar (dégradé Akaguriro) */
}

.akg-centre .akg-app-widget .akg-app-title {
  grid-area: title;
  font-size: 17px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: #fff !important;
}
.akg-centre .akg-app-widget .akg-app-title i {
  color: var(--akaguriro-orange) !important;
  font-size: 20px;
  margin-right: 6px;
}

.akg-centre .akg-app-widget .akg-app-text {
  grid-area: text;
  font-size: 13px !important;
  color: #d8def0 !important;
  margin: 0 !important;
  line-height: 1.4;
}

.akg-centre .akg-app-widget .akg-app-buttons {
  grid-area: buttons;
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  flex: 0 0 auto !important;
}

.akg-centre .akg-app-widget .akg-app-btn {
  padding: 10px 16px !important;
  font-size: 11px;
}
.akg-centre .akg-app-widget .akg-app-btn i { font-size: 24px !important; }
.akg-centre .akg-app-widget .akg-app-btn small { font-size: 9px; }
.akg-centre .akg-app-widget .akg-app-btn strong { font-size: 13px !important; }

/* Responsive : redevient vertical sur mobile */
@media (max-width: 700px) {
  .akg-centre .akg-app-widget {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "text"
      "buttons" !important;
    text-align: center !important;
    padding: 18px 16px !important;
  }
  .akg-centre .akg-app-widget .akg-app-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ============================================================
   HEADER AKAGURIRO — Phase 2 (squelette + logo + nav sticky + mobile)
   ============================================================ */
.akg-header { background: #fff; position: relative; z-index: 100; }
.akg-header * { box-sizing: border-box; }
.akg-header .container { max-width: 1400px; margin: 0 auto; padding: 0 16px; width: 100%; }

/* Placeholders Phase 3/5 — cachés tant que vides */
.akg-promo-bar[hidden], .akg-top-strip[hidden] { display: none; }

/* Main header */
.akg-header-main { border-bottom: 1px solid #f0f4ff; padding: 14px 0; background: #fff; }
.akg-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}
.akg-logo { display: inline-flex; align-items: center; text-decoration: none; }
.akg-logo img { height: 50px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.akg-header-search, .akg-header-actions { min-height: 40px; }

/* La nav sticky (z-index 999, position:fixed) passe au-dessus de la barre
   d'administration Drupal, qui n'a pas de z-index assez élevé pour rivaliser
   une fois la nav fixée en haut d'écran. On force la barre admin au-dessus. */
#toolbar-bar { z-index: 1001 !important; }

/* Navigation principale */
.akg-nav { background: var(--akaguriro-blue); position: relative; z-index: 999; transition: box-shadow .2s ease; }
.akg-nav.akg-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.akg-nav-spacer { width: 100%; transition: height .2s ease; }
.akg-nav-row { display: flex; align-items: center; gap: 16px; min-height: 50px; }

/* Hamburger button */
.akg-nav-toggle {
  display: none;
  background: transparent; border: none; cursor: pointer;
  padding: 10px 8px; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.akg-nav-toggle span {
  display: block; width: 22px; height: 2.5px;
  background: #fff; border-radius: 2px;
  transition: all .25s ease;
}
.akg-nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.akg-nav-toggle.open span:nth-child(2) { opacity: 0; }
.akg-nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu items (rendu par drupal_menu('main')) */
.akg-nav-menu { width: 100%; }
.akg-nav-menu ul.menu, .akg-nav-menu > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 0; flex-wrap: wrap;
}
.akg-nav-menu ul.menu li, .akg-nav-menu > ul > li { margin: 0; position: relative; }
.akg-nav-menu ul.menu li a, .akg-nav-menu > ul > li > a {
  display: block; padding: 14px 18px;
  color: #fff !important; text-decoration: none !important;
  font-weight: 500; font-size: 13px;
  text-transform: uppercase; letter-spacing: .4px;
  transition: background .15s ease, color .15s ease;
}
.akg-nav-menu ul.menu li a:hover,
.akg-nav-menu ul.menu li a:focus,
.akg-nav-menu ul.menu li.menu-item--active-trail > a,
.akg-nav-menu ul.menu li a.is-active {
  background: rgba(255,255,255,0.08);
  color: var(--akaguriro-orange) !important;
}

/* Indicateur dropdown */
.akg-nav-menu ul.menu li.menu-item--expanded > a::after {
  content: ' \25BE'; margin-left: 6px; font-size: 10px; opacity: .8;
}

/* Sous-menu desktop (dropdown au survol) */
@media (min-width: 901px) {
  .akg-nav-menu ul.menu li ul.menu {
    display: none;
    position: absolute; top: 100%; left: 0;
    background: #fff; flex-direction: column;
    min-width: 240px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-top: 3px solid var(--akaguriro-orange);
    padding: 6px 0; z-index: 10;
  }
  .akg-nav-menu ul.menu li:hover > ul.menu,
  .akg-nav-menu ul.menu li:focus-within > ul.menu { display: flex; }
  .akg-nav-menu ul.menu li ul.menu li a {
    color: var(--akaguriro-blue) !important;
    text-transform: none; letter-spacing: 0;
    padding: 10px 18px; font-weight: 500;
  }
  .akg-nav-menu ul.menu li ul.menu li a:hover {
    background: #f9fafb; color: var(--akaguriro-orange) !important;
  }
}

/* === Mobile (≤ 900px) === */
@media (max-width: 900px) {
  .akg-nav-toggle { display: inline-flex; }
  .akg-nav-row { justify-content: space-between; min-height: 48px; }

  .akg-nav-menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--akaguriro-blue);
    padding: 8px 0;
    z-index: 1001;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .akg-nav-menu.open { display: block; }
  .akg-nav-menu ul.menu { flex-direction: column; gap: 0; }
  .akg-nav-menu ul.menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .akg-nav-menu ul.menu li ul.menu {
    background: rgba(0,0,0,0.18);
    flex-direction: column;
    border-top: none; box-shadow: none;
  }
  .akg-nav-menu ul.menu li ul.menu li a {
    color: #fff !important; padding-left: 40px;
    font-size: 12px; text-transform: none;
  }
  .akg-logo img { height: 42px; }
}

@media (max-width: 600px) {
  .akg-header-row { gap: 12px; }
  .akg-logo img { height: 38px; }
  .akg-header .container { padding: 0 12px; }
}

/* ============================================================
   TOP STRIP — Phase 3 (WhatsApp + devise + langue)
   ============================================================ */
.akg-top-strip {
  background: #f7f9fc;
  border-bottom: 1px solid #eef2ff;
  font-size: 12px;
  color: #4b5563;
  display: block !important; /* écrase l'ancien display:none */
}
.akg-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  flex-wrap: wrap;
  gap: 8px;
}

/* WhatsApp à gauche */
.akg-top-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563 !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color .15s ease;
}
.akg-top-whatsapp:hover { color: #25d366 !important; }
.akg-top-whatsapp i {
  color: #25d366;
  font-size: 15px;
}

/* Zone droite */
.akg-top-right {
  display: flex;
  align-items: center;
  gap: 2px;
}

/* Dropdowns */
.akg-top-dropdown { position: relative; }
.akg-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 12px;
  color: #4b5563;
  font-weight: 500;
  border-radius: 4px;
  transition: background .15s ease;
}
.akg-top-btn:hover { background: rgba(0,0,0,0.04); }
.akg-top-btn i.fa-chevron-down {
  font-size: 9px;
  margin-left: 2px;
  opacity: .6;
}
.akg-lang-flag { font-size: 14px; line-height: 1; }
.akg-lang-code { font-weight: 600; }

.akg-top-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  list-style: none;
  margin: 4px 0 0;
  padding: 4px 0;
  min-width: 200px;
  /* Doit passer au-dessus de .akg-nav (z-index:999) — même correctif déjà
     appliqué à .akg-account-menu.akg-auth-panel (voir plus bas dans ce
     fichier) pour le même bug : avec seulement 2 langues (fr/en) le menu
     n'était jamais assez haut pour toucher la barre de nav et le problème
     restait invisible ; avec 4 langues (fr/en/sw/rn) il devient assez grand
     pour passer sous la barre bleue et masquer les dernières entrées. */
  z-index: 1500;
  display: none;
}
.akg-top-dropdown.open .akg-top-menu { display: block; }
.akg-top-menu li { margin: 0; }
.akg-top-menu li button,
.akg-top-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 12px;
  color: #4b5563 !important;
  text-decoration: none !important;
  text-align: left;
}
.akg-top-menu li button:hover,
.akg-top-menu li a:hover {
  background: #f9fafb;
  color: var(--akaguriro-blue) !important;
}
.akg-top-menu li button.active,
.akg-top-menu li a.active {
  background: #eef2ff;
  color: var(--akaguriro-blue) !important;
  font-weight: 600;
}

/* Mobile : top strip compact */
@media (max-width: 600px) {
  .akg-top-strip { font-size: 11px; }
  .akg-top-whatsapp span { display: none; }
  .akg-top-btn { padding: 5px 7px; }
  .akg-top-row { gap: 4px; min-height: 32px; }
}

/* ============================================================
   TOP STRIP — version enrichie (Phase 3 v2)
   Fond bleu Akaguriro, liens multiples avec icônes
   ============================================================ */
.akg-top-strip {
  background: var(--akaguriro-blue) !important;
  border-bottom: none !important;
  font-size: 12px;
  color: #d8def0 !important;
}
.akg-top-row {
  min-height: 38px;
  flex-wrap: wrap;
  gap: 4px 16px;
}

/* Liens uniformes (gauche + droite) */
.akg-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  color: #d8def0 !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
}
.akg-top-link:hover { 
  color: var(--akaguriro-orange) !important; 
  background: rgba(255,255,255,0.06);
}
.akg-top-link i { font-size: 13px; opacity: .9; }

/* WhatsApp : icône en vert WhatsApp */
.akg-top-whatsapp i { color: #25d366 !important; opacity: 1; }
.akg-top-whatsapp:hover { color: #25d366 !important; }

/* Email + location : icônes orange Akaguriro */
.akg-top-email i, .akg-top-location i { color: var(--akaguriro-orange); }

/* Liens de droite : icônes en orange aussi pour équilibrer */
.akg-top-track i, .akg-top-vendor i, .akg-top-help i { 
  color: var(--akaguriro-orange);
}

/* Location : pas de hover (c'est un span pas un lien) */
.akg-top-location { cursor: default; }
.akg-top-location:hover { 
  color: #d8def0 !important; 
  background: transparent;
}

/* Dropdown langue : adapter au fond bleu */
.akg-top-btn {
  color: #d8def0 !important;
  background: transparent;
}
.akg-top-btn:hover { 
  background: rgba(255,255,255,0.08);
  color: #fff !important;
}

/* Menu déroulant : reste blanc avec texte sombre (lisibilité) */
.akg-top-menu {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
}
.akg-top-menu li a {
  color: #4b5563 !important;
}

/* Responsive : cacher progressivement les éléments moins critiques */
@media (max-width: 1100px) {
  .akg-top-location { display: none; }
}
@media (max-width: 900px) {
  .akg-top-email { display: none; }
  .akg-top-help, .akg-top-vendor { display: none; }
}
@media (max-width: 600px) {
  .akg-top-track { display: none; }
  .akg-top-whatsapp span { display: none; }
  .akg-top-link { padding: 5px 6px; }
  .akg-top-row { gap: 2px 6px; min-height: 34px; }
}

/* ============================================================
   MAIN HEADER — Phase 4 (recherche + actions)
   ============================================================ */
.akg-header-main {
  padding: 12px 0;
}
.akg-header-row {
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

/* Search bar */
.akg-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  background: #f5f7fa;
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 4px 4px 4px 20px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.akg-search-form:focus-within {
  border-color: var(--akaguriro-blue);
  background: #fff;
  box-shadow: 0 2px 8px rgba(7, 22, 137, 0.1);
}
.akg-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--akaguriro-blue);
  min-width: 0;
}
.akg-search-input::placeholder { color: #9ca3af; }
.akg-search-submit {
  background: var(--akaguriro-blue);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.akg-search-submit:hover {
  background: var(--akaguriro-orange);
  transform: scale(1.05);
}

/* Actions à droite */
.akg-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: auto !important;
}
.akg-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--akaguriro-blue) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s, color .15s;
}
.akg-action:hover {
  background: rgba(7, 22, 137, 0.08);
  color: var(--akaguriro-orange) !important;
}
.akg-action i { font-size: 18px; }

/* Badge compteur */
.akg-action-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--akaguriro-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}
.akg-badge-zero {
  background: #d1d5db;
  color: #6b7280;
}

/* Avatar / login (avec libellé texte) */
.akg-action-login,
.akg-account-btn {
  width: auto !important;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  gap: 8px;
}
.akg-action-login span,
.akg-account-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Dropdown account */
.akg-account-dropdown { position: relative; }
.akg-account-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 220px;
  /* Même bug/correctif que .akg-top-menu ci-dessus et que
     .akg-account-menu.akg-auth-panel plus bas dans ce fichier : doit
     passer au-dessus de .akg-nav (z-index:999). */
  z-index: 1500;
  display: none;
}
.akg-account-dropdown.open .akg-account-menu { display: block; }
.akg-account-menu li { margin: 0; }
.akg-account-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #4b5563 !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: background .15s;
}
.akg-account-menu li a:hover {
  background: #f9fafb;
  color: var(--akaguriro-blue) !important;
}
.akg-account-menu li a i {
  width: 16px;
  color: var(--akaguriro-orange);
  font-size: 13px;
}
.akg-account-menu li.divider {
  height: 1px;
  background: #e5e7eb;
  margin: 6px 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .akg-action-login span,
  .akg-account-name { display: none; }
  .akg-action-login,
  .akg-account-btn { width: 42px !important; padding: 0; border-radius: 50%; }
  .akg-account-btn .fa-chevron-down { display: none; }
}
@media (max-width: 900px) {
  .akg-header-row { gap: 12px; }
  .akg-search-form { max-width: 100%; }
  .akg-action-compare, .akg-action-notif { display: none; }
}
@media (max-width: 700px) {
  .akg-header-row {
    grid-template-columns: auto auto;
    grid-template-areas: "logo actions" "search search";
    gap: 8px 12px;
  }
  .akg-logo { grid-area: logo; }
  .akg-header-actions { grid-area: actions; }
  .akg-header-search { grid-area: search; margin-top: 6px; }
  .akg-action-wishlist { display: none; }
}
@media (max-width: 480px) {
  .akg-action { width: 38px; height: 38px; }
  .akg-action i { font-size: 16px; }
  .akg-search-input { font-size: 13px; }
}

/* ============================================================
   MOBILE RESPONSIVE FIX — Phase A
   Catalogue : 5 → 4 → 3 → 2 → 1 colonne
   Layout home : reorder + stack en mobile
   Hero/Widget/Search : adaptatif
   ============================================================ */

/* === Catalogue produits — breakpoints précis === */
@media (max-width: 1399px) {
  .akg-catalogue-full .view-content {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (max-width: 1024px) {
  .akg-catalogue-full .view-content {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
}
@media (max-width: 768px) {
  .akg-catalogue-full .view-content {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}
@media (max-width: 480px) {
  .akg-catalogue-full .view-content {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* Au passage : éviter que le titre des produits s'écrase verticalement */
  .akg-catalogue-full .views-row,
  .akg-catalogue-full .product--card,
  .akg-catalogue-full .product-card,
  .akg-catalogue-full article {
    width: 100% !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .akg-catalogue-full .views-row * {
    word-break: normal !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
  }
}

/* === Layout 3 colonnes home : reorder mobile === */
@media (max-width: 1024px) {
  .akg-three-col {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  /* Ordre : centre (recherche+slideshow) en premier, puis catégories, puis blog */
  .akg-centre { order: 1; }
  .akg-left { order: 2; }
  .akg-right { order: 3; }
}

/* === Hero slideshow : stack vertical en mobile === */
@media (max-width: 768px) {
  .akg-hero-slide {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  .akg-hero-thumb img {
    width: 100% !important;
    max-height: 220px;
    height: auto !important;
    min-height: auto !important;
    object-fit: cover;
  }
  .akg-hero-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px;
  }
  .akg-hero-title { font-size: 16px !important; }
  .akg-hero-summary {
    font-size: 13px !important;
    -webkit-line-clamp: 3;
  }
}

/* === Widget app banner : vertical centré en mobile === */
@media (max-width: 768px) {
  .akg-centre .akg-app-widget {
    grid-template-columns: 1fr !important;
    grid-template-areas: "title" "text" "buttons" !important;
    text-align: center !important;
    padding: 16px !important;
  }
  .akg-centre .akg-app-widget .akg-app-buttons {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* === Sidebar gauche (catégories) : full width en mobile === */
@media (max-width: 1024px) {
  .akg-left .akg-cat-menu {
    padding: 12px 14px;
  }
  .akg-left .akg-cat-menu ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 12px;
  }
}
@media (max-width: 480px) {
  .akg-left .akg-cat-menu ul {
    grid-template-columns: 1fr;
  }
}

/* === Search bar header : grid clean en mobile === */
@media (max-width: 700px) {
  .akg-header-main { padding: 10px 0; }
  .akg-header-row {
    grid-template-columns: auto 1fr !important;
    grid-template-areas:
      "logo    actions"
      "search  search" !important;
    gap: 8px 12px !important;
  }
  .akg-logo { grid-area: logo; }
  .akg-header-actions { grid-area: actions; justify-self: end; }
  .akg-header-search { grid-area: search; }
  .akg-search-form { padding: 3px 3px 3px 14px; }
  .akg-search-input { font-size: 13px; padding: 6px 8px; }
  .akg-search-submit { width: 32px; height: 32px; }
  .akg-search-submit i { font-size: 14px; }
}

/* === Top strip : gérer les overflows === */
@media (max-width: 480px) {
  .akg-top-row { gap: 2px 4px; min-height: 32px; }
  .akg-top-link { padding: 4px 6px; }
}

/* === Catalogue search bar (la grosse en haut du centre) : stack === */
@media (max-width: 768px) {
  .akg-search-bar .akg-search-inner {
    flex-direction: column;
    gap: 8px;
  }
  .akg-search-bar .akg-cat-select,
  .akg-search-bar .akg-search-input,
  .akg-search-bar .akg-search-btn {
    width: 100%;
  }
}

/* ============================================================
   FIX URGENT — Mobile responsive ULTRA AGRESSIF
   On abandonne le grid CSS au profit du block stack
   pour qu'aucune règle Bootstrap/Jango ne puisse écraser
   ============================================================ */

/* === < 600px : 1 PRODUIT PAR LIGNE (force absolue) === */
@media (max-width: 600px) {
  body .akg-catalogue-full,
  body .akg-catalogue-full > *,
  body .akg-catalogue-full .views-element-container,
  body .akg-catalogue-full .view-catalogue-akaguriro,
  body .akg-catalogue-full .view-id-catalogue_akaguriro,
  body .akg-catalogue-full .view-content,
  body .akg-catalogue-full .views-view-grid-responsive,
  body .akg-catalogue-full .row,
  body .akg-catalogue-full > div > div {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body .akg-catalogue-full .views-row,
  body .akg-catalogue-full [class*="col-md"],
  body .akg-catalogue-full [class*="col-lg"],
  body .akg-catalogue-full [class*="col-sm"],
  body .akg-catalogue-full [class*="col-xs"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
  }
  /* Images produits pleine largeur */
  body .akg-catalogue-full .views-row img,
  body .akg-catalogue-full .views-row picture {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  /* Forcer le texte produit à wrap normalement */
  body .akg-catalogue-full .views-row h3,
  body .akg-catalogue-full .views-row h4,
  body .akg-catalogue-full .views-row a,
  body .akg-catalogue-full .views-row p {
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    width: 100% !important;
  }
}

/* === 601-900px : 2 colonnes === */
@media (min-width: 601px) and (max-width: 900px) {
  body .akg-catalogue-full .view-content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  body .akg-catalogue-full .views-row,
  body .akg-catalogue-full [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    float: none !important;
    margin: 0 !important;
  }
}

/* === Numéro WhatsApp visible en mobile (au lieu d'icône seule) === */
@media (max-width: 600px) {
  .akg-top-whatsapp { gap: 4px; }
  .akg-top-whatsapp span { 
    display: inline !important;
    font-size: 11px !important;
    font-weight: 600;
  }
  /* Cacher les autres liens du top strip pour faire de la place */
  .akg-top-track,
  .akg-top-help,
  .akg-top-vendor,
  .akg-top-email,
  .akg-top-location { display: none !important; }
}

/* Cas extrême < 380px : police plus petite */
@media (max-width: 380px) {
  .akg-top-whatsapp span { font-size: 10px !important; }
  .akg-top-link { padding: 3px 4px !important; }
}

/* ============================================================
   CATALOGUE — grid CSS pure (post-fix view style → default)
   On reprend le contrôle total des colonnes
   ============================================================ */
.akg-catalogue-full .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}
.akg-catalogue-full .views-row {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  flex: none !important;
  display: block;
  box-sizing: border-box;
}

@media (max-width: 1399px) {
  .akg-catalogue-full .view-content { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .akg-catalogue-full .view-content { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .akg-catalogue-full .view-content { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .akg-catalogue-full .view-content { 
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   CART PREVIEW au hover — Phase B
   ============================================================ */
.akg-cart-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Pont invisible qui comble l'écart de 8px entre l'icône et le menu déroulant
   (.akg-cart-preview a "top: calc(100% + 8px)") — sans ça, la souris quitte
   la zone :hover avant d'atteindre le menu, qui se referme trop vite. Même
   empreinte que le menu (380px, aligné à droite), pas juste la largeur de
   l'icône, sinon le pont ne couvre pas la diagonale vers le menu. */
.akg-cart-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  height: 8px;
  width: 380px;
  max-width: calc(100vw - 32px);
}

.akg-cart-preview {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  z-index: 1000;
  overflow: hidden;
  font-size: 13px;
}

/* Trigger : hover sur le wrapper, ou focus dans le preview */
.akg-cart-wrapper:hover .akg-cart-preview,
.akg-cart-wrapper:focus-within .akg-cart-preview {
  display: block;
}

/* Petite flèche pointant vers l'icône cart */
.akg-cart-preview::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: var(--akaguriro-blue);
  transform: rotate(45deg);
}

/* Header bleu */
.akg-cart-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--akaguriro-blue) 0%, #050f5e 100%);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.akg-cart-preview-header i {
  color: var(--akaguriro-orange);
  font-size: 16px;
}
.akg-cart-preview-header small {
  margin-left: auto;
  font-size: 11px;
  background: rgba(255,255,255,0.18);
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 500;
}

/* Body : items du panier */
.akg-cart-preview-body {
  max-height: 340px;
  overflow-y: auto;
  padding: 8px 12px;
  background: #fff;
}

/* Items rendus par commerce_cart_block */
.akg-cart-preview-body .view-content,
.akg-cart-preview-body .views-row {
  display: block !important;
}
.akg-cart-preview-body .views-row {
  padding: 10px 0;
  border-bottom: 1px solid #f0f4ff;
  display: flex !important;
  gap: 10px;
  align-items: center;
}
.akg-cart-preview-body .views-row:last-child {
  border-bottom: none;
}
.akg-cart-preview-body img {
  max-width: 60px;
  max-height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Empty state */
.akg-cart-empty {
  text-align: center;
  padding: 28px 16px;
  color: #6b7280;
}
.akg-cart-empty i {
  font-size: 42px;
  color: #d1d5db;
  display: block;
  margin-bottom: 12px;
}
.akg-cart-empty p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #6b7280;
}

/* Footer avec boutons */
.akg-cart-preview-footer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #f0f4ff;
  background: #fafbff;
}

/* Boutons cart preview */
.akg-cart-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: all .15s ease;
  border: 1px solid transparent;
}
.akg-cart-btn-primary {
  background: var(--akaguriro-orange);
  color: #fff !important;
}
.akg-cart-btn-primary:hover {
  background: #e57600;
  transform: translateY(-1px);
  color: #fff !important;
}
.akg-cart-btn-secondary {
  background: #fff;
  color: var(--akaguriro-blue) !important;
  border-color: var(--akaguriro-blue);
}
.akg-cart-btn-secondary:hover {
  background: var(--akaguriro-blue);
  color: #fff !important;
}

/* Sur mobile : pas de hover, on suit juste le lien /cart */
@media (max-width: 768px) {
  .akg-cart-wrapper:hover .akg-cart-preview,
  .akg-cart-wrapper:focus-within .akg-cart-preview {
    display: none;
  }
}

/* ============================================================
   CART PREVIEW — items list (Phase B v2)
   ============================================================ */
.akg-cart-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.akg-cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f4ff;
}
.akg-cart-item:last-child { border-bottom: none; }

.akg-cart-item-img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #f9fafb;
}
.akg-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.akg-cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.akg-cart-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  color: var(--akaguriro-blue) !important;
  text-decoration: none !important;
  line-height: 1.35;
}
.akg-cart-item-title:hover {
  color: var(--akaguriro-orange) !important;
}

.akg-cart-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
}
.akg-cart-item-qty {
  background: #eef2ff;
  color: var(--akaguriro-blue);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 10px;
}
.akg-cart-item-price {
  color: var(--akaguriro-orange);
  font-weight: 700;
  font-size: 12px;
}

/* ============================================================
   PHASE E : CATALOGUE MODERNE
   5 cols desktop, cards e-commerce premium, pagination stylée
   ============================================================ */

/* === Grid container : 5 colonnes responsive === */
body .akg-catalogue-full .view-content,
body .akg-catalogue-full .views-element-container .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1399px) { body .akg-catalogue-full .view-content { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 1024px) { body .akg-catalogue-full .view-content { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { body .akg-catalogue-full .view-content { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { body .akg-catalogue-full .view-content { grid-template-columns: 1fr !important; } }

/* === CARD : container produit === */
body .akg-catalogue-full .views-row {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #f0f4ff !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
  float: none !important;
}

body .akg-catalogue-full .views-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(7, 22, 137, 0.18) !important;
  border-color: var(--akaguriro-blue) !important;
}

/* === Image : carrée avec zoom au hover === */
body .akg-catalogue-full .views-row .views-field-field-images,
body .akg-catalogue-full .views-row [class*="views-field-field-image"] {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  background: #f9fafb !important;
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .akg-catalogue-full .views-row .views-field-field-images img,
body .akg-catalogue-full .views-row [class*="views-field-field-image"] img,
body .akg-catalogue-full .views-row img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: block !important;
}

body .akg-catalogue-full .views-row:hover img {
  transform: scale(1.08);
}

/* === Titre === */
body .akg-catalogue-full .views-row .views-field-title {
  padding: 14px 14px 4px !important;
  margin: 0 !important;
  flex: 1;
}

body .akg-catalogue-full .views-row .views-field-title a,
body .akg-catalogue-full .views-row .views-field-title {
  color: var(--akaguriro-blue) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal !important;
  hyphens: auto;
  transition: color 0.2s;
  min-height: 38px;
}

body .akg-catalogue-full .views-row:hover .views-field-title a {
  color: var(--akaguriro-orange) !important;
}

/* === Prix : ciblage large === */
body .akg-catalogue-full .views-row [class*="price"],
body .akg-catalogue-full .views-row [class*="Price"],
body .akg-catalogue-full .views-row .views-field-variations__price__number {
  padding: 0 14px 12px !important;
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  color: var(--akaguriro-orange) !important;
}

/* === Add to cart : bouton premium === */
body .akg-catalogue-full .views-row .views-field-add-to-cart-form,
body .akg-catalogue-full .views-row form[class*="add-to-cart"] {
  padding: 0 14px 14px !important;
  margin: auto 0 0 0 !important;
}

body .akg-catalogue-full .views-row form button,
body .akg-catalogue-full .views-row form input[type="submit"],
body .akg-catalogue-full .views-row a[class*="add-to-cart"] {
  width: 100% !important;
  padding: 11px 14px !important;
  background: var(--akaguriro-blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: block !important;
  text-align: center !important;
  text-decoration: none !important;
  margin: 0 !important;
}

body .akg-catalogue-full .views-row form button:hover,
body .akg-catalogue-full .views-row form input[type="submit"]:hover,
body .akg-catalogue-full .views-row a[class*="add-to-cart"]:hover {
  background: var(--akaguriro-orange) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 132, 0, 0.35);
}

/* === Wishlist heart : flottant top-right === */
body .akg-catalogue-full .views-row [class*="flag-wishlist"],
body .akg-catalogue-full .views-row .views-field-flag-wishlist {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}

body .akg-catalogue-full .views-row [class*="flag-wishlist"] a,
body .akg-catalogue-full .views-row .views-field-flag-wishlist a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: transparent !important;
  font-size: 0 !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1.5px solid rgba(7, 22, 137, 0.1);
}

body .akg-catalogue-full .views-row [class*="flag-wishlist"] a::before,
body .akg-catalogue-full .views-row .views-field-flag-wishlist a::before {
  content: "\f004";
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 400;
  font-size: 16px;
  color: var(--akaguriro-blue);
}

body .akg-catalogue-full .views-row [class*="flag-wishlist"] a:hover {
  background: var(--akaguriro-orange);
  transform: scale(1.12);
  border-color: var(--akaguriro-orange);
}

body .akg-catalogue-full .views-row [class*="flag-wishlist"] a:hover::before {
  color: #fff;
}

body .akg-catalogue-full .views-row [class*="flag-wishlist"] a.flag-active::before {
  font-weight: 900;
  color: var(--akaguriro-orange);
}

/* === PAGINATION moderne === */
body .akg-catalogue-full .pager,
body .view-catalogue-akaguriro .pager {
  display: flex !important;
  justify-content: center;
  margin-top: 36px !important;
  padding: 16px 0;
}

body .akg-catalogue-full .pager__items,
body .view-catalogue-akaguriro .pager__items {
  display: flex !important;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

body .akg-catalogue-full .pager a,
body .akg-catalogue-full .pager span:not(.visually-hidden),
body .view-catalogue-akaguriro .pager a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  color: var(--akaguriro-blue) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

body .akg-catalogue-full .pager a:hover {
  border-color: var(--akaguriro-blue);
  background: var(--akaguriro-blue);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 22, 137, 0.25);
}

body .akg-catalogue-full .pager .is-active a,
body .akg-catalogue-full .pager__item--current a,
body .akg-catalogue-full .pager__item.is-active span {
  background: var(--akaguriro-orange) !important;
  border-color: var(--akaguriro-orange) !important;
  color: #fff !important;
}

body .akg-catalogue-full .pager__item--first a,
body .akg-catalogue-full .pager__item--last a,
body .akg-catalogue-full .pager__item--previous a,
body .akg-catalogue-full .pager__item--next a {
  background: linear-gradient(135deg, var(--akaguriro-blue) 0%, #050f5e 100%) !important;
  color: #fff !important;
  border-color: transparent !important;
}

body .akg-catalogue-full .pager__item--first a:hover,
body .akg-catalogue-full .pager__item--next a:hover,
body .akg-catalogue-full .pager__item--previous a:hover,
body .akg-catalogue-full .pager__item--last a:hover {
  background: var(--akaguriro-orange) !important;
}

/* === CTA "Voir tout le catalogue" === */
.akg-catalogue-cta {
  display: flex;
  justify-content: center;
  margin: 36px 0 12px;
}

.akg-catalogue-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--akaguriro-blue) 0%, #050f5e 100%);
  color: #fff !important;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(7, 22, 137, 0.25);
  transition: all 0.3s ease;
}

.akg-catalogue-cta a:hover {
  background: var(--akaguriro-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 132, 0, 0.35);
}

.akg-catalogue-cta a i { transition: transform 0.3s ease; }
.akg-catalogue-cta a:hover i { transform: translateX(5px); }


/* ============================================================
   PHASE E v2 — CSS sur les VRAIES classes Jango
   (annule et remplace la v1 grâce à l'ordre du fichier)
   ============================================================ */

/* === GRID 5 cols sur le conteneur réel des views-row === */
body .akg-catalogue-full *:has(> .views-row),
body .akg-catalogue-full .view-content,
body .akg-catalogue-full [class*="view-catalogue"] {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 22px !important;
  width: 100%;
  padding: 0 !important;
}

@media (max-width: 1399px) { body .akg-catalogue-full *:has(> .views-row) { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 1024px) { body .akg-catalogue-full *:has(> .views-row) { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { body .akg-catalogue-full *:has(> .views-row) { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { body .akg-catalogue-full *:has(> .views-row) { grid-template-columns: 1fr !important; } }

/* views-row = grid item, pas de styling perso */
body .akg-catalogue-full .views-row {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex: none !important;
  height: 100%;
}

body .akg-catalogue-full .item.node-product-teaser {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* === CARD : .c-content-product-2 === */
body .akg-catalogue-full .c-content-product-2 {
  background: #fff !important;
  border-radius: 14px !important;
  border: 1px solid #f0f4ff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

body .akg-catalogue-full .views-row:hover .c-content-product-2 {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(7, 22, 137, 0.18) !important;
  border-color: var(--akaguriro-blue) !important;
}

/* === Image area : carrée avec zoom hover === */
body .akg-catalogue-full .c-content-overlay {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f9fafb !important;
}

body .akg-catalogue-full .c-overlay-wrapper {
  width: 100% !important;
  height: 100% !important;
  position: relative !important;
}

body .akg-catalogue-full .c-bg-img-center-contain {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body .akg-catalogue-full .views-row:hover .c-bg-img-center-contain {
  transform: scale(1.08);
}

/* On masque le bouton overlay Jango (Quick View) pour garder simple */
body .akg-catalogue-full .c-overlay-content {
  display: none !important;
}

/* === Title === */
body .akg-catalogue-full .c-info {
  padding: 0 !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body .akg-catalogue-full .c-title {
  padding: 14px 14px 4px !important;
  margin: 0 !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
}

body .akg-catalogue-full .c-title a {
  color: var(--akaguriro-blue) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal !important;
  white-space: normal !important;
  hyphens: auto;
  transition: color 0.2s !important;
  min-height: 38px;
}

body .akg-catalogue-full .views-row:hover .c-title a {
  color: var(--akaguriro-orange) !important;
}

/* === Price === */
body .akg-catalogue-full .c-price {
  padding: 0 14px 12px !important;
  margin: 0 !important;
  font-weight: 700 !important;
  font-size: 17px !important;
  color: var(--akaguriro-orange) !important;
}

body .akg-catalogue-full .c-info .hidden,
body .akg-catalogue-full .c-info .c-font-line-through:empty {
  display: none !important;
}

body .akg-catalogue-full .c-font-line-through {
  font-size: 13px !important;
  margin-left: 8px;
  opacity: 0.6;
}

/* === Sale badge === */
body .akg-catalogue-full .field--name-field-sale-label {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 5 !important;
  background: var(--akaguriro-orange) !important;
  color: #fff !important;
  padding: 5px 12px !important;
  border-radius: 50px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  box-shadow: 0 2px 8px rgba(255, 132, 0, 0.4);
}

/* === Bottom actions : btn-group avec wishlist + add-to-cart === */
body .akg-catalogue-full .btn-group.btn-group-justified {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  margin: auto 0 0 0 !important;
  padding: 10px !important;
  gap: 8px;
  border-top: 1px solid #f0f4ff;
  background: #fafbff;
}

/* Wishlist : icône carrée à gauche, 42×42 */
body .akg-catalogue-full .flag-outer-wishlist {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 42px;
}

body .akg-catalogue-full .flag-wrapper {
  display: block !important;
  width: 100%;
  margin: 0 !important;
}

body .akg-catalogue-full .flag-wishlist a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
  border: 1.5px solid var(--akaguriro-blue) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

body .akg-catalogue-full .flag-wishlist a::before {
  content: "\f004";
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 400;
  font-size: 14px;
  color: var(--akaguriro-blue);
}

body .akg-catalogue-full .flag-wishlist a:hover {
  background: var(--akaguriro-blue) !important;
  transform: translateY(-2px);
}

body .akg-catalogue-full .flag-wishlist a:hover::before {
  color: #fff !important;
}

body .akg-catalogue-full .flag-wishlist a.action-unflag::before {
  font-weight: 900;
  color: var(--akaguriro-orange) !important;
}

/* Add to cart : bouton orange grand à droite */
body .akg-catalogue-full .btn-group > a.btn,
body .akg-catalogue-full .btn-group > .btn:not(.flag) {
  flex: 1 !important;
  padding: 11px 14px !important;
  background: var(--akaguriro-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  text-align: center !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 42px;
  white-space: nowrap;
}

body .akg-catalogue-full .btn-group > a.btn:hover {
  background: var(--akaguriro-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 22, 137, 0.3);
}


/* ============================================================
   PHASE E v3 — Images visibles (padding-bottom hack) + share btn
   ============================================================ */

/* Image area : carré garanti via padding hack (rock-solid) */
body .akg-catalogue-full .c-content-overlay {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 100% !important;
  height: 0 !important;
  overflow: hidden !important;
  background: #f9fafb !important;
  flex: none !important;
  aspect-ratio: auto !important;
}

body .akg-catalogue-full .c-overlay-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

body .akg-catalogue-full .c-bg-img-center-contain,
body .akg-catalogue-full .c-overlay-object {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body .akg-catalogue-full .views-row:hover .c-bg-img-center-contain,
body .akg-catalogue-full .views-row:hover .c-overlay-object {
  transform: scale(1.08);
}

/* Title link (créé via JS) */
body .akg-catalogue-full .c-title a,
body .akg-catalogue-full .akg-title-link {
  color: var(--akaguriro-blue) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: normal !important;
  white-space: normal !important;
  hyphens: auto;
  transition: color 0.2s !important;
  cursor: pointer;
  min-height: 38px;
}

body .akg-catalogue-full .views-row:hover .c-title a {
  color: var(--akaguriro-orange) !important;
}

/* === Share button (icône carrée comme wishlist) === */
.akg-catalogue-full .akg-share-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff !important;
  color: var(--akaguriro-blue) !important;
  border: 1.5px solid var(--akaguriro-blue) !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  font-size: 14px !important;
  flex: 0 0 42px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.akg-catalogue-full .akg-share-btn:hover {
  background: var(--akaguriro-blue) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.akg-catalogue-full .akg-share-btn i { pointer-events: none; }

/* === Modal de partage === */
.akg-share-modal {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.akg-share-modal.active { display: flex; opacity: 1; }

.akg-share-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  width: 90%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}
.akg-share-modal.active .akg-share-modal-content { transform: scale(1); }

.akg-share-modal-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--akaguriro-blue);
  margin-bottom: 6px;
}

.akg-share-modal-product {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.akg-share-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.akg-share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  background: #f9fafb;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
  font-size: 11px;
  font-weight: 600;
}

.akg-share-option i { font-size: 20px; }

.akg-share-option.facebook { color: #1877f2; }
.akg-share-option.facebook:hover { background: #1877f2; color: #fff !important; transform: translateY(-2px); }
.akg-share-option.twitter { color: #1da1f2; }
.akg-share-option.twitter:hover { background: #1da1f2; color: #fff !important; transform: translateY(-2px); }
.akg-share-option.whatsapp { color: #25d366; }
.akg-share-option.whatsapp:hover { background: #25d366; color: #fff !important; transform: translateY(-2px); }
.akg-share-option.copy { color: #6b7280; }
.akg-share-option.copy:hover { background: #6b7280; color: #fff !important; transform: translateY(-2px); }

.akg-share-close {
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  color: #6b7280;
  transition: all 0.2s ease;
}
.akg-share-close:hover { background: #f9fafb; }

/* Toast */
.akg-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--akaguriro-blue);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.akg-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* === Overlay link transparent qui rend toute la zone image cliquable === */
body .akg-catalogue-full .akg-image-link {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: block !important;
  background: transparent !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

/* Le badge "Sale" doit rester au-dessus du lien overlay */
body .akg-catalogue-full .field--name-field-sale-label {
  z-index: 4 !important;
}


/* === AKG Action Bar (construite par le JS, autonome) === */
.akg-catalogue-full .akg-action-bar {
  display: flex !important;
  align-items: stretch;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #f0f4ff;
  background: #fafbff;
  width: 100%;
  margin: auto 0 0 0;
}

.akg-catalogue-full .akg-action-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  color: var(--akaguriro-blue);
  border: 1.5px solid var(--akaguriro-blue);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  padding: 0;
  flex-shrink: 0;
}

.akg-catalogue-full .akg-action-icon i { pointer-events: none; }

.akg-catalogue-full .akg-action-icon:hover {
  background: var(--akaguriro-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(7, 22, 137, 0.25);
}

.akg-catalogue-full .akg-wishlist-btn.active {
  background: var(--akaguriro-orange) !important;
  border-color: var(--akaguriro-orange) !important;
  color: #fff !important;
}

.akg-catalogue-full .akg-action-cart-btn {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  background: var(--akaguriro-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  padding: 0 12px;
}

.akg-catalogue-full .akg-action-cart-btn:hover {
  background: var(--akaguriro-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 22, 137, 0.3);
  color: #fff !important;
}

.akg-catalogue-full .akg-action-cart-btn i { font-size: 13px; }

@media (max-width: 600px) {
  .akg-catalogue-full .akg-action-cart-btn span { display: none; }
  .akg-catalogue-full .akg-action-cart-btn {
    flex: 1;
    padding: 0 8px;
  }
}

/* Cacher TOUTES les barres originales pour éviter les doublons */
.akg-catalogue-full .views-row .btn-group.btn-group-justified {
  /* le JS lui mettra display:none, ce reset garantit qu'on n'override pas avec autre chose */
}


/* === Phase E v4 : finitions === */

/* SWAP couleurs btn-cart : BLEU par défaut → ORANGE au hover */
.akg-catalogue-full .akg-action-cart-btn {
  background: var(--akaguriro-blue) !important;
}
.akg-catalogue-full .akg-action-cart-btn:hover {
  background: var(--akaguriro-orange) !important;
  box-shadow: 0 6px 16px rgba(255, 132, 0, 0.35) !important;
}

/* Réduire padding action bar pour ne plus coller au bord */
.akg-catalogue-full .akg-action-bar {
  padding: 10px !important;
  gap: 6px !important;
}
.akg-catalogue-full .akg-action-icon {
  width: 36px !important;
  height: 36px !important;
  font-size: 13px !important;
}
.akg-catalogue-full .akg-action-cart-btn {
  height: 36px !important;
  padding: 0 10px !important;
  font-size: 10.5px !important;
  letter-spacing: 0.3px !important;
}

/* Hide DÉFINITIVEMENT toute la barre Jango originale + tout add-to-cart natif */
.akg-catalogue-full .views-row .btn-group.btn-group-justified,
.akg-catalogue-full .views-row .views-field-add-to-cart-form,
.akg-catalogue-full .views-row form[class*="add-to-cart"],
.akg-catalogue-full .views-row form.commerce-order-item-add-to-cart-form {
  display: none !important;
}

/* IMAGE HOVER : overlay "VOIR LE PRODUIT" qui glisse du bas */
.akg-catalogue-full .c-content-overlay::after {
  content: 'VOIR LE PRODUIT';
  position: absolute !important;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(7, 22, 137, 0.95) 35%, transparent);
  color: #fff !important;
  padding: 50px 12px 14px !important;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  opacity: 0;
  transform: translateY(20%);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 4;
}
.akg-catalogue-full .views-row:hover .c-content-overlay::after {
  opacity: 1;
  transform: translateY(0);
}

/* Bouton Compare actif */
.akg-catalogue-full .akg-compare-btn.active {
  background: var(--akaguriro-orange) !important;
  border-color: var(--akaguriro-orange) !important;
  color: #fff !important;
}


/* ============================================================
   PHASE F : menu centré + catégories réelles + cleanup search
   ============================================================ */

/* === Centrer les items du menu principal === */
.akg-nav nav,
.akg-nav .menu,
.akg-nav-menu,
.akg-nav > ul,
.akg-nav .region-primary-menu,
.akg-nav .block-menu ul {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 0;
}

/* === Hide définitivement la barre de recherche centre (redondante avec header) === */
.akg-search-bar {
  display: none !important;
}

/* === Catégories réelles : design moderne === */
.akg-categories-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--akaguriro-blue);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--akaguriro-orange);
  display: inline-block;
}

.akg-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.akg-category-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f0f4ff;
}
.akg-category-item:last-child {
  border-bottom: none;
}

.akg-category-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--akaguriro-blue) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
  position: relative;
}

.akg-category-item a:hover {
  color: var(--akaguriro-orange) !important;
  padding-left: 12px;
}

.akg-category-item a::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--akaguriro-orange);
  transition: height 0.2s ease;
}
.akg-category-item a:hover::before {
  height: 60%;
}

.akg-cat-emoji {
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.akg-cat-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.akg-cat-count {
  background: var(--akaguriro-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 28px;
  text-align: center;
}


/* ============================================================
   PHASE F v2 : corrections
   ============================================================ */

/* Réactiver la search bar centre (avec menu déroulant catégories) */
.akg-search-bar {
  display: flex !important;
}

/* Cacher la search bar du header (à la place de la centre) */
.akg-header-main .akg-search-form,
.akg-header-main form[role="search"],
.akg-header-main .akg-search-input {
  display: none !important;
}
.akg-header-main {
  justify-content: space-between;
}

/* === Grid 5 cols ÉTENDUE à la page catalogue dédiée === */
body .view-catalogue-akaguriro,
body [class*="view-catalogue"],
body .view-id-catalogue_akaguriro {
  width: 100%;
}

body .view-catalogue-akaguriro *:has(> .views-row),
body [class*="view-catalogue"] *:has(> .views-row),
body .view-id-catalogue_akaguriro *:has(> .views-row),
body .view-catalogue-akaguriro .view-content,
body [class*="view-catalogue"] .view-content,
body .view-id-catalogue_akaguriro .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
  padding: 0 !important;
}

@media (max-width: 1399px) {
  body .view-catalogue-akaguriro *:has(> .views-row),
  body [class*="view-catalogue"] *:has(> .views-row) {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (max-width: 1024px) {
  body .view-catalogue-akaguriro *:has(> .views-row),
  body [class*="view-catalogue"] *:has(> .views-row) {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 768px) {
  body .view-catalogue-akaguriro *:has(> .views-row),
  body [class*="view-catalogue"] *:has(> .views-row) {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  body .view-catalogue-akaguriro *:has(> .views-row),
  body [class*="view-catalogue"] *:has(> .views-row) {
    grid-template-columns: 1fr !important;
  }
}

/* Appliquer aussi le card design Jango sur la page catalogue */
body .view-catalogue-akaguriro .views-row,
body [class*="view-catalogue"] .views-row {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex: none !important;
  height: 100%;
}

/* === FIX drapeaux langues desktop (Twemoji polyfill) === */
@font-face {
  font-family: 'Twemoji Country Flags';
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
  src: url('https://cdn.jsdelivr.net/npm/country-flag-emoji-polyfill@0.1/dist/TwemojiCountryFlags.woff2') format('woff2');
}

.akg-top-strip,
.akg-lang-toggle,
.akg-lang-dropdown,
.akg-lang-option,
[class*="lang-flag"],
[class*="flag-emoji"] {
  font-family: 'Twemoji Country Flags', 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', system-ui, sans-serif !important;
}


/* === Catégories : container scrollable === */
.akg-categories-list {
  max-height: 540px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--akaguriro-orange) #f0f4ff;
  padding-right: 6px;
}
.akg-categories-list::-webkit-scrollbar { width: 6px; }
.akg-categories-list::-webkit-scrollbar-track { background: #f0f4ff; border-radius: 3px; }
.akg-categories-list::-webkit-scrollbar-thumb { background: var(--akaguriro-orange); border-radius: 3px; }
.akg-categories-list::-webkit-scrollbar-thumb:hover { background: var(--akaguriro-blue); }

/* === Grid 5 cols sur la page catalogue dédiée (sélecteurs larges) === */
body .view-id-catalogue_akaguriro .view-content,
body .view-display-id-page_1 .view-content,
body .view-display-id-rechercheproduits .view-content,
body [class*="view-id-catalogue"] .view-content {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
  padding: 0 !important;
}

@media (max-width: 1399px) {
  body .view-id-catalogue_akaguriro .view-content,
  body [class*="view-id-catalogue"] .view-content { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 1024px) {
  body .view-id-catalogue_akaguriro .view-content,
  body [class*="view-id-catalogue"] .view-content { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
  body .view-id-catalogue_akaguriro .view-content,
  body [class*="view-id-catalogue"] .view-content { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  body .view-id-catalogue_akaguriro .view-content,
  body [class*="view-id-catalogue"] .view-content { grid-template-columns: 1fr !important; }
}

body .view-id-catalogue_akaguriro .views-row,
body [class*="view-id-catalogue"] .views-row {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex: none !important;
}


/* ============================================================
   FIX FINAL : grid sur .view-catalogue-akg (vrai wrapper diagnostiqué)
   La vue va DIRECTEMENT de .view-catalogue-akg aux .views-row
   sans .view-content intermédiaire
   ============================================================ */

body .view-catalogue-akg {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 22px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 0 30px 0 !important;
}

@media (max-width: 1399px) { body .view-catalogue-akg { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width: 1024px) { body .view-catalogue-akg { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { body .view-catalogue-akg { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { body .view-catalogue-akg { grid-template-columns: 1fr !important; } }

/* views-row direct child = grid item */
body .view-catalogue-akg > .views-row {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex: none !important;
  height: 100%;
}

/* La pagination doit rester en flex centrée, PAS dans le grid */
body .view-catalogue-akg .pager,
body .view-catalogue-akg + .pager,
body .view-catalogue-akg ~ .pager {
  display: flex !important;
  grid-column: 1 / -1;
  justify-content: center;
  align-items: center;
  margin-top: 30px !important;
}


/* ====================================================== */
/* === Phase G3 : Dropdown catégories custom & layout === */
/* ====================================================== */
.akg-cat-dropdown { position: relative; flex: 0 0 auto; min-width: 220px; }
.akg-cat-trigger {
  display: flex; align-items: center; gap: 10px;
  width: 100%; height: 100%; padding: 12px 14px;
  background: #fff;
  border: 1.5px solid #e5e7eb; border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: .95rem; color: #374151; cursor: pointer;
  transition: all .15s ease;
}
.akg-cat-trigger:hover { background: #f9fafb; color: #1f2937; }
.akg-cat-trigger[aria-expanded="true"] {
  background: #fff7ed; color: #c2410c; border-color: #fed7aa;
}
.akg-cat-trigger-icon { color: #ea580c; }
.akg-cat-trigger-label {
  flex: 1; text-align: left; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; font-weight: 500;
}
.akg-cat-trigger-caret { font-size: .8rem; color: #6b7280; transition: transform .15s ease; }
.akg-cat-trigger[aria-expanded="true"] .akg-cat-trigger-caret { transform: rotate(180deg); }

.akg-cat-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 1050;
  width: 340px; max-width: 92vw;
  background: #fff;
  border: 1px solid #e5e7eb; border-radius: 12px;
  box-shadow: 0 12px 36px -8px rgba(0,0,0,.18);
  overflow: hidden;
  animation: akgFadeInDown .15s ease;
}
@keyframes akgFadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.akg-cat-search-wrap { position: relative; padding: 10px; border-bottom: 1px solid #f3f4f6; }
.akg-cat-search-wrap > i {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  color: #9ca3af; font-size: .85rem; pointer-events: none;
}
.akg-cat-filter {
  width: 100%; padding: 9px 12px 9px 34px;
  border: 1px solid #e5e7eb; border-radius: 6px;
  font-size: .9rem; outline: none; background: #f9fafb;
  transition: all .15s;
}
.akg-cat-filter:focus { border-color: #ea580c; background: #fff; }

.akg-cat-options {
  list-style: none; margin: 0; padding: 6px 0;
  max-height: 380px; overflow-y: auto;
}
.akg-cat-options::-webkit-scrollbar { width: 8px; }
.akg-cat-options::-webkit-scrollbar-track { background: #fafafa; }
.akg-cat-options::-webkit-scrollbar-thumb { background: #d4d4d4; border-radius: 4px; }
.akg-cat-options::-webkit-scrollbar-thumb:hover { background: #a3a3a3; }

.akg-cat-option {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; cursor: pointer;
  transition: background .1s;
  font-size: .92rem; color: #374151;
}
.akg-cat-option:hover { background: #fff7ed; color: #c2410c; }
.akg-cat-option.is-active {
  background: #fff7ed; color: #c2410c; font-weight: 600;
  border-left: 3px solid #ea580c; padding-left: 11px;
}
.akg-cat-option.is-hidden { display: none; }
.akg-cat-emoji { font-size: 1.15rem; flex: 0 0 auto; }
.akg-cat-name { flex: 1; }
.akg-cat-count {
  background: #fed7aa; color: #9a3412;
  padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; flex: 0 0 auto;
  min-width: 32px; text-align: center;
}
.akg-cat-option.is-active .akg-cat-count { background: #ea580c; color: #fff; }
.akg-cat-empty { padding: 24px; text-align: center; color: #9ca3af; font-size: .9rem; font-style: italic; }

/* Layout après suppression de aside.akg-left : 3-col → 2-col */
.akg-three-col { grid-template-columns: 1fr 320px !important; }
@media (max-width: 991px) {
  .akg-three-col { grid-template-columns: 1fr !important; }
}

/* Dropdown panel must escape its container */
.akg-search-bar, .akg-search-inner, .akg-search-form { overflow: visible !important; }

/* Mobile responsive */
@media (max-width: 600px) {
  .akg-search-inner { flex-wrap: wrap; gap: 8px; }
  .akg-cat-dropdown { width: 100%; min-width: 0; }
  .akg-cat-trigger { border-right: 1.5px solid #e5e7eb; border-radius: 8px; }
  .akg-cat-panel { width: 100%; }
  .akg-search-input { border: 1.5px solid #e5e7eb !important; border-radius: 8px !important; width: 100%; }
  .akg-search-btn { width: 100%; border-radius: 8px !important; justify-content: center; }
}

/* ========================================================== */
/* === Phase G3.b : largeur + aération formulaire de recherche === */
/* ========================================================== */

/* Container home : passer de ~1200px Bootstrap à 1600px */
.akg-home-layout > .container {
  max-width: 1600px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
@media (min-width: 1700px) {
  .akg-home-layout > .container {
    max-width: 1700px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
  }
}

/* Décollage du menu principal */
.akg-home-layout {
  padding-top: 28px;
}

/* Search bar : carte blanche aérée */
.akg-home-layout .akg-search-bar {
  margin-top: 8px !important;
  margin-bottom: 28px !important;
  padding: 6px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb;
  border-radius: 14px !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .07) !important;
}

/* Inner: stretch les 3 éléments à la même hauteur */
.akg-home-layout .akg-search-inner {
  display: flex !important;
  align-items: stretch;
  gap: 0;
}

/* Dropdown trigger plus grand + plus large */
.akg-home-layout .akg-cat-trigger {
  padding: 15px 20px !important;
  font-size: 1rem !important;
  min-width: 260px !important;
  border-radius: 10px 0 0 10px !important;
  border-color: #e5e7eb !important;
}

/* Input keys plus grand */
.akg-home-layout .akg-search-input {
  padding: 15px 20px !important;
  font-size: 1rem !important;
  border-color: #e5e7eb !important;
  flex: 1;
}

/* Bouton submit plus grand */
.akg-home-layout .akg-search-btn {
  padding: 15px 32px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  border-radius: 0 10px 10px 0 !important;
  gap: 10px !important;
  white-space: nowrap;
}

/* Layout 2-col : gap plus généreux + marge top */
.akg-three-col {
  gap: 32px !important;
  margin-top: 16px !important;
}

/* Catalogue full : marge top + largeur 100% du container */
.akg-catalogue-full {
  width: 100% !important;
  margin-top: 28px !important;
}

/* === BONUS : edge-to-edge du catalogue en mode browse === */
/* Décommenter ces 5 lignes si tu veux le catalogue qui DÉBORDE     */
/* du container et prend toute la largeur de l'écran en mode browse. */
/*
body.akg-mode-browse .akg-home-layout > .container > .akg-catalogue-full {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  padding: 0 32px !important;
}
*/

/* Responsive mobile : padding container réduit + stack */
@media (max-width: 991px) {
  .akg-home-layout > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .akg-three-col { gap: 20px !important; }
}
@media (max-width: 600px) {
  .akg-home-layout > .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .akg-home-layout { padding-top: 16px; }
  .akg-home-layout .akg-search-bar { padding: 4px !important; margin-bottom: 18px !important; }
  .akg-home-layout .akg-cat-trigger,
  .akg-home-layout .akg-search-input,
  .akg-home-layout .akg-search-btn {
    padding: 13px 16px !important;
    font-size: .95rem !important;
  }
  .akg-home-layout .akg-cat-trigger { min-width: 0 !important; }
}

/* ============================================== */
/* === Phase G3.c : full-width mode browse === */
/* ============================================== */

/* En mode browse : cacher widget app + blog right (déjà cachés en showcase only via Twig pour le hero) */
.akg-home-layout.akg-mode-browse .akg-app-widget,
.akg-home-layout.akg-mode-browse .akg-right,
.akg-home-layout.akg-mode-browse aside.akg-right {
  display: none !important;
}

/* Grid mono-col : .akg-centre prend toute la largeur disponible */
.akg-home-layout.akg-mode-browse .akg-three-col {
  display: block !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}

.akg-home-layout.akg-mode-browse .akg-centre {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

/* Search bar : prend toute la largeur du parent maintenant */
.akg-home-layout.akg-mode-browse .akg-search-bar {
  width: 100% !important;
  max-width: 100% !important;
}

/* Bandeau résultats : pleine largeur */
.akg-home-layout.akg-mode-browse .akg-results-header {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Catalogue : pleine largeur du container 1600px + plus de marge top */
.akg-home-layout.akg-mode-browse .akg-catalogue-full {
  margin-top: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* === OPTIONNEL : edge-to-edge (catalogue dépasse le container 1600px) === */
/* Décommente ces 8 lignes si tu veux que le catalogue prenne TOUTE la largeur */
/* de l'écran (100vw) en mode browse — au-delà du container 1600px : */
/*
.akg-home-layout.akg-mode-browse .akg-catalogue-full {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 0 40px !important;
}
*/

/* ===================================================== */
/* === Phase G3.d : input + pagination moderne ====== */
/* ===================================================== */

/* Input search prend 3x plus d'espace que le dropdown */
.akg-home-layout .akg-search-input {
  flex: 3 !important;
  min-width: 0 !important;
}
.akg-home-layout .akg-cat-trigger {
  min-width: 220px !important;
  flex: 0 0 220px !important;
}
.akg-home-layout .akg-search-btn {
  flex: 0 0 auto !important;
  padding: 15px 28px !important;
  white-space: nowrap !important;
}

/* === Pagination moderne (cible toutes les variantes Drupal pager) === */
.pager,
.view-catalogue-akaguriro .pager,
.view-id-catalogue_akaguriro .pager {
  margin: 40px 0 24px !important;
}
.pager .pager__items,
.pager > ul,
.pager nav ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  justify-content: center !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pager__item,
.pager li {
  margin: 0 !important;
  list-style: none !important;
  padding: 0 !important;
}
.pager__item > a,
.pager__item > span,
.pager li > a,
.pager li > span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-width: 42px !important;
  height: 42px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  color: #374151 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: .93rem !important;
  line-height: 1 !important;
  transition: all .15s ease !important;
  cursor: pointer;
}
.pager__item > a:hover,
.pager li > a:hover {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #c2410c !important;
  transform: translateY(-1px);
}
.pager__item.is-active > a,
.pager__item.is-active > span,
.pager__item--current > a,
.pager__item--current > span,
.pager li.is-active > a,
.pager li.active > a,
.pager .active > a,
.pager .active > span {
  background: #1e3a8a !important;
  color: #fff !important;
  border-color: #1e3a8a !important;
  cursor: default !important;
  font-weight: 700 !important;
}
.pager__item--ellipsis,
.pager .ellipsis,
.pager__item.disabled {
  padding: 10px 8px !important;
  color: #9ca3af !important;
  background: transparent !important;
  border: none !important;
}
.pager__item--first > a,
.pager__item--last > a,
.pager__item--previous > a,
.pager__item--next > a {
  font-weight: 600 !important;
  padding: 0 16px !important;
}

/* Mobile: pager compact */
@media (max-width: 600px) {
  .pager__item > a,
  .pager li > a {
    min-width: 38px !important;
    height: 38px !important;
    font-size: .88rem !important;
    padding: 0 10px !important;
  }
  .pager__item--first,
  .pager__item--last { display: none !important; }
}

/* Cacher tout "Lire plus..." parasite près du pager */
.akg-catalogue-full .read-more,
.akg-catalogue-full .field__item .read-more,
.akg-catalogue-full [class*="show-more"] {
  display: none !important;
}

/* ============================================== */
/* === Phase G3.e : focus produits (minimaliste) === */
/* ============================================== */

/* Cacher tout ce qui n'est pas search + catégories + catalogue */
.akg-hero-slider,
.akg-app-widget,
.akg-right,
aside.akg-right,
.akg-top-location {
  display: none !important;
}

/* Layout main pleine largeur partout */
.akg-three-col {
  display: block !important;
  grid-template-columns: 1fr !important;
}
.akg-centre, main.akg-centre {
  width: 100% !important;
  max-width: 100% !important;
}

/* Style du mini bouton 'Notre app' (header) — sera utilisé en G3.f */
.akg-app-mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  margin: 0 8px;
  border-radius: 22px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff !important;
  text-decoration: none !important;
  font-size: .85rem;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  transition: all .2s;
}
.akg-app-mini-btn:hover {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  transform: translateY(-1px);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, .3);
}
.akg-app-mini-btn i { font-size: 1rem; }
@media (max-width: 991px) {
  .akg-app-mini-btn span { display: none; }
  .akg-app-mini-btn { padding: 8px 11px; margin: 0 4px; }
}

/* Logo : curseur pointer + transition au survol pour signaler clickabilité */
.akg-logo, a.akg-logo {
  cursor: pointer !important;
  transition: opacity .15s;
}
.akg-logo:hover { opacity: .85; }

/* Phase G3.g : safety hides (au cas où) */
.akg-app-widget,
.akg-hero-slider,
.akg-right,
aside.akg-right,
.akg-blog-title,
.akg-app-buttons {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* === Phase G3.g.fix : force-hide widget + hero + aside === */
.akg-app-widget,
div.akg-app-widget,
[class*="akg-app-widget"],
.akg-app-title,
.akg-app-text,
.akg-app-buttons,
.akg-hero-slider,
section.akg-hero-slider,
[class*="akg-hero-slider"],
.akg-hero-slides,
.akg-hero-slide,
.akg-right,
aside.akg-right,
[class*="akg-right"]:not([class*="search"]):not([class*="cart"]):not([class*="form"]),
.akg-blog-title {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -99999px !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ============================================ */
/* === Phase G3.h : header stores + centrage === */
/* ============================================ */

/* 2 mini boutons stores dans le header */
.akg-header-stores {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 14px 0 4px;
}
.akg-store-mini {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  background: #000;
  color: #fff !important;
  border-radius: 7px;
  text-decoration: none !important;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.1;
  transition: all .15s;
  border: 1px solid #1f2937;
  white-space: nowrap;
}
.akg-store-mini:hover {
  background: #1f2937;
  transform: translateY(-1px);
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.akg-store-mini i { font-size: 1.3rem; flex: 0 0 auto; }
.akg-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1;
}
.akg-store-text small {
  font-size: .58rem;
  opacity: .8;
  font-weight: 400;
  margin-bottom: 2px;
}
.akg-store-text strong {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

@media (max-width: 1199px) {
  .akg-store-text { display: none; }
  .akg-store-mini { padding: 7px 9px; }
  .akg-store-mini i { font-size: 1.15rem; }
}
@media (max-width: 768px) {
  .akg-header-stores { display: none; }
}

/* Centrage + largeur acceptable de la search bar */
.akg-home-layout .akg-search-bar {
  max-width: 820px !important;
  margin: 36px auto 28px !important;
}

/* ================================================== */
/* === Phase G3.i : form prominent + Akaguriro === */
/* ================================================== */

/* Search bar : 1100px, padding 8px, ombre marquée */
.akg-home-layout .akg-search-bar {
  max-width: 1100px !important;
  margin: 48px auto 32px !important;
  padding: 8px !important;
  background: #fff !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 32px -8px rgba(30, 58, 138, .18) !important;
}

.akg-home-layout .akg-search-inner {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
}

/* Trigger dropdown : plus large + haute + accent orange */
.akg-home-layout .akg-cat-trigger {
  padding: 18px 22px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  min-width: 250px !important;
  flex: 0 0 250px !important;
  background: #fffbeb !important;
  border: 1.5px solid #fed7aa !important;
  border-right: 2px solid #ea580c !important;
  border-radius: 11px 0 0 11px !important;
  color: #1e3a8a !important;
}
.akg-home-layout .akg-cat-trigger-icon { color: #ea580c !important; font-size: 1.15rem !important; }
.akg-home-layout .akg-cat-trigger:hover { background: #fff7ed !important; }
.akg-home-layout .akg-cat-trigger[aria-expanded="true"] {
  background: #ea580c !important;
  color: #fff !important;
}
.akg-home-layout .akg-cat-trigger[aria-expanded="true"] .akg-cat-trigger-icon,
.akg-home-layout .akg-cat-trigger[aria-expanded="true"] .akg-cat-trigger-caret { color: #fff !important; }

/* Input recherche : plus grand */
.akg-home-layout .akg-search-input {
  padding: 18px 22px !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  border: 1.5px solid #fed7aa !important;
  border-left: none !important;
  border-right: none !important;
  flex: 3 !important;
  min-width: 0 !important;
  color: #1f2937 !important;
  background: #fff !important;
}
.akg-home-layout .akg-search-input::placeholder {
  color: #9ca3af !important;
  font-weight: 400 !important;
}
.akg-home-layout .akg-search-input:focus {
  border-color: #ea580c !important;
  box-shadow: inset 0 0 0 1px rgba(234, 88, 12, .2) !important;
  outline: none !important;
}

/* Bouton submit : bleu marine Akaguriro */
.akg-home-layout .akg-search-btn {
  padding: 18px 38px !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  background: #1e3a8a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 11px 11px 0 !important;
  letter-spacing: .01em !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: all .15s !important;
  flex: 0 0 auto !important;
}
.akg-home-layout .akg-search-btn:hover {
  background: #1e40af !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 58, 138, .35) !important;
}
.akg-home-layout .akg-search-btn i { font-size: 1.05rem; margin-right: 4px; }

/* Mobile responsive */
@media (max-width: 768px) {
  .akg-home-layout .akg-search-bar { padding: 6px !important; margin: 24px 12px !important; }
  .akg-home-layout .akg-search-inner { flex-wrap: wrap !important; gap: 6px !important; }
  .akg-home-layout .akg-cat-trigger,
  .akg-home-layout .akg-search-input,
  .akg-home-layout .akg-search-btn {
    padding: 14px 18px !important;
    font-size: 1rem !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    border-radius: 10px !important;
    border: 1.5px solid #fed7aa !important;
  }
}

/* === Live search dropdown : couleurs Akaguriro renforcées === */
.akg-livesearch-panel {
  border: 2px solid #fed7aa !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 50px -12px rgba(234, 88, 12, .3), 0 8px 24px -8px rgba(30, 58, 138, .2) !important;
  margin-top: 10px !important;
}
.akg-ls-link { padding: 14px 18px !important; }
.akg-ls-thumb {
  width: 64px !important; height: 64px !important;
  flex: 0 0 64px !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 10px !important;
}
.akg-ls-thumb-placeholder {
  background: #fffbeb !important;
  color: #fed7aa !important;
  font-size: 1.7rem !important;
}
.akg-ls-title {
  font-size: 1rem !important;
  color: #1e3a8a !important;
  font-weight: 600 !important;
}
.akg-ls-title mark {
  background: #fef3c7 !important;
  color: #c2410c !important;
  font-weight: 700 !important;
  padding: 1px 4px !important;
  border-radius: 3px !important;
}
.akg-ls-cat {
  background: #dbeafe !important;
  color: #1e40af !important;
  font-weight: 600 !important;
  font-size: .75rem !important;
}
.akg-ls-price {
  color: #ea580c !important;
  font-weight: 800 !important;
  font-size: .95rem !important;
}
.akg-ls-item:hover .akg-ls-link,
.akg-ls-item.is-active .akg-ls-link {
  background: linear-gradient(90deg, #fff7ed, #fffbeb) !important;
}
.akg-ls-footer {
  background: #fffbeb !important;
  border-top: 2px solid #fed7aa !important;
}
.akg-ls-footer a {
  color: #ea580c !important;
  font-weight: 700 !important;
  padding: 16px !important;
  font-size: .95rem !important;
}
.akg-ls-footer a:hover {
  background: #fed7aa !important;
  color: #9a3412 !important;
}
.akg-ls-loading, .akg-ls-empty {
  font-size: .95rem !important;
  color: #6b7280 !important;
  padding: 24px !important;
}

/* ====================================================== */
/* === Phase G4 : Featured cats carousels (showcase) === */
/* ====================================================== */
.akg-featured-cats {
  max-width: 1300px;
  margin: 48px auto 56px;
  padding: 0 16px;
}
.akg-featured-cats-header {
  text-align: center;
  margin-bottom: 28px;
}
.akg-featured-cats-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}
.akg-featured-cats-sub {
  font-size: .95rem;
  color: #6b7280;
  margin: 0;
}

/* Tabs */
.akg-featured-cats-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
  padding: 0 8px;
}
.akg-featured-cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 24px;
  cursor: pointer;
  transition: all .2s;
  font-size: .92rem;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  font-family: inherit;
}
.akg-featured-cat-tab:hover {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
  transform: translateY(-1px);
}
.akg-featured-cat-tab.is-active {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(30, 58, 138, .25);
}
.akg-featured-cat-tab.is-active .akg-featured-cat-count {
  background: #ea580c;
  color: #fff;
}
.akg-featured-cat-emoji { font-size: 1.15rem; }
.akg-featured-cat-count {
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
}

/* Panels */
.akg-featured-cat-panel { display: none; }
.akg-featured-cat-panel.is-active { display: block; animation: akgFeaturedFade .25s ease; }
@keyframes akgFeaturedFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Carousel */
.akg-featured-carousel-wrap {
  position: relative;
  padding: 0 50px;
}
.akg-featured-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: #fed7aa #fffbeb;
}
.akg-featured-carousel::-webkit-scrollbar { height: 8px; }
.akg-featured-carousel::-webkit-scrollbar-track { background: #fffbeb; border-radius: 4px; }
.akg-featured-carousel::-webkit-scrollbar-thumb { background: #fed7aa; border-radius: 4px; }
.akg-featured-carousel::-webkit-scrollbar-thumb:hover { background: #ea580c; }

/* Cards */
.akg-featured-card {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  background: #fff;
  border: 1.5px solid #f3f4f6;
  border-radius: 14px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .25s ease;
  overflow: hidden;
}
.akg-featured-card:hover {
  border-color: #fed7aa;
  box-shadow: 0 12px 24px -8px rgba(234, 88, 12, .18);
  transform: translateY(-3px);
  color: inherit !important;
}
.akg-featured-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #fafafa;
  display: block;
}
.akg-featured-card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 2.5rem;
  background: #f9fafb;
}
.akg-featured-card-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.akg-featured-card-title {
  font-size: .92rem;
  color: #1e3a8a;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6em;
}
.akg-featured-card-price {
  font-size: 1.05rem;
  color: #ea580c;
  font-weight: 800;
}

/* Arrows */
.akg-featured-arrow {
  position: absolute;
  top: 110px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #fed7aa;
  color: #ea580c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all .15s ease;
  box-shadow: 0 6px 14px rgba(234, 88, 12, .18);
}
.akg-featured-arrow:hover {
  background: #ea580c;
  color: #fff;
  border-color: #ea580c;
  transform: scale(1.08);
}
.akg-featured-arrow-prev { left: 0; }
.akg-featured-arrow-next { right: 0; }

/* Footer link */
.akg-featured-cat-footer {
  text-align: center;
  margin-top: 24px;
}
.akg-featured-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: #fff;
  border: 2px solid #1e3a8a;
  border-radius: 10px;
  color: #1e3a8a !important;
  text-decoration: none !important;
  font-size: .95rem;
  font-weight: 700;
  transition: all .15s ease;
}
.akg-featured-cat-link:hover {
  background: #1e3a8a;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(30, 58, 138, .3);
}

/* Mobile */
@media (max-width: 768px) {
  .akg-featured-cats { padding: 0 12px; margin: 32px auto; }
  .akg-featured-cats-title { font-size: 1.35rem; }
  .akg-featured-cats-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .akg-featured-cat-tab { font-size: .85rem; padding: 9px 14px; }
  .akg-featured-carousel-wrap { padding: 0 8px; }
  .akg-featured-arrow { display: none; }
  .akg-featured-card { flex: 0 0 170px; }
  .akg-featured-card-img { height: 170px; }
}

/* ============================================== */
/* === Phase G4.b : centrage form fort + input large === */
/* ============================================== */

/* Force centrage avec block + margin auto + max-width 1000 */
.akg-home-layout .akg-search-bar {
  display: block !important;
  width: 100% !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 48px !important;
  margin-bottom: 40px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* Force le parent .akg-centre à ne pas constraint */
.akg-home-layout .akg-centre,
.akg-home-layout main.akg-centre {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  padding: 0 !important;
}

/* INPUT recherche : taille XL */
.akg-home-layout .akg-search-input {
  padding: 24px 26px !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  flex: 5 !important;
  min-width: 0 !important;
  letter-spacing: -.01em !important;
}
.akg-home-layout .akg-search-input::placeholder {
  font-size: 1.1rem !important;
}

/* Dropdown trigger : compact */
.akg-home-layout .akg-cat-trigger {
  padding: 24px 18px !important;
  font-size: 1rem !important;
  min-width: 210px !important;
  flex: 0 0 210px !important;
}

/* Bouton submit : robuste */
.akg-home-layout .akg-search-btn {
  padding: 24px 36px !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .akg-home-layout .akg-search-bar { max-width: 100% !important; margin: 24px 12px !important; }
  .akg-home-layout .akg-search-input,
  .akg-home-layout .akg-cat-trigger,
  .akg-home-layout .akg-search-btn {
    padding: 16px 18px !important;
    font-size: 1rem !important;
  }
}
