
.hydrotop-archive,.hydrotop-section,.hydrotop-shop-layout{box-sizing:border-box}.hydrotop-archive{max-width:1180px;margin:0 auto}.hydrotop-section{margin:28px 0}.hydrotop-section h2,.hydrotop-section-head h2{font-size:20px!important;text-transform:uppercase;margin:0 0 18px!important;font-weight:900!important;color:#111827!important;position:relative;line-height:1.2!important}.hydrotop-section h2:after,.hydrotop-section-head h2:after{content:"";display:block;width:32px;height:3px;background:#e73323;margin-top:10px}.hydrotop-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.hydrotop-all-types{background:#fff;border:1px solid #e8edf4;border-radius:4px;padding:9px 14px;font-weight:800;font-size:12px;color:#14233b;cursor:pointer;box-shadow:0 4px 14px rgba(15,35,60,.04)}
.hydrotop-mission-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.hydrotop-mission-card{position:relative;background:#fff;border:1px solid #e6ebf2;border-radius:4px;min-height:222px;padding:0 12px 16px;overflow:hidden;cursor:pointer;box-shadow:0 12px 26px rgba(15,35,60,.08);text-align:center;display:flex;flex-direction:column;align-items:center;transition:.15s}.hydrotop-mission-card:hover{transform:translateY(-2px);border-color:#dce3ec;box-shadow:0 16px 34px rgba(15,35,60,.14)}.hydrotop-mission-image{display:block;width:calc(100% + 24px);height:128px;margin:0 -12px;background:#eef2f6;overflow:hidden}.hydrotop-mission-image img{width:100%;height:100%;object-fit:cover;display:block}.hydrotop-mission-icon{width:58px;height:58px;background:#fff;border-radius:50%;margin-top:-29px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(15,35,60,.16);border:1px solid #edf1f6;overflow:hidden}.hydrotop-mission-icon img{max-width:32px;max-height:32px;width:auto;height:auto;object-fit:contain}.hydrotop-mission-card strong{display:block;font-size:14px;line-height:1.15;margin:12px 0 10px;color:#111827;font-weight:900}.hydrotop-mission-card em{font-style:normal;color:#e73323;font-size:11px;font-weight:900;margin-top:auto}.hydrotop-missions-section .hydrotop-hidden-choice{display:none!important}
.hydrotop-type-cards{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;border:1px solid #e8edf4;border-radius:4px;overflow:hidden;background:#fff;box-shadow:0 8px 22px rgba(15,35,60,.05)}.hydrotop-type-card{background:#fff;border:0;border-right:1px solid #e8edf4;border-bottom:1px solid #e8edf4;min-height:70px;padding:10px 12px;display:flex;align-items:center;justify-content:flex-start;gap:10px;cursor:pointer;color:#192333;transition:.15s}.hydrotop-type-card:hover,.hydrotop-type-card.is-active{box-shadow:inset 0 -3px 0 #e73323;background:#fbfcfe}.hydrotop-type-card .hydrotop-type-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;flex:0 0 34px}.hydrotop-type-card .hydrotop-type-icon img{max-width:34px;max-height:34px;width:auto;height:auto;object-fit:contain}.hydrotop-type-card strong{font-size:12px;line-height:1.15;text-align:left;font-weight:700}.hydrotop-types-section .hydrotop-hidden-choice{display:none!important}
.hydrotop-shop-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:24px;align-items:start;margin-top:26px}.hydrotop-filters{background:#fff;border:1px solid #e6e9ef;border-radius:4px;padding:16px;box-shadow:0 8px 24px rgba(15,35,60,.06);position:sticky;top:90px}.hydrotop-filter-top{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;font-size:12px;margin-bottom:16px;color:#121b2b}.hydrotop-reset{border:0;background:transparent;color:#e73323;cursor:pointer;font-size:11px}.hydrotop-filter-group{border-top:1px solid #edf0f5;padding:13px 0}.hydrotop-filter-title{display:flex;width:100%;justify-content:space-between;border:0;background:transparent;font-weight:900;text-transform:uppercase;cursor:pointer;padding:0;margin-bottom:10px;color:#101827;font-size:12px}.hydrotop-filter-choice{display:flex;gap:8px;align-items:center;margin:8px 0;font-size:12px;color:#4b5563;line-height:1.25}.hydrotop-filter-choice input{width:14px;height:14px;margin:0;flex:0 0 auto}.hydrotop-filter-choice em{font-style:normal;color:#9ca3af}.hydrotop-filter-body{max-height:250px;overflow-y:auto;padding-right:6px;scrollbar-width:thin}.hydrotop-filter-body::-webkit-scrollbar{width:6px}.hydrotop-filter-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}.hydrotop-filter-body::-webkit-scrollbar-track{background:#f3f6fa;border-radius:8px}.hydrotop-hidden-choice{display:flex}.hydrotop-show-more{display:none}.hydrotop-search-brand{width:100%;border:1px solid #e5e7eb;border-radius:4px;padding:8px;margin:2px 0 10px;font-size:12px}
.hydrotop-products-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px;font-size:12px;color:#4b5563}.hydrotop-sort select{border:1px solid #d8dde6;border-radius:4px;padding:8px 34px 8px 10px;background:#fff;font-size:12px}.hydrotop-products-zone.is-loading{opacity:.55;pointer-events:none}.hydrotop-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.hydrotop-tag{border:1px solid #e5e7eb;background:#fff;border-radius:3px;padding:8px 12px;cursor:pointer;color:#1f2937;font-size:12px}.hydrotop-products-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.hydrotop-product-card{background:#fff;border:1px solid #edf1f5;border-radius:4px;padding:16px 15px 14px;box-shadow:0 9px 24px rgba(15,35,60,.06);min-height:330px;display:flex;flex-direction:column;position:relative}.hydrotop-card-img{height:135px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.hydrotop-card-img img{max-width:100%;max-height:135px;width:auto;height:auto;object-fit:contain}.hydrotop-card-brand{font-size:10px;font-weight:900;color:#1d2b42;text-transform:uppercase;margin-bottom:5px;min-height:12px}.hydrotop-product-card h3{font-size:13px!important;line-height:1.18!important;text-transform:uppercase;margin:0 0 8px!important;font-weight:900!important;min-height:46px}.hydrotop-product-card h3 a{color:#111827;text-decoration:none}.hydrotop-card-rating{min-height:16px;margin-bottom:7px}.hydrotop-stars{color:#f59e0b;letter-spacing:1px;font-size:11px}.hydrotop-card-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto}.hydrotop-card-price{font-size:18px;font-weight:900;color:#111827}.hydrotop-card-price small,.hydrotop-card-price .woocommerce-Price-currencySymbol{font-size:.75em}.hydrotop-stock{font-size:11px;white-space:nowrap}.hydrotop-stock.ok{color:#16a34a}.hydrotop-stock.ko{color:#dc2626}.hydrotop-card-button{align-self:flex-end;background:#e73323;color:#fff!important;border-radius:3px;padding:8px 14px;text-decoration:none;font-size:11px;font-weight:900;margin-top:10px}.hydrotop-load-more{display:block;margin:26px auto;border:1px solid #cfd6e1;background:#fff;border-radius:4px;padding:12px 38px;font-weight:900;cursor:pointer}.hydrotop-load-more:disabled{display:none}.hydrotop-empty{background:#fff;padding:40px;text-align:center;border-radius:4px;border:1px solid #edf1f5}
@media (max-width:1200px){.hydrotop-mission-cards{grid-template-columns:repeat(3,1fr)}.hydrotop-type-cards{grid-template-columns:repeat(4,1fr)}.hydrotop-products-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.hydrotop-archive{padding:0 15px}.hydrotop-shop-layout{grid-template-columns:1fr}.hydrotop-filters{position:static}.hydrotop-products-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.hydrotop-mission-cards,.hydrotop-type-cards,.hydrotop-products-grid{grid-template-columns:1fr}.hydrotop-products-head,.hydrotop-section-head{display:block}.hydrotop-mission-card{min-height:220px}}
.hydrotop-admin-warning{background:#fff3cd;border:1px solid #ffe69c;color:#664d03;padding:10px 12px;border-radius:4px;margin:12px 0;font-size:13px}

/* v1.2.4 — carrousels missions/types + ordre sidebar inchangé */
.hydrotop-carousel{position:relative;width:100%}
.hydrotop-carousel-track{scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.hydrotop-carousel-track::-webkit-scrollbar{display:none}
.hydrotop-mission-cards.hydrotop-carousel-track{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding:0 2px 8px}
.hydrotop-mission-card{flex:0 0 calc((100% - 60px)/6)}
.hydrotop-type-cards.hydrotop-carousel-track{display:flex!important;grid-template-columns:none!important;overflow-x:auto;overflow-y:hidden;border-radius:4px}
.hydrotop-type-card{flex:0 0 calc(100%/8);border-bottom:0;min-width:128px}
.hydrotop-carousel-arrow{position:absolute;top:50%;right:-17px;z-index:5;width:38px;height:38px;transform:translateY(-50%);border:0;border-radius:999px;background:#fff;color:#0f172a;box-shadow:0 8px 22px rgba(15,35,60,.18);font-size:26px;line-height:38px;text-align:center;cursor:pointer;font-weight:700}
.hydrotop-carousel-prev{left:-17px;right:auto}
.hydrotop-carousel-prev.is-disabled,.hydrotop-carousel-next.is-disabled{opacity:0;visibility:hidden;pointer-events:none}
.hydrotop-type-carousel .hydrotop-carousel-arrow{width:30px;height:30px;line-height:30px;font-size:20px;right:-10px}
.hydrotop-type-carousel .hydrotop-carousel-prev{left:-10px;right:auto}
@media (max-width:1200px){.hydrotop-mission-card{flex-basis:calc((100% - 24px)/3)}.hydrotop-type-card{flex-basis:25%}}
@media (max-width:640px){.hydrotop-mission-card{flex-basis:82%}.hydrotop-type-card{flex-basis:70%}.hydrotop-carousel-arrow{right:6px}.hydrotop-carousel-prev{left:6px}}

/* v1.2.4 — les carrousels affichent tous les termes dans le rail */
.hydrotop-carousel .hydrotop-hidden-choice{display:flex!important}
.hydrotop-carousel-track{max-width:100%;}

/* v1.2.7 */
.hydrotop-filter-body{max-height:250px}
.hydrotop-carousel-arrow{transition:opacity .15s ease, visibility .15s ease}
.hydrotop-carousel-arrow.is-disabled{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* v1.2.8 — facettes dépendantes + voir/refermer les catégories */
.hydrotop-filter-choice.hydrotop-choice-disabled{opacity:.42}
.hydrotop-filter-choice.hydrotop-choice-disabled span{text-decoration:none;color:#9ca3af}
.hydrotop-filter-choice input:disabled{cursor:not-allowed}
.hydrotop-types-section.is-expanded .hydrotop-type-carousel .hydrotop-carousel-arrow{display:none!important}
.hydrotop-types-section.is-expanded .hydrotop-type-cards.hydrotop-carousel-track{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important;gap:0}
.hydrotop-types-section.is-expanded .hydrotop-type-card{flex:auto;min-width:0;border-bottom:1px solid #e8edf4}
.hydrotop-types-section.is-expanded .hydrotop-all-types{background:#14233b;color:#fff;border-color:#14233b}
@media (max-width:900px){.hydrotop-types-section.is-expanded .hydrotop-type-cards.hydrotop-carousel-track{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:640px){.hydrotop-types-section.is-expanded .hydrotop-type-cards.hydrotop-carousel-track{grid-template-columns:1fr!important}}

/* v1.3 — facettes utiles uniquement + responsive renforcé */
.hydrotop-filter-group:has(.hydrotop-filter-body:empty){display:none}
@media (max-width:900px){
  .hydrotop-shop-layout{gap:18px}
  .hydrotop-filters{max-height:none;position:relative;top:auto}
  .hydrotop-filter-body{max-height:220px}
  .hydrotop-products-head{align-items:flex-start}
}
@media (max-width:640px){
  .hydrotop-section{margin:22px 0}
  .hydrotop-section h2,.hydrotop-section-head h2{font-size:16px!important}
  .hydrotop-all-types{width:100%;margin:0 0 12px;text-align:center}
  .hydrotop-shop-layout{display:block}
  .hydrotop-filters{margin-bottom:18px;padding:14px}
  .hydrotop-products-head{display:flex;flex-direction:column;gap:10px}
  .hydrotop-sort,.hydrotop-sort select{width:100%}
  .hydrotop-product-card{min-height:auto}
}


/* v1.3.1 — état actif des catégories matériel + hover missions adouci */
.hydrotop-type-card.is-active{
  background:#fff;
  border-color:#e73323;
  box-shadow:inset 0 -3px 0 #e73323, 0 0 0 1px #e73323;
  color:#0f172a;
}
.hydrotop-type-card.is-active strong{color:#0f172a}
.hydrotop-mission-card:hover{
  border-color:#dce3ec!important;
  box-shadow:0 16px 34px rgba(15,35,60,.14)!important;
  transform:translateY(-2px);
}
.hydrotop-mission-card:hover .hydrotop-mission-icon{
  box-shadow:0 10px 24px rgba(15,35,60,.18);
}

/* v1.3.2 — UX avancée : vraies notes, hover image secondaire, URL, skeleton, mobile */
.hydrotop-head-controls{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.hydrotop-stock-filter{font-size:12px;color:#4b5563;display:flex;align-items:center;gap:6px;white-space:nowrap}
.hydrotop-mobile-filter-toggle,.hydrotop-filter-close{display:none}
.hydrotop-card-img{position:relative;overflow:hidden}
.hydrotop-card-img img{transition:opacity .22s ease, transform .22s ease}
.hydrotop-card-img .hydrotop-hover-img{position:absolute;inset:0;margin:auto;opacity:0}
.hydrotop-card-img.has-hover-img:hover .hydrotop-primary-img{opacity:0;transform:scale(.98)}
.hydrotop-card-img.has-hover-img:hover .hydrotop-hover-img{opacity:1;transform:scale(1.02)}
.hydrotop-card-rating .star-rating{float:none;margin:0;color:#f59e0b;font-size:11px;height:1.1em;line-height:1.1em}
.hydrotop-card-rating:empty{display:none}
.hydrotop-skeleton{min-height:330px;overflow:hidden;pointer-events:none}
.hydrotop-skeleton span,.hydrotop-skeleton b,.hydrotop-skeleton i{display:block;border-radius:6px;background:linear-gradient(90deg,#eef2f6,#f8fafc,#eef2f6);background-size:220% 100%;animation:hydrotopSkeleton 1.15s infinite linear}
.hydrotop-skeleton span{height:135px;margin-bottom:20px}.hydrotop-skeleton b{height:14px;margin:10px 0}.hydrotop-skeleton b:nth-child(2){width:84%}.hydrotop-skeleton b:nth-child(3){width:62%}.hydrotop-skeleton i{height:32px;width:96px;margin-top:auto;margin-left:auto}
@keyframes hydrotopSkeleton{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media (max-width:900px){
  .hydrotop-mobile-filter-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid #14233b;background:#14233b;color:#fff;border-radius:4px;padding:10px 14px;font-weight:900;font-size:12px;cursor:pointer;width:100%}
  .hydrotop-shop-sidebar{position:relative}
  .hydrotop-filters{position:fixed!important;top:0!important;left:0;bottom:0;width:min(88vw,340px);z-index:99999;overflow:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:18px 0 40px rgba(15,23,42,.25);border-radius:0;padding-top:48px;background:#fff}
  body.hydrotop-filter-panel-open:before{content:"";position:fixed;inset:0;background:rgba(15,23,42,.45);z-index:99998}
  body.hydrotop-filter-panel-open .hydrotop-filters{transform:translateX(0)}
  .hydrotop-filter-close{display:block;position:absolute;right:12px;top:10px;border:0;background:#f3f6fa;width:30px;height:30px;border-radius:999px;font-size:22px;line-height:28px;cursor:pointer;color:#14233b}
  .hydrotop-head-controls{width:100%;justify-content:space-between}.hydrotop-stock-filter{order:2}.hydrotop-sort{order:1;flex:1}.hydrotop-sort select{width:100%}
}


/* v1.3.3 — chargement sans saut de mise en page */
.hydrotop-shop-layout{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.hydrotop-products-zone,
.hydrotop-products-main,
.hydrotop-products-results{
  min-width:0;
}
.hydrotop-products-results{
  position:relative;
  box-sizing:border-box;
  transition:min-height .15s ease;
}
.hydrotop-products-results.is-loading .hydrotop-products-grid{
  pointer-events:none;
  opacity:.45;
  filter:grayscale(.02);
}
.hydrotop-loading-overlay{
  position:absolute;
  inset:0;
  z-index:20;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:90px;
  background:rgba(248,250,252,.54);
  border-radius:4px;
  pointer-events:none;
}
.hydrotop-loading-overlay span{
  width:42px;
  height:42px;
  border-radius:999px;
  border:3px solid rgba(15,35,60,.16);
  border-top-color:#e73323;
  animation:hydrotopSpin .75s linear infinite;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,35,60,.12);
}
@keyframes hydrotopSpin{to{transform:rotate(360deg)}}
@media (max-width:900px){
  .hydrotop-shop-layout{display:block;}
  .hydrotop-products-results{width:100%!important;}
}
