/* =========================================================
   QUAI WEST PEINTURE — BASE BRAND SYSTEM
   ========================================================= */
/*

div.search-by-brand {
    position: absolute;
    top: 0;
    width: 35%;
    height: 43px;
    z-index: 999;
    float: left
}

div.search-by-brand span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 43px;
    border: 0;
    color: #010544;
    font-weight: 600;
    border-radius: 5px 0 0 5px;
    padding-top: 12px;
    cursor: pointer;
    font-size: 12px;
    line-height: 12px
}

div.search-by-brand span.selected {
    display: block!important;
    top: 0px!important;
    border-radius: 5px 0 0 5px
}

div.search-by-brand span.default {
    background-color: #d7d7d7
}

div.search-by-brand span.product,div.search-by-brand span.color {
    border-top: 1px dotted #d7d7d7;
    text-align: center;
    background-color: #f1f1f1
}

div.search-by-brand span.product:hover,div.search-by-brand span.color:hover {
    background-color: #d7d7d7
}

div.search-by-brand span.default i {
    font-weight: 600;
    font-size: 16px;
    float: right;
    position: absolute!important;
    bottom: 4px;
    right: 2px
}

div.search-by-brand span.product {
    top: 40px;
    border-radius: 0 0 0 0
}

div.search-by-brand span.color {
    top: 80px;
    border-radius: 0 0 5px 5px
}

.search-label.s_default.off,.search-label.s_color.off,.search-label.s_product.off {
    display: none
}

div.search-by-brand span.default.off,div.search-by-brand span.color.off,div.search-by-brand span.product.off {
    top: 0;
    display: none
}

select.search-by-brand .standard,select.search-by-brand .brand {
    font-weight: 600
}

#search_widget form input {
    width: 100%;
    float: right;
    border-radius: 0 5px 5px 0;
    padding: 10px 0 10px 155px
}

*/

/* -----------------------
   HOME
----------------------- */

/* ------------------------------
   Page Catégorie Peinture Auto
-------------------------------- */

.category-id-370 #wrapper
   {
   padding-top:0px;
   }

.category-id-370 .breadcrumb
   {
   display:none;
   }

#subcategories.card.card-block.peinture_auto
   {
   border: 0;
   }

#subcategories.card.card-block.peinture_auto .subcategories-list li 
   {
   border: 1px solid #318AE9;
   padding: 15px;
   }

#subcategories.card.card-block.peinture_auto .subcategory-image a 
   {
   border: 0;
   }

#subcategories.card.card-block.peinture_auto .subcategory-name
   {
   min-height: 50px;
   }

#subcategories.card.card-block.peinture_auto .subcategory-name a
   {
   color: #575756;
   text-align: center;
   font-family: Tomorrow;
   font-size: 20px;
   font-style: normal;
   font-weight: 700;
   line-height: normal;
   text-transform: uppercase;
   }

#subcategories.card.card-block.peinture_auto .subcat_cta
   {
   border-radius: 3px;
   border: 1px solid #318AE9;
   background:  #009FE3;
   padding: 15px;
   margin-top: 20px;
   margin-left: 20px;
   margin-right: 20px;
   }

#subcategories.card.card-block.peinture_auto .subcat_cta a
   {
   color: #fff;
   }

.subcat-search-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
  max-width: 400px;
}

.subcat-search-input {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color .2s;
}

.subcat-search-input:focus {
  border-color: #1a73e8;
}

.subcat-search-btn {
  height: 42px;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: #fff;
  border: 1px solid #1a73e8;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  flex-shrink: 0;
}

.subcat-search-btn:hover {
  background: #1558b0;
  border-color: #1558b0;
}

.subcat-no-result {
  text-align: center;
  color: #666;
  font-size: 14px;
  padding: 20px 0;
}

/* -----------------------
   listing produit
----------------------- */

/* 4 colonnes produits — catégorie Peinture Moto */
.category-peinture-moto #js-product-list .products .col-xl-4 
   {
   width: 25% !important;
   flex: 0 0 25% !important;
   max-width: 25% !important;
   }

/* -----------------------
   Page Contact
----------------------- */

#gformbuilderpro_form_1 .gformbuilderpro_content .itemfield .form-group.input_box .form-control
    {
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px; 
    border-bottom-width: 1px; 
    border-color: #318AE9;
    }

#gformbuilderpro_form_1 #submitForm
    {
    border-radius: 5px;
    background: #009FE3;
    }

#gformbuilderpro_form_1 #submitForm span
    {
    font-size: 14px;
    }

/* Walento – fix dropdown */
#search_widget {
    overflow: visible !important;
    position: relative !important;
}

div.search-by-brand {
    overflow: hidden;
}

div.search-by-brand:hover,
div.search-by-brand.open {
    overflow: visible;
}

#search #content .searchbar-wrapper { display: none; }

/* ------------------------------------------------
   Walento – Vignettes recherche par teinte
   (cohérent avec les vignettes produit du site)
------------------------------------------------ */

.wlt-search-title {
    color: #575756;
    font-family: 'Tomorrow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.wlt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Masquer "Il y a X produits / Trier par" en recherche teinte */
body#search .wlt-header ~ .products-selection,
body#search:has(.wlt-header) .products-selection {
    display: none !important;
}

.wlt-search-count {
    color: #7a7a7a;
    font-family: 'Tomorrow', sans-serif;
    font-size: 14px;
    margin: 0;
}

.wlt-filter {
    display: flex;
    align-items: center;
}

.wlt-filter label {
    color: #575756;
    font-family: 'Tomorrow', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-right: 10px;
    white-space: nowrap;
}

.wlt-filter select {
    border: 1px solid #318AE9;
    border-radius: 3px;
    padding: 8px 15px;
    font-family: 'Tomorrow', sans-serif;
    font-size: 14px;
    color: #575756;
    min-width: 180px;
}

#products-color {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#products-color .s_item {
    border: 1px solid #318AE9;
    text-align: center;
    display: flex;
    flex-direction: column;
}

#products-color .swatch-color {
    display: block;
    width: 100%;
    min-height: 120px;
}

#products-color .swatch-name {
    display: block;
    color: #575756;
    font-family: 'Tomorrow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 10px 5px;
}

#products-color .swatch-brand,
#products-color .swatch-ref {
    display: block;
    color: #7a7a7a;
    font-family: 'Tomorrow', sans-serif;
    font-size: 14px;
    padding: 2px 10px;
}

#products-color .swatch-button {
    padding: 15px 10px 20px;
    margin-top: auto;
}

#products-color .swatch-button .btn-primary {
    display: inline-block;
    background: #009FE3;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 12px 24px;
    font-family: 'Tomorrow', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s;
}

#products-color .swatch-button .btn-primary:hover {
    background: #007bb5;
}

/* Fix débordement couleur + reset walento.css */
#products-color {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 100%;
    overflow: hidden;
}

#products-color .s_item {
    border: 1px solid #318AE9;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0;
    padding: 0;
    float: none;
    box-shadow: none;
    border-radius: 0;
    background: #fff;
}

#products-color .swatch-color {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 120px;
    margin: 0 !important;
}

#products-color .swatch-name {
    display: block;
    color: #575756;
    font-family: 'Tomorrow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 10px 5px;
    min-height: auto;
    float: none;
    inline-size: auto;
}

#products-color .swatch-brand,
#products-color .swatch-ref {
    display: block;
    color: #7a7a7a;
    font-family: 'Tomorrow', sans-serif;
    font-size: 14px;
    padding: 2px 10px;
    min-height: auto;
    float: none;
    clear: none;
    inline-size: auto;
    margin: 0;
}

/* Masquer le header produit standard quand recherche teinte */
.wlt-search-title ~ .block-category,
.wlt-search-title ~ .products-sort-order,
.wlt-search-title ~ .showing,
.wlt-search-title ~ .total-products {
    display: none;
}

#search #content-wrapper {margin-bottom: 30px;}

/* ================================================
   QW Category Banner — custom.css
   ================================================ */

/* --- Banner principal --- */
.qw-cat-banner {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0099cc;
    background-image: url('/img/cms/Categories/couv_cat_auto.png');
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.qw-cat-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,153,204,0.7) 0%, rgba(0,153,204,0.3) 60%, transparent 100%);
}

.qw-cat-banner__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* --- Titre catégorie --- */
.qw-cat-banner__title {
    color: #fff;
    font-family: 'Tomorrow', Tahoma, sans-serif;
    font-size: 46px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    flex: 1;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* --- Cartes PayPal / Téléphone --- */
.qw-cat-banner__cards {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.qw-cat-banner__card {
    background: #fff;
    padding: 20px 25px;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qw-cat-banner__card p {
    color: #575756;
    font-family: 'Tomorrow', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.qw-cat-banner__paypal-logo {
    height: 30px;
    width: auto;
    margin-bottom: 10px;
}

.qw-cat-banner__phone-label {
    font-family: 'Tomorrow', sans-serif;
    font-size: 16px !important;
    font-weight: 700;
    color: #010544 !important;
    margin-bottom: 2px !important;
}

.qw-cat-banner__phone-number {
    margin-bottom: 8px !important;
}

.qw-cat-banner__phone-number a {
    font-family: 'Tomorrow', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #009FE3;
    text-decoration: none;
}

.qw-cat-banner__schedule {
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #575756 !important;
}

.qw-cat-banner__btn {
    display: inline-block;
    background: #009FE3;
    color: #fff !important;
    font-family: 'Tomorrow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: auto;
    transition: background .2s;
}

.qw-cat-banner__btn:hover {
    background: #007bb5;
    color: #fff !important;
    text-decoration: none;
}

/* --- Masquer breadcrumb et description PS standard si banner présent --- */
.qw-cat-banner ~ .breadcrumb {
    display: none;
}

/* ================================================
   Sous-catégories — Boutons uniformes
   ================================================ */

.subcategories_std {margin-top: 20px;}

 #product-list-header { display: none !important; }
.subcategories_std .subcategory-heading { display: none !important; }
.subcategories_std .block-category { display: none !important; }

.subcategories_std #subcategories {
    border: none;
    padding: 0;
    margin-bottom: 30px;
}

.subcategories_std #subcategories .subcategory-image { display: none !important; } 
.subcategories_std #subcategories .cat_desc { display: none; }


.subcategories_std #subcategories .subcategories-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategories_std #subcategories .subcategories-list li {
    padding: 0;
    margin: 0;
    display: flex;
    /* Override du thème (#subcategories ul li : margin-left:20px !important; width:90%)
       qui casse la grille sur cette liste précise. Ne touche pas les autres listes. */
    width: auto !important;
    margin-left: 0 !important;
    /* Empêche le "grid blowout" : sans ça, un item grid garde une largeur minimale
       basée sur son contenu et peut forcer la grille à déborder. */
    min-width: 0 !important;
}


.subcategories_std #subcategories h5 {
    margin: 0;
    min-height: auto;
    width: 100%;
    display: flex;
}

.subcategories_std #subcategories h5 a.subcategory-name {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    text-align: center;
    background: #009FE3;
    color: #fff !important;
    font-family: 'Tomorrow', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 15px;
    border-radius: 3px;
    transition: background .2s;
}

.subcategories_std #subcategories h5 a.subcategory-name:hover {
    background: #007bb5;
}
/* ==========================================================================
   SLIDER HOME - Overlay carrosserie

   NOTE IMPORTANTE : la hauteur du slide est fixée par LayerSlider en fonction
   de l'image de fond (actuellement ~502px). Tout le padding et les espacements
   ci-dessous ont été calibrés pour tenir exactement dans cette hauteur, sans
   déborder sur la section suivante (grille produits). Si vous voulez plus de
   respiration (padding proche de 24-30px), il faudra d'abord augmenter la
   hauteur de l'image du slide dans les réglages LayerSlider — sinon le
   contenu débordera comme observé pendant les tests.
   ========================================================================== */

.slider_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start; /* titre aligné en haut avec les cartes */
    justify-content: space-between;
    padding: 50px; /* padding autour du contenu — voir note sur la hauteur du slide plus bas */
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none; /* laisse les clics passer sauf sur les éléments interactifs */

    /* FIX : LayerSlider force "white-space: nowrap" en style inline sur .ls-layer.
       Cette propriété est héritée par tous les enfants (donc par ce bloc), ce qui
       empêche le titre, le sous-titre et le texte des cartes de revenir à la ligne
       et les fait déborder de leur conteneur. On casse l'héritage ici, à la racine. */
    white-space: normal;
}

.slider_container a {
    pointer-events: auto;
}

/* ---------- Colonne gauche : titre ---------- */

.slider_col_left {
    max-width: 620px;
    color: #ffffff;
}

.slider_col_left .title {
    font-family: 'Tomorrow', Arial, Helvetica, sans-serif;
    font-size: 50px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.slider_col_left .sub_title {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #f0f4f8;
    max-width: 480px;
    margin: 0;
}

/* ---------- Colonne droite : cartes ---------- */

.slider_col_right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 290px;
    flex-shrink: 0;
}

.slider_home_card {
    background: #ffffff;
    border-radius: 4px;
    padding: 18px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    text-align: left;
    min-height: 190px; /* les deux cartes ont la même taille */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* Carte PayPal */

.slider_home_paypal-logo {
    display: block;
    width: 100px;
    margin-bottom: 12px;
}

.slider_home_card p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
    margin: 0 0 14px;
}

.slider_home_btn {
    display: inline-block;
    background: #1793d1;
    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.slider_home_btn:hover {
    background: #1276ac;
}

/* Carte téléphone */

.slider_home_phone-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0px!important;
}

.slider_home_phone-number {
    margin: 0px;
}

.slider_home_phone-number a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #1793d1;
    text-decoration: none;
}

.slider_home_schedule {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #444444;
    margin: 0 0 14px;
}