/* ========================================================
   GLOBAL FRONTEND UI COMPONENTS (MAIN.CSS)
   Extracted & cleaned from master.blade.php
   ======================================================== */

/* --- Component Style Block 2 --- */
.float {
            position: fixed;
            color: white;
            width: 60px;
            height: 60px;
            bottom: 40px;
            left: 40px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #999;
            z-index: 100;
        }

        .my-float {
            margin-top: 16px;
        }

        /* Hide WhatsApp float button on small devices */
        @media (max-width: 767px) {
            .float {
                display: none !important;
            }
        }



        /* Redesigned Category Modal Styles */
        .top-category-modal .modal-content {
            border: none;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            max-height: 90vh;
            display: flex;
            flex-direction: column;
        }

        .top-category-modal .modal-header {
            padding: 15px 20px;
            background: #fff;
            border-bottom: 1px solid #f1f1f1 !important;
            border-radius: 12px 12px 0 0;
        }

        .top-category-modal .modal-title {
            font-size: 18px;
            font-weight: 700;
            color: #333;
        }

        .top-category-modal .modal-body {
            padding: 0;
            overflow-y: auto;
            flex: 1;
        }

        .modal-accordion-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .modal-accordion-item {
            border-bottom: 1px solid #f5f5f5;
        }

        .modal-accordion-header {
            display: flex;
            align-items: center;
            padding: 12px 20px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .modal-accordion-header:hover {
            background-color: #f9f9f9;
        }

        .modal-category-icon {
            width: 24px;
            height: 24px;
            margin-right: 15px;
            object-fit: contain;
            flex-shrink: 0;
        }

        .modal-category-name {
            flex: 1;
            font-size: 14px;
            font-weight: 500;
            color: #444;
            text-decoration: none !important;
            display: block;
        }

        .modal-accordion-toggle {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            border-radius: 50%;
            transition: all 0.2s ease;
            background: #f8f9fa;
        }

        .modal-accordion-toggle i {
            font-size: 12px;
        }

        .modal-accordion-content {
            list-style: none;
            padding: 0;
            margin: 0;
            background-color: #fafafa;
            display: none;
        }

        .modal-accordion-item.depth-1>.modal-accordion-header {
            padding-left: 50px;
            background: #fafafa;
        }

        .modal-accordion-item.depth-2>.modal-accordion-header {
            padding-left: 80px;
            background: #f5f5f5;
        }

        .modal-footer {
            padding: 10px 20px;
            background: #fff;
            border-top: 1px solid #f1f1f1 !important;
            border-radius: 0 0 12px 12px;
        }

        /* WSIT Sidebar Menu Styles */
        .all__category__list {
            position: relative;
            /* Anchor for the absolute sidebar */
            list-style: none;
        }

        .wsit-sidebar-menu {
            /* position: absolute; */
            top: 100%;
            left: 0;
            width: 270px;
            background: #ffffff;
            border: 1px solid #eee;
            border-top: none;
            z-index: 99999;
            /* High z-index to stay on top */
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            display: none;
            text-align: left;
            overflow: visible;
        }

        .wsit-sidebar-menu ul,
        .wsit-sidebar-menu li {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .all__category__list:hover .wsit-sidebar-menu {
            display: block;
        }

        .all__category__list.wsit-open .wsit-sidebar-menu {
            display: block;
        }

        .wsit-category-accordion {
            list-style: none;
            padding: 0;
            margin: 0;
            display: block;
            max-height: 350px;
            overflow-y: auto;
            overflow-x: visible;
            gap: 0;
        }

        /* Custom scrollbar for category list */
        .wsit-category-accordion::-webkit-scrollbar {
            width: 6px;
        }

        .wsit-category-accordion::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        .wsit-category-accordion::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }

        .wsit-category-accordion::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        .wsit-category-item {
            position: relative;
            border-bottom: none;
            width: 100%;
            float: none;
            clear: both;
            overflow: visible !important;
            margin: 0;
        }

        .wsit-category-item:last-child {
            border-bottom: none;
        }

        .wsit-subcategory-list>.wsit-subcategory-item {
            width: 100%;
            float: none;
        }

        /* Alternating Background Colors - UPDATED TO WHITE/BLACK THEME */
        .wsit-category-item:nth-child(odd)>.wsit-category-header,
        .wsit-subcategory-item:nth-child(odd)>.wsit-subcategory-header,
        .wsit-childcategory-list li:nth-child(odd) a {
            background-color: #ffffff;
        }

        .wsit-category-item:nth-child(even)>.wsit-category-header,
        .wsit-subcategory-item:nth-child(even)>.wsit-subcategory-header,
        .wsit-childcategory-list li:nth-child(even) a {
            background-color: #ffffff;
        }

        .wsit-subcategory-list,
        .wsit-childcategory-list {
            background-color: #ffffff;
            border: 1px solid #eee;
            /* Add border for visibility on white */
        }

        /* Header Styling */
        .wsit-category-header,
        .wsit-subcategory-header {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 8px 12px;
            line-height: 1.2;
            transition: padding-left 0.2s ease;
            box-sizing: border-box;
            margin: 0;
            border-bottom: 1px solid #f1f1f1;
            /* Separator */
        }

        .wsit-category-header:hover,
        .wsit-subcategory-header:hover {
            padding-left: 16px;
            background-color: #f9f9f9 !important;
            /* Light Hover */
        }

        /* Toggle Buttons & Links */
        .wsit-category-toggle,
        .wsit-subcategory-toggle {
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #000000 !important;
            /* Black Text */
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            outline: none;
            text-decoration: none !important;
        }

        .wsit-category-link,
        .wsit-subcategory-link {
            text-decoration: none;
            display: flex;
            align-items: center;
            width: 100%;
            color: #000000 !important;
            /* Black Text */
        }

        /* Image Styling - CRITICAL FIX */
        .wsit-category-toggle img,
        .wsit-category-link img {
            width: 20px !important;
            height: 20px !important;
            min-width: 20px !important;
            max-width: 20px !important;
            object-fit: contain;
            margin-right: 10px;
            display: block;
            border: none;
            background: transparent;
        }

        .wsit-category-toggle span,
        .wsit-category-link span {
            flex: 1;
        }

        /* Arrow Icons */
        .wsit-category-toggle::after,
        .wsit-subcategory-toggle::after {
            content: "\f054";
            /* FontAwesome Right Arrow */
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 10px;
            margin-left: auto;
            color: #666;
            /* Softer arrow color */
        }

        /* Subcategory List (Cascading) - Using FIXED position to escape parent overflow */
        .wsit-subcategory-list {
            position: fixed !important;
            width: 250px;
            background: #ffffff;
            list-style: none;
            padding: 0;
            margin: 0;
            box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
            display: none;
            z-index: 10000;
            max-height: 500px;
            overflow-y: auto;
            overflow-x: visible;
        }

        /* CRITICAL: Allow subcategory items to overflow for child category positioning */
        .wsit-subcategory-list>.wsit-subcategory-item {
            overflow: visible !important;
        }

        /* Child Category List (Cascading) - Using FIXED position to escape parent overflow */
        .wsit-childcategory-list {
            position: fixed !important;
            width: 230px;
            background: #ffffff;
            list-style: none;
            padding: 0;
            margin: 0;
            box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
            display: none;
            visibility: hidden;
            opacity: 0;
            z-index: 10002 !important;
            max-height: 500px;
            overflow-y: auto;
            overflow-x: visible;
            transition: opacity 0.2s ease;
            pointer-events: auto !important;
        }

        .wsit-subcategory-item {
            position: relative;
            border-bottom: none;
            background: inherit;
            overflow: visible !important;
            margin: 0;
        }

        .catagory_menu,
        .heder__category,
        .all__category__list {
            overflow: visible;
        }

        .wsit-childcategory-list li a {
            display: block;
            padding: 8px 12px;
            background: #ffffff;
            color: #333333 !important;
            /* Dark Grey/Black for children */
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            line-height: 1.2;
            transition: padding-left 0.2s ease;
            margin: 0;
            border-bottom: 1px solid #f9f9f9;
        }

        .wsit-childcategory-list li a:hover {
            padding-left: 16px;
            color: var(--primary-color) !important;
            background: #f9f9f9 !important;
        }

        /* Ensure full background coverage to avoid white gaps */
        .wsit-subcategory-list .wsit-subcategory-item:nth-child(odd)>.wsit-subcategory-header {
            background-color: #ffffff !important;
        }

        .wsit-subcategory-list .wsit-subcategory-item:nth-child(even)>.wsit-subcategory-header {
            background-color: #ffffff !important;
        }

        .wsit-childcategory-list li:nth-child(odd) a {
            background-color: #ffffff !important;
        }

        .wsit-childcategory-list li:nth-child(even) a {
            background-color: #ffffff !important;
        }

        .wsit-childcategory-list li {
            border-bottom: none;
            margin: 0;
            padding: 0;
        }

        /* Force Text Color on Subheaders */
        .wsit-subcategory-header a,
        .wsit-subcategory-header span {
            color: #000000 !important;
        }

/* --- Component Style Block 3 --- */
/* Increase footer social icon size */
        .social_link .social_list a i {
            font-size: 22px !important;
            /* Increased size */
            margin-right: 15px;
            /* Add some spacing between icons */
            transition: all 0.3s ease;
        }

        .social_link .social_list a i:hover {
            color: var(--primary-color) !important;
            transform: scale(1.1);
        }

/* --- Component Style Block 4 --- */
/* Mobile Menu Styles (Injected to bypass cache) */
        /* RIGHT SIDEBAR - Main Menu */
        .mobile-main-menu {
            position: fixed !important;
            top: 0 !important;
            right: 0 !important;
            /* Fixed at right, but moved via transform */
            left: auto !important;
            width: 280px !important;
            max-width: 85vw !important;
            height: 100vh !important;
            background-color: #ffffff !important;
            z-index: 999999 !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s, opacity 0.3s linear !important;
            overflow-y: auto !important;
            box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1) !important;
            transform: translateX(100%) !important;
            /* Move off-screen right */
            visibility: hidden !important;
            opacity: 0 !important;
            display: block !important;
            padding-bottom: 80px !important;
            /* Add space for bottom nav */
        }

        .mobile-main-menu.active {
            transform: translateX(0) !important;
            /* Move on-screen */
            visibility: visible !important;
            opacity: 1 !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s, opacity 0.3s linear !important;
        }

        /* LEFT SIDEBAR - Categories */
        .mobile-menu {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            /* Fixed at left, but moved via transform */
            right: auto !important;
            width: 280px !important;
            max-width: 85vw !important;
            height: 100vh !important;
            background-color: #ffffff !important;
            z-index: 999999 !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.3s, opacity 0.3s linear !important;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1) !important;
            transform: translateX(-100%) !important;
            /* Move off-screen left */
            visibility: hidden !important;
            opacity: 0 !important;
            display: flex !important;
            flex-direction: column !important;
            overflow: hidden !important;
            padding-bottom: 80px !important;
            /* Add space for bottom nav */
        }

        .mobile-menu.active {
            transform: translateX(0) !important;
            /* Move on-screen */
            visibility: visible !important;
            opacity: 1 !important;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s, opacity 0.3s linear !important;
        }

        /* COMMON NAV STYLES */
        .mobile-main-nav,
        .first-nav {
            list-style: none !important;
            padding: 10px 0 !important;
            margin: 0 !important;
            background: #fff !important;
        }

        .mobile-main-nav li,
        .first-nav li {
            border: none !important;
            /* Force remove all old borders */
            border-bottom: 1px solid #f8f8f8 !important;
            /* Only bottom line */
            display: block !important;
            position: relative !important;
            margin: 0 !important;
            padding: 0 !important;
            background: #fff !important;
        }

        .mobile-main-nav li a,
        .first-nav li a,
        .first-nav .parent-category .menu-category-name {
            display: flex !important;
            align-items: center !important;
            gap: 12px !important;
            /* Proper spacing between icon/image and text */
            padding: 8px 15px !important;
            /* Slightly tighter padding */
            color: #333333 !important;
            text-decoration: none !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            background: transparent !important;
            /* Ensure transparent bg */
            border: none !important;
            /* Force remove borders */
            border-radius: 0 !important;
            box-shadow: none !important;
            margin: 0 !important;
            transition: all 0.2s ease;
            width: 100% !important;
        }

        .mobile-main-nav li a:hover,
        .first-nav li a:hover,
        .first-nav .parent-category .menu-category-name:hover {
            color: var(--primary-color) !important;
            background: #f9f9f9 !important;
        }

        .side_cat_img {
            margin-right: 12px !important;
            width: 22px !important;
            height: 22px !important;
            object-fit: contain !important;
            flex-shrink: 0;
        }

        /* Toggle Button Styles - Aggressive Overrides */
        .menu-category-toggle,
        .menu-subcategory-toggle,
        .first-nav .parent-category .menu-category-toggle {
            position: absolute !important;
            right: 0 !important;
            top: 0 !important;
            width: 45px !important;
            height: 38px !important;
            /* Match li height */
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            color: #888 !important;
            z-index: 10;
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            margin: 0 !important;
            float: none !important;
        }

        .menu-category-toggle i,
        .menu-subcategory-toggle i {
            font-size: 12px !important;
            transition: transform 0.3s ease;
        }

        /* Nested Navs */
        .second-nav,
        .third-nav {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
            background: #fafafa !important;
            border-left: 2px solid var(--primary-color) !important;
            margin-left: 10px !important;
        }

        .second-nav li a {
            padding-left: 30px !important;
            font-size: 14px !important;
        }

        .third-nav li a {
            padding-left: 45px !important;
            font-size: 13px !important;
        }

        /* CLOSE BUTTONS */
        .mobile-main-menu-close,
        .mobile-menu-close {
            position: absolute !important;
            top: 15px !important;
            right: 15px !important;
            width: 32px !important;
            height: 32px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            background: #f1f1f1 !important;
            border-radius: 50% !important;
            cursor: pointer !important;
            z-index: 1000 !important;
            color: #333 !important;
        }

        /* OVERLAY */
        #page-overlay {
            z-index: 99999 !important;
        }

/* --- Component Style Block 5 --- */
/* animated border angle */
        @property --ft-angle {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }

        @keyframes ft-spin {
            to {
                --ft-angle: 360deg;
            }
        }

        @keyframes ft-pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(35, 74, 66, .45);
            }

            70% {
                box-shadow: 0 0 0 9px rgba(35, 74, 66, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(35, 74, 66, 0);
            }
        }

        <style>@property --ft-angle {
            syntax: '<angle>';
            initial-value: 0deg;
            inherits: false;
        }

        @keyframes ft-spin {
            to {
                --ft-angle: 360deg;
            }
        }

        @keyframes ft-pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(227, 185, 91, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(227, 185, 91, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(227, 185, 91, 0);
            }
        }

        /* ===== Sleek Dark Footer Design (Matching Reference Image) ===== */
        footer.site-footer {
            background-color: var(--footer-bg) !important;
            color: var(--footer-text) !important;
            padding-top: 55px;
            padding-bottom: 18px;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative !important;
            overflow: hidden;
        }

        footer.site-footer *,
        footer.site-footer *::before,
        footer.site-footer *::after {
            box-sizing: border-box;
        }

        footer.site-footer a {
            color: var(--footer-link) !important;
            text-decoration: none !important;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        footer.site-footer a:hover {
            color: var(--footer-link-hover) !important;
        }

        .ft-col-title {
            color: var(--footer-text) !important;
            font-size: 17px !important;
            font-weight: 700 !important;
            margin-bottom: 14px !important;
            letter-spacing: -0.2px;
        }

        .ft-support-label {
            font-size: 18px !important;
            color: var(--footer-text) !important;
            margin-bottom: 6px !important;
            font-weight: 700 !important;
            letter-spacing: -0.2px;
        }

        .ft-support-phone {
            background: transparent !important;
            background-color: transparent !important;
            border: none !important;
            box-shadow: none !important;
            padding: 0 !important;
            font-size: 24px !important;
            font-weight: 800 !important;
            color: var(--footer-link, var(--footer-text)) !important;
            display: inline-block !important;
            margin-bottom: 0 !important;
            letter-spacing: 0.3px;
            text-decoration: none !important;
            line-height: 1.25 !important;
        }

        .ft-support-phone:hover {
            color: var(--footer-link-hover, var(--primary-color)) !important;
            background: transparent !important;
            background-color: transparent !important;
        }

        .ft-about-text,
        .ft-address-text,
        .ft-email-text {
            font-size: 13px;
            color: var(--footer-text) !important;
            opacity: 0.92;
            line-height: 1.5;
        }

        .ft-about-text {
            margin-bottom: 6px;
        }

        .ft-links-list,
        .ft-social-vertical {
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .ft-links-list li,
        .ft-social-vertical li {
            margin-bottom: 9px;
        }

        .ft-links-list li a,
        .ft-social-vertical li a {
            font-size: 13.5px;
            color: var(--footer-link) !important;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none !important;
        }

        .ft-links-list li a:hover,
        .ft-social-vertical li a:hover {
            color: var(--footer-link-hover) !important;
        }

        .ft-social-vertical li a i {
            font-size: 14.5px;
            width: 16px;
            text-align: center;
            color: var(--footer-link) !important;
            transition: color 0.2s ease;
        }

        .ft-social-vertical li a:hover i {
            color: var(--footer-link-hover) !important;
        }

        .ft-pill-link {
            background: rgba(255, 255, 255, 0.12) !important;
            border: 1px solid rgba(255, 255, 255, 0.22) !important;
            color: var(--footer-link) !important;
            padding: 6px 12px !important;
            border-radius: 6px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            text-decoration: none !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            width: 100% !important;
            max-width: 100% !important;
            margin-bottom: 8px !important;
            transition: all 0.2s ease;
        }

        .ft-pill-link:hover {
            background: rgba(255, 255, 255, 0.24) !important;
            color: var(--footer-link-hover) !important;
            border-color: var(--footer-link-hover) !important;
            transform: translateY(-1px);
        }

        .ft-pill-dot {
            color: var(--footer-link) !important;
            font-size: 13px;
            margin-right: 6px;
        }

        .ft-pill-arrow {
            color: var(--footer-link) !important;
            width: 13px;
            height: 13px;
            transition: color 0.2s ease;
        }

        .ft-pill-link:hover .ft-pill-arrow {
            color: var(--footer-link-hover) !important;
        }

        .ft-payment-card {
            background: #ffffff !important;
            border-radius: 8px !important;
            padding: 3px 8px !important;
            margin-top: 20px !important;
            margin-bottom: 14px !important;
            box-shadow: 0 3px 14px rgba(0, 0, 0, 0.2);
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            width: 100% !important;
            overflow: hidden !important;
        }

        .ft-payment-card img {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
            display: block !important;
        }

        .ft-copyright {
            width: 100% !important;
            text-align: center !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            padding: 12px 15px !important;
            color: var(--footer-text) !important;
            opacity: 0.88;
            font-size: 14.5px !important;
        }

        .ft-copyright p {
            margin: 0 auto !important;
            text-align: center !important;
            width: 100% !important;
            color: var(--footer-text) !important;
            font-size: 14.5px !important;
            line-height: 1.5 !important;
            letter-spacing: 0.2px;
        }

        .ft-developer-link {
            color: #00a8ff !important;
            font-weight: 600 !important;
            text-decoration: none !important;
        }

        .ft-developer-link:hover {
            color: #38bdf8 !important;
            text-decoration: underline !important;
        }

        .ft-col-brand {
            padding-left: 20px !important;
        }

        @media (max-width: 767px) {
            footer.site-footer {
                padding-top: 35px !important;
                padding-bottom: 12px !important;
            }

            footer.site-footer .container {
                padding-left: 20px !important;
                padding-right: 20px !important;
            }

            .ft-col-brand {
                text-align: center !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
                margin-top: 0 !important;
                margin-bottom: 15px !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
                justify-content: center !important;
            }

            .ft-col-brand .ft-brand {
                display: flex !important;
                justify-content: center !important;
                width: 100% !important;
                margin-bottom: 12px !important;
            }

            .ft-col-brand .ft-brand a {
                justify-content: center !important;
                margin: 0 auto !important;
            }

            .ft-col-brand .ft-support-label {
                text-align: center !important;
                width: 100% !important;
            }

            .ft-col-brand .ft-support-phone {
                text-align: center !important;
                width: 100% !important;
            }

            .ft-col-brand .ft-about-text,
            .ft-col-brand .ft-address-text,
            .ft-col-brand .ft-email-text {
                text-align: center !important;
                justify-content: center !important;
                width: 100% !important;
            }

            .ft-payment-card {
                padding: 4px 6px !important;
                margin: 18px auto 14px auto !important;
                border-radius: 8px !important;
                width: 100% !important;
            }

            .ft-payment-card img {
                width: 100% !important;
                height: auto !important;
            }

            .ft-pill-link {
                max-width: 100%;
            }
        }

/* --- Component Style Block 6 --- */
/* Mobile Cart Badge */
        .mobilecart-qty {
            position: absolute;
            top: -5px;
            right: 10px;
            background-color: var(--primary-color);
            color: #fff;
            font-size: 10px;
            font-weight: bold;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .mobilecart-qty:empty {
            display: none;
        }

        /* Mobile Search Scroll Hide */
        .mobile-search {
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
            position: fixed;
            /* Changed from sticky to fixed to ensure it stays relative to viewport */
            top: 60px;
            /* Adjust based on actual header height */
            left: 0;
            width: 100%;
            z-index: 998;
            /* Lower than header (usually 1000+) but high enough to be seen */
            background: #fff;
            /* Ensure it has background to not be transparent */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .mobile-search.hide-search {
            transform: translateY(-100%);
            /* Slide UP fully */
            opacity: 0;
            pointer-events: none;
        }

        /* Adjust body or content padding if needed to prevent content jumping, 
           but since it was sticky before, it might have taken space. 
           If fixed, it won't take space. We might need a spacer or padding-top on body/content.
           However, usually mobile search overlays or sits in a specific area. 
           Let's assume the user layout handles the space or is okay with overlay. 
           If it was sticky, it took space. Fixed removes it from flow. 
           Let's check if we need a placeholder. 
           For now, let's fix the hiding issue primarily. */
        /* Mobile Navigation Icon Spacing */
        .mobile-nav-item i {
            margin-top: 3px;
        }

/* --- Component Style Block 7 --- */
.stock-out-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
            border-radius: 10px;
            pointer-events: none;
        }

        .stock-out-text {
            background: #ab0000;
            color: #fff;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: bold;
            border-radius: 5px;
            text-transform: uppercase;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

/* --- Component Style Block 8 --- */
.help-center-wrapper {
                position: fixed;
                bottom: 90px;
                right: 15px;
                z-index: 9999;
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 15px;
            }

            .help-center-options {
                display: flex;
                flex-direction: column;
                gap: 15px;
                opacity: 0;
                visibility: hidden;
                transform: translateY(20px);
                transition: all 0.3s ease;
            }

            .help-center-options.active {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }

            .help-center-option {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 26px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
                text-decoration: none;
                transition: transform 0.2s;
                flex-shrink: 0;
                color: #fff !important;
            }

            .help-center-option i {
                color: #fff !important;
            }

            .help-center-option:hover {
                transform: scale(1.1);
                color: #fff !important;
            }

            .help-center-btn {
                width: 45px;
                height: 45px;
                border-radius: 50%;
                color: #fff;
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 24px;
                cursor: pointer;
                box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
                transition: transform 0.3s;
                flex-shrink: 0;
            }

            .help-center-btn i {
                color: #fff !important;
            }

            .help-center-btn:hover {
                transform: scale(1.05);
            }

/* --- Component Style Block 9 --- */
.floating-cart-basket {
            position: fixed;
            right: 18px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 998;
            background: var(--primary-color, #ea580c);
            color: #ffffff !important;
            padding: 12px 10px 10px 10px;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
            text-decoration: none !important;
            user-select: none;
            min-width: 56px;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }
        .floating-cart-basket:hover {
            background: var(--btn-hover, var(--primary-color));
            color: #ffffff !important;
            transform: translateY(-50%) scale(1.08);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
        }
        .floating-cart-basket:active {
            transform: translateY(-50%) scale(0.98);
        }
        .floating-basket-icon-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 28px;
        }
        .floating-basket-icon-wrap i {
            font-size: 24px;
            color: #ffffff !important;
            transition: transform 0.2s ease;
        }
        .floating-cart-basket:hover .floating-basket-icon-wrap i {
            transform: scale(1.12);
        }
        .floating-basket-badge.mobilecart-qty,
        .floating-basket-badge {
            position: absolute !important;
            top: -8px !important;
            right: -10px !important;
            background: #ffffff !important;
            color: var(--primary-color, #ea580c) !important;
            font-size: 12px !important;
            font-weight: 800 !important;
            min-width: 20px !important;
            height: 20px !important;
            padding: 0 5px !important;
            border-radius: 10px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
            line-height: 1 !important;
            border: 1.5px solid var(--primary-color, #ea580c) !important;
        }
        .floating-basket-text {
            font-size: 12.5px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: 0.3px;
            line-height: 1.1;
            margin-top: 2px;
        }
        /* Hide floating basket when cart drawer is open */
        body.cart-drawer-open .floating-cart-basket {
            transform: translateY(-50%) translateX(120px);
            opacity: 0;
            pointer-events: none;
        }
        @media (max-width: 767px) {
            .floating-cart-basket {
                right: 12px;
                min-width: 48px;
                padding: 10px 8px 8px 8px;
                top: 55%;
                border-radius: 14px;
            }
            .floating-basket-icon-wrap i {
                font-size: 20px;
            }
            .floating-basket-text {
                font-size: 11px;
            }
        }

/* --- Component Style Block 10 --- */
.cart-drawer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(15, 23, 42, 0.45);
            backdrop-filter: blur(2px);
            z-index: 999998 !important;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .cart-drawer-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .cart-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 420px;
            max-width: 92vw;
            height: 100vh;
            background: #ffffff;
            z-index: 1000000 !important;
            box-shadow: -10px 0 35px rgba(0, 0, 0, 0.18);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
            font-family: inherit;
        }

        .cart-drawer.active {
            transform: translateX(0);
        }

        body.cart-drawer-open {
            overflow: hidden !important;
        }

        .cart-drawer-header {
            padding: 20px 24px;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            flex-shrink: 0;
        }

        .cart-drawer-title-wrap {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .cart-drawer-title-icon {
            font-size: 22px;
            color: #0f172a;
            display: flex;
            align-items: center;
        }

        .cart-drawer-title {
            font-size: 18px;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
            line-height: 1.2;
        }

        .cart-drawer-subtitle {
            font-size: 12.5px;
            color: #64748b;
            margin-top: 3px;
            display: block;
        }

        .cart-drawer-close {
            background: transparent;
            border: none;
            color: #64748b;
            cursor: pointer;
            padding: 6px;
            border-radius: 6px;
            line-height: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .cart-drawer-close:hover {
            color: #0f172a;
            background: #f1f5f9;
        }

        .cart-drawer-body {
            flex: 1 1 auto;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }

        /* Empty State */
        .cart-empty-wrap {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 50px 24px;
        }

        .cart-empty-icon {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: #cbd5e1;
        }

        .cart-empty-title {
            font-size: 20px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 6px;
        }

        .cart-empty-desc {
            font-size: 14px;
            color: #64748b;
            margin-bottom: 24px;
        }

        .cart-continue-btn {
            display: inline-block;
            padding: 10px 26px;
            font-size: 14.5px;
            font-weight: 600;
            color: #1e293b !important;
            background: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 8px !important;
            text-decoration: none !important;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .cart-continue-btn:hover {
            background: #f8fafc !important;
            border-color: #cbd5e1 !important;
            color: #0f172a !important;
        }

        /* Items List */
        .cart-items-container {
            flex: 1 1 auto;
            overflow-y: auto;
            padding: 20px 24px;
        }

        .cart-items-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .cart-item-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding-bottom: 16px;
            border-bottom: 1px solid #f1f5f9;
        }

        .cart-item-thumb {
            width: 62px;
            height: 62px;
            flex-shrink: 0;
            border-radius: 8px;
            overflow: hidden;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
        }

        .cart-item-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cart-item-details {
            flex: 1 1 auto;
            min-width: 0;
        }

        .cart-item-title {
            font-size: 14px;
            font-weight: 600;
            color: #0f172a;
            margin: 0 0 6px 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .cart-item-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .cart-item-price-tag {
            font-size: 14px;
            font-weight: 700;
            color: #0f172a;
        }

        .cart-qty-pill {
            display: inline-flex;
            align-items: center;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            overflow: hidden;
        }

        .cart-qty-btn {
            background: #f8fafc;
            border: none;
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            cursor: pointer;
            color: #475569;
            transition: background 0.15s;
        }

        .cart-qty-btn:hover {
            background: #e2e8f0;
            color: #0f172a;
        }

        .cart-qty-count {
            min-width: 26px;
            text-align: center;
            font-size: 13px;
            font-weight: 600;
            color: #0f172a;
        }

        .cart-item-del-btn {
            background: transparent;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            padding: 6px;
            border-radius: 4px;
            transition: color 0.15s;
        }

        .cart-item-del-btn:hover {
            color: #ef4444;
        }

        /* Footer */
        .cart-drawer-footer {
            padding: 20px 24px;
            border-top: 1px solid #f1f5f9;
            background: #ffffff;
            flex-shrink: 0;
        }

        .cart-drawer-total-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .cart-drawer-total-label {
            font-size: 15px;
            font-weight: 600;
            color: #475569;
        }

        .cart-drawer-total-amount {
            font-size: 20px;
            font-weight: 800;
            color: #0f172a;
        }

        .cart-checkout-btn-main {
            display: block;
            width: 100%;
            padding: 13px 20px;
            background: #0f172a;
            color: #ffffff !important;
            text-align: center;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 700;
            text-decoration: none !important;
            margin-bottom: 10px;
            transition: background 0.2s;
        }

        .cart-checkout-btn-main:hover {
            background: #1e293b;
            color: #ffffff !important;
        }

        .cart-view-btn-secondary {
            display: block;
            width: 100%;
            padding: 10px 20px;
            background: #f8fafc;
            color: #334155 !important;
            text-align: center;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none !important;
            border: 1px solid #e2e8f0;
            transition: all 0.2s;
        }

        .cart-view-btn-secondary:hover {
            background: #f1f5f9;
            border-color: #cbd5e1;
            color: #0f172a !important;
        }

        /* Cart Drawer Mobile Responsive Tweaks (2/3 to 3/4 width on mobile as requested) */
        @media (max-width: 767px) {
            .cart-drawer {
                width: 78% !important;
                max-width: 340px !important;
                min-width: 280px !important;
                border-radius: 18px 0 0 18px !important;
                box-shadow: -10px 0 35px rgba(0, 0, 0, 0.28) !important;
            }
            .cart-drawer-header {
                padding: 15px 16px !important;
            }
            .cart-drawer-title {
                font-size: 16px !important;
            }
            .cart-drawer-subtitle {
                font-size: 11.5px !important;
            }
            .cart-items-container {
                padding: 14px 16px !important;
            }
            .cart-item-row {
                gap: 10px !important;
                padding-bottom: 12px !important;
            }
            .cart-item-thumb {
                width: 50px !important;
                height: 50px !important;
            }
            .cart-item-title {
                font-size: 13px !important;
                margin-bottom: 4px !important;
            }
            .cart-item-price-tag {
                font-size: 13px !important;
            }
            .cart-drawer-footer {
                padding: 13px 16px calc(86px + env(safe-area-inset-bottom, 0px)) !important;
            }
            .cart-drawer-total-row {
                margin-bottom: 10px !important;
            }
            .cart-drawer-total-label {
                font-size: 14px !important;
            }
            .cart-drawer-total-amount {
                font-size: 18px !important;
            }
            .cart-checkout-btn-main {
                padding: 10px 14px !important;
                font-size: 14px !important;
                margin-bottom: 7px !important;
                border-radius: 8px !important;
            }
            .cart-view-btn-secondary {
                padding: 9px 14px !important;
                font-size: 13px !important;
                border-radius: 8px !important;
            }
        }

        /* Hide old cshort-summary dropdown */
        .cshort-summary {
            display: none !important;
        }


/* --- Common Page Nav Menu (.cmn_menu) --- */
.cmn_menu ul li a {
        background-color: var(--primary-color) !important;
        color: #ffffff !important;
        border-radius: 50px;
        padding: 5px 15px;
        display: inline-block;
        margin: 5px;
    }
