/**
* Theme Name: Blonwe Child
* Description: This is a child theme of Blonwe, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: blonwe
* Version: 1.3.2
*/

.woocommerce-page-header .woocommerce-sub-categories ul.children {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

/* Hide Payment in the footer */
.site-payment-cards{
    display: none !important;
}
/* Social media icons color in footer */
/* Base icon style */
.color-theme li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}
.footer-social .site-social ul.color-theme a{
    color: #ffffff;
}
/* Facebook */
.color-theme li a.facebook {
    background-color: #1877F2;
}

/* WhatsApp */
.color-theme li a.whatsapp {
    background-color: #25D366;
}

/* Instagram (gradient) */
.color-theme li a.instagram {
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, #fdf497 5%, 
        #fd5949 45%, #d6249f 60%, 
        #285AEB 90%);
}

/* TikTok */
.color-theme li a.tiktok {
    background-color: #000000;
}

/* Hover effect */
.color-theme li a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Price style */
.products .product-cart-wrapper .price {
    font-size: 14px;
    color: #FE9A00;
    font-weight: bold;
}
.products .product-cart-wrapper .product-buttons .add_to_cart_button {
    width: 2rem;
    height: 2rem;
}
.success-button-light:not(.outline) .button:not(.unset):not(.outline){
    color: #FE9A00 !important;
    background-color: rgba(254, 154, 0, 0.08);
    border: rgba(254, 154, 0, 0.2);
}
.success-button-light:not(.outline) .button:not(.unset):not(.outline):hover{
    background-color: #FE9A00;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    /* Center the main container text */
    .footer-inner {
        text-align: center !important;
    }

    /* Center the Logo Image */
    .footer-inner .column-brand img {
        margin: 0 auto 15px auto !important;
        display: block;
    }

    /* Center the titles (Nos services, Infos légales, etc) */
    .footer-inner .widget-title {
        text-align: center !important;
    }

    /* Remove default padding from menus so they are truly centered */
    .footer-inner ul.menu {
        padding-left: 0 !important;
        margin-left: 0 !important;
        list-style: none;
    }

    /* CENTER THE SOCIAL MEDIA ICONS */
    .footer-inner ul.color-theme.rounded-style {
        display: flex !important;
        justify-content: center !important;
        padding-left: 0 !important;
        list-style: none;
        gap: 10px; /* Space between the circles */
        margin-top: 15px;
    }
    
    /* Ensure social list items don't have weird margins */
    .footer-inner ul.color-theme.rounded-style li {
        margin: 0 !important;
    }

    /* Center the COD/CCP payment badges at the bottom if they are images */
    .footer-social .site-application {
        margin: 10px auto !important;
        display: inline-block;
    }
}

/* Mobile cart button color */
.single-product-wrapper .product-detail .single_add_to_cart_button {
    background-color: #fe9a00;
}

/* Stabilize slider engines in RTL contexts */
body[dir="rtl"] .rtl .slick-slider, .rtl .slick-list, .rtl .slick-track { direction: ltr !important; }

/* Keep text RTL inside content */
body[dir="rtl"] .rtl .product, .rtl .elementor-widget, .rtl .entry-content { direction: rtl; text-align: right; }

/*slider in RTL mode*/
/*body[dir="rtl"] #content > div > section.elementor-section.elementor-top-section.elementor-element.elementor-element-0141f94.elementor-section-full_width.elementor-section-height-default.elementor-section-height-default > div > div > div > div > div > div > div > div.klb-slider.slider-style.slider-spaced.arrows-center.arrows-style-2.arrows-white-border.hidden-arrows.dots-style-1.full-width.slick-initialized.slick-slider.slick-dotted{*/
/*    direction: ltr !important;*/
/*}*/

/*product image in RTL*/
body[dir="rtl"] #product-96 > div > div.column.product-gallery > div > div.flex-viewport{
    direction: ltr !important;
}


/*Sub menu float left in RTL*/
body[dir="rtl"] .header-bottom .dropdown-categories .dropdown-menu > ul > li > .sub-menu{
    right: 100% !important;
    text-align: right !important;
}

/*categories menu icons padding RTL*/
body[dir="rtl"] .header-bottom .dropdown-categories .dropdown-menu ul a i {
    margin-left: 0.9375rem !important;
}

/*categories menu title arrow margin RTL*/
body[dir="rtl"] .header-bottom .dropdown-categories > a::after{
margin-left: unset !important;
margin-right: auto !important; 
}

/*categories submenu arrow margin RTL*/
body[dir="rtl"] .header-bottom .dropdown-categories .dropdown-menu > ul > li.menu-item-has-children > a::after {
    margin-left: unset !important;
    margin-right: auto !important;
    Transform: scale(-1);
}

/*categories menu burger menu icon margin RTL*/
body[dir="rtl"] .klb-menu-nav.horizontal a i {
    margin-right: unset !important;
    margin-left: 0.9375rem !important;
}

/*best offers RTL icon start*/
body[dir="rtl"] .site-header .custom-button > a i {
    margin-right: unset !important;
    margin-left: 0.625rem !important;
}
/*best offers RTL icon end*/
body[dir="rtl"] .site-header .custom-button > a.has-dropdown::after {
    margin-right: 0.625rem !important;
}

/*best offers RTL products padding*/
body[dir="rtl"] #masthead > div.header-desktop.min-1200 > div.header-row.header-bottom.color-scheme-dark.color-layout-white.bordered-bottom.border-theme-10 > div > div > div:nth-child(2) > div.custom-button.custom-button-menu > div > div > div.products, body[dir="rtl"] #masthead > div.header-desktop.min-1200 > div.header-row.header-bottom.color-scheme-light.color-layout-custom.dark-blue > div > div > div > div.custom-button.custom-button-menu > div > div > div.products{
    direction: ltr !important;
    text-align: right !important;
}
body[dir="rtl"] .price {
    direction: rtl !important;
}
body[dir="rtl"] .product{
    padding-right: 20px !important;
}
body[dir="rtl"] .entry-title{
    padding-left: 20px;
}

/*inner product photo RTL => LTR*/
body[dir="rtl"] div > div.column.product-gallery{ 
    direction: ltr !important;
}

/*product specifications*/
body[dir="rtl"] .specification-content table td{
    text-align: right !important;
}
body[dir="rtl"] .woocommerce-product-attributes-item__label , .woocommerce-product-attributes-item__value{
    text-align: right !important;
}

/*contact us page RTL margin icons*/
@media screen and (min-width: 992px) {
    body[dir="rtl"] .klb-address-detail .address-icon {
        margin-left: 1.25rem;
    }
}
/*contact us page RTL padding and border width fix*/
body[dir="rtl"] .elementor-2299 .elementor-element.elementor-element-95dd3f5 > .elementor-widget-container {
    padding: 0px 60px 0px 0px;
    border-width: 0px 1px 0px 0px;
}

/*body[dir="rtl"] .klb-banner.inner-style.justify-start .entry-wrapper{*/
/*    justify-content: flex-end !important;*/
/*}*/


/* Flip the images only in RTL/Arabic mode */
.rtl .entry-media img {
    transform: scaleX(-1);
    filter: FlipH; /* For older IE support */
}
/* Change Slider images in arabic version */
/* #1 slider */
.rtl .klb-slider.full-width .slider-item[data-slick-index="0"] .entry-media img {
    opacity: 0 !important; /* Makes original invisible but keeps the layout size */
}
.rtl .klb-slider.full-width .slider-item[data-slick-index="0"] .entry-media {
    background-image: url('https://mim-prime.com/wp-content/uploads/2026/03/mimprime-machine-a-laver-ar.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
}
/* #2 slider*/
.rtl .klb-slider.full-width .slider-item[data-slick-index="1"] .entry-media img {
    opacity: 0 !important; /* Makes original invisible but keeps the layout size */
}
.rtl .klb-slider.full-width .slider-item[data-slick-index="1"] .entry-media {
    background-image: url('https://mim-prime.com/wp-content/uploads/2026/03/mimprime-tv-stream-ar-1.jpg') !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    
}

body[dir="rtl"] .klb-slider.full-width .klb-banner.inner-style.justify-start .entry-wrapper{
    justify-content: flex-end !important;
}

/* Align text to the right in RTL */
.rtl .entry-inner {
    text-align: right !important;
}

/* Align the subtitle and discount badge to the right */
.rtl .klb-slider.full-width .entry-heading {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}
/* Fix excerpt alignment in RTL */
.rtl .klb-slider.full-width .klb-banner .entry-excerpt {
    margin-right: 0 !important;    /* Removes the gap on the right */
    margin-left: auto !important;   /* Pushes the box from the left to the right */
    text-align: right !important;  /* Ensures the lines of text inside start on the right */
    max-width: 26.25rem;            /* Keeps your existing width limit */
}
/* Fix punctuation placement in RTL */
.rtl .entry-excerpt,
.rtl .entry-excerpt p {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: isolate; /* Helps browsers handle mixed text/punctuation correctly */
}

/* Ensure the button also moves to the right side */
.rtl .klb-slider.full-width .entry-footer {
    display: flex;
    justify-content: flex-end; /* In RTL, 'start' is the right side */
}

/* Fix button icon in RTL */
.rtl .klb-slider.full-width .btn.icon-right {
    flex-direction: row-reverse; /* Swaps text and icon position */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Space between text and icon */
}

.rtl .btn.icon-right i {
    transform: scaleX(-1); /* Flips the arrow to point left */
    margin-right: 0 !important;
    margin-left: 0 !important;
}

/* If the icon has a specific margin from the theme */
.rtl .klb-slider.full-width .btn i.klb-icon-right-arrow-large {
    margin-right: 10px !important; /* Space after the text */
    margin-left: 0 !important;
}

/* If the whole text block is centered, move it to the right */
.rtl .klb-banner.for-slider {
    justify-content: flex-start !important; /* 'start' becomes right in RTL */
}

/* Prevent phone numbers from flipping in RTL */
.rtl .header-notify p a[href^="tel"], .rtl a[href^="tel"] {
    direction: ltr !important;
    display: inline-block !important;
    unicode-bidi: embed !important;
}

/* Swaps the position of Price and Cart Button in RTL */
.rtl #offres-section .product-cart-wrapper {
    display: flex !important;
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
    align-items: center !important;
}

/* Ensure price text is aligned correctly */
.rtl .product-cart-wrapper .price {
    text-align: right !important;
    margin: 0 !important;
}

/* Adjust button spacing if needed */
.rtl .product-cart-wrapper .product-buttons {
    margin: 0 !important;
}


/* If the "24/7" text is also flipping incorrectly */
.rtl .header-notify p {
    unicode-bidi: plaintext; /* Helps keep mixed numbers/text in logical order */
}

/* Wishlist count fix */
.rtl .site-header .header-action .action-icon .action-count{
    width: 1.0625rem;
}



/*forminator edges fix*/
.forminator-ui#forminator-module-6480.forminator-design--default .forminator-has_error .forminator-input {
    border-radius: var(--theme-radius-form) !important;
}
#forminator-field-textarea-1_69b15567f2f5a{
    border-radius: var(--theme-radius-form) !important;
}

@media (max-width: 600px)  { 
    .site-footer .footer-type1{
        text-align: center !important;
    }
}
