@media (min-width: 1366px) and (max-width: 1650px) {
    .cms-header-phone-text {
        display: none!important;
    }
}

@media (min-width: 1280px) and (max-width: 1400px) {
    #cms-primary-menu>li>a, .cms-btn-text {
        font-size: 14px!important;
    }
    .header-separator {
    	padding: 0!important;
    }
    .cms-header-btn .btn-md {
	    padding: 22px 10px!important;
	}
}

.single-post #cms-main, .woocommerce-cart.woocommerce-page #cms-main {
    padding-top: 70px!important;
    padding-bottom: 110px!important;
}

.wpcf7 input[type="file"] {
    background-color: transparent!important;
    border: none!important;
    box-shadow: none!important;
    border-radius: 0px!important;
    padding: 0px 10px!important;
    margin: 10px 0 !important;
    line-height: 25px !important;
    height: 35px !important;
}

.cms-post-layout-1 .cms-swiper-sliders .post-image.cms-post-image .cms-img {
    max-height: 267px;
}

.cms-post-layout-1 .cms-grid .post-image.cms-post-image .cms-img {
    max-height: 200px;
}

#cms-content-area > div > div.cms-media.relative > div.cms-featured.cms-post-standard > div > div > img {
    width:100%;
    max-height: 565px;
}

.single-post .cms-media .cms-post-meta .cms-post-meta-inner>span {
    padding-left: 20px;
}

.cms-pagetitle-breadcrumb {
    margin: 0;
}

@media (max-width: 768px) {
    .text-30 {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .text-30 {
        font-size: 30px;
    }
}

.cms-gradient-1:before, .cms-page-title-overlay:before {
opacity: 0.25 !important;
}



/* ===== OVERLAY ===== */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.drawer-overlay.active { display: block; opacity: 1; }

/* ===== TOGGLE BUTTON ===== */
.drawer-toggle {
    position: fixed;
    right: 0;
    top: 225px;
    transform: translateY(-50%);
    width: 100px;
    height: 80px;
    /*background-color: rgba(255,255,255,0.30);*/
    background-color: rgba(0,0,0,0.30);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 2px 8px rgba(0,0,0,0.15);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.drawer-toggle:hover {
    background-color: rgba(0,0,0,0.4);
    /*transform: translateY(-50%) scale(1.05);*/
}
.drawer-toggle.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(100%);
}

/* ===== DRAWER PANEL ===== */
.drawer-panel {
    position: fixed;
    right: 0;
    top: 350px;
    transform: translateY(-50%) translateX(100%);
    width: 320px;
    height: 420px;
    background-color: rgba(255,255,255,0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    padding: 40px 25px 30px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    border-radius: 8px 0 0 8px;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}
.drawer-panel.open {
    transform: translateY(-50%) translateX(0);
    visibility: visible;
}

/* ===== CONTENU ===== */
.drawer-content {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}
.drawer-panel.open .drawer-content {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CLOSE BUTTON ===== */
.drawer-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white;
    opacity: 0;
    transform: rotate(-90deg);
    transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s, color 0.2s ease;
}
.drawer-panel.open .drawer-close {
    opacity: 1;
    transform: rotate(0deg);
}
.drawer-close:hover { background: #4b8832; border-color: #4b8832; }

/* ===== CONTENU INTÉRIEUR ===== */
.drawer-icon-wrap {
    text-align: center;
    margin-bottom: 15px;
}
.drawer-icon-wrap svg {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}
.drawer-icon-wrap svg:hover { transform: scale(1.05); }

.drawer-line {
    width: 0;
    /*height: 3px;*/
    height: 0px;
    background: #1a5ba8;
    margin: 0 auto 15px;
    transition: width 0.4s ease 0.3s;
}
.drawer-panel.open .drawer-line { width: 40px; }

.drawer-title {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    color: #FFFFFF;
    margin-bottom: 8px;
}
.drawer-subtitle {
    text-align: justify;
    font-size: 13px;
    color: #FFFFFF;
    margin: 20px 0;
    line-height: 1.5;
}

/* ===== CTA BUTTON ===== */
.drawer-cta {
    display: block;
    text-align: center;
    background: white;
    /*border: 2px solid white;*/
    padding: 12px 20px;
    color: #1a1a1a;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.drawer-cta:hover {
    background: #4b8832;
    border-color: #4b8832;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65,134,199,0.4);
}
