:root {
            --bg: #faf9f6; /* Warm Off-white */
            --bg-card: #ffffff;
            --primary: #c11d0b; /* Eagle Red */
            --accent: #bf864f;  /* Eagle Gold */
            --charcoal: #1e293b;
            --text-dark: #1e293b;
            --text-light: #64748b;
            --border-gold: 1.5px solid var(--accent);
            --border-light: 1px solid #e2e8f0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg);
            color: var(--text-dark);
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* 1. FDA Warning Bar */
        .fda-warning {
            background-color: #fef2f2 !important;
            border-bottom: var(--border-light) !important;
            color: #991b1b !important;
            text-align: center !important;
            font-size: 11px !important;
            font-weight: 700 !important;
            padding: 8px 16px !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
        }

        /* 2. Promo Shipping Bar */
        .promo-bar {
            background-color: var(--charcoal);
            color: #ffffff;
            border-bottom: 2px solid var(--accent);
            text-align: center;
            font-size: 11px;
            font-weight: 600;
            padding: 10px 16px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .promo-bar span {
            color: var(--accent);
        }

        /* 3. Header Main */
        .b2b-header,
        .elementor-location-header,
        #site-header {
            background-color: var(--bg-card);
            border-bottom: var(--border-light);
            position: relative;
            z-index: 99999 !important;
        }

        .header-main {
            max-width: 1440px;
            margin: 0 auto;
            padding: 15px 24px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo img {
            height: 75px;
            object-fit: contain;
        }



        .search-bar {
            flex-grow: 1;
            max-width: 500px;
            display: flex;
            align-items: stretch;
            height: 42px;
            border: 1px solid var(--accent);
            border-radius: 2px;
            overflow: hidden;
            background-color: #ffffff;
        }

        .search-bar input {
            width: 100%;
            padding: 0 16px;
            border: none;
            outline: none;
            font-family: inherit;
            font-size: 14px;
            color: var(--text-dark);
            height: 100%;
        }

        .search-bar input::placeholder {
            color: #a0a0a0;
            font-style: italic;
        }

        .search-bar button {
            background-color: var(--accent);
            color: #ffffff;
            border: none;
            padding: 0 24px;
            font-family: inherit;
            font-weight: 700;
            font-size: 13px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .search-bar button:hover {
            background-color: var(--charcoal);
        }

        .hotline-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .hotline-icon {
            font-size: 16px;
            color: var(--accent);
            width: 36px;
            height: 36px;
            border: 1px solid var(--border-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--bg-card);
        }

        .hotline-info {
            font-size: 9px;
            text-transform: uppercase;
            font-weight: 700;
            color: var(--text-light);
        }

        .hotline-num {
            display: block;
            font-size: 14px;
            font-weight: 700;
            color: var(--text-dark);
            text-decoration: none;
        }

        .header-actions {
            display: flex;
            gap: 20px;
        }

        .header-actions a {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 18px;
            position: relative;
            width: 38px;
            height: 38px;
            border: 1px solid var(--border-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .header-actions a:hover {
            color: var(--accent);
            border-color: var(--accent);
        }

        .cart-indicator,
        .wishlist-indicator {
            background-color: var(--accent);
            color: #ffffff;
            font-size: 8px;
            font-weight: 700;
            padding: 2px 5px;
            border-radius: 50%;
            position: absolute;
            top: -5px;
            right: -5px;
        }

        /* 4. Primary Navigation Menu */
        nav {
            border-bottom: var(--border-light);
            background-color: var(--bg);
            position: relative;
        }

        .nav-container {
            max-width: 1440px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            padding: 0 24px;
            position: static;
        }

        /* Scoped Navigation Menu to prevent conflicts with Martfury theme styles */
        .b2b-nav-container {
            max-width: 1440px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            padding: 10px 24px;
        }

        .b2b-nav-menu {
            display: flex !important;
            list-style: none !important;
            list-style-type: none !important;
            padding: 0 !important;
            margin: 0 !important;
            gap: 12px 10px !important;
            justify-content: center !important;
            flex-wrap: wrap !important;
            width: 100% !important;
        }

        .b2b-nav-menu > li {
            position: relative !important;
            list-style: none !important;
            list-style-type: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        .b2b-nav-menu > li > a {
            display: block !important;
            color: var(--text-dark) !important;
            text-decoration: none !important;
            font-weight: 700 !important;
            font-size: 11px !important;
            text-transform: uppercase !important;
            letter-spacing: 0.2px !important;
            padding: 5px 2px !important;
            white-space: nowrap !important;
            transition: color 0.2s !important;
        }

        .b2b-nav-menu > li > a:hover, 
        .b2b-nav-menu > li > a.active {
            color: var(--accent) !important;
        }

        /* Scoped Dropdown Menu Styles and WordPress Native Sub-menu compatibility */
        .b2b-dropdown-menu,
        .b2b-nav-menu > li > .sub-menu {
            position: absolute !important;
            top: 100% !important;
            left: 0 !important;
            background-color: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-top: 3px solid var(--accent) !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
            min-width: 240px !important;
            opacity: 0 !important;
            visibility: hidden !important;
            transform: translateY(10px) !important;
            transition: all 0.2s ease !important;
            z-index: 99999 !important;
            padding: 8px 0 !important;
            list-style: none !important;
            list-style-type: none !important;
            margin: 0 !important;
            text-align: left !important;
            display: block !important;
        }

        .b2b-nav-menu > li:hover .b2b-dropdown-menu,
        .b2b-nav-menu > li:hover > .sub-menu {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateY(0) !important;
        }

        .b2b-dropdown-menu li,
        .b2b-nav-menu .sub-menu li {
            width: 100% !important;
            display: block !important;
            list-style: none !important;
            list-style-type: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        .b2b-dropdown-menu li a,
        .b2b-nav-menu .sub-menu li a {
            display: block !important;
            padding: 8px 20px !important;
            color: var(--text-dark) !important;
            text-decoration: none !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            transition: background-color 0.2s, color 0.2s !important;
            text-transform: none !important;
            letter-spacing: normal !important;
            white-space: nowrap !important;
        }

        .b2b-dropdown-menu li a:hover,
        .b2b-nav-menu .sub-menu li a:hover {
            background-color: #f8fafc !important;
            color: var(--accent) !important;
        }

        /* Support for 3rd level fly-out sub-menus on hover */
        .b2b-nav-menu .sub-menu li {
            position: relative !important;
        }
        .b2b-nav-menu .sub-menu .sub-menu {
            position: absolute !important;
            top: 0 !important;
            left: 100% !important;
            background-color: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-top: 3px solid var(--accent) !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
            min-width: 220px !important;
            opacity: 0 !important;
            visibility: hidden !important;
            transform: translateX(10px) !important;
            transition: all 0.2s ease !important;
            z-index: 100000 !important;
            padding: 8px 0 !important;
            margin: 0 !important;
        }
        .b2b-nav-menu .sub-menu li:hover > .sub-menu {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateX(0) !important;
        }
        
        /* Indicators for items that have children */
        .b2b-nav-menu .sub-menu .menu-item-has-children > a::after {
            content: "\f054" !important;
            font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif !important;
            font-weight: 900 !important;
            float: right !important;
            font-size: 9px !important;
            margin-top: 4px !important;
        }

        /* Align last two menu item submenus to the right so they open to the left and do not overflow */
        .b2b-nav-menu > li:nth-last-child(-n+2) > .sub-menu,
        .b2b-nav-menu > li:nth-last-child(-n+2) .b2b-dropdown-menu {
            left: auto !important;
            right: 0 !important;
        }
        .b2b-nav-menu > li:nth-last-child(-n+2) .sub-menu .sub-menu {
            left: auto !important;
            right: 100% !important;
            transform: translateX(-10px) !important;
        }
        .b2b-nav-menu > li:nth-last-child(-n+2) .sub-menu li:hover > .sub-menu {
            transform: translateX(0) !important;
        }

        /* Mega Dropdown Panel for Design 5 (Split Row Grid with Brands) */
        .mega-menu-panel {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            width: 100%;
            background-color: #faf9f6; /* Ivory B2B panel background */
            border-bottom: 3px solid var(--accent);
            box-shadow: 0 10px 20px rgba(0,0,0,0.06);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.25s ease;
            z-index: 999;
            padding: 40px 60px;
            box-sizing: border-box;
        }

        .has-mega:hover .mega-menu-panel {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .mega-menu-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 30px;
            text-align: left;
        }

        .mega-top-row {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        .mega-col h3 {
            color: var(--text-dark);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
            border-bottom: 1px solid var(--border-gold);
            padding-bottom: 8px;
        }

        .mega-col a {
            display: block;
            color: var(--text-muted);
            font-size: 13px;
            text-decoration: none;
            padding: 6px 0;
            transition: color 0.2s;
            text-transform: none;
            letter-spacing: normal;
        }

        .mega-col a:hover {
            color: var(--accent);
        }

        /* Bottom Row Brands */
        .mega-bottom-row {
            border-top: 1px solid var(--border-gold);
            padding-top: 24px;
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .mega-bottom-title {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--text-dark);
            white-space: nowrap;
        }

        .mega-brands-wrap {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .mega-brand-badge {
            background-color: var(--bg-card);
            border: 1px solid var(--border-gold);
            color: var(--text-dark);
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 20px;
            text-decoration: none;
            transition: all 0.2s;
        }

        .mega-brand-badge:hover {
            background-color: var(--accent);
            color: #ffffff;
            border-color: var(--accent);
        }

        /* 5. Hero Banner + Sides */
        .hero {
            max-width: 1400px;
            margin: 30px auto;
            padding: 0 24px;
            display: grid;
            grid-template-columns: 6.5fr 3.5fr !important;
            gap: 24px;
        }

        @media (max-width: 968px) {
            .hero { grid-template-columns: 1fr; }
        }

        /* Hero Slider styling */
        .hero-slider-container {
            position: relative;
            width: 100%;
            min-height: 480px;
            overflow: hidden;
            border-radius: 4px;
            border: var(--border-gold);
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        }
        .hero-slides-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
        }
        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.6s ease, visibility 0.6s ease;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            text-align: left;
            z-index: 1;
        }
        .hero-slide picture {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }
        .hero-slide-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }
        .hero-slide.active {
            opacity: 1;
            visibility: visible;
            z-index: 2;
        }
        
        @media (max-width: 768px) {
            .hide-on-mobile-slide {
                display: none !important;
            }
        }
        @media (min-width: 769px) {
            .hide-on-desktop-slide {
                display: none !important;
            }
        }

        .hero-slide-content {
            max-width: 600px;
            z-index: 3;
            color: var(--text-dark);
            opacity: 0;
        }
        .hero-slide.active .hero-slide-content {
            animation: slideFadeUp 0.8s ease forwards;
        }
        @keyframes slideFadeUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .hero-tag {
            color: var(--accent);
            font-weight: 700;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 16px;
            display: inline-block;
        }
        .hero-title {
            font-family: 'Inter', sans-serif;
            font-size: 46px;
            font-weight: 500;
            line-height: 1.15;
            color: var(--text-dark);
            margin-bottom: 20px;
        }
        .hero-title span {
            color: var(--primary);
        }
        .hero-desc {
            color: var(--text-muted);
            font-weight: 500;
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 30px;
            max-width: 500px;
        }
        .hero-dots {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .hero-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.2);
            cursor: pointer;
            transition: background 0.3s ease, transform 0.3s ease;
        }
        .hero-dot.active {
            background: var(--primary);
            transform: scale(1.2);
        }
        .hero-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.85) !important;
            color: var(--text-dark) !important;
            border: 1px solid rgba(0,0,0,0.1) !important;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease !important;
            z-index: 10;
            opacity: 0 !important;
            pointer-events: none;
        }

        .hero-slider-container:hover .hero-arrow {
            opacity: 1 !important;
            pointer-events: auto;
        }

        .hero-arrow:hover {
            background: var(--accent) !important;
            color: #ffffff !important;
            border-color: var(--accent) !important;
        }

        .prev-arrow {
            left: 15px;
        }

        .next-arrow {
            right: 15px;
        }

        .hero-desc {
            color: var(--text-dark);
            font-weight: 500;
            font-size: 15px;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 24px;
            border-radius: 2px;
            font-weight: 700;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
        }

        .btn-primary {
            background-color: var(--charcoal);
            color: #ffffff;
            border: 1px solid var(--charcoal);
        }

        .btn-primary:hover {
            background-color: var(--accent);
            border-color: var(--accent);
        }

        .btn-outline {
            background-color: #ffffff;
            border: 1px solid var(--accent);
            color: var(--text-dark);
            margin-left: 12px;
        }

        .btn-outline:hover {
            background-color: var(--accent);
            color: #ffffff;
        }

        .hero-gallery-stack {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            height: 100%;
            min-height: 400px;
            background: #ffffff;
            border: var(--border-gold);
            border-radius: 2px;
            overflow: hidden;
        }

        .gallery-card {
            position: absolute;
            width: 180px;
            background: #ffffff;
            border: var(--border-light);
            border-radius: 4px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            transition: all 0.3s ease;
        }

        .gallery-card img {
            width: 120px;
            height: 120px;
            object-fit: contain;
            margin-bottom: 8px;
        }

        .gallery-card h4 {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 4px;
        }

        .gallery-card .price {
            font-size: 12px;
            color: var(--accent);
            font-weight: 800;
        }

        .gallery-card-1 {
            transform: translate(-50px, -20px) rotate(-8deg);
            z-index: 1;
        }

        .gallery-card-2 {
            transform: translate(0, 10px) scale(1.05);
            z-index: 3;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }

        .gallery-card-3 {
            transform: translate(50px, -20px) rotate(8deg);
            z-index: 2;
        }

        .gallery-card:hover {
            transform: scale(1.1) translateY(-10px);
            z-index: 5;
        }

        /* 6. Features Row */
        .features {
            max-width: 1400px;
            margin: 20px auto 40px;
            padding: 0 24px;
            overflow: hidden;
        }
        .features-track {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            width: 100%;
        }

        .feature-card {
            border: var(--border-light);
            padding: 20px;
            display: flex;
            gap: 16px;
            align-items: center;
            background-color: var(--bg-card);
        }

        .feature-icon {
            font-size: 22px;
            color: var(--accent);
            width: 44px;
            height: 44px;
            border: 1px solid var(--border-light);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-card h4 {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .feature-card p {
            font-size: 12px;
            color: var(--text-light);
        }

        /* 7. Shop by Category */
        .section-header {
            max-width: 1400px;
            margin: 40px auto 20px;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1.5px solid var(--accent);
            padding-bottom: 10px;
        }

        .section-title {
            font-family: 'Inter', sans-serif;
            font-size: 24px;
            font-weight: 500;
            color: var(--text-dark);
        }

        .section-right-link {
            color: var(--accent);
            text-decoration: none;
            font-weight: 700;
            font-size: 12px;
            text-transform: uppercase;
        }

        .categories-grid {
            max-width: 1400px;
            margin: 0 auto 40px;
            padding: 0 24px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
            gap: 20px;
        }

        /* Categories Slider */
        .categories-slider-wrapper {
            position: relative;
            max-width: 1400px;
            margin: 0 auto 40px;
            padding: 0 50px;
            box-sizing: border-box;
        }

        /* Hide category slider arrows by default (mobile/tablet) */
        .categories-slider-wrapper .slider-arrow {
            display: none !important;
        }

        /* Show on desktop only (min-width: 769px) */
        @media (min-width: 769px) {
            .categories-slider-wrapper .slider-arrow {
                display: flex !important;
            }
        }

        .categories-slider-container {
            overflow: hidden;
            width: 100%;
        }

        .categories-slider-track {
            display: flex;
            transition: transform 0.3s ease-in-out;
            gap: 16px;
        }

        .categories-slider-track .category-card {
            flex: 0 0 calc((100% - (6 * 16px)) / 7);
            margin-bottom: 0;
            box-sizing: border-box;
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: #ffffff;
            border: 1px solid var(--accent);
            color: var(--accent);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.2s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .slider-arrow:hover {
            background-color: var(--accent);
            color: #ffffff;
        }

        .category-prev {
            left: 8px;
        }

        .category-next {
            right: 8px;
        }

        @media (max-width: 1024px) {
            .categories-slider-track .category-card {
                flex: 0 0 calc((100% - (3 * 16px)) / 4);
            }
        }

        @media (max-width: 768px) {
            .categories-slider-wrapper {
                padding: 0 35px;
            }
            .categories-slider-track {
                gap: 12px;
            }
            .categories-slider-track .category-card {
                flex: 0 0 calc((100% - (1 * 12px)) / 2); /* 2 per view on mobile */
            }
            .slider-arrow {
                width: 30px;
                height: 30px;
                font-size: 14px;
            }
            .category-prev {
                left: 2px;
            }
            .category-next {
                right: 2px;
            }
        }

        .category-card {
            border: var(--border-light);
            padding: 20px 10px;
            text-align: center;
            text-decoration: none;
            color: var(--text-dark);
            display: flex;
            flex-direction: column;
            align-items: center;
            background-color: var(--bg-card);
            transition: border-color 0.2s;
        }

        .category-card:hover {
            border-color: var(--accent);
        }

        .category-img-box {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            border: 1px solid var(--border-light);
            margin-bottom: 12px;
        }

        .category-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .category-card h3 {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        /* Products Grid */
        .products-grid {
            max-width: 1400px;
            margin: 0 auto 40px;
            padding: 0 24px;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 24px;
        }

        @media (max-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 768px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
        }

        .product-card {
            border: var(--border-light);
            padding: 16px;
            background-color: var(--bg-card);
            display: flex;
            flex-direction: column;
            position: relative;
            transition: border-color 0.2s;
        }

        .product-card:hover {
            border-color: var(--accent);
        }



        .product-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background-color: var(--primary);
            color: #ffffff;
            font-size: 9px;
            font-weight: 800;
            padding: 3px 6px;
            text-transform: uppercase;
            z-index: 2;
        }

        .product-badge.out {
            background-color: var(--text-light);
        }

        .product-img-box {
            width: 100%;
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #ffffff;
            margin-bottom: 16px;
            overflow: hidden;
        }

        .product-img-box img {
            max-height: 150px;
            max-width: 90%;
            object-fit: contain;
        }

        .product-brand {
            font-size: 9px;
            color: var(--accent);
            text-transform: uppercase;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .product-title {
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--text-dark);
            text-decoration: none;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            height: 2.8em; /* Exactly 2 lines */
        }

        .product-price {
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin-top: auto;
            margin-bottom: 8px;
            display: block;
        }

        .product-action-row {
            display: flex;
            gap: 6px;
            width: 100%;
            align-items: center;
            padding-top: 12px;
            border-top: var(--border-light);
        }

        .btn-order {
            width: calc(80% - 3px);
            background-color: var(--accent);
            color: #ffffff;
            border: none;
            height: 36px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s;
        }

        .btn-order:hover,
        .btn-login-to-buy:hover {
            background-color: #c11d0b !important;
            border-color: #c11d0b !important;
            color: #ffffff !important;
        }

        .product-card .btn-wishlist {
            width: calc(20% - 3px);
            height: 36px;
            background: #ffffff;
            border: var(--border-light);
            border-radius: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            cursor: pointer;
            transition: all 0.2s;
        }

        .product-card .btn-wishlist:hover {
            color: var(--primary);
            border-color: var(--primary);
            background-color: #fef2f2;
        }

        /* 8. Top Featured Collections Tabbed Headers */
        .tabs-header {
            max-width: 1400px;
            margin: 40px auto 20px;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1.5px solid var(--accent);
            padding-bottom: 10px;
        }

        .tabs-nav {
            display: flex;
            gap: 20px;
            list-style: none;
        }

        .tabs-nav li a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 700;
            font-size: 13px;
            text-transform: uppercase;
            padding-bottom: 10px;
            position: relative;
        }

        .tabs-nav li a.active {
            color: var(--text-dark);
        }

        .tabs-nav li a.active::after {
            content: '';
            position: absolute;
            bottom: -12px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: var(--accent);
        }

        /* 9. Top Selling Categories Capsules */
        .capsules-grid {
            max-width: 1400px;
            margin: 0 auto 40px;
            padding: 0 24px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 16px;
        }

        .capsule-card {
            border: var(--border-light);
            padding: 10px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: var(--text-dark);
            background-color: var(--bg-card);
            transition: border-color 0.2s;
        }

        .capsule-card:hover {
            border-color: var(--accent);
        }

        .capsule-img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid var(--border-light);
        }

        .capsule-title {
            font-size: 12px;
            font-weight: 700;
        }

        /* 10. Middle Promo Banners */
        .promo-banners-section {
            max-width: 1400px;
            margin: 50px auto;
            padding: 0 24px;
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 24px;
        }
        @media (max-width: 968px) {
            .promo-banners-section {
                grid-template-columns: 1fr;
            }
        }
        .promo-banner-card {
            background-size: cover;
            background-position: center;
            height: 260px;
            border-radius: 4px;
            border: var(--border-light);
            padding: 40px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .promo-banner-content {
            z-index: 2;
            color: #ffffff;
        }
        .promo-banner-tag {
            font-size: 11px;
            text-transform: uppercase;
            font-weight: 700;
            color: var(--accent);
            letter-spacing: 1px;
            display: block;
            margin-bottom: 8px;
        }
        .promo-banner-title {
            font-size: 26px !important;
            font-weight: 700 !important;
            margin-bottom: 8px !important;
            color: #ffffff !important;
        }
        .promo-banner-desc {
            font-size: 14px !important;
            color: #e2e8f0 !important;
            margin-bottom: 12px !important;
        }

        /* 12. Best Seller Brands Grid */
        .brands-grid {
            max-width: 1400px;
            margin: 0 auto 50px;
            padding: 0 24px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
        }

        @media (max-width: 768px) {
            .brands-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 12px !important;
                padding: 0 16px !important;
            }
            .brand-card {
                height: 70px !important;
                font-size: 14px !important;
            }
        }

        .brand-card {
            border: var(--border-light);
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            font-size: 16px;
            color: var(--text-light);
            background-color: var(--bg-card);
            transition: all 0.2s;
        }

        .brand-card:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* 13. Best Selling Products */
        .section-header {
            max-width: 1400px;
            margin: 40px auto 20px;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1.5px solid var(--accent);
            padding-bottom: 10px;
        }

        .section-title {
            font-family: 'Inter', sans-serif;
            font-size: 24px;
            font-weight: 500;
            color: var(--text-dark);
        }

        .b2b-footer {
            background-color: var(--charcoal) !important;
            color: #ffffff !important;
            padding: 80px 24px 40px !important;
            border-top: 3px solid var(--accent) !important;
            display: block !important;
        }

        .footer-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 60px;
        }

        @media (max-width: 968px) {
            .footer-grid { grid-template-columns: 1fr; }
        }

        .footer-col h3,
        .footer-col h4,
        .footer-col .widget-title {
            font-family: 'Inter', sans-serif !important;
            font-size: 15px !important;
            font-weight: 500 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            margin-bottom: 24px !important;
            color: #ffffff !important;
            border-bottom: 1px solid #334155 !important;
            padding-bottom: 8px !important;
        }

        .footer-col p {
            color: #94a3b8 !important;
            font-size: 13px !important;
            line-height: 1.6 !important;
            margin-bottom: 20px !important;
        }

        .footer-logo img {
            height: 75px;
            background-color: #ffffff;
            padding: 4px;
            border-radius: 4px;
            margin-bottom: 20px;
        }

        .footer-contact-num {
            font-family: 'Inter', sans-serif !important;
            font-size: 20px !important;
            color: #ffffff !important;
            text-decoration: none !important;
            display: block !important;
            margin-bottom: 12px !important;
        }

        .footer-contact-num span {
            color: var(--accent) !important;
        }

        .footer-col ul,
        .footer-col .menu {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        .footer-col ul li,
        .footer-col .menu li {
            margin-bottom: 12px !important;
        }

        .footer-col ul li a,
        .footer-col .menu li a {
            color: #94a3b8 !important;
            text-decoration: none !important;
            font-size: 13px !important;
            font-weight: 500 !important;
            transition: color 0.2s !important;
        }

        .footer-col ul li a:hover,
        .footer-col .menu li a:hover {
            color: var(--accent) !important;
        }

        .hours-table {
            width: 100% !important;
            border-collapse: collapse !important;
            font-size: 12px !important;
            color: #94a3b8 !important;
            border: none !important;
            background: transparent !important;
        }

        .hours-table td {
            padding: 6px 0 !important;
            border: none !important;
            border-bottom: 1px solid #334155 !important;
            background: transparent !important;
        }

        .hours-table tr {
            background: transparent !important;
            border: none !important;
        }

        .hours-table tr:last-child td {
            border-bottom: none !important;
        }

        .hours-table .time {
            text-align: right !important;
            font-weight: 600 !important;
            background: transparent !important;
            color: #ffffff !important;
        }

        .newsletter-form,
        .wpforms-form {
            display: flex !important;
            gap: 10px !important;
            align-items: center !important;
            width: 100% !important;
        }

        /* WPForms layout wraps */
        .wpforms-container,
        .wpforms-container-full {
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
        }
        .wpforms-form .wpforms-field-container {
            flex-grow: 1 !important;
            width: auto !important;
            margin: 0 !important;
            padding: 0 !important;
        }
        .wpforms-form .wpforms-field {
            margin: 0 !important;
            padding: 0 !important;
        }
        
        .newsletter-form input,
        {
            width: 100% !important;
            padding: 10px 14px !important;
            border: 1px solid #334155 !important;
            border-radius: 4px !important;
            background-color: #1e293b !important;
            color: #ffffff !important;
            outline: none !important;
            font-size: 13px !important;
            height: 40px !important;
        }

        .newsletter-form button
        {
            background-color: var(--accent) !important;
            color: #ffffff !important;
            border: none !important;
            border-radius: 4px !important;
            padding: 0 20px !important;
            font-weight: 700 !important;
            cursor: pointer !important;
            transition: background-color 0.2s !important;
            white-space: nowrap !important;
            height: 40px !important;
            margin: 0 !important;
        }
        .newsletter-form button:hover
        {
            background-color: #a37243 !important;
        }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 40px;
            border-top: 1px solid #334155;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px !important;
            color: #94a3b8 !important;
        }

        .footer-bottom-links a {
            color: #94a3b8 !important;
            text-decoration: none !important;
            margin-left: 20px;
            font-size: 13px !important;
        }

        .footer-bottom-links a:hover {
            color: var(--accent) !important;
        }

        @media (max-width: 767px) {
            .footer-bottom {
                flex-direction: column !important;
                text-align: center !important;
                gap: 15px !important;
                padding-bottom: 20px !important;
            }
            .footer-bottom-links {
                display: flex !important;
                gap: 15px !important;
                justify-content: center !important;
                margin-top: 5px !important;
            }
            .footer-bottom-links a {
                margin: 0 !important;
            }
        }

        /* Scroll Top Button Color overrides */
        #scroll-top-btn,
        #scroll-top,
        #scrollup,
        .scroll-top,
        .scrollup,
        .back-to-top,
        .martfury-scroll-top {
            background-color: #c11d0b !important;
            color: #ffffff !important;
            border-color: #c11d0b !important;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
        }

        #scroll-top-btn:hover,
        #scroll-top:hover,
        #scrollup:hover,
        .scroll-top:hover,
        .scrollup:hover,
        .back-to-top:hover,
        .martfury-scroll-top:hover {
            background-color: #a01708 !important;
            color: #ffffff !important;
            border-color: #a01708 !important;
        }

        #scroll-top-btn *,
        #scroll-top *,
        #scrollup *,
        .scroll-top *,
        .scrollup *,
        .back-to-top *,
        .martfury-scroll-top * {
            color: #ffffff !important;
        }
        
        .floating-hub {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 9999;
            background-color: var(--primary);
            color: #ffffff;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            border: 2px solid #ffffff;
            transition: background-color 0.2s;
        }
        .floating-hub:hover {
            background-color: var(--accent);
        }

        /* Hiding WooCommerce "View Cart" redirection links next to add to cart buttons */
        a.added_to_cart {
            display: none !important;
        }

        /* AJAX loading spinner styling inside the Add to Cart buttons */
        .btn-order.loading {
            position: relative !important;
            color: transparent !important;
            pointer-events: none !important;
        }
        .btn-order.loading::after {
            content: "" !important;
            position: absolute !important;
            top: 50% !important;
            left: 50% !important;
            width: 16px !important;
            height: 16px !important;
            margin-top: -8px !important;
            margin-left: -8px !important;
            border: 2px solid #ffffff !important;
            border-top-color: transparent !important;
            border-radius: 50% !important;
            animation: b2b-spin 0.6s linear infinite !important;
        }
        @keyframes b2b-spin {
            to { transform: rotate(360deg); }
        }

        /* Mobile Header CSS */
        .b2b-mobile-header {
            display: none !important;
            padding: 10px 16px !important;
            align-items: center !important;
            justify-content: space-between !important;
            background-color: #ffffff !important;
            border-bottom: 1px solid #e2e8f0 !important;
        }
        .b2b-mobile-header .logo img {
            height: 50px !important;
            width: auto !important;
        }
        .b2b-mobile-header .header-actions {
            display: flex !important;
            align-items: center !important;
            gap: 16px !important;
        }
        .b2b-mobile-header .header-actions a,
        .b2b-mobile-header .header-actions button {
            color: #1e293b !important;
            font-size: 20px !important;
            background: none !important;
            border: none !important;
            padding: 0 !important;
            cursor: pointer !important;
            position: relative !important;
            display: flex !important;
            align-items: center;
        }
        .b2b-mobile-search-bar {
            display: none !important;
            padding: 8px 16px !important;
            background-color: #faf9f6 !important;
            border-bottom: 1px solid #e2e8f0 !important;
        }
        .b2b-mobile-search-bar .search-bar {
            max-width: 100% !important;
            margin: 0 !important;
        }

        /* Off-canvas Drawer Styles */
        .b2b-off-canvas-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100% !important;
            height: 100% !important;
            background-color: rgba(0,0,0,0.5) !important;
            opacity: 0 !important;
            visibility: hidden !important;
            transition: all 0.3s ease !important;
            z-index: 999999 !important;
        }
        .b2b-off-canvas-overlay.active {
            opacity: 1 !important;
            visibility: visible !important;
        }
        .b2b-off-canvas-drawer {
            position: fixed !important;
            top: 0 !important;
            right: 0 !important;
            width: 290px !important;
            height: 100% !important;
            background-color: #ffffff !important;
            box-shadow: -4px 0 12px rgba(0,0,0,0.1) !important;
            transform: translateX(100%) !important;
            transition: transform 0.3s ease !important;
            z-index: 1000000 !important;
            display: flex !important;
            flex-direction: column !important;
        }
        .b2b-off-canvas-drawer.active {
            transform: translateX(0) !important;
        }
        .drawer-header {
            padding: 16px 20px !important;
            border-bottom: 1px solid #e2e8f0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
        }
        .drawer-header h3 {
            margin: 0 !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            color: #1e293b !important;
        }
        .drawer-close {
            background: none !important;
            border: none !important;
            font-size: 28px !important;
            cursor: pointer !important;
            color: #64748b !important;
            padding: 0 !important;
            line-height: 1 !important;
        }
        .drawer-body {
            flex-grow: 1 !important;
            overflow-y: auto !important;
            padding: 10px 20px !important;
        }
        .mobile-nav-menu {
            list-style: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        .mobile-nav-menu > li {
            border-bottom: 1px solid #f1f5f9 !important;
            padding: 5px 0 !important;
            list-style: none !important;
        }
        .mobile-nav-menu a {
            display: flex !important;
            align-items: center !important;
            justify-content: space-between !important;
            color: #1e293b !important;
            text-decoration: none !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            padding: 4px 0 !important;
        }
        .mobile-nav-menu a:hover {
            color: #bf864f !important;
        }
        .mobile-nav-menu .sub-menu {
            list-style: none !important;
            padding-left: 15px !important;
            margin: 8px 0 0 0 !important;
            display: none;
            border-left: 1px solid #e2e8f0 !important;
        }
        .mobile-nav-menu .sub-menu li {
            padding: 0px 0 !important;
            list-style: none !important;
        }
        .mobile-nav-menu .sub-menu li a {
            font-size: 13px !important;
            font-weight: 500 !important;
            color: #64748b !important;
            text-transform: none !important;
        }

        /* Desktop vs Mobile Header Visibility & Product Card Responsive Rows */
        @media (max-width: 768px) {
            .b2b-desktop-header, .b2b-desktop-nav {
                display: none !important;
            }
            .b2b-mobile-header, .b2b-mobile-search-bar {
                display: flex !important;
            }
            /* Product grid - 2 columns on mobile */
            .products-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 12px !important;
                padding: 0 12px !important;
                margin-bottom: 24px !important;
            }
            .product-card {
                padding: 12px 8px !important;
                display: flex !important;
                flex-direction: column !important;
            }
            .product-title {
                font-size: 12px !important;
                margin-bottom: 6px !important;
            }
            .product-price {
                font-size: 13px !important;
                margin-bottom: 6px !important;
            }
            .product-action-row {
                gap: 4px !important;
                flex-direction: row !important;
                align-items: center !important;
            }
            .btn-order {
                font-size: 10px !important;
                padding: 8px 4px !important;
                height: 32px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            .btn-wishlist {
                width: 32px !important;
                height: 32px !important;
                font-size: 12px !important;
                display: flex !important;
                align-items: center !important;
                justify-content: center !important;
            }
            /* Hero slider height adjustment */
            .hero {
                height: 320px !important;
            }
            .hero-slide {
                background-size: cover !important;
                background-position: center !important;
            }
            .hero-slide-content {
                padding: 20px !important;
                max-width: 100% !important;
            }
            .hero-title {
                font-size: 24px !important;
            }
            .hero-desc {
                font-size: 12px !important;
                line-height: 1.3 !important;
            }
            .hero-gallery-stack {
                display: none !important; /* Hide overlapping product stack on mobile */
            }
        }

        /* 3D Stacked Product Slider in Hero */
        .b2b-hero-product-slider {
            position: relative !important;
            width: 100% !important;
            height: 480px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            overflow: visible !important;
        }

        .b2b-hero-product-card {
            position: absolute !important;
            width: 250px !important;
            background: #ffffff !important;
            border: 1px solid #e2e8f0 !important;
            border-radius: 8px !important;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
            padding: 16px !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0.6s step-end !important;
            opacity: 0;
            pointer-events: none;
            z-index: 0;
        }

        /* Card States */
        .b2b-hero-product-card.card-active {
            opacity: 1 !important;
            pointer-events: auto !important;
            transform: translateX(0) scale(1) rotate(0deg) !important;
            z-index: 5 !important;
            transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, z-index 0.6s step-start !important;
        }

        .b2b-hero-product-card.card-prev {
            opacity: 0.4 !important;
            pointer-events: none !important;
            transform: translateX(-90px) scale(0.82) rotate(-6deg) !important;
            z-index: 2 !important;
        }

        .b2b-hero-product-card.card-next {
            opacity: 0.4 !important;
            pointer-events: none !important;
            transform: translateX(90px) scale(0.82) rotate(6deg) !important;
            z-index: 2 !important;
        }

        /* Product Card Inside Details */
        .b2b-hero-product-card .card-img-box {
            width: 100% !important;
            height: 150px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            margin-bottom: 12px !important;
            overflow: hidden !important;
            background: #ffffff !important;
        }

        .b2b-hero-product-card .card-img-box img {
            max-height: 100% !important;
            max-width: 100% !important;
            object-fit: contain !important;
            transition: transform 0.3s ease !important;
        }

        .b2b-hero-product-card:hover .card-img-box img {
            transform: scale(1.05) !important;
        }

        .b2b-hero-product-card .card-title {
            font-family: 'Inter', sans-serif !important;
            font-size: 13px !important;
            font-weight: 700 !important;
            color: #1e293b !important;
            margin: 0 0 6px 0 !important;
            height: 2.8em !important; /* Limit title height */
            line-height: 1.4 !important;
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
        }

        .b2b-hero-product-card .card-price {
            font-size: 14px !important;
            font-weight: 800 !important;
            color: #bf864f !important; /* Gold pricing color */
            margin-bottom: 12px !important;
        }

        .b2b-hero-product-card .card-action {
            width: 100% !important;
        }

        .b2b-hero-product-card .card-action .btn-order {
            width: 100% !important;
            display: block !important;
            text-align: center !important;
            font-size: 12px !important;
            padding: 8px 12px !important;
            border-radius: 4px !important;
            background-color: var(--primary) !important;
            color: #ffffff !important;
            font-weight: 700 !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            transition: background-color 0.2s !important;
        }
        .b2b-hero-product-card .card-action .btn-order:hover {
            background-color: #a81608 !important;
        }

        /* Hide parent theme's duplicate topbars and warning boxes */
        .topbar, #topbar, .header-top, #header-top, .martfury-topbar {
            display: none !important;
        }

        /* Hide default page title and breadcrumbs on the B2B homepage template */
        .page-template-template-b2b-homepage .page-header,
        .page-template-template-b2b-homepage-php .page-header,
        .page-template-template-b2b-homepage .entry-header,
        .page-template-template-b2b-homepage-php .entry-header,
        .page-template-template-b2b-homepage h1.entry-title,
        .page-template-template-b2b-homepage-php h1.entry-title,
        .page-template-template-b2b-homepage h1.page-title,
        .page-template-template-b2b-homepage-php h1.page-title,
        .page-template-template-b2b-homepage .breadcrumbs,
        .page-template-template-b2b-homepage-php .breadcrumbs,
        .page-template-template-b2b-homepage .martfury-page-header,
        .page-template-template-b2b-homepage-php .martfury-page-header {
            display: none !important;
        }

        /* Clear default theme page wrapper constraints on our B2B homepage template */
        .page-template-template-b2b-homepage .site-content,
        .page-template-template-b2b-homepage-php .site-content,
        .page-template-template-b2b-homepage .martfury-container,
        .page-template-template-b2b-homepage-php .martfury-container {
            max-width: 100% !important;
            padding: 0 !important;
            margin: 0 auto !important;
            width: 100% !important;
        }

        /* Prevent page-wide horizontal scroll / overflow on mobile views */
        html, body {
            max-width: 100% !important;
            overflow-x: hidden !important;
        }

        /* Homepage Mobile View adjustments */
        @media (max-width: 768px) {
            /* Hide the 3D rotating product slider in the hero section on mobile */
            .hero-gallery-stack,
            .b2b-hero-product-slider {
                display: none !important;
            }

            /* Make sure the hero slider takes full-width and doesn't overflow */
            .hero {
                width: 100% !important;
                max-width: 100% !important;
                overflow: hidden !important;
                height: auto !important;
                min-height: 350px !important;
                display: flex !important;
                flex-direction: column !important;
                margin: 15px auto !important;
                padding: 0 16px !important;
            }
            .hero-slider-container {
                width: 100% !important;
                height: 350px !important;
                min-height: 350px !important;
                position: relative !important;
                overflow: hidden !important;
            }
            .hero-slide {
                position: absolute !important;
                width: 100% !important;
                height: 100% !important;
            }
            .hero-slide-content {
                padding: 20px !important;
                max-width: 100% !important;
            }

            .features-track {
                display: flex !important;
                gap: 0 !important;
                transition: transform 0.4s ease-in-out !important;
                width: 100% !important;
            }
            .features-track .feature-card {
                flex-shrink: 0 !important;
                width: 100% !important;
                box-sizing: border-box !important;
            }
        }

        /* Explore Slider (Product Carousel) Styles */
        .explore-slider-wrapper {
            position: relative !important;
            max-width: 1400px !important;
            margin: 0 auto 40px !important;
            width: 100% !important;
            margin-top: 24px !important;
        }

        .explore-slider-wrapper .explore-prev {
            left: 8px;
        }

        .explore-slider-wrapper .explore-next {
            right: 8px;
        }

        /* Hide explore slider arrows by default (mobile/tablet) */
        .explore-slider-wrapper .slider-arrow {
            display: none !important;
        }

        /* Show on desktop only (min-width: 769px) */
        @media (min-width: 769px) {
            .explore-slider-wrapper .slider-arrow {
                display: flex !important;
            }
        }
        .explore-slider-container {
            width: 100% !important;
            overflow: hidden !important;
        }
        .explore-slider-track {
            display: flex !important;
            gap: 20px !important;
            transition: transform 0.4s ease-in-out !important;
            width: 100% !important;
        }
        .explore-slider-track .product-card {
            flex-shrink: 0 !important;
            width: calc((100% - (20px * 4)) / 5) !important;
        }

        @media (max-width: 768px) {
            .explore-slider-track .product-card {
                width: calc((100% - (20px * 1)) / 2) !important;
            }
        }

        /* Global layout alignment styles for B2B homepage */
        .hero,
        .features,
        .categories-slider-wrapper,
        .products-grid,
        .explore-slider-wrapper,
        .brands-grid,
        .section-header,
        .tabs-header,
        .promo-banners-section {
            padding-left: 24px !important;
            padding-right: 24px !important;
            box-sizing: border-box !important;
        }

        @media (max-width: 768px) {
            .hero,
            .features,
            .categories-slider-wrapper,
            .products-grid,
            .explore-slider-wrapper,
            .brands-grid,
            .section-header,
            .tabs-header,
            .promo-banners-section {
                padding-left: 16px !important;
                padding-right: 16px !important;
                box-sizing: border-box !important;
            }
        }

        footer,
        .b2b-footer {
            margin-top: 0px !important;
        }

        /* Hide breadcrumbs on homepage template */
        .home .breadcrumbs,
        .page-template-template-b2b-homepage .breadcrumbs,
        .home #breadcrumbs,
        .page-template-template-b2b-homepage #breadcrumbs,
        .home .martfury-breadcrumbs,
        .page-template-template-b2b-homepage .martfury-breadcrumbs {
            display: none !important;
        }

        /* B2B AJAX Wishlist & Toast styles */
        .b2b-toast-container {
            position: fixed !important;
            top: 24px !important;
            right: 24px !important;
            z-index: 100000 !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
        }

        .b2b-toast {
            background: #0f172a !important;
            color: #ffffff !important;
            padding: 12px 24px !important;
            border-radius: 6px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
            transform: translateY(-20px) !important;
            opacity: 0 !important;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
            min-width: 250px !important;
            border-left: 4px solid var(--accent) !important;
        }

        .b2b-toast.show {
            transform: translateY(0) !important;
            opacity: 1 !important;
        }

        .b2b-toast.error {
            border-left-color: #ef4444 !important;
        }

        .product-card .btn-wishlist.added i {
            color: #ef4444 !important;
        }

        .product-card .btn-wishlist.loading {
            pointer-events: none !important;
            opacity: 0.7 !important;
        }

        .footer-col ul li, .footer-col .menu li {
            margin-bottom: 12px !important;
            padding: 0 !important; 
        }

        /* WCBoost Wishlist Theme-Matching Styles */
        .wcboost-wishlist-header {
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border-light);
        }
        .wcboost-wishlist-header h2 {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--heading);
        }
        .wcboost-wishlist-header p {
            font-size: 15px;
            color: var(--text-muted);
            margin: 0;
        }
        .wishlist_table.shop_table {
            border: 1px solid var(--border-light) !important;
            border-radius: 6px !important;
            overflow: hidden !important;
            margin-bottom: 40px !important;
            width: 100% !important;
        }
        .wishlist_table th {
            background-color: var(--bg-light) !important;
            border-bottom: 1px solid var(--border-light) !important;
            font-weight: 700 !important;
            color: var(--heading) !important;
            padding: 15px !important;
            text-transform: uppercase !important;
            font-size: 12px !important;
            letter-spacing: 0.5px !important;
        }
        .wishlist_table td {
            padding: 15px !important;
            border-bottom: 1px solid var(--border-light) !important;
            vertical-align: middle !important;
        }
        .wishlist_table tr:last-child td {
            border-bottom: none !important;
        }
        .wishlist_table td.product-remove a.remove {
            color: #ef4444 !important;
            font-size: 16px !important;
            font-weight: 600 !important;
            transition: color 0.2s !important;
            display: inline-block !important;
            line-height: 1 !important;
            text-decoration: none !important;
        }
        .wishlist_table td.product-remove a.remove:hover {
            color: #b91c1c !important;
        }
        .wishlist_table td.product-name a {
            color: var(--heading) !important;
            font-weight: 600 !important;
            font-size: 15px !important;
            text-decoration: none !important;
            transition: color 0.2s !important;
        }
        .wishlist_table td.product-name a:hover {
            color: var(--accent) !important;
        }
        .wishlist_table td.product-price span.price {
            font-weight: 700 !important;
            color: var(--accent) !important;
            font-size: 16px !important;
        }
        .wishlist_table td.product-stock-status span {
            font-weight: 600 !important;
            font-size: 12px !important;
            padding: 4px 8px !important;
            border-radius: 4px !important;
            display: inline-block !important;
        }
        .wishlist_table td.product-stock-status span.in-stock,
        .wishlist_table td.product-stock-status span.instock {
            color: #15803d !important;
            background-color: #f0fdf4 !important;
        }
        .wishlist_table td.product-stock-status span.out-of-stock,
        .wishlist_table td.product-stock-status span.outofstock {
            color: #b91c1c !important;
            background-color: #fef2f2 !important;
        }
        .wishlist_table td.product-add-to-cart a.button {
            background-color: var(--accent) !important;
            color: #ffffff !important;
            padding: 10px 20px !important;
            border-radius: 4px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            border: 1px solid var(--accent) !important;
            transition: all 0.2s !important;
            display: inline-block !important;
            text-align: center !important;
            text-decoration: none !important;
        }
        .wishlist_table td.product-add-to-cart a.button:hover {
            background-color: #ffffff !important;
            color: var(--accent) !important;
        }
        .wcboost-wishlist-actions {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 40px;
        }
        .wcboost-wishlist-actions button.button {
            background-color: #0f172a !important;
            color: #ffffff !important;
            padding: 12px 24px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            border-radius: 4px !important;
            border: 1px solid #0f172a !important;
            transition: all 0.2s !important;
            cursor: pointer !important;
        }
        .wcboost-wishlist-actions button.button:hover {
            background-color: #ffffff !important;
            color: #0f172a !important;
        }
        .wishlist-share {
            padding: 20px;
            background-color: var(--bg-light);
            border-radius: 6px;
            border: 1px solid var(--border-light);
            margin-top: 30px;
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
        }
        .wishlist-share__title {
            font-size: 16px !important;
            font-weight: 700 !important;
            margin: 0 !important;
            color: var(--heading) !important;
        }
        .wishlist-share__buttons {
            display: flex;
            align-items: center;
            gap: 10px;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .wishlist-share__buttons li {
            padding: 0 !important;
            margin: 0 !important;
        }
        .wishlist-share__buttons a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border: 1px solid var(--border-light);
            border-radius: 4px;
            background-color: #ffffff;
            color: var(--text);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s;
        }
        .wishlist-share__buttons a:hover {
            border-color: var(--accent);
            color: var(--accent);
            background-color: #fffbeb;
        }

        /* Responsive Mobile Wishlist Styles */
        @media (max-width: 991px) {
            .wishlist_table.shop_table {
                border: none !important;
            }
            .wishlist_table thead {
                display: none !important;
            }
            .wishlist_table tr {
                display: block !important;
                border: 1px solid var(--border-light) !important;
                border-radius: 8px !important;
                padding: 15px !important;
                margin-bottom: 20px !important;
                background-color: #ffffff !important;
                position: relative !important;
                box-shadow: 0 2px 6px rgba(0,0,0,0.02) !important;
            }
            .wishlist_table td {
                display: block !important;
                border: none !important;
                padding: 8px 0 !important;
                text-align: left !important;
                width: auto !important;
            }
            .wishlist_table td.product-remove {
                position: absolute !important;
                top: 10px !important;
                right: 15px !important;
                padding: 0 !important;
                z-index: 10 !important;
            }
            .wishlist_table td.product-thumbnail {
                float: left !important;
                width: 80px !important;
                margin-right: 20px !important;
                padding: 0 !important;
            }
            .wishlist_table td.product-thumbnail img {
                max-width: 100% !important;
                height: auto !important;
                border-radius: 4px !important;
            }
            .wishlist_table td.product-name {
                margin-left: 100px !important;
                padding-top: 0 !important;
                font-size: 16px !important;
            }
            .wishlist_table td.product-price,
            .wishlist_table td.product-stock-status {
                display: none !important;
            }
            .wishlist_table td.product-add-to-cart {
                clear: both !important;
                padding-top: 15px !important;
                border-top: 1px solid var(--border-light) !important;
                margin-top: 10px !important;
            }
            .wishlist_table td.product-add-to-cart a.button {
                width: 100% !important;
                box-sizing: border-box !important;
                text-align: center !important;
            }
            .wishlist_table .product-name .product-price,
            .wishlist_table .product-name .product-stock-status {
                display: flex !important;
                align-items: center;
                gap: 10px;
                margin-top: 5px;
                font-size: 14px;
            }
            .wishlist_table .product-name .product-price .label,
            .wishlist_table .product-name .product-stock-status .label {
                font-weight: 600;
                color: var(--text-muted);
                min-width: 50px;
            }
            .wishlist_table .product-name .product-price .price {
                font-weight: 700;
                color: var(--accent);
            }
        }

        /* Custom B2B Wishlist Card Grid Layout */
        .custom-b2b-wishlist-wrapper {
            margin: 40px 0;
            width: 100%;
        }
        .custom-b2b-wishlist-empty {
            text-align: center;
            padding: 80px 20px;
            background-color: var(--bg-light);
            border-radius: 8px;
            border: 1px dashed var(--border-light);
        }
        .custom-b2b-wishlist-empty i {
            font-size: 56px;
            color: var(--text-muted);
            margin-bottom: 20px;
            display: inline-block;
        }
        .custom-b2b-wishlist-empty h3 {
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--heading);
        }
        .custom-b2b-wishlist-empty p {
            font-size: 15px;
            color: var(--text-muted);
            margin-bottom: 25px;
        }
        .custom-b2b-wishlist-empty .btn-shop {
            background-color: var(--accent);
            color: #ffffff;
            padding: 12px 30px;
            border-radius: 4px;
            font-size: 15px;
            font-weight: 600;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.2s;
        }
        .custom-b2b-wishlist-empty .btn-shop:hover {
            background-color: #d97706;
        }
        
        /* Custom B2B Cart Page Styling (Runs only on Cart Page) */
        .b2b-cart-page-container {
            font-family: inherit;
        }
        .b2b-cart-page-container h1, 
        .b2b-cart-page-container h2, 
        .b2b-cart-page-container h3 {
            color: var(--heading) !important;
            font-weight: 700 !important;
        }
        .b2b-cart-page-container .shop_table.cart {
            border: 1px solid var(--border-light) !important;
            border-radius: 8px !important;
            overflow: hidden !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
            width: 100% !important;
        }
        .b2b-cart-page-container .shop_table.cart th {
            background-color: var(--bg-light) !important;
            border-bottom: 1px solid var(--border-light) !important;
            color: var(--heading) !important;
            font-weight: 700 !important;
            font-size: 13px !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            padding: 16px !important;
        }
        .b2b-cart-page-container .shop_table.cart td {
            padding: 16px !important;
            border-bottom: 1px solid var(--border-light) !important;
            vertical-align: middle !important;
        }
        .b2b-cart-page-container .shop_table.cart tr.cart_item:hover {
            background-color: #fafafa !important;
        }
        .b2b-cart-page-container .shop_table.cart td.product-remove a.remove {
            color: #ef4444 !important;
            font-size: 20px !important;
            transition: color 0.2s !important;
        }
        .b2b-cart-page-container .shop_table.cart td.product-remove a.remove:hover {
            color: #b91c1c !important;
            background: none !important;
        }
        .b2b-cart-page-container .shop_table.cart td.product-name a {
            color: var(--heading) !important;
            font-weight: 600 !important;
            font-size: 15px !important;
            text-decoration: none !important;
            transition: color 0.2s !important;
        }
        .b2b-cart-page-container .shop_table.cart td.product-name a:hover {
            color: var(--accent) !important;
        }
        .b2b-cart-page-container .shop_table.cart td.product-price span.amount,
        .b2b-cart-page-container .shop_table.cart td.product-subtotal span.amount {
            color: var(--accent) !important;
            font-weight: 700 !important;
            font-size: 15px !important;
        }
        
        /* Quantity Input Styling */
        .b2b-cart-page-container .quantity input.qty {
            border: 1px solid var(--border-light) !important;
            border-radius: 4px !important;
            padding: 8px !important;
            font-weight: 600 !important;
            width: 60px !important;
            height: auto !important;
            text-align: center !important;
        }
        
        /* Action Buttons and Coupon Styling */
        .b2b-cart-page-container .actions {
            background-color: var(--bg-light) !important;
            padding: 20px !important;
        }
        .b2b-cart-page-container .actions .coupon {
            display: flex !important;
            gap: 10px !important;
            align-items: center !important;
        }
        .b2b-cart-page-container .actions .coupon input#coupon_code {
            border: 1px solid var(--border-light) !important;
            border-radius: 4px !important;
            padding: 10px 15px !important;
            font-size: 14px !important;
            min-width: 180px !important;
            height: auto !important;
        }
        .b2b-cart-page-container .actions .coupon button.button,
        .b2b-cart-page-container .actions button[name="update_cart"] {
            background-color: #0f172a !important;
            color: #ffffff !important;
            border: 1px solid #0f172a !important;
            padding: 12px 24px !important;
            border-radius: 4px !important;
            font-weight: 600 !important;
            font-size: 14px !important;
            cursor: pointer !important;
            transition: all 0.2s !important;
            height: auto !important;
        }
        .b2b-cart-page-container .actions .coupon button.button:hover,
        .b2b-cart-page-container .actions button[name="update_cart"]:hover {
            background-color: #ffffff !important;
            color: #0f172a !important;
        }
        
        /* Cart Totals styling */
        .b2b-cart-page-container .cart-collaterals {
            margin-top: 40px !important;
            display: flex !important;
            justify-content: flex-end !important;
        }
        .b2b-cart-page-container .cart_totals {
            width: 100% !important;
            max-width: 480px !important;
            background-color: var(--bg-light) !important;
            border: 1px solid var(--border-light) !important;
            border-radius: 8px !important;
            padding: 30px !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.02) !important;
        }
        .b2b-cart-page-container .cart_totals h2 {
            font-size: 20px !important;
            border-bottom: 1px solid var(--border-light) !important;
            padding-bottom: 15px !important;
            margin-bottom: 20px !important;
        }
        .b2b-cart-page-container .cart_totals table.shop_table_responsive {
            width: 100% !important;
            border: none !important;
        }
        .b2b-cart-page-container .cart_totals table.shop_table_responsive th,
        .b2b-cart-page-container .cart_totals table.shop_table_responsive td {
            padding: 12px 0 !important;
            border-bottom: 1px solid var(--border-light) !important;
            background: none !important;
        }
        .b2b-cart-page-container .cart_totals table.shop_table_responsive tr.order-total th,
        .b2b-cart-page-container .cart_totals table.shop_table_responsive tr.order-total td {
            border-bottom: none !important;
            padding-top: 20px !important;
        }
        .b2b-cart-page-container .cart_totals tr.order-total span.amount {
            color: var(--accent) !important;
            font-size: 22px !important;
            font-weight: 700 !important;
        }
        
        /* Proceed to Checkout Button */
        .b2b-cart-page-container .wc-proceed-to-checkout {
            margin-top: 25px !important;
        }
        .b2b-cart-page-container .wc-proceed-to-checkout a.checkout-button {
            display: block !important;
            width: 100% !important;
            box-sizing: border-box !important;
            background-color: var(--accent) !important;
            color: #ffffff !important;
            border: 1px solid var(--accent) !important;
            padding: 15px 20px !important;
            border-radius: 4px !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            text-align: center !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            transition: all 0.2s !important;
            text-decoration: none !important;
        }
        .b2b-cart-page-container .wc-proceed-to-checkout a.checkout-button:hover {
            background-color: #ffffff !important;
            color: var(--accent) !important;
        }
        
        /* ==========================================================================
           B2B Single Product Page Shortcode Styling [b2b_single_product]
           ========================================================================== */

        .b2b-single-product-container {
            margin-bottom: 40px !important;
            width: 100% !important;
            font-family: 'Inter', sans-serif !important;
        }

        .b2b-single-product-layout {
            display: grid !important;
            grid-template-columns: 1fr !important;
            gap: 40px !important;
            margin-bottom: 50px !important;
        }

        @media (min-width: 992px) {
            .b2b-single-product-layout {
                grid-template-columns: 1.1fr 0.9fr !important;
            }
        }

        /* Sticky Gallery Styling */
        .b2b-single-product-gallery {
            width: 100% !important;
        }

        @media (min-width: 992px) {
            .b2b-single-product-gallery {
                position: -webkit-sticky !important;
                position: sticky !important;
                top: 100px !important;
                align-self: start !important;
            }
        }

        /* Details & Summary Column */
        .b2b-single-product-summary {
            display: flex !important;
            flex-direction: column !important;
            gap: 20px !important;
        }

        .b2b-product-details-header {
            border-bottom: var(--border-light) !important;
            padding-bottom: 20px !important;
        }

        .b2b-product-brand {
            font-size: 13px !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
            color: var(--accent) !important;
            margin-bottom: 8px !important;
            letter-spacing: 0.5px !important;
        }

        .b2b-product-brand a {
            color: var(--accent) !important;
            text-decoration: none !important;
        }

        .b2b-product-brand a:hover {
            color: var(--primary) !important;
        }

        .b2b-single-product-summary h1.product_title {
            font-size: 32px !important;
            font-weight: 800 !important;
            color: var(--text-dark) !important;
            margin: 0 0 12px 0 !important;
            line-height: 1.25 !important;
        }

        .b2b-product-meta-row {
            font-size: 13px !important;
            color: var(--text-light) !important;
            display: flex !important;
            gap: 15px !important;
            flex-wrap: wrap !important;
            margin-top: 10px !important;
        }

        .b2b-product-meta-row .sku_wrapper,
        .b2b-product-meta-row .posted_in {
            display: inline-flex !important;
            align-items: center !important;
            gap: 4px !important;
        }

        .b2b-product-meta-row .sku,
        .b2b-product-meta-row .categories-list a {
            font-weight: 600 !important;
            color: var(--text-dark) !important;
            text-decoration: none !important;
        }

        .b2b-product-meta-row .categories-list a:hover {
            color: var(--primary) !important;
        }

        /* Price styling */
        .b2b-product-price-wrapper {
            font-size: 26px !important;
            font-weight: 800 !important;
            color: var(--primary) !important;
            margin: 10px 0 !important;
        }

        .b2b-product-price-wrapper del {
            font-size: 18px !important;
            color: var(--text-light) !important;
            margin-right: 8px !important;
            font-weight: 400 !important;
        }

        .b2b-product-price-wrapper ins {
            text-decoration: none !important;
        }

        /* Excerpt */
        .b2b-single-product-summary .woocommerce-product-details__short-description {
            font-size: 14px !important;
            line-height: 1.6 !important;
            color: var(--text-light) !important;
            border-bottom: var(--border-light) !important;
            padding-bottom: 20px !important;
            margin-bottom: 10px !important;
        }

        /* Wholesalers Login Prompt Card */
        .b2b-login-to-buy-prompt {
            padding: 24px !important;
            background: #fffbeb !important;
            border: 1px solid #fef3c7 !important;
            border-radius: 8px !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 12px !important;
            box-shadow: 0 4px 10px rgba(180, 83, 9, 0.03) !important;
        }

        .b2b-login-to-buy-prompt .prompt-title {
            font-size: 15px !important;
            font-weight: 700 !important;
            color: #b45309 !important;
            display: inline-flex !important;
            align-items: center !important;
            gap: 8px !important;
        }

        .b2b-login-to-buy-prompt .prompt-text {
            font-size: 13.5px !important;
            color: #78350f !important;
            margin: 0 !important;
            line-height: 1.5 !important;
        }

        .b2b-login-to-buy-prompt .btn-login {
            display: block !important;
            text-align: center !important;
            padding: 12px 20px !important;
            background: var(--primary) !important;
            color: #ffffff !important;
            text-decoration: none !important;
            border-radius: 6px !important;
            font-weight: 700 !important;
            font-size: 14px !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            transition: all 0.2s ease !important;
            box-shadow: 0 2px 4px rgba(193, 29, 11, 0.2) !important;
        }

        .b2b-login-to-buy-prompt .btn-login:hover {
            background-color: var(--charcoal) !important;
            color: #ffffff !important;
            box-shadow: 0 4px 8px rgba(30, 41, 59, 0.3) !important;
        }

        /* Tabs Section Wrapper */
        .b2b-single-product-tabs {
            border-top: var(--border-light) !important;
            padding-top: 40px !important;
            margin-top: 40px !important;
            width: 100% !important;
        }



            /* Clear desktop actions styling on mobile actions links */
            .b2b-mobile-header .header-actions {
                display: flex !important;
                align-items: center !important;
                gap: 15px !important; /* Consistent and clean gaps */
            }

            .b2b-mobile-header .header-actions a {
                border: none !important;
                border-radius: 0 !important;
                width: auto !important;
                height: auto !important;
                margin: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                padding: 0 !important;
            }

            .b2b-mobile-header .header-actions a i {
                font-size: 20px !important;
            }

            .b2b-mobile-header .b2b-hamburger {
                margin-left: 0 !important;
                margin-right: 0 !important;
                padding: 0 !important;
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                font-size: 20px !important;
                color: #1e293b !important;
                background: none !important;
                border: none !important;
                width: auto !important;
                height: auto !important;
            }
        }
    }
}

/* ==========================================================================
   B2B Custom Cart Page shortcode styling [custom_b2b_cart]
   ========================================================================== */

.custom-b2b-cart-container {
    width: 100%;
    margin: 40px auto;
    font-family: 'Inter', sans-serif !important;
}

.custom-b2b-cart-wrapper {
    position: relative;
    width: 100%;
}

/* Loading Overlay */
.custom-b2b-cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.custom-b2b-cart-spinner {
    font-size: 40px;
    color: var(--accent, #d97706);
}

/* Empty State */
.custom-b2b-cart-empty {
    text-align: center;
    padding: 80px 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

.custom-b2b-cart-empty .empty-icon {
    font-size: 64px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.custom-b2b-cart-empty h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.custom-b2b-cart-empty p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 30px;
}

.custom-b2b-cart-empty .btn-return-shop {
    background-color: var(--accent, #d97706);
    color: #ffffff !important;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s, transform 0.1s;
}

.custom-b2b-cart-empty .btn-return-shop:hover {
    background-color: #b45309;
    transform: translateY(-1px);
}

/* Grid Layout */
.custom-b2b-cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

@media (min-width: 992px) {
    .custom-b2b-cart-grid {
        grid-template-columns: 1.6fr 0.9fr;
    }
}

.custom-b2b-cart-items-column {
    width: 100%;
}

.custom-b2b-cart-items-column .column-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
}

/* Cart Items List */
.custom-b2b-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-b2b-cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    grid-template-areas: 
        "thumb details remove"
        "thumb price subtotal"
        "qty qty qty";
    gap: 15px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    align-items: center;
    transition: box-shadow 0.2s;
}

.custom-b2b-cart-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .custom-b2b-cart-item {
        grid-template-columns: 90px 2fr 1.2fr 1.5fr 1.2fr auto;
        grid-template-areas: "thumb details price qty subtotal remove";
        gap: 20px;
        padding: 24px;
    }
}

/* Item parts styling */
.custom-b2b-cart-item .item-thumbnail {
    grid-area: thumb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-b2b-cart-item .item-thumbnail img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    max-height: 80px;
}

.custom-b2b-cart-item .item-details {
    grid-area: details;
}

.custom-b2b-cart-item .item-meta {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent, #d97706);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}

.custom-b2b-cart-item .item-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.custom-b2b-cart-item .item-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.custom-b2b-cart-item .item-name a:hover {
    color: var(--accent, #d97706);
}

.custom-b2b-cart-item .item-unit-price-mobile {
    font-size: 13px;
    color: #64748b;
    margin-top: 5px;
}

@media (min-width: 768px) {
    .custom-b2b-cart-item .item-unit-price-mobile {
        display: none;
    }
}

.custom-b2b-cart-item .item-price {
    grid-area: price;
    display: none;
    flex-direction: column;
}

@media (min-width: 768px) {
    .custom-b2b-cart-item .item-price {
        display: flex;
    }
}

.custom-b2b-cart-item .price-label,
.custom-b2b-cart-item .qty-label,
.custom-b2b-cart-item .subtotal-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
}

.custom-b2b-cart-item .price-value {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
}

.custom-b2b-cart-item .item-quantity {
    grid-area: qty;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #f1f5f9;
}

@media (min-width: 768px) {
    .custom-b2b-cart-item .item-quantity {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0;
        border-top: none;
    }
    .custom-b2b-cart-item .qty-label {
        display: block;
    }
}

@media (max-width: 767px) {
    .custom-b2b-cart-item .qty-label {
        margin-bottom: 0;
        font-size: 12px;
        color: #64748b;
    }
}

/* Quantity selector component */
.custom-b2b-cart-item .quantity-input-group {
    display: inline-flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    height: 38px;
    background-color: #ffffff;
}

.custom-b2b-cart-item .qty-btn {
    background: none;
    border: none;
    color: #64748b;
    width: 32px;
    height: 100%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s;
}

.custom-b2b-cart-item .qty-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.custom-b2b-cart-item .qty-input {
    width: 50px;
    height: 100%;
    border: none;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    -moz-appearance: textfield;
    padding: 0;
}

.custom-b2b-cart-item .qty-input::-webkit-outer-spin-button,
.custom-b2b-cart-item .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-b2b-cart-item .item-subtotal {
    grid-area: subtotal;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .custom-b2b-cart-item .item-subtotal {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .custom-b2b-cart-item .subtotal-label {
        display: block;
    }
}

@media (max-width: 767px) {
    .custom-b2b-cart-item .subtotal-label {
        display: block;
        margin-bottom: 0;
        font-size: 12px;
        color: #64748b;
    }
}

.custom-b2b-cart-item .subtotal-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent, #d97706);
}

.custom-b2b-cart-item .item-remove {
    grid-area: remove;
    justify-self: end;
}

.custom-b2b-cart-item .btn-remove-cart-item {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s, color 0.15s;
}

.custom-b2b-cart-item .btn-remove-cart-item:hover {
    background-color: #fef2f2;
    color: #ef4444;
}

/* Order Summary Column */
.custom-b2b-cart-summary-column {
    width: 100%;
}

.custom-b2b-cart-summary-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    position: sticky;
    top: 30px;
}

.custom-b2b-cart-summary-card .summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.custom-b2b-cart-summary-card .summary-rows {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

.custom-b2b-cart-summary-card .summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #475569;
}

.custom-b2b-cart-summary-card .summary-row .row-label {
    font-weight: 500;
}

.custom-b2b-cart-summary-card .summary-row .row-value {
    font-weight: 600;
    color: #1e293b;
}

/* Coupon badges display */
.custom-b2b-cart-summary-card .summary-coupons-section {
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-b2b-cart-summary-card .coupons-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

.custom-b2b-cart-summary-card .summary-coupon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-b2b-cart-summary-card .coupon-code-badge {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.custom-b2b-cart-summary-card .btn-remove-coupon {
    background: none;
    border: none;
    color: #166534;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-b2b-cart-summary-card .btn-remove-coupon:hover {
    color: #dc2626;
}

.custom-b2b-cart-summary-card .coupon-discount {
    font-weight: 700;
    color: #16a34a;
}

/* Shipping row standard override */
.custom-b2b-cart-summary-card .summary-row.shipping {
    align-items: flex-start;
}

/* Grand Total styling */
.custom-b2b-cart-summary-card .summary-row.total-row {
    border-top: 2px solid #e2e8f0;
    padding-top: 20px;
    margin-top: 5px;
    font-size: 18px;
    color: #0f172a;
}

.custom-b2b-cart-summary-card .summary-row.total-row .row-label {
    font-weight: 700;
}

.custom-b2b-cart-summary-card .summary-row.total-row .row-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent, #d97706);
}

/* Coupon Input Form styling */
.custom-b2b-cart-coupon-form {
    margin-bottom: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.custom-b2b-cart-coupon-form .coupon-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.custom-b2b-cart-coupon-form .coupon-input-group {
    display: flex;
    gap: 8px;
}

.custom-b2b-cart-coupon-form .coupon-input {
    flex-grow: 1;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    height: 42px;
    background-color: #ffffff;
    transition: border-color 0.2s;
}

.custom-b2b-cart-coupon-form .coupon-input:focus {
    border-color: var(--accent, #d97706);
}

.custom-b2b-cart-coupon-form .btn-apply-coupon {
    background-color: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    height: 42px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.custom-b2b-cart-coupon-form .btn-apply-coupon:hover {
    background-color: #ffffff;
    color: #0f172a;
}

/* Checkout Action Button */
.custom-b2b-cart-actions .btn-proceed-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--accent, #d97706);
    color: #ffffff !important;
    border: 1px solid var(--accent, #d97706);
    padding: 15px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);
}

.custom-b2b-cart-actions .btn-proceed-checkout:hover {
    background-color: #ffffff;
    color: var(--accent, #d97706) !important;
    transform: translateY(-1px);
}

/* Standard WooCommerce notices formatting inside custom cart */
.custom-b2b-cart-notices {
    margin-bottom: 25px;
    width: 100%;
}

.custom-b2b-cart-notices .woocommerce-message,
.custom-b2b-cart-notices .woocommerce-error,
.custom-b2b-cart-notices .woocommerce-info {
    padding: 14px 20px !important;
    border-radius: 6px !important;
    margin-bottom: 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.custom-b2b-cart-notices .woocommerce-message {
    background-color: #f0fdf4 !important;
    border-left: 4px solid #16a34a !important;
    color: #14532d !important;
}

.custom-b2b-cart-notices .woocommerce-error {
    background-color: #fef2f2 !important;
    border-left: 4px solid #dc2626 !important;
    color: #7f1d1d !important;
}

.custom-b2b-cart-notices .woocommerce-info {
    background-color: #eff6ff !important;
    border-left: 4px solid #3b82f6 !important;
    color: #1e3a8a !important;
}

/* ==========================================================================
   Eagle B2B Theme Shop, Category, & Checkout Styles + Container Width Fixes
   ========================================================================== */



/* 2. Shop & Product Category Layout */
.b2b-shop-archive-header {
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.b2b-shop-archive-header .page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--charcoal);
    margin: 0 0 10px 0;
}

.b2b-shop-archive-header .taxonomy-description {
    font-size: 15px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.b2b-shop-container {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.b2b-shop-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.b2b-shop-content {
    flex-grow: 1;
}

/* Sidebar Widgets */
.b2b-sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}

.b2b-sidebar-widget .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
}

.b2b-sidebar-cats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.b2b-sidebar-cats li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 14px;
    font-weight: 500;
}

.b2b-sidebar-cats li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.b2b-sidebar-cats li a:hover {
    color: var(--primary);
}

.b2b-sidebar-cats li .count {
    background: #f1f5f9;
    color: var(--text-light);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

/* Shop Controls */
.b2b-shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.b2b-shop-result-count {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.b2b-shop-catalog-ordering select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: #fff;
    color: var(--text-dark);
    outline: none;
}

/* Product Cards Grid */
.b2b-shop-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.woocommerce ul.products li.b2b-shop-product-card,
ul.products li.b2b-shop-product-card,
li.b2b-shop-product-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
    width: auto !important;
    overflow: visible !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.b2b-shop-product-card:hover,
ul.products li.b2b-shop-product-card:hover,
li.b2b-shop-product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--accent) !important;
}

.b2b-shop-product-card .product-card-inner {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}

.b2b-shop-product-card .btn-add-wishlist {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: var(--text-light) !important;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.b2b-shop-product-card .btn-add-wishlist:hover {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
}

.b2b-shop-product-card .btn-add-wishlist i {
    font-size: 16px !important;
    color: inherit !important;
}

.b2b-shop-product-card .product-thumbnail {
    margin-bottom: 15px !important;
    text-align: center !important;
    height: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    padding: 0 !important;
}

.b2b-shop-product-card .product-thumbnail img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    transition: transform 0.3s !important;
}

.b2b-shop-product-card:hover .product-thumbnail img {
    transform: scale(1.04) !important;
}

.b2b-shop-product-card .product-meta {
    font-size: 11px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    letter-spacing: 0.8px !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.b2b-shop-product-card .product-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    min-height: 42px !important;
}

.b2b-shop-product-card .product-title a {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.b2b-shop-product-card .product-title a:hover {
    color: var(--primary) !important;
}

.b2b-shop-product-card .product-price-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: auto !important;
    margin-bottom: 15px !important;
}

.b2b-shop-product-card .product-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
}

.b2b-shop-product-card .product-price del {
    font-size: 13px !important;
    color: var(--text-light) !important;
    margin-right: 5px !important;
}

.b2b-shop-product-card .stock-badge {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

.b2b-shop-product-card .stock-badge.out-of-stock {
    background: #fef2f2 !important;
    color: #b91c1c !important;
    border: 1px solid #fee2e2 !important;
}

.b2b-shop-product-card .product-actions {
    margin-top: auto !important;
    padding: 0 !important;
}

.b2b-shop-product-card .product-actions .button,
.b2b-shop-product-card .product-actions .view-product-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 10px 15px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s !important;
    box-sizing: border-box !important;
}

.b2b-shop-product-card .product-actions .button:hover,
.b2b-shop-product-card .product-actions .view-product-btn:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Pagination */
.b2b-shop-pagination {
    text-align: center;
    margin-top: 30px;
}

.b2b-shop-pagination ul {
    display: inline-flex;
    list-style: none;
    gap: 8px;
    padding: 0;
}

.b2b-shop-pagination ul li a,
.b2b-shop-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.b2b-shop-pagination ul li span.current,
.b2b-shop-pagination ul li a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* 3. Checkout Page Custom UI/UX Styles */
.custom-b2b-checkout-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

.checkout-page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: 30px;
    text-align: center;
}

/* Notices inside checkout */
.b2b-checkout-notice-area {
    margin-bottom: 30px;
}

.woocommerce-NoticeGroup-checkout {
    margin-bottom: 30px;
}

/* Double-column grid for standard WooCommerce checkout */
.b2b-checkout-content-row form.checkout {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 40px !important;
}

#customer_details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
#order_review_heading {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--charcoal) !important;
    border-bottom: 2px solid var(--accent) !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
    text-transform: none !important;
}

/* Input Fields styling */
.woocommerce-checkout form.checkout .form-row {
    margin-bottom: 18px !important;
}

.woocommerce-checkout form.checkout .form-row label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce-checkout form.checkout input.input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea {
    width: 100% !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    outline: none !important;
    background-color: #ffffff !important;
    transition: border-color 0.2s !important;
}

.woocommerce-checkout form.checkout input.input-text:focus,
.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout form.checkout textarea:focus {
    border-color: var(--accent) !important;
}

/* Order summary & payment review card */
#order_review,
#order_review_heading {
    grid-column: 2;
}

#order_review {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 30px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    height: fit-content;
}

.woocommerce-checkout-review-order-table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-bottom: 25px !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
    color: var(--text-dark) !important;
    text-align: left !important;
}

.woocommerce-checkout-review-order-table th {
    font-weight: 700 !important;
    color: var(--charcoal) !important;
}

.woocommerce-checkout-review-order-table td.product-total,
.woocommerce-checkout-review-order-table td.product-name {
    text-align: right !important;
}

.woocommerce-checkout-review-order-table td.product-name {
    text-align: left !important;
    font-weight: 500 !important;
}

.woocommerce-checkout-review-order-table tr.cart-subtotal th,
.woocommerce-checkout-review-order-table tr.cart-subtotal td {
    font-weight: 600 !important;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 18px !important;
    font-weight: 800 !important;
    border-bottom: none !important;
}

.woocommerce-checkout-review-order-table tr.order-total td {
    color: var(--accent) !important;
}

/* Payment Gateways Panel */
#payment {
    background: #f8fafc !important;
    border-radius: 8px !important;
    padding: 20px !important;
    border: 1px solid #e2e8f0 !important;
}

#payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

#payment ul.payment_methods li {
    margin-bottom: 15px !important;
    font-size: 13.5px !important;
}

#payment ul.payment_methods li label {
    font-weight: 700 !important;
    color: var(--charcoal) !important;
    cursor: pointer !important;
}

#payment ul.payment_methods li .payment_box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    margin-top: 8px !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: var(--text-light) !important;
}

#place_order {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    width: 100% !important;
    padding: 15px 24px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background-color 0.2s, border-color 0.2s !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 12px rgba(193, 29, 11, 0.15) !important;
}

#place_order:hover {
    background-color: #ffffff !important;
    color: var(--primary) !important;
}

/* 4. Responsive Breakdown adjustments */
@media (max-width: 1024px) {
    .b2b-shop-container {
        flex-direction: column;
    }
    
    .b2b-shop-sidebar {
        width: 100%;
    }
    
    .b2b-shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .b2b-checkout-content-row form.checkout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    #order_review,
    #order_review_heading {
        grid-column: auto !important;
    }
}

@media (max-width: 580px) {
    .b2b-shop-products-grid {
        grid-template-columns: 1fr;
    }
    
    .b2b-shop-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* 5. Underline Removal overrides for all B2B action items */
.b2b-shop-product-card a,
.b2b-shop-product-card a:hover,
.b2b-shop-product-card .button,
.b2b-shop-product-card .btn-add-wishlist,
.b2b-shop-product-card .btn-add-wishlist i,
.custom-b2b-wishlist-card a,
.custom-b2b-wishlist-card a:hover,
.custom-b2b-wishlist-card .button,
.custom-b2b-wishlist-card .btn-remove-item,
.custom-b2b-cart-wrapper a,
.custom-b2b-cart-wrapper a:hover,
.custom-b2b-cart-wrapper .button,
.btn-add-wishlist,
.btn-add-wishlist:hover,
.btn-add-wishlist i,
.view-product,
.view-product:hover,
.view-product-btn,
.view-product-btn:hover,
.add_to_cart_button,
.add_to_cart_button:hover,
.ajax_add_to_cart,
.ajax_add_to_cart:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* Hide wishlist functionality completely for logged out users */
body.logged-out .btn-wishlist,
body.logged-out .menu-item-wishlist,
body.logged-out a[href*="add-to-wishlist"],
body.logged-out .yith-wcwl-add-to-wishlist,
body.logged-out .wcboost-wishlist-button,
body.logged-out .header-wishlist,
body.logged-out .wishlist-indicator,
body.logged-out a[href*="/wishlist/"],
body.logged-out .wcboost-wishlist {
    display: none !important;
}

/* Style wishlist counter bubble inside header to match cart style and prevent overlapping */
.header-actions .menu-item-wishlist .mini-item-counter,
.header-actions .menu-item-wishlist .wishlist-indicator,
.b2b-header .header-actions .mini-item-counter,
.b2b-mobile-header .header-actions .mini-item-counter,
.header-actions .wishlist-indicator {
    background-color: var(--accent, #d97706) !important;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    box-sizing: border-box !important;
    line-height: 16px !important;
    border: none !important;
    margin: 0 !important;
}

/* Make add to cart / login to buy button full width for logged out users */
body.logged-out .product-card .btn-order,
body.logged-out .product-card .btn-login-to-buy,
body.logged-out .btn-order,
body.logged-out .btn-login-to-buy {
    width: 100% !important;
}

/* Change login to see price text to premium red and style it */
.b2b-login-see-price,
.b2b-login-to-see-price {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

/* Hide the lock icon from login to see price text */
.b2b-login-see-price i,
.b2b-login-to-see-price i {
    display: none !important;
}

/* Custom B2B Wishlist Header Actions Toolbar styling */
.custom-b2b-wishlist-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 25px;
}
.custom-b2b-wishlist-header-actions button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    border-radius: 0px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.custom-b2b-wishlist-header-actions button:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.custom-b2b-wishlist-header-actions .btn-add-all-to-cart {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
}
.custom-b2b-wishlist-header-actions .btn-add-all-to-cart:hover {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

