/* =====================================
   FIX BOUTONS HEADER - Mobile & Desktop
   ==================================== */

/* Desktop - Améliorer le positionnement et l'esthétique */
@media (min-width: 992px) {
    .header .header-inner {
        padding: 15px 0;
    }
    
    .header .header-inner .row {
        align-items: center;
        display: flex;
        flex-wrap: nowrap;
    }
    
    /* Conteneur menu + boutons */
    .header .col-lg-9 > div {
        display: flex;
        align-items: center;
        width: 100%;
    }
    
    .header .get-quote {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 12px;
        margin-top: 0 !important;
        padding: 0 !important;
        margin-left: 20px !important;
        margin-right: 0;
        margin-left: auto !important; /* Pousse vers la droite */
        height: auto;
        flex-shrink: 0;
    }
    
    /* Ajouter de l'espace si le container a padding */
    .header .header-inner .container {
        padding-right: 15px;
    }
    
    .header .get-quote .btn {
        flex-shrink: 0;
        margin: 0 !important;
        padding: 10px 20px !important;
        font-size: 14px;
        font-weight: 500;
        height: 42px;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        vertical-align: middle;
        line-height: 1;
        border-radius: 0 !important;
    }
    
    .header .get-quote .btn-cart {
        padding: 10px 15px !important;
        min-width: 50px;
    }
    
    .header .get-quote .btn-outline-primary {
        margin-right: 0 !important;
        border: 2px solid var(--primary-color, #00a8ff);
        color: var(--primary-color, #00a8ff);
        background: transparent;
    }
    
    .header .get-quote .btn-outline-primary:hover {
        background: var(--primary-color, #00a8ff);
        color: white;
        border-color: var(--primary-color, #00a8ff);
    }
    
    .header .get-quote .btn-contact {
        padding: 10px 25px !important;
        white-space: nowrap;
        background: linear-gradient(135deg, #00a8ff, #4ecdc4);
        border: none;
        color: white;
    }
    
    .header .get-quote .btn-contact:hover {
        background: linear-gradient(135deg, #4ecdc4, #00a8ff);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,168,255,0.3);
    }
}

/* Tablette */
@media (min-width: 768px) and (max-width: 991px) {
    .header .get-quote {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        margin-top: 10px;
        gap: 8px;
    }
    
    .header .get-quote .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

/* Mobile - Rendre les boutons visibles et esthétiques dans le menu */
@media (max-width: 767px) {
    /* Cacher les boutons du header principal sur mobile */
    .header .header-inner .get-quote,
    .header .get-quote {
        display: none !important;
    }
    
    /* Logo et menu mobile sur la même ligne */
    .header .header-inner .row > div:first-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    /* Menu mobile - Styliser les boutons dans le menu hamburger */
    .slicknav_nav {
        background: #fff;
    }
    
    .slicknav_nav .mobile-cart-contact {
        display: flex !important;
        gap: 10px;
        padding: 20px 15px;
        margin-top: 15px;
        border-top: 2px solid #f0f0f0;
        background: #f8f9fa;
    }
    
    .slicknav_nav .mobile-cart-contact .btn {
        flex: 1;
        padding: 12px 15px !important;
        border-radius: 0 !important;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }
    
    .slicknav_nav .mobile-cart-contact .btn-contact {
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        color: white;
        border: none;
        order: 1; /* Contact en premier */
    }
    
    .slicknav_nav .mobile-cart-contact .btn-cart {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        background: white;
        order: 2; /* Panier en second */
    }
    
    /* Header row responsive */
    .header .header-inner {
        padding: 10px 0;
    }
    
    .header .header-inner .row {
        align-items: center;
        flex-wrap: wrap;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .header .get-quote {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header .get-quote .btn {
        font-size: 11px;
        padding: 6px 10px !important;
    }
    
    .header .get-quote .btn i {
        font-size: 14px;
    }
}

/* Forcer la visibilité sur tous les écrans */
.header .get-quote {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

/* Border-radius 0 pour tous les boutons */
.header .get-quote .btn,
.header .get-quote button,
.header .get-quote a.btn {
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

