
/* =============================================================================
   FIX: REMOVE ALL BULLET DOTS FROM PRODUCT LISTS (Ultra-Aggressive)
   ============================================================================= */

.woocommerce ul.products,
.woocommerce ul.products > li,
ul.products,
ul.products > li,
.products,
.products > li,
.rj-products-grid,
.rj-products-grid > li,
div.products > li,
li.product,
.product.type-product,
.site-content ul li.product,
body .woocommerce ul.products li.product,
body ul.products li,
main ul li.product {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
}

.woocommerce ul.products li::marker,
ul.products li::marker,
li.product::marker,
.products li::marker,
.rj-products-grid li::marker {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products,
ul.products,
.products {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* =============================================================================
   FIX: MOBILE HORIZONTAL SCROLL CAROUSEL FOR PRODUCTS
   ============================================================================= */

@media (max-width: 768px) {
    .woocommerce ul.products,
    ul.products,
    .rj-products-grid,
    .products.columns-3,
    .products.columns-4,
    .products.columns-2,
    .products.columns-1 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-bottom: 20px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        scrollbar-width: thin !important;
        scrollbar-color: #5a9a8f #f1f1f1 !important;
        grid-template-columns: unset !important;
    }

    .woocommerce ul.products::-webkit-scrollbar,
    ul.products::-webkit-scrollbar,
    .rj-products-grid::-webkit-scrollbar {
        height: 5px !important;
    }
    .woocommerce ul.products::-webkit-scrollbar-track,
    ul.products::-webkit-scrollbar-track,
    .rj-products-grid::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 4px !important;
    }
    .woocommerce ul.products::-webkit-scrollbar-thumb,
    ul.products::-webkit-scrollbar-thumb,
    .rj-products-grid::-webkit-scrollbar-thumb {
        background: #5a9a8f !important;
        border-radius: 4px !important;
    }

    .woocommerce ul.products > li.product,
    ul.products > li.product,
    .rj-products-grid > li.product,
    .rj-products-grid > .product {
        flex: 0 0 240px !important;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
    }
}
/*
 * B2B Wholesale Styles - RJ Wholesaler
 * Custom styling for B2B wholesale functionality
 */

/* =============================================================================
   CSS VARIABLES - RJ Wholesaler Design System
   ============================================================================= */
:root {
    /* Primary Colors - MHS Health & Beauty Theme */
    --b2b-primary: #5a9a8f; /* Brand Teal */
    --b2b-primary-dark: #4a8a7f; /* Darker Brand Teal */
    --b2b-primary-light: #6aaa9f; /* Lighter Brand Teal */
    --b2b-secondary: #104E8B; /* Deep Blue */
    --b2b-accent: #E0E0E0; /* Silver */
    
    /* Status Colors */
    --b2b-success: #16a34a;
    --b2b-warning: #d97706;
    --b2b-error: #dc2626;
    --b2b-pending: #f59e0b;
    
    /* Neutral Colors */
    --b2b-gray-50: #f9fafb;
    --b2b-gray-100: #f3f4f6;
    --b2b-gray-200: #e5e7eb;
    --b2b-gray-300: #d1d5db;
    --b2b-gray-400: #9ca3af;
    --b2b-gray-500: #6b7280;
    --b2b-gray-600: #4b5563;
    --b2b-gray-700: #374151;
    --b2b-gray-800: #1f2937;
    --b2b-gray-900: #111827;
    
    /* Effects */
    --b2b-radius: 8px;
    --b2b-radius-lg: 16px;
    --b2b-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --b2b-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --b2b-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --b2b-transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6; /* Improved readability */
}

/* Header Configuration: Hide Site Title Text when Logo is present */
.site-title, .site-description {
    display: none !important;
}

/* Logo Sizing - Nuclear Option */
:root {
    --logo-max-height: 120px !important;
    --logo-shrink-height: 100px !important;
}

.site-header .site-logo-container,
.ct-header .site-logo-container,
.site-header .site-logo,
.ct-header .site-logo,
.site-header .custom-logo-link,
.ct-header .custom-logo-link {
    max-width: none !important;
    width: auto !important;
    --logo-max-height: 160px !important; /* Increased from 120px */
}

.site-logo-container img,
.ct-header .site-logo-container img,
.site-header .site-logo img, 
.ct-header .site-logo img,
.site-header .custom-logo,
.ct-header .custom-logo,
img.custom-logo {
    min-height: 100px !important;
    max-height: 180px !important;
    height: 160px !important; /* Increased from 120px */
    width: auto !important; 
    max-width: 100% !important;
    mix-blend-mode: multiply; /* Hide white background */
}

/* Visibility Fixes */
.ct-header-cart-icon, .ct-cart-content {
    color: var(--b2b-primary) !important; /* Ensure cart icon is visible override */
}

/* Footer Copyright Text Visibility */
.site-footer, .site-footer p, .site-footer span, .site-footer a {
    color: #ffffff !important;
}

/* Login Button Color Override */
.ct-header-account, .ct-header-account a {
    background-color: transparent !important; /* Let the button style handle it if it's a button */
    color: var(--b2b-primary) !important;
}

/* If login is a button style */
.ct-header-account[data-type="button"] {
    background-color: var(--b2b-primary) !important;
    color: #ffffff !important;
}

/* Force Login Menu Item Color */
.menu-item a[href*="my-account"], 
.ct-header-account a, 
.ct-header-account {
    color: var(--b2b-primary) !important;
}

/* Top Notification Bar */
/* Top Notification Bar */
.mhs-top-bar {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 9999;
}

.mhs-top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.mhs-top-bar-dismiss {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: underline;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.mhs-top-bar-dismiss:hover {
    opacity: 1;
    color: var(--b2b-primary);
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 9999;
}

/* Force Primary Color on specific elements that might be overridden */
.single_add_to_cart_button,
button.single_add_to_cart_button {
    background-color: var(--b2b-primary) !important;
    color: #fff !important;
}

.single_add_to_cart_button:hover,
button.single_add_to_cart_button:hover {
    background-color: var(--b2b-primary-dark) !important;
}

/* Footer Styling */
footer, .site-footer {
    background-color: var(--b2b-secondary) !important;
    color: #fff !important;
}

footer a, .site-footer a {
    color: rgba(255, 255, 255, 0.8);
}

footer a:hover, .site-footer a:hover {
    color: #fff;
}


/* =============================================================================
   LOGIN/PRICE MESSAGES
   ============================================================================= */
.b2b-login-to-see-price,
.b2b-apply-wholesale {
    display: inline-block;
    padding: 8px 16px;
    background: var(--b2b-primary);
    color: #fff !important;
    text-decoration: none;
    border-radius: var(--b2b-radius);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.b2b-login-to-see-price:hover,
.b2b-apply-wholesale:hover {
    background: var(--b2b-primary-dark);
    color: #fff;
}

.b2b-pending-approval,
.b2b-rejected {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--b2b-radius);
    font-size: 13px;
    font-weight: 500;
}

.b2b-pending-approval {
    background: #fef3c7;
    color: #92400e;
}

.b2b-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* =============================================================================
   STATUS BADGES
   ============================================================================= */
.b2b-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2b-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.b2b-status-approved {
    background: #d1fae5;
    color: #065f46;
}

.b2b-status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.b2b-status-on_hold {
    background: var(--b2b-gray-200);
    color: var(--b2b-gray-600);
}

/* =============================================================================
   WHOLESALE APPLICATION FORM
   ============================================================================= */
.b2b-wholesale-application {
    max-width: 600px;
}

.b2b-application-intro {
    color: var(--b2b-gray-600);
    margin-bottom: 24px;
    line-height: 1.6;
}

.b2b-application-form .form-row {
    margin-bottom: 20px;
}

.b2b-application-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--b2b-gray-800);
}

.b2b-application-form .required {
    color: var(--b2b-error);
}

.b2b-application-form input,
.b2b-application-form select,
.b2b-application-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.b2b-application-form input:focus,
.b2b-application-form select:focus,
.b2b-application-form textarea:focus {
    border-color: var(--b2b-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* =============================================================================
   WHOLESALE STATUS PAGE
   ============================================================================= */
.b2b-wholesale-status {
    max-width: 600px;
}

.b2b-status-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.b2b-status-table th,
.b2b-status-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--b2b-gray-200);
}

.b2b-status-table th {
    width: 40%;
    font-weight: 500;
    color: var(--b2b-gray-600);
    background: var(--b2b-gray-100);
}

/* =============================================================================
   QUICK ORDER FORM
   ============================================================================= */
.b2b-quick-order {
    max-width: 800px;
}

.b2b-quick-order h3 {
    margin-bottom: 20px;
}

.b2b-quick-order-row {
    display: grid;
    grid-template-columns: 200px 100px 1fr;
    gap: 12px;
    margin-bottom: 10px;
    align-items: center;
}

.b2b-quick-order-row input {
    padding: 10px 14px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    font-size: 14px;
}

.b2b-quick-order-row .b2b-product-name {
    font-size: 14px;
    color: var(--b2b-gray-600);
}

.b2b-quick-order-row .b2b-product-name.not-found {
    color: var(--b2b-error);
}

.b2b-add-row {
    margin: 16px 0;
}

.b2b-bulk-entry {
    margin: 24px 0;
    padding: 20px;
    background: var(--b2b-gray-100);
    border-radius: var(--b2b-radius);
}

.b2b-bulk-entry h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--b2b-gray-600);
}

.b2b-bulk-entry textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    font-family: monospace;
    font-size: 13px;
    margin-bottom: 12px;
}

.b2b-quick-order-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--b2b-gray-200);
}

/* =============================================================================
   BUY AGAIN PAGE
   ============================================================================= */
.b2b-buy-again-table {
    width: 100%;
    border-collapse: collapse;
}

.b2b-buy-again-table th,
.b2b-buy-again-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--b2b-gray-200);
}

.b2b-buy-again-table th {
    background: var(--b2b-gray-100);
    font-weight: 500;
}

.b2b-buy-again-table .select-col {
    width: 40px;
}

.b2b-buy-again-table img {
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
}

.b2b-buy-again-table .qty-input {
    width: 70px;
    padding: 6px 10px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    text-align: center;
}

/* =============================================================================
   SALES REP DASHBOARD
   ============================================================================= */
.b2b-rep-dashboard {
    max-width: 900px;
}

.b2b-rep-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.b2b-stat-card {
    background: linear-gradient(135deg, var(--b2b-primary), var(--b2b-primary-dark));
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--b2b-shadow);
}

.b2b-stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.b2b-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.b2b-customers-table {
    width: 100%;
    border-collapse: collapse;
}

.b2b-customers-table th,
.b2b-customers-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--b2b-gray-200);
}

.b2b-customers-table th {
    background: var(--b2b-gray-100);
    font-weight: 500;
}

.b2b-customers-table .button-small {
    padding: 4px 10px;
    font-size: 12px;
}

/* =============================================================================
   PRODUCT RESTRICTIONS INFO
   ============================================================================= */
.b2b-product-restrictions {
    margin: 16px 0;
    padding: 12px 16px;
    background: var(--b2b-gray-100);
    border-radius: var(--b2b-radius);
    border-left: 3px solid var(--b2b-primary);
}

.b2b-product-restrictions p {
    margin: 0 0 4px;
    font-size: 14px;
}

.b2b-product-restrictions p:last-child {
    margin-bottom: 0;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 768px) {
    .b2b-quick-order-row {
        grid-template-columns: 1fr;
    }
    
    .b2b-rep-stats {
        grid-template-columns: 1fr;
    }
    
    .b2b-status-table th,
    .b2b-status-table td {
        display: block;
        width: 100%;
    }
    
    .b2b-status-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    
    .b2b-status-table td {
        padding-top: 4px;
    }
}

/* =============================================================================
   RJ WHOLESALER HOMEPAGE STYLES
   ============================================================================= */

/* Container */
.rj-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.rj-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--b2b-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--b2b-transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.rj-btn-primary {
    background: var(--b2b-primary);
    color: #fff;
    border-color: var(--b2b-primary);
}

.rj-btn-primary:hover {
    background: var(--b2b-primary-dark);
    border-color: var(--b2b-primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--b2b-shadow-md);
}

.rj-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.rj-btn-secondary:hover {
    background: #fff;
    color: var(--b2b-primary);
}

.rj-btn-white {
    background: #fff;
    color: var(--b2b-primary);
    border-color: #fff;
}

.rj-btn-white:hover {
    background: var(--b2b-gray-100);
    transform: translateY(-2px);
}

.rj-btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.rj-btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

.rj-btn-lg {
    padding: 18px 36px;
    font-size: 18px;
}

.rj-btn-icon {
    font-size: 20px;
}

/* Hero Section */
.rj-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--b2b-primary) 0%, var(--b2b-secondary) 100%);
    overflow: hidden;
}

.rj-hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.5;
}

.rj-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 60px 24px;
    max-width: 800px;
}

.rj-hero-title {
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -1px;
    color: #ffffff !important;
}

.rj-hero-tagline {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    margin: 0 0 16px;
    opacity: 0.95;
    color: #ffffff !important;
}

.rj-hero-subtitle {
    font-size: 18px;
    margin: 0 0 32px;
    opacity: 0.85;
    line-height: 1.6;
    color: #ffffff !important;
}

.rj-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Section */
.rj-trust-section {
    padding: 80px 0;
    background: var(--b2b-gray-50);
}

.rj-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.rj-trust-badge {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: var(--b2b-radius-lg);
    box-shadow: var(--b2b-shadow);
    transition: var(--b2b-transition);
}

.rj-trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--b2b-shadow-lg);
}

.rj-trust-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--b2b-primary-light), var(--b2b-primary));
    border-radius: 50%;
    margin: 0 auto 20px;
    color: #fff;
}

.rj-trust-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--b2b-gray-800);
    margin: 0 0 8px;
}

.rj-trust-desc {
    font-size: 15px;
    color: var(--b2b-gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Section Headers */
.rj-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.rj-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--b2b-gray-900);
    margin: 0 0 12px;
}

.rj-section-subtitle {
    font-size: 18px;
    color: var(--b2b-gray-600);
    margin: 0;
}

/* Categories Section */
.rj-categories-section {
    padding: 80px 0;
    background: #fff;
}

.rj-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.rj-category-card {
    display: block;
    padding: 32px;
    background: var(--b2b-gray-50);
    border-radius: var(--b2b-radius-lg);
    text-decoration: none;
    transition: var(--b2b-transition);
    border: 2px solid transparent;
}

.rj-category-card:hover {
    background: #fff;
    border-color: var(--b2b-primary);
    transform: translateY(-4px);
    box-shadow: var(--b2b-shadow-lg);
}

.rj-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--b2b-primary-light), var(--b2b-primary));
    border-radius: 50%;
    margin-bottom: 20px;
    color: #fff;
    transition: var(--b2b-transition);
}

.rj-category-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
}

.rj-category-card:hover .rj-category-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 139, 139, 0.3);
}

.rj-category-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--b2b-gray-900);
    margin: 0 0 8px;
}

.rj-category-desc {
    font-size: 15px;
    color: var(--b2b-gray-600);
    margin: 0 0 16px;
    line-height: 1.5;
}

.rj-category-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--b2b-primary);
}

.rj-category-card:hover .rj-category-link {
    color: var(--b2b-primary-dark);
}

.rj-section-cta {
    text-align: center;
    margin-top: 48px;
}

/* Steps Section */
.rj-steps-section {
    padding: 80px 0;
    background: var(--b2b-gray-50);
}

.rj-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.rj-step {
    text-align: center;
    padding: 32px;
}

.rj-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--b2b-primary);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 20px;
}

.rj-step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--b2b-gray-900);
    margin: 0 0 12px;
}

.rj-step-desc {
    font-size: 15px;
    color: var(--b2b-gray-600);
    margin: 0;
    line-height: 1.5;
}

/* CTA Section */
.rj-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--b2b-primary) 0%, var(--b2b-secondary) 100%);
}

.rj-cta-content {
    text-align: center;
    color: #fff;
}

.rj-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #ffffff !important;
}

.rj-cta-text {
    font-size: 18px;
    margin: 0 0 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff !important;
}

.rj-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer & Legal Links */
.rj-footer-legal-links {
    margin-top: 15px;
    display: inline-block;
    padding: 10px;
}

.rj-footer-legal-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.rj-footer-legal-links a:hover {
    color: #ffffff;
}

.rj-footer-legal-links .sep {
    color: rgba(255,255,255,0.3);
    margin: 0 10px;
    font-size: 11px;
}

/* Force Bottom Bar Visibility */
.site-footer, .copyright, footer[class*="site-footer"], .ct-footer {
    background-color: #1a2733 !important; /* Ensure dark background */
    color: rgba(255,255,255,0.7) !important;
}

.site-footer p, .copyright p, .ct-footer p {
    color: rgba(255,255,255,0.7) !important;
}

/* Ensure footer links are centered on mobile */
@media (max-width: 768px) {
    .rj-footer-legal-links {
        display: block;
        margin-top: 20px;
    }
}

/* Contact Section */
.rj-contact-section {
    padding: 60px 0;
    background: #fff;
    border-top: 1px solid var(--b2b-gray-200);
}

.rj-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

.rj-contact-info h3,
.rj-contact-hours h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--b2b-gray-900);
    margin: 0 0 16px;
}

.rj-contact-info p,
.rj-contact-hours p {
    font-size: 15px;
    color: var(--b2b-gray-600);
    margin: 0 0 8px;
    line-height: 1.6;
}

.rj-contact-info a {
    color: var(--b2b-primary);
    text-decoration: none;
}

.rj-contact-info a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .rj-hero {
        min-height: 500px;
    }
    
    .rj-hero-content {
        padding: 40px 20px;
    }
    
    .rj-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .rj-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .rj-trust-section,
    .rj-categories-section,
    .rj-steps-section,
    .rj-cta-section {
        padding: 60px 0;
    }
    
    .rj-section-title {
        font-size: 28px;
    }
}

/* =============================================================================
   MENU & HEADER CART STYLES
   ============================================================================= */

/* Cart Button in Menu */
.rj-menu-cart-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.rj-menu-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--b2b-primary);
    color: #fff !important; /* Override menu link color */
    border-radius: var(--b2b-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid transparent;
    transition: var(--b2b-transition);
}

.rj-menu-cart-btn:hover {
    background: var(--b2b-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--b2b-shadow-md);
    color: #fff !important;
}

.rj-cart-label {
    display: inline-block;
}

.rj-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--b2b-primary);
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    padding: 0 4px;
    margin-left: 4px;
}

@media (max-width: 768px) {
    .rj-menu-cart-item {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .rj-menu-cart-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================================================
   ENHANCED QUICK ORDER STYLES
   ============================================================================= */

.b2b-quick-order-enhanced {
    max-width: 100%;
    padding: 20px 0;
}

.b2b-quick-order-header {
    margin-bottom: 24px;
}

.b2b-quick-order-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--b2b-gray-900);
}

.b2b-quick-order-desc {
    color: var(--b2b-gray-600);
    margin: 0;
}

/* Ordering For Banner */
.b2b-ordering-for-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--b2b-primary-light), var(--b2b-primary));
    color: #fff;
    border-radius: var(--b2b-radius);
    margin-bottom: 20px;
    font-size: 14px;
}

.b2b-ordering-for-banner .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.b2b-change-customer {
    margin-left: auto;
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    font-size: 13px;
}

.b2b-change-customer:hover {
    color: #fff;
}

/* Search Box */
.b2b-search-box {
    position: relative;
    margin-bottom: 20px;
}

.b2b-search-box input {
    width: 100%;
    padding: 14px 48px 14px 16px;
    font-size: 16px;
    border: 2px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.b2b-search-box input:focus {
    border-color: var(--b2b-primary);
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.1);
    outline: none;
}

.b2b-search-icon,
.b2b-search-spinner {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* Products Table */
.b2b-search-results {
    margin-bottom: 20px;
}

.b2b-products-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--b2b-radius);
    overflow: hidden;
    box-shadow: var(--b2b-shadow);
}

.b2b-products-table th {
    background: var(--b2b-gray-100);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--b2b-gray-700);
    border-bottom: 2px solid var(--b2b-gray-200);
}

.b2b-products-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--b2b-gray-200);
    vertical-align: middle;
}

.b2b-products-table tr:hover {
    background: var(--b2b-gray-50);
}

.b2b-products-table .col-select {
    width: 40px;
    text-align: center;
}

.b2b-products-table .col-sku {
    width: 120px;
}

.b2b-products-table .col-sku code {
    background: var(--b2b-gray-100);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--b2b-gray-700);
}

.b2b-products-table .col-price {
    width: 100px;
    font-weight: 600;
    color: var(--b2b-primary);
}

.b2b-products-table .col-stock {
    width: 80px;
}

.b2b-products-table .col-stock.in-stock {
    color: var(--b2b-success);
}

.b2b-products-table .col-stock.out-of-stock {
    color: var(--b2b-error);
}

.b2b-products-table .col-qty {
    width: 80px;
}

.b2b-products-table .b2b-qty-input {
    width: 70px;
    padding: 8px 10px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    text-align: center;
    font-size: 14px;
}

.b2b-products-table .b2b-qty-input:focus {
    border-color: var(--b2b-primary);
    outline: none;
}

.b2b-no-results {
    padding: 40px;
    text-align: center;
    color: var(--b2b-gray-500);
    background: var(--b2b-gray-50);
    border-radius: var(--b2b-radius);
}

/* Selection Summary */
.b2b-selection-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--b2b-gray-100);
    border-radius: var(--b2b-radius);
    margin-bottom: 20px;
}

.b2b-summary-info {
    font-size: 15px;
    color: var(--b2b-gray-700);
}

.b2b-selected-count {
    font-weight: 700;
    color: var(--b2b-primary);
    font-size: 18px;
}

.b2b-summary-actions {
    display: flex;
    gap: 12px;
}

.b2b-add-to-cart {
    background: var(--b2b-primary) !important;
    border-color: var(--b2b-primary) !important;
}

.b2b-add-to-cart:hover {
    background: var(--b2b-primary-dark) !important;
    border-color: var(--b2b-primary-dark) !important;
}

/* Cart Feedback */
.b2b-cart-feedback {
    padding: 12px 16px;
    border-radius: var(--b2b-radius);
    margin-bottom: 20px;
}

.b2b-cart-feedback.success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid var(--b2b-success);
}

.b2b-cart-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid var(--b2b-error);
}

/* Bulk Entry Toggle */
.b2b-bulk-entry-toggle {
    margin-top: 24px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
}

.b2b-bulk-entry-toggle summary {
    padding: 12px 16px;
    cursor: pointer;
    color: var(--b2b-gray-600);
    font-size: 14px;
}

.b2b-bulk-entry-toggle summary:hover {
    color: var(--b2b-primary);
}

.b2b-bulk-entry {
    padding: 16px;
    background: var(--b2b-gray-50);
}

.b2b-bulk-entry textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    font-family: monospace;
    font-size: 13px;
    margin-bottom: 12px;
    resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
    .b2b-products-table {
        display: block;
        overflow-x: auto;
    }
    
    .b2b-selection-summary {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .b2b-summary-actions {
        width: 100%;
    }
    
    .b2b-summary-actions button {
        flex: 1;
    }
}

/* =====================================================
   ENHANCED QUICK ORDER - Customer Selector & Bulk Entry
   ===================================================== */

/* Customer Selector */
.b2b-customer-selector {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    border-radius: var(--b2b-radius);
    margin-bottom: 24px;
}

.b2b-customer-selector label {
    font-weight: 600;
    color: #1565c0;
    white-space: nowrap;
}

.b2b-customer-selector select {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    padding: 10px 12px;
    border: 1px solid #64b5f6;
    border-radius: var(--b2b-radius);
    background: #fff;
    font-size: 14px;
}

.b2b-customer-selector select:focus {
    outline: none;
    border-color: var(--b2b-primary);
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.1);
}

.b2b-set-customer-btn {
    padding: 10px 20px !important;
    background: #1976d2 !important;
    color: #fff !important;
    border: none !important;
    white-space: nowrap;
}

.b2b-set-customer-btn:hover {
    background: #1565c0 !important;
}

.b2b-current-customer-badge {
    padding: 8px 16px;
    background: #4caf50;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* Bulk Entry Section - Prominent */
.b2b-bulk-entry-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border: 2px solid #ffca28;
    border-radius: var(--b2b-radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.b2b-bulk-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.b2b-bulk-entry-header h4 {
    margin: 0;
    font-size: 18px;
    color: #f57c00;
}

.b2b-bulk-help {
    font-size: 13px;
    color: #795548;
}

.b2b-bulk-entry-content textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px;
    border: 2px solid #ffe082;
    border-radius: var(--b2b-radius);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    background: #fff;
    margin-bottom: 16px;
}

.b2b-bulk-entry-content textarea:focus {
    outline: none;
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2);
}

.b2b-bulk-entry-content textarea::placeholder {
    color: #bdbdbd;
}

.b2b-bulk-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.b2b-bulk-actions .button-primary {
    background: #ff9800 !important;
    border-color: #f57c00 !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
}

.b2b-bulk-actions .button-primary:hover {
    background: #f57c00 !important;
}

.b2b-clear-bulk {
    padding: 12px 20px !important;
}

.b2b-view-sku-chart {
    margin-left: auto;
    color: #795548;
    text-decoration: none;
    font-size: 14px;
}

.b2b-view-sku-chart:hover {
    color: #6d4c41;
    text-decoration: underline;
}

/* Divider */
.b2b-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: var(--b2b-gray-400);
    font-size: 14px;
}

.b2b-divider::before,
.b2b-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--b2b-gray-200);
}

.b2b-divider span {
    padding: 0 16px;
    white-space: nowrap;
}

/* SKU Reference Modal */
.b2b-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.b2b-modal-content {
    background: #fff;
    border-radius: var(--b2b-radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.b2b-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--b2b-gray-200);
}

.b2b-modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.b2b-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--b2b-gray-400);
    padding: 0 8px;
    line-height: 1;
}

.b2b-modal-close:hover {
    color: var(--b2b-error);
}

.b2b-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.b2b-sku-filter {
    margin-bottom: 16px;
}

.b2b-sku-filter input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
    font-size: 15px;
}

.b2b-sku-filter input:focus {
    outline: none;
    border-color: var(--b2b-primary);
}

.b2b-sku-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius);
}

.b2b-sku-reference-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.b2b-sku-reference-table thead {
    position: sticky;
    top: 0;
    background: var(--b2b-gray-100);
}

.b2b-sku-reference-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--b2b-gray-200);
}

.b2b-sku-reference-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--b2b-gray-100);
}

.b2b-sku-reference-table tbody tr:hover {
    background: var(--b2b-gray-50);
}

.b2b-sku-reference-table code {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.b2b-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--b2b-gray-200);
    background: var(--b2b-gray-50);
}

.b2b-print-sku-chart {
    background: #43a047 !important;
    color: #fff !important;
    border: none !important;
}

.b2b-print-sku-chart:hover {
    background: #388e3c !important;
}

/* Responsive for new components */
@media (max-width: 768px) {
    .b2b-customer-selector {
        flex-direction: column;
        align-items: stretch;
    }
    
    .b2b-customer-selector select {
        max-width: 100%;
    }
    
    .b2b-bulk-entry-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .b2b-bulk-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .b2b-view-sku-chart {
        margin-left: 0;
        text-align: center;
    }
    
    .b2b-modal-content {
        max-height: 95vh;
    }
}

/* Print styles for SKU chart */
@media print {
    .b2b-modal {
        position: static;
        background: none;
        padding: 0;
    }
    
    .b2b-modal-content {
        max-height: none;
        box-shadow: none;
    }
    
    .b2b-modal-header button,
    .b2b-modal-footer {
        display: none;
    }
    
    .b2b-sku-table-container {
        max-height: none;
        overflow: visible;
    }
}

/* =============================================================================
   BREADCRUMB NAVIGATION - SEO Enhancement
   ============================================================================= */
.mhs-breadcrumbs {
    padding: 16px 0;
    background: var(--b2b-gray-50);
    border-bottom: 1px solid var(--b2b-gray-200);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--b2b-gray-600);
}

.breadcrumb-item:not(:last-child)::after {
    content: '›';
    margin-left: 8px;
    color: var(--b2b-gray-400);
    font-size: 16px;
}

.breadcrumb-item a {
    color: var(--b2b-primary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--b2b-primary-dark);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--b2b-gray-800);
    font-weight: 500;
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
    .breadcrumb-list {
        font-size: 13px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
    }
}


/* =============================================================================
   PRODUCT CARD TYPOGRAPHY - Design Theme Consistency
   ============================================================================= */

/* Force Montserrat on all WooCommerce product elements */
.woocommerce ul.products,
.woocommerce ul.products li.product,
.rj-products-grid,
.rj-products-grid .product {
    font-family: "Montserrat", sans-serif !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.rj-products-grid .product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--b2b-gray-900) !important;
    margin: 12px 0 8px 0 !important;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
.rj-products-grid .product .woocommerce-loop-product__title:hover {
    color: var(--b2b-primary) !important;
}

/* Product Price */
.woocommerce ul.products li.product .price,
.rj-products-grid .product .price {
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--b2b-primary-dark) !important;
    margin: 4px 0 6px 0 !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: var(--b2b-gray-400) !important;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Product Category / Tags under the card */
.woocommerce ul.products li.product .product_type_simple,
.rj-products-grid .product .posted_in,
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product > span:not(.price):not(.onsale) {
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--b2b-gray-400) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.add_to_cart_button,
.rj-products-grid .product .button,
.rj-products-grid .product a.add_to_cart_button {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    padding: 10px 20px !important;
    border-radius: var(--b2b-radius) !important;
    background: var(--b2b-primary) !important;
    color: #fff !important;
    border: none !important;
    transition: var(--b2b-transition) !important;
    text-transform: none !important;
    margin-top: 8px !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover,
.rj-products-grid .product .button:hover,
.rj-products-grid .product a.add_to_cart_button:hover {
    background: var(--b2b-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 154, 143, 0.3);
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.rj-products-grid .product .onsale {
    font-family: "Montserrat", sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--b2b-error) !important;
    color: #fff !important;
    border-radius: var(--b2b-radius) !important;
}

/* Product Card Container */
.woocommerce ul.products li.product,
.rj-products-grid .product {
    background: #fff;
    border-radius: var(--b2b-radius-lg);
    padding: 16px;
    border: 1px solid var(--b2b-gray-100);
    transition: var(--b2b-transition);
    box-shadow: var(--b2b-shadow);
}

.woocommerce ul.products li.product:hover,
.rj-products-grid .product:hover {
    box-shadow: var(--b2b-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--b2b-gray-200);
}

/* Product Image */
.woocommerce ul.products li.product a img,
.rj-products-grid .product a img {
    border-radius: var(--b2b-radius) !important;
    margin-bottom: 4px !important;
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating {
    font-size: 13px !important;
    color: var(--b2b-warning) !important;
    margin: 4px 0 !important;
}

/* Result Count & Ordering */
.woocommerce-result-count,
.woocommerce-ordering select {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--b2b-gray-500) !important;
}

/* Category Section Headers */
.rj-category-title {
    font-family: "Montserrat", sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--b2b-gray-900) !important;
}

/* Shop Page Title */
.woocommerce-products-header__title.page-title {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 800 !important;
    color: var(--b2b-gray-900) !important;
}

/* =============================================================================
   UNIFIED SHOP PAGE - SIDEBAR + CATEGORY-WISE LAYOUT
   ============================================================================= */

/* Modern Shop Header */
.woocommerce-products-header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, var(--b2b-gray-50) 0%, #e8f5f2 100%);
    margin-bottom: 40px;
    border-radius: var(--b2b-radius-lg);
}

.woocommerce-products-header__title {
    font-size: 38px;
    font-weight: 800;
    color: var(--b2b-gray-900);
    margin: 0 0 8px 0;
}

/* Main Shop Layout */
.rj-shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 80px;
}

.rj-shop-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--b2b-gray-300) transparent;
}

.rj-sidebar-inner {
    background: #fff;
    border-radius: var(--b2b-radius-lg);
    box-shadow: var(--b2b-shadow-md);
    border: 1px solid var(--b2b-gray-100);
    padding: 28px 24px;
}

.rj-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--b2b-gray-900);
    margin: 0 0 24px 0;
    padding-bottom: 14px;
    border-bottom: 3px solid var(--b2b-primary);
    letter-spacing: -0.02em;
}

.rj-filter-widget {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--b2b-gray-100);
}

.rj-filter-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rj-filter-heading {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--b2b-gray-500);
    margin: 0 0 14px 0;
}

.rj-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rj-filter-list li {
    margin-bottom: 4px;
}

.rj-filter-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    color: var(--b2b-gray-700);
    text-decoration: none;
    border-radius: var(--b2b-radius);
    transition: var(--b2b-transition);
    font-size: 14px;
    font-weight: 500;
}

.rj-filter-link:hover,
.rj-filter-link.active {
    background: var(--b2b-primary-lightest, #e8f5f2);
    color: var(--b2b-primary-dark);
}

.rj-filter-link.active {
    font-weight: 700;
    border-left: 3px solid var(--b2b-primary);
    padding-left: 9px;
}

.rj-filter-name {
    flex: 1;
}

.rj-filter-count {
    font-size: 12px;
    font-weight: 600;
    background: var(--b2b-gray-100);
    color: var(--b2b-gray-500);
    padding: 2px 8px;
    border-radius: 20px;
    min-width: 28px;
    text-align: center;
}

.rj-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rj-tag-link {
    display: inline-block;
    padding: 5px 14px;
    background: var(--b2b-gray-50);
    color: var(--b2b-gray-700);
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--b2b-gray-200);
    transition: var(--b2b-transition);
}

.rj-tag-link:hover {
    background: var(--b2b-primary);
    color: #fff;
    border-color: var(--b2b-primary);
    transform: translateY(-1px);
}

.rj-shop-main {
    min-width: 0;
}

.rj-category-count {
    font-size: 14px;
    color: var(--b2b-gray-400);
    font-weight: 500;
}

.rj-category-section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.rj-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--b2b-gray-100);
    padding-bottom: 15px;
}

.rj-shop-main .products .product {
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.rj-shop-main .rj-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

@media (max-width: 991px) {
    .rj-shop-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .rj-shop-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1000;
        background: #fff;
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.15);
        transition: left 0.35s ease;
        padding: 20px 0;
    }

    .rj-shop-sidebar.rj-sidebar-open {
        left: 0;
    }

    .rj-sidebar-inner {
        border-radius: 0;
        box-shadow: none;
        border: none;
        height: 100%;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .woocommerce-products-header {
        padding: 30px 15px;
    }

    .woocommerce-products-header__title {
        font-size: 28px;
    }

    .rj-category-title {
        font-size: 22px;
    }

    .rj-shop-main .rj-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

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

/* =============================================================================
   GUEST / NON-LOGGED-IN USER FIXES
   ============================================================================= */

/* Remove bullet dots from ALL product lists and grids */
.products,
.rj-products-grid,
.woocommerce ul.products,
div.products {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

li.product,
.products li,
.products li.product,
.rj-products-grid li.product,
.woocommerce ul.products li.product {
    list-style: none !important;
    list-style-type: none !important;
}

/* Hide the "Read more" / "Add to cart" actions when B2B login button is present */
li.product:has(.b2b-login-to-see-price) .ct-woo-card-actions {
    display: none !important;
}

.product:has(.b2b-login-to-see-price) a.button.product_type_simple {
    display: none !important;
}

/* Style the "Login to see prices" button for guests */
.b2b-login-to-see-price {
    display: inline-block !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: var(--b2b-radius) !important;
    background: var(--b2b-primary) !important;
    color: #fff !important;
    border: none !important;
    transition: var(--b2b-transition) !important;
    text-transform: none !important;
    text-decoration: none !important;
    width: 100%;
    text-align: center;
    margin-top: 8px !important;
    box-sizing: border-box;
}

.b2b-login-to-see-price:hover {
    background: var(--b2b-primary-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 154, 143, 0.3);
}

/* Clean up Blocksy's default woocommerce header for shop page */
.rj-shop-page .woo-listing-top {
    display: none !important;
}

/* Ensure the shop header gradient does not stack with Blocksy's own */
.rj-shop-page .entry-header {
    display: none !important;
}

/* Product cards - ensure no overflow issues */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.products li.product .woocommerce-loop-product__link {
    text-decoration: none !important;
}

/* Fix product card inner alignment */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.products li.product .woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
}

/* Ensure product image container is clean */
.products li.product .attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product .attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

/* ---- MOBILE: Horizontal scrolling carousel for products ---- */
@media (max-width: 768px) {
    .woocommerce-products-header {
        padding: 30px 15px;
    }
    .woocommerce-products-header__title {
        font-size: 28px;
    }
    .rj-category-title {
        font-size: 22px;
    }
    .rj-shop-main .rj-products-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px !important;
        -webkit-overflow-scrolling: touch;
        gap: 16px !important;
        scrollbar-width: thin;
        scrollbar-color: #88c9bb #f1f1f1;
    }
    .rj-shop-main .rj-products-grid::-webkit-scrollbar {
        height: 6px;
    }
    .rj-shop-main .rj-products-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    .rj-shop-main .rj-products-grid::-webkit-scrollbar-thumb {
        background: #88c9bb;
        border-radius: 4px;
    }
    .rj-shop-main .rj-products-grid .product,
    .rj-shop-main .rj-products-grid li.product {
        flex: 0 0 260px !important;
        width: 260px !important;
        scroll-snap-align: start;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .rj-shop-main .rj-products-grid .product,
    .rj-shop-main .rj-products-grid li.product {
        flex: 0 0 220px !important;
        width: 220px !important;
    }
}

/* Hide the large Blocksy page-cover/hero area on the shop page */
.rj-shop-page .ct-page-header,
.rj-shop-page .woo-listing-top,
.rj-shop-page .woocommerce-breadcrumb,
.rj-shop-page .ct-breadcrumbs-wrapper,
.rj-shop-page .page-title-wrapper,
.rj-shop-page .ct-image-overlay,
.rj-shop-page .hero-section,
.rj-shop-page .entry-header {
    display: none !important;
}

/* Reduce top padding pushed by the hidden hero */
.rj-shop-page .woocommerce-products-header {
    padding: 20px 20px 20px 20px !important;
    margin-bottom: 24px !important;
}

.rj-shop-page .hfeed .site-content,
.rj-shop-page #woo-listing-top {
    padding-top: 0 !important;
}
/* =============================================================================
   REMOVE BLOCKSY SHOP HEADER BANNER
   ============================================================================ */
/* Hide the large Blocksy page cover / entry-header on the shop page */
.rj-shop-page .entry-header,
.rj-shop-page .entry-header.ct-container-narrow,
.rj-shop-page .ct-page-header,
.rj-shop-page .woo-listing-top,
.rj-shop-page .ct-breadcrumbs-wrapper,
.rj-shop-page .page-title-wrapper,
.rj-shop-page .hero-section {
    display: none !important;
}

/* =============================================================================
   FIX: REMOVE ALL BULLET DOTS FROM PRODUCT LISTS (Ultra-Aggressive)
   ============================================================================= */

/* Target every possible combination that could show bullets */
.woocommerce ul.products,
.woocommerce ul.products > li,
ul.products,
ul.products > li,
.products,
.products > li,
.rj-products-grid,
.rj-products-grid > li,
div.products > li,
li.product,
.product.type-product,
.site-content ul li.product,
body .woocommerce ul.products li.product,
body ul.products li,
main ul li.product {
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
}

/* Kill ::marker pseudo-element on product li items */
.woocommerce ul.products li::marker,
ul.products li::marker,
li.product::marker,
.products li::marker,
.rj-products-grid li::marker {
    content: none !important;
    display: none !important;
}

/* Ensure the parent ul never renders bullets */
.woocommerce ul.products,
ul.products,
.products {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* =============================================================================
   FIX: MOBILE HORIZONTAL SCROLL CAROUSEL FOR PRODUCTS
   ============================================================================= */

@media (max-width: 768px) {

    /* Convert the WooCommerce product grid to a horizontal scroll carousel */
    .woocommerce ul.products,
    ul.products,
    .rj-products-grid,
    .products.columns-3,
    .products.columns-4,
    .products.columns-2,
    .products.columns-1 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-bottom: 20px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        scrollbar-width: thin !important;
        scrollbar-color: #5a9a8f #f1f1f1 !important;
        /* Remove grid columns */
        grid-template-columns: unset !important;
    }

    /* Webkit scrollbar styling */
    .woocommerce ul.products::-webkit-scrollbar,
    ul.products::-webkit-scrollbar,
    .rj-products-grid::-webkit-scrollbar {
        height: 5px !important;
    }
    .woocommerce ul.products::-webkit-scrollbar-track,
    ul.products::-webkit-scrollbar-track,
    .rj-products-grid::-webkit-scrollbar-track {
        background: #f1f1f1 !important;
        border-radius: 4px !important;
    }
    .woocommerce ul.products::-webkit-scrollbar-thumb,
    ul.products::-webkit-scrollbar-thumb,
    .rj-products-grid::-webkit-scrollbar-thumb {
        background: #5a9a8f !important;
        border-radius: 4px !important;
    }

    /* Fixed width product cards in the carousel */
    .woocommerce ul.products > li.product,
    ul.products > li.product,
    .rj-products-grid > li.product,
    .rj-products-grid > .product {
        flex: 0 0 240px !important;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products > li.product,
    ul.products > li.product,
    .rj-products-grid > li.product,
    .rj-products-grid > .product {
        flex: 0 0 200px !important;
        width: 200px !important;
        min-width: 200px !important;
        max-width: 200px !important;
    }
}