/* RTL Styles */

/* General Body Styles */
body {
    direction: rtl;
    text-align: right;
}

/* Main Container */
.invoice-container,
.main-block__content,
.trending-content,
.discount-info,
.advantages-items,
.top-categories__items,
.info-blocks__item-text,
.products-items {
    text-align: right;
}

.main-block,
#hero-section,
.shop-bg,
.shop1-bg::before,
.scale-1{
    -webkit-transform: scaleX(-1) !important;
    transform: scaleX(-1) !important;
}

/* Header Section */
.invoice-header {
    text-align: center;
}


/* Button Alignment */
.btn {
    float: right;
}

/* Hover Options */
.products-item__hover-options {
    float: right;
}

/* Additional Adjustments */
.main-block__content h1,

.discount-info h2,

.info-blocks__item-text h2,
.arrivals h2 {
    text-align: right;
}

/* Reversing Margins and Paddings if necessary */
.wrapper {
    direction: rtl;
}

.product-buttons .btn {
    gap: 10px;

}

.top-categories__item-hover {
    text-align: right;
}

.info-blocks__item-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.info-blocks__item-link i {
    margin-left: 5px;
}

.info-blocks__item-reverse .info-blocks__item-text {
    padding: 237px 81px 223px 0 !important;
}


/* Navigation Menu Styles */
.nav-menu {
    position: absolute;
    top: 80px;
    /* Adjust based on header height */
    right: 15px;
    /* Align to the right side */
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    display: none;
    /* Hidden by default */
    width: 200px;
    /* Adjust as needed */
    z-index: 110;
    /* Ensure it sits below the button menu */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.nav-menu.active {
    display: block;
    /* Show when active */
    opacity: 1;
    visibility: visible;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    padding: 10px 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: rgb(151, 29, 37);
    display: block;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    background-color: #f0f0f0;
    outline: none;
}

@media screen and (min-width: 1200px) {

    /* For the button specifically */
    #block__content .btn {
        background-color: transparent;
        /* Optional if button background needs adjustment */
        border: 1px solid #fff !important;
        /* Optional for a border effect */
    }

    #block__content .btn:hover {
        color: #fff;
        background-color: #fff !important;
    }
}

/*
/////////////
contacct us
/////////////
*/
/* Adjust .about-us-images for RTL */
.about-us-images img:nth-child(1) {
    right: auto !important;
    left: -39px;
    width: 150px;
    z-index: 3;
    animation: bounce 1.5s infinite;
}

.about-us-images img:nth-child(2) {
    right: auto !important;
    left: 100px !important;
    width: 320px !important;
    z-index: 6 !important;
}

.about-us-images img:nth-child(3) {
    right: auto !important;
    left: 150px !important;
    width: 100px !important;
    z-index: 1 !important;
}

/* Adjust .about-us-images-2 for RTL */
.about-us-images-2 img:nth-child(1) {
    right: auto !important;
    left: -39px;
    width: 150px;
    z-index: 3;
    animation: bounce 1.5s infinite;
}

.about-us-images-2 img:nth-child(2) {
    right: auto !important;
    left: 60px !important;
    width: 250px !important;
}

.about-us-images-2 img:nth-child(3) {
    right: auto !important;
    left: 100px !important;
    width: 80px !important;
}
.styled-select::after {
    right: auto;
    left: 15px;
}

/* Responsive RTL Styles */

/* Tablets */
@media (max-width: 1024px) {

    /* Adjust .about-us-images for tablets */
    .about-us-images img:nth-child(1) {
        right: auto !important;
        left: -20px !important;
        width: 120px !important;
    }

    .about-us-images-2 img:nth-child(1) {
        right: auto !important;
        left: -20px !important;
        width: 120px !important;
    }

    .about-us-images img:nth-child(2) {
        right: auto !important;
        left: 60px !important;
        width: 250px !important;
    }

    .about-us-images img:nth-child(3) {
        right: auto !important;
        left: 100px !important;
        width: 80px !important;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {

    .about-us-images,
    .about-us-images-2 {
        position: relative !important;
        margin-top: 40px !important;
        text-align: center !important;

    }

    .about-us-images img,
    .about-us-images-2 img {
        position: absolute !important;
        width: 100px !important;
        box-shadow: none !important;
    }

    /* Position Image 1 to overlap Image 2 */
    .about-us-images img:nth-child(1) {
        top: -82px !important;
        left: 15% !important;
        transform: translateX(-50%) !important;
        z-index: 2 !important;
    }

    .about-us-images img:nth-child(2) {
        top: -22px !important;
        left: 45% !important;
        transform: translateX(-50%) !important;
        z-index: 3 !important;
    }

    .about-us-images-2 img.img-3 {
        top: -249px !important;
        left: -1% !important;
        transform: translateX(-50%);
        z-index: 0 !important;
    }

    .about-us-images img:nth-child(3),
    .about-us-images-2 img:nth-child(3) {
        display: none;
    }

    .contacts-info__content {
        position: relative;
        z-index: 3;
    }
}


@media (max-width: 480px) {

    .about-us-images img:nth-child(1),
    .about-us-images-2 img:nth-child(1) {
        width: 80px;
        top: 40px;
        /* Adjust position for smaller screens */
    }

    .about-us-images img:nth-child(2),
    .about-us-images-2 img:nth-child(2) {
        width: 80px;
        /* Match Image 1 size */
        top: 20px;
        /* Adjust position for smaller screens */
    }
}

/* Remove float override to allow slick's RTL handling */
.slick-slide {
    /* float: right !important; */
}
