/* Tecinox - ajouts propres à la vitrine, chargés après theme.css (thème sku_adi de l'ancien site).
   Ce fichier ne contient que ce qui n'existait pas sur l'ancien site ou qui remplace un comportement JavaScript :
   bandeau d'attente, encadré « Commander », menu sans JavaScript, grille de marques figée, lien d'évitement.
   Jaune du logo : #EFE52C. */

.saut { position: absolute; left: -999px; top: 0; background: #efe52c; color: #000; padding: .5rem 1rem; z-index: 1000; }
.saut:focus { left: 0; }
:focus-visible { outline: 3px solid #0b5fcc; outline-offset: 2px; }
#header :focus-visible, .footer-container :focus-visible { outline-color: #efe52c; }

/* bandeau « boutique en cours de refonte » */
.bandeau { margin: 0; padding: 8px 15px; background: #efe52c; color: #000; font: 400 13px/1.5 'Montserrat', sans-serif; text-align: center; }
.bandeau a { color: #000; font-weight: 700; text-decoration: underline; }

/* en-tête : téléphone dans la barre du haut (à la place de « Mon compte »), menu à droite du logo */
.menu-case { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.open_menu { display: none; }

/* accueil : bandeau sombre sous la bannière (remplace le bloc « Recherche par type de véhicule », qui était un formulaire) */
.bandeau-marques { background: #111; color: #fff; text-align: center; padding: 28px 15px 24px; }
.bandeau-marques .PM_ASearchTitle { margin: 0; font: 400 24px/1.3 'Montserrat', sans-serif; text-transform: uppercase; }
.bandeau-marques .PM_ASearchTitle span { font-family: 'Montserrat_bold', Arial; font-weight: 400; }

/* accueil : vignettes de marques (l'ancien carrousel, figé en grille de 5 colonnes ; sans JavaScript) */
.tmcategorylist #categorylist-carousel { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; border-left: 0; border-right: 0; }
.tmcategorylist #categorylist-carousel .categoryblock.item { width: 20%; outline: 1px solid #ebebeb; outline-offset: -1px; box-sizing: border-box; }
.tmcategorylist #categorylist-carousel .categoryblock.item .block_content { position: relative; display: flex; align-items: center; justify-content: center; padding: 4px; box-sizing: border-box; }
.tmcategorylist #categorylist-carousel .categoryblock.item .categoryimage img { width: auto; max-width: 100%; max-height: 110px; margin: 0 auto; }
.tmcategorylist #categorylist-carousel .categoryblock.item.others .categorylist { display: block; position: static; transform: none; height: 126px; }
.tmcategorylist #categorylist-carousel .categoryblock.item.others .cate-heading { height: 100%; }
.tmcategorylist #categorylist-carousel .categoryblock.item.others .category_description { display: none; }
@media (max-width: 991px) { .tmcategorylist #categorylist-carousel .categoryblock.item { width: 33.333%; } }
@media (max-width: 575px) { .tmcategorylist #categorylist-carousel .categoryblock.item { width: 50%; } }

/* listes de produits : référence, texte court */
.ref-liste { display: block; font-size: 20px; color: #000; text-align: center; }
.product_list .product-desc { display: none; }

/* fil d'Ariane : fond photo de l'ancien site (posé en ligne sur l'ancien, ici en CSS) */
.breadcrumb { background-image: url("/assets/theme/cms/bg_header_cat.jpg"); background-size: cover; background-position: center; }
.breadcrumb a, .breadcrumb .navigation_page { color: #fff; }

/* vignettes de produits : image dans une boîte de 250 px comme le thème (home_default) */
.product_list.grid .product-image-container { text-align: center; }
.product_list.grid .product-image-container img { width: auto; height: auto; max-width: 250px; max-height: 250px; margin: 0 auto; }
.product_list.grid .product-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* encadré « Commander » (remplace « Ajouter au panier ») */
.commande { background: #fafafa; border: 1px solid #ebebeb; padding: 20px 25px; margin: 25px 0; }
.commande h2 { margin: 0 0 10px; font: 400 18px/1.3 'Montserrat_bold', Arial; text-transform: uppercase; }
.commande p { margin-bottom: 10px; }
.commande p:last-child { margin-bottom: 0; }
a.exclusive { display: inline-block; background: #efe52c; color: #000; padding: 15px 20px; font: 400 15px/1.2 'Montserrat_bold', Arial; text-transform: uppercase; text-decoration: none; border: 0; }
a.exclusive:hover, a.exclusive:focus { background: #000; color: #efe52c; }
.petit { font-size: 12px; color: #555; }

/* pied de page : bloc « Commandez par téléphone » à la place de l'inscription à la newsletter (formulaire retiré) */
.newletter-container .newsletter-email a { display: block; color: #fff; font: 400 16px/1.4 'Montserrat_bold', Arial; border-bottom: 1px solid #fff; padding: 7px 0; text-decoration: none; margin-bottom: 4px; }
.newletter-container .newsletter-email a:hover { color: #efe52c; }
.newletter-container .btn-send-submit .btn span { color: #000; text-transform: uppercase; }
.newletter-container .btn-send-submit .btn { padding: 11px 45px 12px; }
.product_list.grid .product-image-container { height: 250px; display: flex; align-items: center; justify-content: center; }

/* fiche produit : titre en casse normale comme sur l'ancien site, libellé de référence */
#product .pb-center-column h1 { text-transform: none; letter-spacing: 1px; }
#product_reference label { margin-right: 4px; }
.horaires span { display: block; }

/* menu : sur mobile, case à cocher + libellé à la place du bouton JavaScript du méga-menu */
@media (max-width: 991px) {
  .open_menu { display: block; position: absolute; right: 15px; top: 18px; cursor: pointer; color: #fff; font: 400 14px/1 'Montserrat_bold', Arial; text-transform: uppercase; }
  .open_menu i { margin-left: 8px; font-size: 20px; vertical-align: -2px; }
  .menu-case:focus-visible + .open_menu { outline: 3px solid #efe52c; outline-offset: 3px; }
  .dor-megamenu { display: none; position: static; clear: both; height: auto; width: 100%; background: #000; }
  .menu-case:checked ~ .dor-megamenu { display: block; }
  .dor-megamenu .navbar-nav { float: none; width: 100%; margin: 0; }
  .dor-megamenu .navbar-nav > li { float: none; margin: 0; border-top: 1px solid #333; }
  .dor-megamenu .navbar-nav > li > a { display: block; padding: 12px 0; }
  body #header .header-main-wrapper { max-height: none; }
  body #header .dor-megamenu { padding: 0 15px; }
  body #header .dor-megamenu .dropdown-menu { position: static; display: block; left: auto; float: none; background: #000; box-shadow: none; padding: 0 0 8px 15px; width: auto; }
  .dor-megamenu .dropdown-menu li { padding: 0; }
  .dor-megamenu .dropdown-menu li > a { color: #fff; display: block; padding: 4px 0; }
  .dor-megamenu .navbar-nav > li > a .caret { display: none; }
}
@media (min-width: 992px) {
  /* ouverture du déroulant au clavier (la règle :hover du thème ne couvre pas le focus) */
  .dor-megamenu .dropdown:focus-within > .dropdown-menu { display: block; left: 0; background: #000; }
}
body #header .dor-megamenu .dropdown-menu li > a { color: #fff !important; }
body #header .dor-megamenu .dropdown-menu li > a:hover { color: #efe52c !important; }
@media (min-width: 992px) {
  body #header .dor-megamenu .dropdown-menu { background: #000; opacity: 1; padding: 8px 0; min-width: 210px; transition: none; list-style: none; }
  body #header .dor-megamenu .dropdown-menu li > a { display: block; padding: 5px 18px; font: 400 13px/1.4 'Montserrat', sans-serif; text-transform: uppercase; }
}

/* fiche : les attributs width/height de l'image servent à réserver la place, pas à la déformer */
#image-block #bigpic { height: auto; max-width: 100%; }
#thumbs_list_frame img { height: auto; }
#image-block #bigpic { width: 449px; }
#view_full_size { display: block; text-align: center; }

/* fiche : bloc Description / Caractéristiques sur fond gris, tableau à filets, comme sur l'ancien site */
.dorTabProductDetail { background: #fafafa; padding: 40px 40px 30px; margin: 40px 0 50px; clear: both; }
.dorTabProductDetail h2 { font: 400 25px/1.3 'Montserrat_bold', Arial; text-transform: none; margin: 0 0 25px; color: #000; }
.dorTabProductDetail .description { margin-bottom: 45px; }
.dorTabProductDetail .rte, .dorTabProductDetail .rte p { color: #000; font-size: 13px; line-height: 24px; }
.dorTabProductDetail .carac { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.dorTabProductDetail .carac th, .dorTabProductDetail .carac td { padding: 10px 20px; border-bottom: 1px solid #000; text-align: left; vertical-align: middle; font-size: 13px; color: #000; }
.dorTabProductDetail .carac th { width: 35%; font-family: 'Montserrat_bold', Arial; font-weight: 400; border-right: 1px solid #000; }
.dorTabProductDetail .carac tr:first-child th, .dorTabProductDetail .carac tr:first-child td { border-top: 0; }
@media (max-width: 767px) { .dorTabProductDetail { padding: 25px 15px; } .dorTabProductDetail .carac th, .dorTabProductDetail .carac td { padding: 8px 10px; } #image-block #bigpic { width: 100%; } }
.dorTabProductDetail { width: 100%; float: none; }
#image-block { display: flex; align-items: center; justify-content: center; min-height: 449px; }
@media (max-width: 767px) { #image-block { min-height: 0; } }

/* contenus : liens soulignés (le thème les laissait à peine distincts), liste numérotée, déroulant Classics */
.presentation a:not(.btn), .univers a, .comment a, .contenu a:not(.btn):not(.exclusive), .cat_desc a, .intro a, .petit a, .commande p a:not(.exclusive) { text-decoration: underline; text-underline-offset: 2px; }
.etapes { list-style: decimal; padding-left: 1.6em; margin: 0 0 1em; }
.etapes li { margin-bottom: .4em; }
.liste-classics summary { cursor: pointer; font-family: 'Montserrat_bold', Arial; padding: 4px 0; }
.liste-classics ul { margin: .5em 0 1em 1.2em; list-style: disc; }
.presentation, .univers, .comment { margin-bottom: 1.5em; }
.rte ul { list-style: disc; padding-left: 1.4em; }
.rte ol { list-style: decimal; padding-left: 1.4em; }
@media (max-width: 767px) { #image-block, #view_full_size { height: auto; min-height: 0; } #image-block { display: block; } }
