/*.newsletter_area {
    margin-top: -100px !important;
}*/
.header_middle {
    padding: 15px 0 !important;
}
.mini_cart_wrapper > a i.fa-shopping-bag {
    border: 2px solid #1A5B95 !important;
}
.header_wishlist a {
    border: 2px solid #1A5B95 !important;
}
.s_title_style3 h2 {
    text-transform: uppercase;
    font-size: 25px !important;
    font-weight: 600 !important;
}
.section_title h2 {
    color: #ffffff;
    text-transform: uppercase !important;
    padding-bottom: 0px !important;
    border-bottom: 0px solid #E50513 !important;
}
.footer_top {
    padding: 50px 0 20px !important;
}
.footer_bottom {
    padding: 15px 0 !important;
}
.categories_product_content h4 {
    color: #1A5B95 !important;
}
.widgets_container h3 {
    color: #1A5B95;
    font-size: 14px !important;
    margin-bottom: 20px !important;
}
.label_product span.label_new {
    background: #E50513 !important;
    font-size: 11px !important;
}
.product_carousel .owl-nav div {
    border: 1px solid #1A5B95;
    width: 50px;
    height: 50px;
    line-height: 48px;
}
.newsletter_inner {
    border-radius: 10px;
    padding: 45px 35px;
    background: linear-gradient(135deg, #1A5B95 0%, #E50513 100%);
}
.newsletter_sing_up {
    color: #FFFFFF;
}

img.lazy-load {
 opacity: 0;
 transition: opacity 0.3s ease-in-out;
}

img.lazy-loading {
 background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
 background-size: 200% 100%;
 animation: loading 1.5s ease-in-out infinite;
}

img.lazy-loaded {
 opacity: 1;
}

@keyframes loading {
 0% { background-position: 200% 0; }
 100% { background-position: -200% 0; }
}
/* Options et Services - Compact & Responsive */
.product_d_service {
    background-color: #fff;
    border-radius: 8px;
    /*padding: 15px;*/
    padding: 10px 15px;
}

.product_d_service h3 {
    font-size: 18px !important;
    color: #0071dc;
    font-weight: 600;
    margin-bottom: 15px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.service_options {
    max-height: none;
}

.service_item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 8px !important;
}

.service_item:last-child {
    border-bottom: none;
    margin-bottom: 0 !important;
}

.service_item .form-check {
    padding-left: 0;
    margin-bottom: 0;
}

.service_item .form-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.service_item .form-check-input:checked {
    background-color: #0071dc;
    border-color: #0071dc;
}

.service_item .form-check-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.service_item .form-check-label {
    cursor: pointer;
    user-select: none;
    width: 100%;
    margin-left: 0;
}

.option-content {
    width: 100%;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.option-name {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    flex: 1;
    min-width: 200px;
}

.option-price {
    font-size: 13px;
    font-weight: 700;
    color: #E50513;
    white-space: nowrap;
}

.option-description {
    font-size: 12px;
    color: #666;
    /*margin-top: 5px;*/
    line-height: 1.4;
}

.badge-sm {
    font-size: 10px;
    padding: 2px 6px;
    font-weight: 500;
}

/* Total des options */
.options-total {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /*border: 1px solid #dee2e6;*/
    border-radius: 6px;
    padding: 6px 10px;
    margin-top: 4px !important;
}

.options-total .total-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.options-total .total-price {
    font-size: 15px;
    font-weight: 700;
    color: #0071dc;
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .product_d_service {
        padding: 12px;
    }
    
    .product_d_service h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .service_item {
        padding: 8px 0;
    }
    
    .service_item .form-check-input {
        width: 16px;
        height: 16px;
    }
    
    .option-name {
        font-size: 12px;
        min-width: 150px;
    }
    
    .option-price {
        font-size: 14px;
    }
    
    .option-description {
        font-size: 11px;
        margin-top: 2px;
    }
    
    .options-total {
        padding: 10px 12px;
    }
    
    .options-total .total-label {
        font-size: 13px;
    }
    
    .options-total .total-price {
        font-size: 14px;
    }
    
    .badge-sm {
        font-size: 9px;
        padding: 2px 5px;
    }
}

/* Responsive - Tablette */
@media (min-width: 577px) and (max-width: 991px) {
    .option-name {
        min-width: 180px;
    }
}

/* Hover effect */
.service_item:hover {
    background-color: #f8f9fa;
    border-radius: 4px;
    padding-left: 5px;
    padding-right: 5px;
    transition: all 0.2s ease;
}

/* Animation pour le checkbox */
.service_item .form-check-input {
    transition: all 0.2s ease;
}

.service_item .form-check-input:hover:not(:disabled) {
    border-color: #0071dc;
    transform: scale(1.1);
}
.label_product span.label_sale{
    background: #E50513 !important;
}
.product_header {
    padding: 5px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #E50513 0%, #1A5B95 100%);
    margin-bottom: 28px;
}
.s_title_style3::before {
    background: #E50513 !important;
    width: 1px !important;
}
/* ========== RÉORGANISATION MOBILE - PRODUIT EN PREMIER ========== */
/* ÉCRASE les règles de style.css qui forcent column-reverse */

/* Pour tablettes (768px - 991px) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .product_sidebar .row {
        flex-direction: column !important;  /* ÉCRASE column-reverse du style.css */
    }
}

/* Pour mobiles (≤ 767px) */
@media only screen and (max-width: 767px) {
    .product_sidebar .row {
        flex-direction: column !important;  /* ÉCRASE column-reverse du style.css */
    }
}

/* Garder le comportement normal des sous-rows (images, infos produit) */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .product_sidebar .product_section .row,
    .product_right_sidebar .row {
        flex-direction: row !important;
    }
}

@media only screen and (max-width: 767px) {
    .product_sidebar .product_section .row,
    .product_right_sidebar .row {
        flex-direction: row !important;
    }
}

/* Espacement sidebar sur mobile */
@media only screen and (max-width: 991px) {
    .product_sidebar > .row > .col-lg-3 {
        margin-top: 30px !important;
    }
}

@media only screen and (max-width: 767px) {
    .product_sidebar > .row > .col-lg-3 {
        margin-top: 20px !important;
    }
}