/* CCC Megamenu — front styles
   Reproduit le mockup : barre cyan, mégamenu 6 colonnes, produit phare, bandeau trust */

#ccc-megamenu{
  background:#1a202c;
  color:#fff;
  position:relative;
  z-index:100;
  font-family:'Oswald','Segoe UI',sans-serif;
}
#ccc-megamenu .container{
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  flex-wrap:nowrap;
  position:relative;
}
.ccc-mm-tabs{
  list-style:none;
  margin:0; padding:0;
  display:flex;
  align-items:stretch;
  flex-wrap:nowrap;
}
.ccc-mm-tab{
  /* PAS de position:relative — le panel doit se baser sur le <nav> pour faire pleine largeur */
  border-right:1px solid rgba(255,255,255,.08);
}
.ccc-mm-tabs-right .ccc-mm-tab{
  border-right:none;
  border-left:1px solid rgba(255,255,255,.08);
}
.ccc-mm-tab-link{
  display:flex;
  align-items:center;
  gap:8px;
  padding:14px 24px;
  color:#fff !important;
  text-decoration:none !important;
  font-size:14px;
  font-weight:600;
  letter-spacing:0.04em;
  text-transform:uppercase;
  transition:all .15s;
  white-space:nowrap;
  height:100%;
}
.ccc-mm-tab-link:hover,
.ccc-mm-tab:focus-within > .ccc-mm-tab-link,
.ccc-mm-tab.has-megamenu:hover > .ccc-mm-tab-link{
  background:#2fadce;
  color:#fff !important;
}
.ccc-mm-tab.highlighted > .ccc-mm-tab-link{
  background:#2fadce;
}
.ccc-mm-tab.highlighted > .ccc-mm-tab-link:hover{
  background:#258caa;
}
.ccc-mm-caret{
  font-size:11px;
  opacity:.7;
  transition:transform .2s;
}
.ccc-mm-tab.has-megamenu:hover .ccc-mm-caret{
  transform:rotate(180deg);
}

/* === PANEL MÉGAMENU === */
.ccc-mm-panel{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  right:0;
  /* Le panel se base sur #ccc-megamenu (position:relative) → pleine largeur du nav */
  background:#fff;
  color:#1a202c;
  box-shadow:0 12px 28px rgba(0,0,0,.12);
  border-top:3px solid #2fadce;
  animation:ccmFade .15s ease;
  z-index:99;
}
@keyframes ccmFade{ from{opacity:0;transform:translateY(-4px)} to{opacity:1;transform:none} }
.ccc-mm-tab.has-megamenu:hover > .ccc-mm-panel,
.ccc-mm-tab.has-megamenu:focus-within > .ccc-mm-panel{
  display:block;
}
.ccc-mm-panel-inner{
  padding:24px 0 0;
}
.ccc-mm-cols{
  display:grid;
  gap:24px;
  padding:0 4px 24px;
}
.ccc-mm-cols[data-cols="2"]{ grid-template-columns:repeat(2,1fr); }
.ccc-mm-cols[data-cols="3"]{ grid-template-columns:repeat(3,1fr); }
.ccc-mm-cols[data-cols="4"]{ grid-template-columns:repeat(4,1fr); }
.ccc-mm-cols[data-cols="5"]{ grid-template-columns:repeat(5,1fr); }
.ccc-mm-cols[data-cols="6"]{ grid-template-columns:repeat(6,1fr); }

.ccc-mm-col{
  min-width:0;
}
.ccc-mm-col-title{
  display:flex; align-items:center; gap:8px;
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:#1a202c;
  margin:0 0 14px;
  padding-bottom:10px;
  border-bottom:2px solid #f1f5f9;
  font-family:'Oswald','Segoe UI',sans-serif;
}
/* Le SVG dans le titre est stylé plus bas */

.ccc-mm-items{
  list-style:none;
  margin:0; padding:0;
}
.ccc-mm-subheading{
  font-size:12px;
  font-weight:700;
  color:#2fadce;
  text-transform:uppercase;
  letter-spacing:0.05em;
  margin:14px 0 6px;
  padding:0;
}
.ccc-mm-subheading:first-child{ margin-top:0; }
.ccc-mm-subheading a{
  color:#2fadce !important;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.ccc-mm-subheading a:hover{
  text-decoration:underline;
}
.ccc-mm-arrow{
  font-size:10px;
  opacity:.7;
}

.ccc-mm-item{
  margin:0 0 4px;
}
.ccc-mm-item a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:6px 8px 6px 4px;
  color:#475569 !important;
  text-decoration:none !important;
  font-size:13px;
  border-radius:4px;
  transition:all .12s;
  font-family:'Segoe UI',sans-serif;
  font-weight:400;
}
.ccc-mm-item a:hover{
  background:#f0f9ff;
  color:#2fadce !important;
  padding-left:10px;
}
/* Icônes des items stylées via .ccc-mm-svg */

.ccc-mm-separator{
  height:1px;
  background:#e2e8f0;
  margin:8px 0;
}

/* === PRODUIT PHARE === */
.ccc-mm-col-featured{
  background:linear-gradient(135deg,#f8fafc,#eef2ff);
  border-radius:8px;
  padding:18px;
  text-align:center;
}
.ccc-mm-product-eyebrow{
  font-size:11px;
  font-weight:700;
  letter-spacing:0.08em;
  color:#2fadce;
  text-transform:uppercase;
  margin-bottom:8px;
}
.ccc-mm-product-img{
  display:block;
  margin:0 auto 12px;
  max-width:100%;
}
.ccc-mm-product-img img{
  max-width:120px;
  height:auto;
  display:inline-block;
}
.ccc-mm-product-name{
  font-size:14px;
  font-weight:700;
  color:#1a202c;
  margin-bottom:6px;
  line-height:1.3;
}
.ccc-mm-product-rating{
  margin-bottom:10px;
  font-size:13px;
}
.ccc-mm-product-rating .star{
  color:#cbd5e0;
  margin:0 1px;
}
.ccc-mm-product-rating .star.filled{
  color:#f59e0b;
}
.ccc-mm-product-rating small{
  display:block;
  color:#64748b;
  font-size:11px;
  margin-top:2px;
}
.ccc-mm-product-btn{
  display:inline-block;
  padding:8px 22px;
  background:#2fadce;
  color:#fff !important;
  text-decoration:none !important;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.06em;
  margin-top:6px;
  transition:all .15s;
}
.ccc-mm-product-btn:hover{
  background:#258caa;
  transform:translateY(-1px);
  box-shadow:0 3px 10px rgba(47,173,206,.4);
}

/* === FOOTER PANEL : trust + CTA === */
.ccc-mm-panel-footer{
  background:#f8fafc;
  border-top:1px solid #e2e8f0;
  padding:14px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:0;
  flex-wrap:wrap;
}
.ccc-mm-trust{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
}
.ccc-mm-trust span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#64748b;
  font-family:'Segoe UI',sans-serif;
  font-weight:400;
}
/* Icônes trust signals via .ccc-mm-svg */
.ccc-mm-cta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 16px;
  background:transparent;
  color:#2fadce !important;
  text-decoration:none !important;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.06em;
  text-transform:uppercase;
  border:2px solid #2fadce;
  border-radius:4px;
  transition:all .15s;
  white-space:nowrap;
}
.ccc-mm-cta:hover{
  background:#2fadce;
  color:#fff !important;
}
.ccc-mm-cta span{
  font-size:14px;
  margin-left:4px;
}

/* === ICONES SVG inline === */
.ccc-mm-svg{
  display:inline-block;
  vertical-align:middle;
  width:18px;
  height:18px;
  flex-shrink:0;
  color:#2fadce;
}
/* SVG dans le bandeau trust en vert */
.ccc-mm-trust .ccc-mm-svg{ color:#22c55e; width:14px; height:14px; }
/* SVG dans les items (liens) plus petit */
.ccc-mm-item .ccc-mm-svg{ width:14px; height:14px; }
/* Caret du tab plus discret */
.ccc-mm-caret-svg{ width:11px; height:11px; opacity:.7; transition:transform .2s; }
.ccc-mm-tab.has-megamenu:hover .ccc-mm-caret-svg{ transform:rotate(180deg); }
/* Star highlight (quand is_highlighted) */
.ccc-mm-item .ccc-mm-svg + span + .ccc-mm-svg,
.ccc-mm-item > a > .ccc-mm-svg:last-child{ color:#f59e0b; margin-left:auto; width:13px; height:13px; }
/* CTA arrow */
.ccc-mm-cta .ccc-mm-svg{ width:14px; height:14px; margin-left:6px; }
/* Subheading arrow */
.ccc-mm-subheading .ccc-mm-arrow{ font-size:11px; font-weight:700; }
/* Col title icon */
.ccc-mm-col-title .ccc-mm-svg{ width:18px; height:18px; color:#2fadce; }

/* === RESPONSIVE === */
@media (max-width: 991px){
  #ccc-megamenu .container{
    flex-direction:column;
    align-items:stretch;
  }
  .ccc-mm-tabs{
    flex-direction:column;
  }
  .ccc-mm-tab{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .ccc-mm-tab-link{
    padding:12px 16px;
    justify-content:space-between;
  }
  .ccc-mm-panel{
    position:static;
    width:auto;
    margin-left:0;
    box-shadow:none;
  }
  .ccc-mm-cols[data-cols]{
    grid-template-columns:1fr 1fr;
  }
  .ccc-mm-panel-footer{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
  }
  .ccc-mm-trust{ justify-content:center; }
}
@media (max-width: 600px){
  .ccc-mm-cols[data-cols]{ grid-template-columns:1fr; }
}
