/* Force responsive behavior */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

.body_wrap, .page_wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    min-width: auto !important;
}

/* Revolution Slider Responsive */
.rev_slider_wrapper {
    max-width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.rev_slider {
    max-width: 100% !important;
}

/* Base responsive styles for all screen sizes */
.tp-caption {
    max-width: 95% !important;
    word-wrap: break-word !important;
}

/* Extra Small Mobile devices (320px to 480px) */
@media screen and (max-width: 480px) {
    .rev_slider_wrapper {
        height: 250px !important;
        max-height: 250px !important;
    }
    
    .rev_slider {
        height: 250px !important;
        max-height: 250px !important;
    }
    
    /* Text adjustments for extra small screens */
    .tp-caption[data-fontsize*="48"] {
        font-size: 14px !important;
        line-height: 18px !important;
        text-align: center !important;
        padding: 5px !important;
    }
    
    .tp-caption[data-fontsize*="16"] {
        font-size: 9px !important;
        line-height: 12px !important;
        text-align: center !important;
    }
    
    .tp-caption[data-fontsize*="22"] {
        font-size: 10px !important;
        line-height: 14px !important;
    }
    
    /* Hide or minimize decorative elements */
    .tp-caption[id*="layer-7"],
    .tp-caption[id*="layer-8"],
    .tp-caption[id*="layer-9"],
    .tp-caption[id*="layer-10"],
    .tp-caption[id*="layer-11"],
    .tp-caption[id*="layer-6"] {
        display: none !important;
    }
    
    /* Main slideshow image for very small screens */
    #slideshow-container,
    #slideshowImage {
        max-width: 150px !important;
        width: 150px !important;
        height: auto !important;
        position: static !important;
        margin: 10px auto !important;
        transform: none !important;
        left: auto !important;
    }
    
    #slideshow-img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* Button adjustments */
    .sc_button {
        width: 90% !important;
        margin: 5px auto !important;
        padding: 8px 12px !important;
        font-size: 10px !important;
        display: block !important;
        text-align: center !important;
    }
    
    /* Content padding for small screens */
    .content, .vc_column-inner, .wpb_wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Titles for small screens */
    h2.sc_title, h2.sc_item_title, h2.sc_section_title {
        font-size: 16px !important;
        line-height: 20px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    h6.sc_title {
        font-size: 11px !important;
        line-height: 14px !important;
        text-align: center !important;
    }
}

/* Small Mobile devices (481px to 767px) */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .rev_slider_wrapper {
        height: 350px !important;
        max-height: 350px !important;
    }
    
    .rev_slider {
        height: 350px !important;
        max-height: 350px !important;
    }
    
    /* Text elements responsive */
    .tp-caption[data-fontsize*="48"] {
        font-size: 18px !important;
        line-height: 22px !important;
        text-align: center !important;
        max-width: 90% !important;
        word-wrap: break-word !important;
    }
    
    .tp-caption[data-fontsize*="16"] {
        font-size: 12px !important;
        line-height: 16px !important;
        text-align: center !important;
    }
    
    .tp-caption[data-fontsize*="22"] {
        font-size: 14px !important;
        line-height: 18px !important;
    }
    
    /* Minimize decorative elements */
    .tp-caption[id*="layer-7"],
    .tp-caption[id*="layer-8"],
    .tp-caption[id*="layer-9"],
    .tp-caption[id*="layer-10"],
    .tp-caption[id*="layer-11"],
    .tp-caption[id*="layer-6"] {
        transform: scale(0.3) !important;
        opacity: 0.5 !important;
    }
    
    /* Main slideshow image */
    #slideshow-container,
    #slideshowImage {
        max-width: 200px !important;
        width: 200px !important;
        height: auto !important;
        margin: 0 auto !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    #slideshow-img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Mobile devices (up to 768px) - General mobile styles */
@media screen and (max-width: 768px) {
    /* Force mobile layout */
    .body_wrap {
        min-width: auto !important;
        width: 100% !important;
    }
    
    /* Small decorative images */
    .tp-caption img[data-ww*="173px"],
    .tp-caption img[data-ww*="174px"],
    .tp-caption img[data-ww*="172px"] {
        max-width: 60px !important;
        height: auto !important;
    }
    
    /* Medium decorative images */
    .tp-caption img[data-ww*="49px"] {
        max-width: 20px !important;
        height: auto !important;
    }
    
    /* Button image */
    .tp-caption img[data-ww*="180px"] {
        max-width: 100px !important;
        height: auto !important;
    }
    
    /* Two column layout to single column */
    .columns_wrap.sc_columns_count_2 {
        display: block !important;
        width: 100% !important;
    }
    
    .columns_wrap.sc_columns_count_2 .column-1_2 {
        width: 100% !important;
        float: none !important;
        display: block !important;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    /* Call to action responsive */
    .sc_call_to_action_style_2 .columns_wrap {
        display: block !important;
    }
    
    .sc_call_to_action_info.column-3_4,
    .sc_call_to_action_buttons.column-1_4 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 15px;
        text-align: center;
        padding: 0 10px;
    }
    
    /* Services section responsive */
    .sc_services .sc_columns {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .sc_services .sc_columns .column-1_4 {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    /* Products grid responsive */
    .products {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 10px;
    }
    
    .products li {
        width: 100% !important;
        flex: none !important;
        margin-bottom: 10px !important;
    }
    
    /* Tabs responsive */
    .sc_tabs_titles {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 5px !important;
        justify-content: center !important;
        padding: 5px;
    }
    
    .sc_tabs_titles li {
        margin: 2px !important;
    }
    
    /* Carousel responsive */
    .owl-carousel {
        margin: 0 !important;
        padding: 0 10px;
    }
    
    .owl-carousel .owl-item {
        padding: 0 5px !important;
    }
    
    .owl-carousel .owl-item img {
        max-height: 80px !important;
        width: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Spacing adjustments */
    .vc_empty_space {
        height: 10px !important;
    }
    
    /* All slider images responsive */
    .rev_slider img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Background image adjustments */
    .tp-caption img[src*="bg.png"] {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
    
    /* Navigation and header adjustments */
    #header {
        padding: 5px 10px !important;
    }
    
    /* Footer adjustments */
    #footer {
        padding: 10px !important;
    }
}

/* Tablet Portrait (768px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .rev_slider_wrapper {
        height: 500px !important;
    }
    
    .columns_wrap.sc_columns_count_2 .column-1_2 {
        width: 48% !important;
        float: left !important;
        margin-right: 4% !important;
    }
    
    .columns_wrap.sc_columns_count_2 .column-1_2:last-child {
        margin-right: 0 !important;
    }
    
    .sc_services .sc_columns .column-1_4 {
        width: 48% !important;
        float: left !important;
        margin-right: 4% !important;
        margin-bottom: 20px;
    }
    
    .products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        justify-content: space-between !important;
    }
    
    .products li {
        width: 30% !important;
        flex: 0 1 30% !important;
    }
    
    /* Tablet text adjustments */
    .tp-caption[data-fontsize*="48"] {
        font-size: 36px !important;
        line-height: 42px !important;
    }
    
    .tp-caption[data-fontsize*="16"] {
        font-size: 14px !important;
        line-height: 18px !important;
    }
}

/* Large Tablet and Small Desktop (1025px to 1199px) */
@media screen and (min-width: 1025px) and (max-width: 1199px) {
    .products {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: space-between !important;
    }
    
    .products li {
        width: 23% !important;
        flex: 0 1 23% !important;
    }
}

/* Shop Page Specific Responsive Styles */
@media screen and (max-width: 768px) {
    /* Shop page layout */
    .archive.woocommerce .page_content_wrap {
        padding: 10px !important;
    }
    
    .content_wrap {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 10px !important;
    }
    
    /* Content area */
    .content {
        width: 100% !important;
        order: 2 !important;
        padding: 0 !important;
        margin-bottom: 20px;
    }
    
    /* Sidebar */
    .sidebar {
        width: 100% !important;
        order: 1 !important;
        margin-bottom: 20px !important;
        padding: 15px !important;
        background: #f9f9f9 !important;
        border-radius: 8px;
    }
    
    .sidebar_inner {
        padding: 0 !important;
    }
    
    /* Page title section */
    .top_panel_title {
        padding: 20px 10px !important;
        text-align: center;
    }
    
    .page_title {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
    
    /* Breadcrumbs */
    .breadcrumbs {
        font-size: 12px !important;
        text-align: center;
    }
    
    .woocommerce-breadcrumb {
        font-size: 12px !important;
        margin-bottom: 15px !important;
        text-align: center;
    }
    
    /* Ordering form */
    .woocommerce-ordering {
        margin-bottom: 20px !important;
        text-align: center;
    }
    
    .woocommerce-ordering select {
        width: 100% !important;
        max-width: 300px !important;
        padding: 10px !important;
        font-size: 14px !important;
        border: 1px solid #ddd !important;
        border-radius: 5px !important;
    }
    
    /* Products grid */
    .list_products .products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .products .product {
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        border: 1px solid #eee !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    }
    
    /* Product images */
    .products .product img {
        width: 100% !important;
        max-width: 200px !important;
        height: auto !important;
        margin: 0 auto 10px !important;
        display: block !important;
    }
    
    /* Product titles */
    .products .product h3,
    .products .product .woocommerce-loop-product__title {
        font-size: 16px !important;
        line-height: 20px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }
    
    /* Product prices */
    .products .product .price {
        font-size: 18px !important;
        font-weight: bold !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    
    /* Add to cart buttons */
    .products .product .add_to_cart_button,
    .products .product .button {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
        margin-top: 10px !important;
        text-align: center !important;
        border-radius: 5px !important;
    }
    
    /* Sidebar widgets */
    .sidebar .widget {
        margin-bottom: 20px !important;
        padding: 15px !important;
        background: #fff !important;
        border-radius: 5px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
    
    .sidebar .widget_title {
        font-size: 16px !important;
        margin-bottom: 10px !important;
        text-align: center;
    }
    
    /* Search form */
    .widget_product_search .search_form {
        display: flex !important;
        gap: 5px !important;
    }
    
    .widget_product_search .search_field {
        flex: 1 !important;
        padding: 8px !important;
        border: 1px solid #ddd !important;
        border-radius: 3px !important;
    }
    
    .widget_product_search .search_button {
       
        background: #007cba !important;
        color: #fff !important;
        border: none !important;
        border-radius: 3px !important;
        cursor: pointer !important;
    }
    
    /* Categories list */
    .product-categories {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .product-categories li {
        margin-bottom: 5px !important;
    }
    
    .product-categories a {
        display: block !important;
        padding: 8px 12px !important;
        background: #f5f5f5 !important;
        color: #333 !important;
        text-decoration: none !important;
        border-radius: 3px !important;
        font-size: 14px !important;
    }
    
    .product-categories a:hover {
        background: #007cba !important;
        color: #fff !important;
    }
    
    /* Pagination */
    #pagination {
        text-align: center !important;
        margin-top: 20px !important;
        padding: 15px !important;
    }
    
    #pagination .page-numbers {
        display: inline-block !important;
        padding: 8px 12px !important;
        margin: 2px !important;
        background: #f5f5f5 !important;
        color: #333 !important;
        text-decoration: none !important;
        border-radius: 3px !important;
        font-size: 14px !important;
    }
    
    #pagination .page-numbers.current,
    #pagination .page-numbers:hover {
        background: #007cba !important;
        color: #fff !important;
    }
}

/* Small mobile devices (up to 480px) */
@media screen and (max-width: 480px) {
    /* Even smaller adjustments */
    .archive.woocommerce .page_content_wrap {
        padding: 5px !important;
    }
    
    .content_wrap {
        padding: 0 5px !important;
    }
    
    .page_title {
        font-size: 20px !important;
    }
    
    .products .product {
        padding: 10px !important;
    }
    
    .products .product img {
        max-width: 150px !important;
    }
    
    .products .product h3 {
        font-size: 14px !important;
        line-height: 18px !important;
    }
    
    .products .product .price {
        font-size: 16px !important;
    }
    
    .sidebar .widget {
        padding: 10px !important;
    }
}

/* Tablet devices (768px to 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .content {
        width: 70% !important;
        padding-right: 20px !important;
    }
    
    .sidebar {
        width: 30% !important;
    }
    
    .products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .products .product {
        padding: 15px !important;
    }
}

/* Large screens adjustments */
@media screen and (min-width: 1025px) {
    .products {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 25px !important;
    }
}

/* ============================================
   STANDARDISATION GLOBALE DES PRODUITS
   Style exactement comme l'image fournie
   ============================================ */

/* Reset de tous les styles de produits existants */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products,
#products,
.list_products .products {
    display: grid !important;
    gap: 20px !important;
    padding: 15px !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

/* Conteneurs de produits uniformes - Style carte simple */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
ul.products li.product,
#products li.product,
.products .product,
.product.column-1_3,
.product.column-1_4 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover,
ul.products li.product:hover,
#products li.product:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Structure interne standardisée */
.woocommerce ul.products li.product .post_item_wrap,
.woocommerce-page ul.products li.product .post_item_wrap,
ul.products li.product .post_item_wrap,
#products li.product .post_item_wrap,
.product .post_item_wrap {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Zone d'image standardisée - Image grise sans bordure */
.woocommerce ul.products li.product .post_featured,
.woocommerce-page ul.products li.product .post_featured,
ul.products li.product .post_featured,
#products li.product .post_featured,
.product .post_featured,
.product .post_thumb {
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    overflow: hidden !important;
    margin: 0 0 15px 0 !important;
    padding: 15px !important;
    position: relative !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Images standardisées */
.woocommerce ul.products li.product .post_featured img,
.woocommerce-page ul.products li.product .post_featured img,
ul.products li.product .post_featured img,
#products li.product .post_featured img,
.product .post_featured img,
.product .post_featured .news-product,
.product img.news-product {
    max-width: 100% !important;
    max-height: 170px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    position: relative !important;
}

/* Zone de contenu standardisée */
.woocommerce ul.products li.product .esg-entry-content,
.woocommerce-page ul.products li.product .esg-entry-content,
ul.products li.product .esg-entry-content,
#products li.product .esg-entry-content,
.product .esg-entry-content,
.product .post_content {
    padding: 0 10px 15px 10px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background: #fff !important;
    text-align: center !important;
}

/* Titres standardisés - CENTRÉ comme l'image */
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .post_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product h3,
ul.products li.product h3,
#products li.product .esg-content a,
#products li.product h3,
.product .post_title,
.product h3,
.product .woocommerce-loop-product__title,
.esg-content.eg-post-267.eg-juno-skin-1-element-0 a {
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-weight: 400 !important;
    color: #000 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    min-height: 40px !important;
    max-height: 40px !important;
    text-align: center !important;
}

/* Prix standardisés - CENTRÉ */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
ul.products li.product .price,
#products li.product .price,
.product .price,
.woocommerce-Price-amount,
.esg-content.eg-post-267.eg-juno-skin-1-element-25,
.woocommerce-Price-currencySymbol {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #000 !important;
    display: block !important;
    margin: 0 0 12px 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Zone de bouton standardisée */
.woocommerce ul.products li.product .widthButtonAdd,
.woocommerce-page ul.products li.product .widthButtonAdd,
ul.products li.product .widthButtonAdd,
#products li.product .widthButtonAdd,
.product .widthButtonAdd,
.esg-slide.widthButtonAdd {
    width: 100% !important;
    margin-top: auto !important;
    padding: 0 !important;
}

/* Boutons standardisés - Style cyan/turquoise comme l'image */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
ul.products li.product .button,
#products li.product .button,
.product .add_to_cart_button,
.product .button,
.widthButtonAdd a,
#btn-add-to-cart,
.button.add_to_cart_button,
.eg-juno-skin-1-element-28 {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border-radius: 0 !important;
    border: none !important;
    background: #00bcd4 !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    text-decoration: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.woocommerce ul.products li.product .button:hover,
.product .button:hover,
#btn-add-to-cart:hover,
.eg-juno-skin-1-element-28:hover {
    background: #00acc1 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================================
   GRILLES RESPONSIVE - MÊME STYLE PARTOUT
   ============================================ */

/* Mobile par défaut - 1 colonne */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products,
#products,
.list_products .products {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
}

/* Tablette - 2 colonnes */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    #products,
    .list_products .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
        padding: 20px !important;
    }
}

/* Desktop - 3 colonnes */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    #products,
    .list_products .products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        padding: 25px !important;
    }
}

/* Large Desktop - 4 colonnes */
@media screen and (min-width: 1200px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    #products,
    .list_products .products {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 30px !important;
        padding: 30px !important;
    }
}

/* Extra Large Desktop - 4 colonnes (max) */
@media screen and (min-width: 1440px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    ul.products,
    #products,
    .list_products .products {
        grid-template-columns: repeat(4, 1fr) !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
    }
}

/* ============================================
   OVERRIDE DES CLASSES EXISTANTES
   ============================================ */

/* Forcer la suppression des floats */
.product.first,
.product.last,
.product.column-1_3,
.product.column-1_4,
.products li {
    float: none !important;
    clear: none !important;
}

/* Supprimer les marges négatives */
.woocommerce ul.products,
.list_products .products {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Forcer la largeur complète */
.woocommerce-page .content,
.woocommerce .content {
    width: 100% !important;
}

/* Classes de colonnes Woocommerce */
.woocommerce.columns-1 ul.products li.product,
.woocommerce.columns-2 ul.products li.product,
.woocommerce.columns-3 ul.products li.product,
.woocommerce.columns-4 ul.products li.product,
.woocommerce.columns-5 ul.products li.product,
.woocommerce.columns-6 ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}

/* ============================================
   AJUSTEMENTS FINS
   ============================================ */

/* Espacement entre éléments */
.esg-content {
    margin-bottom: 8px !important;
}

/* Liens de produits */
.woocommerce ul.products li.product a,
.product a {
    text-decoration: none !important;
}

.woocommerce ul.products li.product a:hover,
.product a:hover {
    opacity: 1 !important;
}

/* Badges et labels */
.product .onsale,
.product .product-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
    background: #e74c3c !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 3px !important;
    font-size: 12px !important;
    font-weight: bold !important;
}

/* Force images to be responsive */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* Prevent horizontal scroll */
.vc_row[data-vc-full-width="true"] {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Flexbox improvements */
.columns_wrap {
    display: flex !important;
    flex-wrap: wrap !important;
}

@media screen and (max-width: 768px) {
    .columns_wrap {
        flex-direction: column !important;
    }
}

/* Additional improvements for touch devices */
@media (hover: none) and (pointer: coarse) {
    .sc_button {
        min-height: 44px !important;
        min-width: 44px !important;
    }
    
    .tp-caption a {
        min-height: 44px !important;
        padding: 10px !important;
    }
}

/* Print media query */
@media print {
    .tp-caption[id*="layer-7"],
    .tp-caption[id*="layer-8"],
    .tp-caption[id*="layer-9"],
    .tp-caption[id*="layer-10"],
    .tp-caption[id*="layer-11"],
    .tp-caption[id*="layer-6"] {
        display: none !important;
    }
}
