/* Arabic font rules */
html[lang^="ar"] body,
html[lang^="ar"] * {
    font-family: "Cairo", sans-serif !important;
}
html[lang^="ar"] i.fa,
html[lang^="ar"] .fa,
html[lang^="ar"] [class^="fa-"],
html[lang^="ar"] [class*=" fa-"] {
    font-family: "FontAwesome" !important;
}

/* Options / push-option */
.push-option.push-option .option-wrapper {
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #000000;
}
.no-touchevents .push-option.push-option .option-wrapper:not(.push-option-image):hover,
.push-option.push-option input:checked + .option-wrapper:not(.push-option-image) {
    box-shadow: unset !important;
}
.push-option.push-option input:checked + .option-wrapper {
    box-shadow: unset !important;
    border: 2px solid #000000;
}
.push-option.push-option .option-wrapper {
    border: 1px dotted #000000;
    border-radius: 8px;
}
.push-option label {
    display: none !important;
}

/* Header, logo and search */
.desktop-header-active .header-search input {
    border: 1px solid #51C0C4;
}
label, .form-group .control-label {
    color: #000;
}
#logo a > img {
    width: 150px !important;
}

/* Menu hover */
.no-touchevents .main-menu.main-menu-1045 > .j-menu > .main-menu-item-1.menu-item:hover > a {
    background-color: #51C0C4 !important;
}

/* Product grid tweaks */
.main-products-style.product-grid.product-grid .product-thumb .rating {
    margin-top: 40px;
}
.route-product-product:not(.popup) .product-info .product-details .price-group {
    flex-direction: column;
    align-items: start;
}
.route-product-product:not(.popup) .product-info .product-details .price-group .product-price-old {
    align-self: flex-start;
}
.product-info .price-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.product-info .product-details .product-labels-price {
    order: 2;
}

/* Layout + base look */
#options-combinations-container .selectable-options[data-type="radio"] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#options-combinations-container .selectable-options .radio label input[type="radio"] {
    display: none;
}
#options-combinations-container .selectable-options .radio label {
    display: inline-block;
    min-width: 120px;
    text-align: center;
    padding: 10px 22px;
    border: 1px dotted #000000;
    border-radius: 8px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all .2s ease;
}
#options-combinations-container .selectable-options .radio label:hover {
    border-color: #000;
}
#options-combinations-container .selectable-options .radio label:has(input[type="radio"]:checked) {
    border: 1px solid #000 !important;
    background: #51C0C4;
    color: #000;
    font-weight: 600;
}

/* Breadcrumbs and images */
.breadcrumbs {
    margin-top: 40px;
}
.product-image.direction-vertical.position-left .additional-images {
    background: #fff;
}
.main-products-style.product-grid .product-thumb {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

/* Module paddings */
.module-products-1113 .auto-grid .auto-grid-items,
.module-products-1120 .auto-grid .auto-grid-items,
.module-products-1121 .auto-grid .auto-grid-items,
.module-products-1124 .auto-grid .auto-grid-items,
.module-products-1128 .auto-grid .auto-grid-items,
.module-products-1134 .auto-grid .auto-grid-items {
    padding: 10px;
}

/* Force Availability filter to appear last */
.module-filter .module-item-q {
    order: 9999 !important;
}

/* Accordion images */
div.accordion-menu-359.accordion-menu .menu-item .menu-image > img {
    width: 36px;
    height: 36px;
}

/* Responsive small screens adjustments */
@media only screen and (max-width: 600px) {
    .grid-col-top-1-1 > .grid-items:before { background-size: contain; }
    .grid-col-top-3-1 > .grid-items { background-size: contain; }
    .module-categories-825 .module-title {
        font-size: 17px !important;
        padding-bottom: 6px !important;
        border-bottom: 2px solid;
        margin-left: 7px;
        font-weight: 700 !important;
        color: #000;
    }
    .module-categories-825 .module-title::before { height: 0px !important; }
    .module-categories-825 .module-title::after { height: 0px !important; }
    ul.nav-tabs > li { width: 100%; }
    .tab-1 a { justify-content: flex-start !important; font-size: 18px !important; font-weight: 700 !important; }
    #options-combinations-container .selectable-options .radio label { min-width: 85px; padding: 4px 22px; }
    #options-combinations-container .selectable-options [id^="input-option"] { gap: 0px; }
    .module-categories-825 .module-title::before,
    .module-categories-825 .module-title::after { min-height: 0; }
}

/* Desktop grid tweak */
@media (min-width: 1272px) and (max-width: 1491px) {
    .main-products.product-grid.auto-grid {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 20px;
    }
}

/* Module category title decoration */
.module-categories-825 .module-title {
    position: relative;
    display: inline-block;
    font-weight: 700;
    padding-bottom: 12px;
    font-size: 20px;
    width: 100%;
    overflow: visible !important;
}
.module-categories-825 .module-title::before {
    content: "";
    position: absolute;
    left: 80px;
    right: 0;
    bottom: 1px;
    height: 1px;
    background-color: #C8C8C8;
    display: block;
    z-index: 1;
}
.module-categories-825 .module-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #B2A9A9;
    display: block;
    z-index: 2;
}

/* Hide bottom menu */
.bottom-menu-266 { display: none; }

/* Minor page-specific rules */
#content .product-blocks-668 { margin-top: 0px; }
.breadcrumbs { margin-top: 10px; }
.selectable-options .form-group { margin-top: 0px !important; }
.module-slider-1107 .slide-content:before { background-image: none; }
.product-blocks.blocks-default { margin-top: 0px !important; }
.mobile-currency-wrapper {
    position: relative;
    top: 52px;
    right: 77px;
}
.mobile-language-wrapper { display: none; }
.mobile-header-active .search-categories { display: none; }
.mobile-header-active .header-search { padding: 2px; }
html:not(.popup) .product-left-wrapper { top: 0px !important; }
.product-info .product-details > div:not(.page-title):not(:last-child) { margin-bottom: 0px !important; }
.footer-menu .j-menu .menu-item a span {
    font-size: 16px !important;
    color: #67D4D7 !important;
    font-weight: 700 !important;
    text-decoration-line: none !important;
}
.sub-item .j-menu .menu-item a span { font-size: 14px !important; color: #fff !important; font-weight: 400 !important; }
.has-bottom-menu .global-wrapper { margin-bottom: 0px !important; }
.footer-menu .j-menu > .sub-item { border-bottom: 1px solid #fff !important; }

/* Misc */
.main-products-wrapper .products-filter { border-radius: 10px; }
html[dir=rtl] .text-left { display: flex; align-items: center; justify-content: center; }
.module-side_products-877 .side-product { border-radius: 10px; }
.main-products-style.product-grid .product-thumb .price-old {
    text-decoration-color: rgba(242, 119, 99, 1);
    color: rgba(242, 119, 99, 1);
    font-size: 13px;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
}

/* Page-specific hiding */
body[class*="path-60"] .module-item-a18 { display: none; }
body[class*="path-61"] .module-item-f6 { display: none; }
body[class*="path-61"] .module-item-f16 { display: none; }
body[class*="path-59"] .module-item-f5 { display: none; }
body[class*="path-59"] .module-item-a18 { display: none; }
body[class*="path-59"] .module-item-f6 { display: none; }

/* RTL adjustments */
html[dir=rtl] .module-blocks-1136 .module-title:after { right: 0; }
html[dir=rtl] .module-blocks-1136 .module-title:before { left: 0; }
html[dir=rtl] .module-blocks-1128 .module-title:before { left: 0; }
html[dir=rtl] .module-item-1 .module-title::after { right: 0; }
html[dir=rtl] .module-item-1 .module-title::before { left: 0; }

/* Cart and checkout tweaks */
.desktop-cart-wrapper #cart-total { display: flex; flex-direction: row; align-items: center; justify-content: center; }
.cart-products .td-total { display: flex; align-items: center; justify-content: center; }
.cart-products .td-qty { vertical-align: baseline !important; }
.cart-products .td-remove { vertical-align: baseline !important; }
html[dir=rtl] .hdis h3 { font-weight: 700; margin-bottom: 0; font-size: 15px; }
html[dir=rtl] .hdis #cart-total {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Tamara */
.tamara-section {
    background-color: #ffeef1;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    position: static !important;
}
.tamara-section .tamara-promo { margin: 0 !important; position: static !important; }
.tamara-section { display: none !important; }

/* Mobile small-screen overrides */
@media only screen and (max-width: 600px) {
    .language-flag-title .symbol { display: none; }
    .language-flag { display: none; }
    .product-blocks.blocks-default { margin-top: 32px !important; }
    html[dir=rtl] .product-blocks.blocks-default { margin-top: 32px !important; }
    .module-blocks-1136 .module-title { font-size: 18px; }
}

/* Filter / layout */
.notification-wrapper .notification-view-cart { display: none !important; }
.supercheckout-blocks .login-options { display: none !important; }
.full-search #search > .dropdown-menu { z-index: 0; }
.langwrapper { margin-left: 15px; }
html[dir=rtl] .langwrapper { margin-right: 15px; }
.filter-price .extra-controls { display: flex; justify-content: center; gap: 5px; }
.filter-price .extra-controls input { width: 70px; }
.filter-price .extra-controls img { width: 13px; }
#options-combinations-container { margin-top: 10px; }
.left-column-disabled #column-left { display: block !important; }
.grid-item > div:not(.module-background_slider):empty { display: block !important; }
.quick-checkout-wrapper .right .cart-section .title { display: block !important; }

.quick-checkout-wrapper .left { width: 50% !important; }
.quick-checkout-wrapper .right { width: 50% !important; }
.td-qty .input-group-btn { display: none; }
.route-checkout-checkout #content .quick-checkout-wrapper .right .confirm-section textarea.form-control { display: none; }
.route-checkout-checkout footer { display: none; }
.route-checkout-checkout .desktop-main-menu-wrapper { display: none; }
html.route-checkout-checkout .desktop-header-active .header-classic .mid-bar .desktop-search-wrapper { display: none !important; }
.route-checkout-checkout .language-currency { display: none; }
.route-checkout-checkout .desktop-header-active .header-classic .mid-bar .top-menu { display: none; }

/* Hide entire header except logo + cart on checkout page */
html.route-checkout-checkout .header-classic .header .mid-bar .desktop-search-wrapper,
html.route-checkout-checkout .header-classic .header .mid-bar .language-currency,
html.route-checkout-checkout .header-classic .header .mid-bar .secondary-menu,
html.route-checkout-checkout .desktop-cart-wrapper #cart-total,
html.route-checkout-checkout .module-header_notice.module-header_notice-56,
html.route-checkout-checkout .mobile-bar .menu-trigger,
html.route-checkout-checkout .mobile-bar .store-dropdown,
html.route-checkout-checkout .mobile-bar .langwrapper,
html.route-checkout-checkout .mobile-custom-menu-1,
html.route-checkout-checkout .mobile-search-group {
    display: none !important;
}
html.route-checkout-checkout .mid-bar { max-width: 1300px; }

/* Custom checkout links */
.custom-checkout-links ul {
    display: flex;
    padding: 0;
    list-style: none;
    gap: 15px;
}
.custom-checkout-links ul li a {
    text-decoration: none;
    color: #201d1e;
    font-weight: 500;
    font-size: 15px;
}

/* Responsive for checkout small screens */
@media only screen and (max-width: 768px) {
    html.route-checkout-checkout .mobile-bar .mobile-logo-wrapper { justify-content: left !important; }
    .quick-checkout-wrapper > div .left,
    .quick-checkout-wrapper > div .right { width: 100% !important; }
    .mobiledisp { display: block; order: 6; }
    .desktopdisp { display: none; }
    .custom-checkout-links ul { display: flex; flex-wrap: wrap; padding: 0; list-style: none; margin: 0; gap: 0; }
    .custom-checkout-links ul li { width: 50%; margin-bottom: 6px; }
    .quick-checkout-wrapper .confirm-section .checkbox { margin-bottom: 5px; }
}
.quick-checkout-wrapper .confirm-section { order: 2; }

.custom-container {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
    /*margin-left: 30px !important;*/
    /*margin-right: 30px !important;*/
    max-width: 1475px !important;
    margin: 0 auto !important;
   
   
}

 
/* Reverse Logistics section */
.rl-hero img { width: 100% !important; }
.rl-hero h1 {
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.rl-hero p.lead { margin: 0; color: #f9f9f9; }

/* Paragraph section */
.rl-paragraph { padding: 40px 0; background: #fff; color: #333; font-size: 16px; line-height: 1.7; }

/* Cards */
.rl-cards { padding: 40px 0; background: #fafafa; }
.rl-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    min-height: 190px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
    text-align: left;
    transition: transform .2s;
    max-width: 280px;
}
.rl-card:hover { transform: translateY(-4px); }
.rl-card .icon { display: flex; align-items: center; justify-content: center; color: #17b8b6; margin-bottom: 12px; }
.rl-card .icon img { width: 70px; }

/* Form section */
.rl-form { padding: 40px 0 60px 0; background: #fff; }
.rl-form .form-control {
    border-radius: 12px !important;
    padding: 18px 20px;
    background: #f8f8f8;
    border: 1px solid #e1e1e1;
}
.btn-rl {
    background: #2ec1bd;
    border-color: #2ec1bd;
    color: #fff;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 700;
    width: 100%;
    margin-top: 15px;
}
.rl-note { text-align: center; margin-top: 22px; color: #2ec1bd; font-size: 18px; font-weight: 700; }

/* Buy Bulk and testimonial sections omitted for brevity in this snippet (kept above) */

/* Mobile-only responsive tweaks */
@media (max-width: 767px) {
    .cart-section { display: none !important; }
    .revibe-summary { background: #EDF9F9; margin-bottom: 10px; }
    .revibe-summary-header {
        padding: 14px;
        font-size: 16px;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        border-bottom: 1px solid #51C0C4;
        border-top: 1px solid #51C0C4;
    }
    .summary-total { display: flex; align-items: center; justify-content: center; }
    .revibe-product { display: flex; align-items: center; margin-bottom: 15px; }
    .revibe-product-img { position: relative; width: 70px; height: 70px; margin-right: 10px; }
    .revibe-product-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
    .revibe-qty-badge {
        position: absolute;
        top: -5px;
        left: -5px;
        background: #000;
        color: #fff;
        width: 22px;
        height: 22px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }
    .revibe-product-info { flex: 1; }
    .revibe-product-name { font-weight: 600; font-size: 15px; margin-bottom: 3px; }
    .revibe-product-price { font-weight: bold; }
    .revibe-coupon { display: flex; margin: 15px 0; gap: 8px; }
    .revibe-coupon input { flex: 1; height: 40px; padding: 0 12px; border: 1px solid #ddd; border-radius: 8px; }
    .revibe-coupon button { width: 80px; border: none; background: #eee; border-radius: 8px; }
    .revibe-totals-line { display: flex; justify-content: space-between; padding: 5px 0; }
    .revibe-free-shipping { color: #888; font-size: 13px; margin: 5px 0; }
    .revibe-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 16px; padding: 10px 0; }
    .revibe-savings { color: #666; font-size: 14px; padding-top: 4px; }
    .strike { text-decoration: line-through; opacity: 0.5; margin-right: 5px; }
}

/* RTL Arabic Support for small screens */
@media (max-width: 767px) {
    html[dir="rtl"] .revibe-summary { direction: rtl; text-align: right; }
    html[dir="rtl"] .revibe-product-img { margin-right: 0; margin-left: 10px; }
}
 
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    width: 60px;
    height: 60px;
}

.floating-whatsapp img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.floating-whatsapp:hover img {
    transform: scale(1.1);
}
 
