/**
Theme Name: Global Access Industrie - Thème enfant
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: global-access-industrie-theme-enfant
Template: astra
*/

/*BTN*/

.btn-fiche.xs {
	display: flex;
}
.btn-fiche.xs .elementor-button-icon {
	margin-right: 10px;
}

/*  POUR MENU ET MEGAMENU */

.astra-megamenu .menu-item-object-categorie-produit > .menu-link {
    font-weight: 700;
    color: #000 !important;
}
.astra-megamenu .current-menu-parent > .menu-link {
    color: #e30713 !important;
}
.astra-megamenu > .menu-item > .sub-menu > .menu-item {
    line-height: 25px;
}
.astra-megamenu .menu-item-type-taxonomy > .menu-link:hover {
    color: #e30713 !important;
}

/*  POUR BLOC PAR MARQUE */
ul.nav.nav-tabs {
    clear: both;
    margin: 0;
}
ul.nav.nav-tabs li {
    list-style: none;
    float: left;
    text-transform: uppercase;
    border: 1px solid #000;
    color: #000;
    padding: 20px 40px;
    margin: 0 10px;
}   
ul.nav.nav-tabs li:hover {
    border: 1px solid #e30713;
    padding: 20px 40px;
    margin: 0 10px;
    background: #e30713;
}  
ul.nav.nav-tabs li:hover a {
    color: #fff;
}  
ul.nav.nav-tabs li.active {
    background: #e30713;
    color: #fff;
    border: 1px solid #e30713;

}   
.nav>li>a {
    position: relative;
    display: block;
}
.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}     
.nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
    color: #fff;
    cursor: default;
    background-color: #e30713;
    border: 1px solid #e30713;
    border-bottom-color: transparent;
}
.nav>li {
    position: relative;
    display: block;
}
.nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}
.nav:after, .nav:before, .navbar-collapse:after, .navbar-collapse:before, .navbar-header:after, .navbar-header:before, .navbar:after, .navbar:before, .pager:after, .pager:before, .panel-body:after, .panel-body:before, .row:after, .row:before {
    display: table;
    content: " ";
}
.nav:after, .navbar-collapse:after, .navbar-header:after, .navbar:after, .pager:after, .panel-body:after, .row:after {
    clear: both;
}   
.tab-pane {
    margin-top: 30px;
    margin-bottom: 60px;
}         
.tab-pane:not(.active) {
    display: none;
}         
.btn-fiche {
    padding: 20px 40px;
    background: #e30713;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 2px;
}
.btn-fiche.xs {
    padding: 10px 20px;
    font-size: 12px;
}
.tab-pane .btn-fiche svg {
    fill: #fff;
}
    
    /*  POUR ITEM PRODUIT LISTING */
    
.show-brand {
    text-transform: uppercase;
    padding: 5px 10px;
    margin: 0 5px 0 0;
    background: grey;
    color: #fff;
    font-weight: 600;
    font-size: 10px;
    border-radius: 4px;
}
.show-brand span {
    
}
    
    
/*  POUR ITEM PRODUIT LISTING */
.item-produit {
    height: 100%;
}
.item-produit h3 a,
.item-produit h3 {
    text-transform:uppercase;
}
/*personnailisation bloc*/

.type-produit h1 {
    font-size: 3rem;
    padding-bottom: 1rem;
}
.type-produit h2 {
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    margin-top: 15px;
}
.type-produit h3 {
    font-size: 1.15rem;
    padding-bottom: 0.3rem;
    font-weight: 500;
    margin-top: 10px;
}

.bloc-produit--image {
    position: sticky;
    top: 0;
}
.texte-principal {
    margin-bottom: 40px;
}

    
/*  POUR ITEM PRODUIT VARIANTE PAR MARQUE EN TABLEAU */
.variante-marque {
    border: 1px solid #7A7A7A;
    margin-bottom: 5px;
}
.variante-marque-item {
    display: flex;
}
.variante-marque-item h3 {
    font-size: 1.5rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
        font-weight: 700;
}
.variante-marque-item h4 {
    padding-top: 15px;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-size: 1rem;
}
.variante-marque-item > div {
    padding: 5px 15px;
    display: flex;
    flex-direction: column;
}
.variante-marque-item > div img {
    max-width: 250px;
}
    .variante-marque-item p {
    line-height: 24px;
}
.variante-marque-item > div:first-child {
    font-weight: 700;
    width: 25%;
    align-items: center;
}
.variante-marque-item > div:nth-child(2) {
    width: 50%;
    border-right: 1px solid #7A7A7A;
    border-left: 1px solid #7A7A7A;
    justify-content: flex-start;
}
.variante-marque-item > div:last-child {
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*rajout pour tableau listing occasions*/
.products-table { display: block; width: 100%; border: 1px solid #7A7A7A;}
.products-table .row { display: flex; flex-wrap: wrap; padding: .5em 0; border-bottom: 1px solid #ddd; }
.products-table .row.header { font-weight: bold; }
.products-table .cell {
	flex: 1 1 14%;   /* 7 colonnes → ~14% chacune */
	padding: 0 .5em;
	box-sizing: border-box;
}
.products-table .cell.big {
	flex: 1 1 30%;   /* 7 colonnes → ~14% chacune */
}
.products-table .cell.normal {
	flex: 1 1 10%;   /* 7 colonnes → ~14% chacune */
}
.products-table .cell.small {
	flex: 1 1 5%;   /* 7 colonnes → ~14% chacune */
}
.btn-fiche.xs {
	display: flex;
}
.btn-fiche.xs .elementor-button-icon {
	margin-right: 10px;
}
/* Ajoutez vos media-queries pour empiler les .cell sur mobile */
@media (max-width: 600px) {
	.products-table .cell { flex: 1 1 100%; margin-bottom: .5em; }
	.products-table .row.header { display: none; }
}
/* ===== Pop-up "Nous contacter" (tableau occasions) ===== */
body.dnlt-modal-open { overflow: hidden; }

.dnlt-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 12px; }
.dnlt-modal[hidden] { display: none !important; }
.dnlt-modal__overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,.65); }

.dnlt-modal .dnlt-modal__box { position: relative; box-sizing: border-box; width: 100%; max-width: 680px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; padding: 20px 24px; background: #fff; color: #111; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.4); text-align: left; }
.dnlt-modal .dnlt-modal__box h3 { margin: 0 0 12px; padding: 0 40px 0 0; font-size: 17px; line-height: 1.25; text-transform: uppercase; }

/* Croix de fermeture */
.dnlt-modal .dnlt-modal__close { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0; padding: 0; background: transparent; color: #111; border: 0; border-radius: 50%; font-size: 22px; line-height: 1; letter-spacing: 0; text-transform: none; cursor: pointer; }
.dnlt-modal .dnlt-modal__close:hover { background: #f0f0f0; color: #e30713; }

/* Formulaire en grille : 2 colonnes */
.dnlt-modal .dnlt-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 12px; margin: 0; }
.dnlt-modal .dnlt-recap,
.dnlt-modal .dnlt-field--full,
.dnlt-modal .dnlt-msg,
.dnlt-modal .dnlt-submit { grid-column: 1 / -1; }

/* Récapitulatif produit */
.dnlt-modal .dnlt-recap { display: grid; grid-template-columns: 110px 1fr; gap: 3px 10px; margin: 0 0 4px; padding: 10px 12px; background: #f4f4f4; border-left: 4px solid #e30713; font-size: 13px; line-height: 1.35; }
.dnlt-modal .dnlt-recap dt { margin: 0; padding: 0; font-weight: 700; }
.dnlt-modal .dnlt-recap dd { margin: 0; padding: 0; }
.dnlt-modal .dnlt-recap dd[data-f="description"] { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Champs */
.dnlt-modal .dnlt-field { margin: 0; }
.dnlt-modal .dnlt-field label { display: block; margin: 0 0 3px; font-size: 12px; font-weight: 600; line-height: 1.2; }
.dnlt-modal .dnlt-field input,
.dnlt-modal .dnlt-field textarea { display: block; box-sizing: border-box; width: 100%; height: auto; min-height: 0; margin: 0; padding: 6px 10px; font: inherit; font-size: 14px; line-height: 1.3; background: #fff; border: 1px solid #ccc; border-radius: 4px; }
.dnlt-modal .dnlt-field textarea { height: 64px; resize: vertical; }
.dnlt-modal .dnlt-field input:focus,
.dnlt-modal .dnlt-field textarea:focus { border-color: #e30713; outline: 0; }
.dnlt-modal .dnlt-field .dnlt-invalid { border-color: #c00; background: #fff6f6; }

.dnlt-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Message de retour + bouton Envoyer */
.dnlt-modal .dnlt-msg { margin: 0; font-size: 13px; font-weight: 600; }
.dnlt-modal .dnlt-msg:empty { display: none; }
.dnlt-msg--ok { color: #1a7f37; }
.dnlt-msg--error { color: #c00; }

.dnlt-modal .dnlt-submit { justify-self: start; margin: 0; padding: 10px 24px; background: #e30713; color: #fff; border: 0; border-radius: 4px; font-size: 13px; font-weight: 700; line-height: 1; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; }
.dnlt-modal .dnlt-submit:disabled { opacity: .6; cursor: default; }

/* Bouton "Nous contacter" dans le tableau */
.products-table .btn-contact { border: 0; cursor: pointer; font-family: inherit; padding: 10px 14px; letter-spacing: 1px; }

/* ===== Mobile ===== */
@media (max-width: 600px) {
	.dnlt-modal { padding: 8px; }
	.dnlt-modal .dnlt-modal__box { padding: 16px 14px; }
	.dnlt-modal .dnlt-modal__box h3 { padding-right: 44px; font-size: 15px; }
	.dnlt-modal .dnlt-modal__close { top: 8px; right: 8px; width: 36px; height: 36px; }
	.dnlt-modal .dnlt-form { grid-template-columns: 1fr; gap: 8px; }
	.dnlt-modal .dnlt-recap { grid-template-columns: 90px 1fr; font-size: 12px; }
	.dnlt-modal .dnlt-field input,
	.dnlt-modal .dnlt-field textarea { font-size: 16px; } /* évite le zoom automatique sur iPhone */
	.dnlt-modal .dnlt-submit { justify-self: stretch; width: 100%; padding: 12px 24px; }
}