#search .input-group {
            width: 100%;
            max-width: 100%;
            flex: 0 0 auto;
        }
        #filterMenu-mobile-home .filter-content label:has(input[type="radio"]:checked)::before {
            border-color: var(--bs-primary-color);
        }
        @media (min-width: 787px) {
            .wishlist-mob{
                display: none !important;
            }
        }
        .srch-mob .input-group{
            border: 2px solid var(--bs-primary-color);
            border-radius: 25px !important;
        }
        .srch-mob .input-group .input_search_mob{
            background: none !important;
            border: none !important;
        }
        .srch-mob .input-group .input-group-append{
            background: none !important;
            border: none !important;
        }
        .srch-mob .input-group .input-group-append button{
            background: #fff !important;
        }
        .srch-mob .input-group .input-group-text{
            padding: 0.4rem 0.8rem;
        }
        .srch-mob .input-group button img{
            width: 18px;
            height: 18px;

        }
        .andmore-mobile-header {
            position: relative;
            width: 90%;
            margin-inline: auto;
        }

        .andmore-header-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            min-width: 30px;
            height: 36px;
            z-index: 2;
        }

        .andmore-header-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            margin: 0 !important;
            padding: 0;
            z-index: 1;
        }

        .andmore-header-logo img {
            display: block;
            width: auto;
            max-width: 130px;
            max-height: 40px;
            object-fit: contain;
        }

           .andmore-header-icon {
               display: flex;
               align-items: center;
               justify-content: center;
               width: 30px;
               min-width: 30px;
               height: 36px;
               color: #444;
               cursor: pointer;
               z-index: 2;
           }

        .andmore-header-logo {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            margin: 0 !important;
            padding: 0;
            z-index: 1;
        }

        .andmore-header-logo img {
            display: block;
            width: auto;
            max-width: 130px;
            max-height: 40px;
            object-fit: contain;
        }


        /* =========================================
           And More Custom Notifications
           Independent of Bootstrap Offcanvas
        ========================================= */

        /* Hidden by default */
        .am-notifications-overlay {
            position: fixed;
            inset: 0;
            z-index: 99999;

            display: none !important;
            visibility: hidden;
            opacity: 0;
            pointer-events: none;

            background: rgba(0, 0, 0, 0.45);
            overscroll-behavior: contain;
        }

        /* Visible only when opened by JavaScript */
        .am-notifications-overlay.am-notifications-visible {
            display: block !important;
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
        }

        .am-notifications-panel {
            position: absolute;
            inset-block: 0;
            inset-inline-end: 0;

            display: flex;
            flex-direction: column;

            width: 480px;
            max-width: 100%;
            height: 100vh;
            height: 100dvh;

            background: #f8f9fa;
            box-shadow: 0 0 25px rgba(0, 0, 0, 0.12);
            overflow: hidden;

            transform: translateX(100%);
            transition: transform 0.25s ease;
        }

        .am-notifications-panel[dir="rtl"] {
            transform: translateX(-100%);
        }

        .am-notifications-overlay.am-notifications-visible
        .am-notifications-panel {
            transform: translateX(0);
        }

        /* Header */
        .am-notifications-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            flex-shrink: 0;

            min-height: 65px;
            padding: 14px 20px;

            background: #fff;
            border-bottom: 1px solid #ededed;
        }

        .am-notifications-header h2 {
            margin: 0;
            color: #222;
            font-size: 18px;
            font-weight: 700;
        }

        /* Close button */
        .am-notifications-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;

            width: 38px;
            height: 38px;
            padding: 0;

            border: 0;
            border-radius: 50%;
            background: #f2f2f2;
            color: #333;

            font-size: 30px;
            line-height: 1;
            cursor: pointer;
        }

        .am-notifications-close:hover {
            background: #e5e5e5;
        }

        /* Scrollable body */
        .am-notifications-body {
            flex: 1;
            min-height: 0;
            padding: 16px;

            overflow-y: auto;
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
        }

        .am-notifications-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        /* Loading, empty and error messages */
        .am-notifications-message {
            padding: 28px 12px;
            color: #707070;
            text-align: center;
            font-size: 14px;
            line-height: 1.8;
        }

        /* Notification card */
        .am-notification-card {
            display: flex;
            align-items: flex-start;
            gap: 12px;

            width: 100%;
            min-width: 0;
            padding: 14px;

            background: #fff;
            border: 1px solid #ededed;
            border-radius: 14px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .am-notification-image {
            width: 88px;
            height: 88px;
            flex: 0 0 88px;

            object-fit: contain;
            border-radius: 10px;
            background: #f1f1f1;
        }

        .am-notification-content {
            flex: 1;
            min-width: 0;
        }

        .am-notification-title {
            margin: 0 0 7px;
            color: #222;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.6;
            overflow-wrap: anywhere;
        }

        .am-notification-details {
            margin: 0;
            color: #707070;
            font-size: 13px;
            line-height: 1.7;
            overflow-wrap: anywhere;
        }

        /* Prevent background scrolling while open */
        body.am-notifications-locked {
            overflow: hidden !important;
        }

        /* Mobile */
        @media (max-width: 767.98px) {
            .am-notifications-panel {
                width: 100%;
                max-width: 100%;
            }

            .am-notifications-body {
                padding: 12px;
            }

            .am-notification-card {
                padding: 12px;
                gap: 10px;
            }

            .am-notification-image {
                width: 78px;
                height: 78px;
                flex-basis: 78px;
            }
        }

        /* Reduced motion */
        @media (prefers-reduced-motion: reduce) {
            .am-notifications-panel {
                transition: none;
            }
        }

        /* Mobile products grid only */
        @media (max-width: 767.98px) {

            .am-mobile-products .am-mobile-products-grid {
                display: flex;
                flex-wrap: wrap;
                margin-left: -7px;
                margin-right: -7px;
                row-gap: 24px;
            }

            .am-mobile-products .am-mobile-product-col {
                padding-left: 7px;
                padding-right: 7px;
            }

            .am-mobile-products .am-mobile-product-card {
                width: 100%;
                min-width: 0;
                height: 100%;
                background: #fff;
                border-radius: 0;
                overflow: visible;
            }

            /* Square product images */
            .am-mobile-products .am-mobile-product-image-wrap {
                width: 100%;
                aspect-ratio: 1 / 1;
                overflow: hidden;
                background: #f7f7f7;
            }

            .am-mobile-products .am-mobile-product-image-link {
                display: block;
                width: 100%;
                height: 100%;
            }

            .am-mobile-products .am-mobile-product-image {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: fill;
                object-position: center;
            }

            /* Wishlist icon */
            .am-mobile-products .am-mobile-wishlist {
                position: absolute;
                top: 10px;
                left: 8px;
                z-index: 3;
                display: flex;
                align-items: center;
                justify-content: center;
                width: 34px;
                height: 34px;
                color: #111;
                background: transparent;
                text-decoration: none;
            }

            .am-mobile-products .am-mobile-wishlist svg {
                fill: #3d3d3d;
                width: 23px;
                height: 23px;
            }

            /* Product name */
            .am-mobile-products .am-mobile-product-body {
                display: flex;
                flex-direction: column;
                padding: 12px 0 0;
                text-align: start;
            }

            .am-mobile-products .am-mobile-product-title {
                width: 100%;
                margin: 0 0 10px;
                font-size: 15px;
                line-height: 1.5;
                font-weight: 400;
                min-height: 45px;
                overflow-wrap: anywhere;
            }

            .am-mobile-products .am-mobile-product-title a {
                color: #111;
                text-decoration: none;
            }

            /* Old/current prices on the left, discount on the opposite side */
            .am-mobile-products .am-mobile-product-pricing {
                display: flex;
                align-items: center;
                justify-content: space-between;
                gap: 6px;
                width: 100%;
                min-width: 0;
                margin-top: 2px;
                margin-bottom: 16px;
            }

            .am-mobile-products .am-mobile-price-stack {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 2px;
                min-width: 0;
            }

            .am-mobile-products .am-mobile-old-price {
                color: #e52332;
                font-size: 13px;
                line-height: 1.4;
                text-decoration: line-through;
                white-space: nowrap;
            }

            .am-mobile-products .am-mobile-current-price {
                color: #111;
                font-size: 16px;
                line-height: 1.4;
                font-weight: bold;
                white-space: nowrap;
            }

            .am-mobile-products .am-mobile-discount-badge {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
                min-height: 24px;
                padding: 3px 8px;
                border-radius: 7px;
                background: #ed0808;
                color: #fff;
                font-size: 13px;
                font-weight: 600;
                white-space: nowrap;
            }

            /* Add to cart / show button */
            .am-mobile-products .am-mobile-buy-button {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 8px;
                width: 100%;
                min-height: 46px;
                padding: 8px 5px;
                border: 1px solid #e5e5e5;
                border-radius: 28px;
                background: #fff;
                color: #111;
                font-size: 14px;
                font-weight: 600;
                text-decoration: none;
            }

            .am-mobile-products .am-mobile-buy-button svg {
                flex-shrink: 0;
                color: var(--bs-primary-color);
                width: 17px;
                height: 17px;
            }

            .am-mobile-products .am-mobile-sold-out {
                position: absolute;
                right: 5px;
                /* bottom: 5px; */
                top: 50%;
                width: 100%;
                z-index: 2;
                padding: 6px;
                background: rgb(240 240 240 / 92%);
                color: #000000;
                font-size: 15px;
                text-align: center;
            }
        }

        @media (max-width: 767.98px) {

            .am-mobile-products .am-mobile-product-title,
            .am-mobile-products .am-mobile-product-title a {
                display: -webkit-box !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;

                font-size: 15px !important;
                line-height: 22px !important;

                white-space: normal !important;
                overflow-wrap: anywhere !important;
                word-break: normal !important;

                -webkit-box-orient: vertical !important;
                -webkit-line-clamp: 2 !important;

                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }

            .am-mobile-products .am-mobile-product-title {
                height: 44px !important;
                min-height: 44px !important;
                max-height: 44px !important;
                margin: 10px 0 10px !important;
            }

            .am-mobile-products .am-mobile-product-title a {
                height: 44px !important;
                max-height: 44px !important;
                margin: 0 !important;
                padding: 0 !important;
            }

            .am-mobile-products .am-mobile-product-body {
                min-width: 0 !important;
                overflow: hidden !important;
            }
        }

        @media (max-width: 767.98px) {
            .am-mobile-products .am-mobile-buy-button {
                display: flex !important;
                align-items: center !important;
                min-height: 40px !important;
            }
            /* Arabic: right | English: left */
            html[lang="ar"] .am-mobile-products .am-mobile-product-title,
            html[lang="ar"] .am-mobile-products .am-mobile-product-title a,
            html[lang="ar"] .am-mobile-products .am-mobile-product-pricing,
            html[lang="ar"] .am-mobile-products .am-mobile-price-stack ,
            html[lang="ar"] .am-mobile-products .am-mobile-buy-button
            {
                text-align: right !important;
                align-items: flex-end;
                direction: rtl;
            }

            html[lang="en"] .am-mobile-products .am-mobile-product-title,
            html[lang="en"] .am-mobile-products .am-mobile-product-title a,
            html[lang="en"] .am-mobile-products .am-mobile-product-pricing,
            html[lang="en"] .am-mobile-products .am-mobile-price-stack,
            html[lang="en"] .am-mobile-products .am-mobile-buy-button
            {
                text-align: left !important;
                align-items: flex-start;
                direction: ltr;
            }

            /* Keep the discount badge opposite the price */
            .am-mobile-products .am-mobile-product-pricing {
                display: flex !important;
                justify-content: space-between !important;
            }

            /* Keep title truncation and fixed height */
            .am-mobile-products .am-mobile-product-title {
                width: 100% !important;
                height: 44px !important;
                min-height: 44px !important;
                max-height: 44px !important;
                overflow: hidden !important;
                -webkit-line-clamp: 2 !important;
                -webkit-box-orient: vertical !important;
            }
            html[lang="ar"] .menu-cart .number{
                top: -3px;
                color: var(--bs-primary-color);
                right: 21px;
            }
            html[lang="en"] .menu-cart .number{
                top: -3px;
                color: var(--bs-primary-color);
                left: 21px;
            }
        }

        .am-mobile-product-image-wrap .tooltip.show {
            display: none;
        }
        @media (max-width: 767.98px) {
            .am-account-screen {
                text-align: start;
            }

            .am-account-screen[dir="rtl"] .am-account-arrow {
                transform: scaleX(-1);
            }

            .am-account-screen[dir="ltr"] .am-account-arrow {
                transform: none;
            }

            .am-account-language button {
                cursor: pointer;
                transition: background-color .2s ease, color .2s ease;
                min-width: 22px;
                padding: 2px 4px;
            }

            .am-account-language button.is-active {
                background: #0ABAB5;
                color: #fff;
            }
        }

        .product-overlay .buy-now {
            background: #000 !important;
        }
        @media (min-width: 767.98px) {
            #amAccountScreen{
                display: none !important;
            }
        }
        /* Shared Cart Count Style */
        .main-header .navbar-right .number {
            position: absolute !important;
            top: -8px !important;
            left: auto !important;

            min-width: 19px;
            height: 19px;
            padding: 0 5px;

            display: flex;
            align-items: center;
            justify-content: center;

            font-size: 11px;
            font-weight: 700;
            line-height: 1;

            color: #fff;
            background: #ff9101;

            border: 2px solid #fff;
            border-radius: 50%;

            text-align: center;
            white-space: nowrap;
            box-sizing: border-box;

            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
            z-index: 10;
        }

        /* Arabic */
        html[lang="ar"] .main-header .navbar-right .number {
            right: 26px !important;
        }

        /* English */
        html[lang="en"] .main-header .navbar-right .number {
            left: 26px !important;
        }
        .am-footer-social-icons {
            gap: 12px;
        }

        .am-footer-social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .am-footer-social-icons svg {
            display: block;
            width: 16px;
            height: 16px;
        }
        /* Align account and language/country items */
        .nav.nav-pills {
            align-items: center !important;
        }

        .nav.nav-pills .nav-item {
            display: flex;
            align-items: center;
        }

        .nav.nav-pills .nav-item > a {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        /* Remove vertical shift from account icon and text */
        .nav.nav-pills .nav-item .icon-user-light,
        .nav.nav-pills .nav-item .header_span {
            vertical-align: middle;
        }
        .ar-lang .navbar-right{
            transform: translateX(0vw) !important;
        }
        @media (min-width: 1500px) {
            .ar-lang .navbar-right{
                transform: translateY(11px) !important;

            }
        }
        .filter-mobile-home{
            display: none;
        }
        /* Keep SweetAlert above all page elements and modals */
        .swal2-container {
            z-index: 9999999 !important;
        }

        .swal2-popup {
            z-index: 9999999 !important;
        }
