/*!
Theme Name: Divi Child
Template: Divi
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 3.26.2
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
* Topbar
*/
header .heading-top {
    background-color: white;
    border-bottom: solid 1px rgba(0,0,0,0.2);
}
header .heading-top .container {
    display: grid;
    grid-template-columns: 1fr auto auto;
}
header .heading-top p {
    color: rgba(0,0,0,.6);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    padding: 0;
}
header .heading-top .heading-top-block {
    padding: 8px 20px;
    border-right: solid 1px rgba(0,0,0,0.2);
}
header .heading-top .heading-top-block:first-child {
    padding: 8px 20px 8px 0;
}
header .heading-top .heading-top-block:last-child {
    padding: 8px 0 8px 20px;
    border: 0;
}
header .heading-top .heading-top-reviews span {
    color: rgba(0,0,0,.6);
    font-weight: 600;
    font-size: 14px;
    margin: 0;
    padding: 0;
}
header .heading-top .heading-top-reviews .review-content {
    margin-right: 5px;
}
header .heading-top .heading-top-reviews .review-grade {
    margin-left: 5px;
}
header .heading-top .heading-top-reviews svg {
    display: inline-block;
    width: 12px;
    height: auto;
    vertical-align: middle;
    margin-right: 3px;
    transform: translateY(-2px);
}
header .heading-top .heading-top-phone {
    padding: 0 20px;
}
@media screen and (max-width: 980px) {
    header .heading-top .container {
        grid-template-columns: 1fr 1fr;
    }
    header .heading-top .heading-top-reviews {
        border: 0;
    }
    header .heading-top .heading-top-phone {
        display: none;
    }
}
@media screen and (max-width: 769px) {
    header .heading-top .container {
        grid-template-columns: 1fr;
    }
    header .heading-top .heading-top-content {
        display: none;
    }
    header .heading-top .heading-top-reviews {
        text-align: center;
        padding: 8px 0;
    }
}

/**
* Menu navigation
*/
header nav#top-menu-nav ul#top-menu li.contact-btn a {
    color: white !important;
}

/**
 * Header
 */
header#main-header .logo_container a{
	display: inline-block;
	height: 100%
}
header#main-header .logo_container img{
	max-height: min(97px, 100%);
}

/**
 * Phone dropdown menu
 */
header .heading-top .heading-top-phone {
    display: flex;
    align-items: center;
    padding: 0 0 0 20px;
    border: 0;
}

.phone-dropdown-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.phone-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    color: rgba(0,0,0,.7);
    font-weight: 600;
    font-size: 14px;
    font-family: inherit;
    line-height: 1;
    white-space: nowrap;
}

.phone-dropdown-toggle:hover {
    color: #000;
}

.phone-dropdown-toggle .phone-icon svg {
    display: block;
    width: 16px;
    height: 16px;
    color: rgba(0,0,0,.7);
}

.phone-dropdown-toggle .phone-dropdown-arrow {
    font-size: 9px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.phone-dropdown-toggle[aria-expanded="true"] .phone-dropdown-arrow {
    transform: rotate(180deg);
}

.phone-dropdown-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 240px;
    z-index: 9999;
}

.phone-dropdown-menu.open {
    display: block !important;
}

.phone-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.phone-dropdown-menu li a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    text-decoration: none;
    color: rgba(0,0,0,.8);
    transition: background 0.15s ease;
    gap: 20px;
}

.phone-dropdown-menu li a:hover {
    background: rgba(0,0,0,0.04);
    color: #000;
}

.phone-dropdown-menu .showroom-city {
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.phone-dropdown-menu .showroom-phone {
    font-size: 13px;
    color: rgba(0,0,0,.55);
    flex-shrink: 0;
}

/* Desktop : afficher le numéro */
.phone-label-desktop {
    display: inline;
}

/* Tablet */
@media screen and (max-width: 980px) {
    header .heading-top .container {
        grid-template-columns: 1fr auto;
    }
    header .heading-top .heading-top-reviews {
        border: 0;
    }
    header .heading-top .heading-top-content {
        display: none;
    }
    .phone-label-desktop {
        display: none;
    }
    .phone-dropdown-menu {
        right: 0;
        left: auto;
    }
}

/* Mobile */
@media screen and (max-width: 769px) {
    header .heading-top .container {
        grid-template-columns: 1fr auto;
    }
    header .heading-top .heading-top-content {
        display: none;
    }
    header .heading-top .heading-top-reviews {
        text-align: left;
        padding: 8px 0;
        border: 0;
    }
    header .heading-top .heading-top-phone {
        display: flex;
        padding: 0 0 0 12px;
    }
    .phone-label-desktop {
        display: none;
    }
    .phone-dropdown-toggle {
        padding: 6px 0;
    }
    .phone-dropdown-toggle .phone-icon svg {
        width: 18px;
        height: 18px;
    }
    .phone-dropdown-menu {
        min-width: 200px;
        right: 0;
        left: auto;
    }
}
