/*
Theme Name: Mushroomrack B2B Core Theme
Theme URI: https://mushroomrack.com/
Author: Antigravity
Author URI: https://mushroomrack.com/
Description: Bespoke premium B2B theme kernel for industrial mushroom cultivation racks and agricultural automation machinery.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mushroomrack-theme
*/

/* ==========================================================================
   1. GLOBAL VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Color Palette - Premium Dark Industrial Style */
    --primary: #0f172a;            /* Slate 900 - Dark slate */
    --primary-light: #1e293b;      /* Slate 800 */
    --primary-lighter: #334155;    /* Slate 700 */
    --accent: #dd6b20;             /* Agricultural Orange */
    --accent-hover: #c05621;
    --accent-rgb: 221, 107, 32;
    --secondary: #2f855a;          /* Agri-Tech Green */
    --secondary-hover: #22543d;
    --secondary-rgb: 47, 133, 90;
    
    /* Neutral Palette */
    --bg-dark: #090d16;
    --bg-card-dark: #121824;
    --bg-light: #f8fafc;           /* Slate 50 */
    --bg-card-light: #ffffff;
    --text-dark: #f8fafc;
    --text-light: #0f172a;
    --text-muted-dark: #94a3b8;    /* Slate 400 */
    --text-muted-light: #64748b;   /* Slate 500 */
    --border-dark: #1e293b;
    --border-light: #e2e8f0;       /* Slate 200 */
    
    /* Semantic Status Colors */
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Typography & Hierarchy */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    /* Elevation & Layout Constants */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --max-width: 1280px;
    --header-height: 80px;
}

/* ==========================================================================
   2. GLOBAL BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), background var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    outline: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==========================================================================
   3. THEME STRUCTURE LAYOUTS (GRID & CONTAINER)
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   4. B2B PREMIUM DESIGN: GLASSMORPHISM & DYNAMIC TRANSITIONS
   ========================================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
}

/* Button & Form Interactions */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: white;
}
.btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-light);
    color: var(--text-light);
}
.btn-outline:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted-light);
}

/* Loading Overlay Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
.loading-state {
    animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ==========================================================================
   5. HEADER & RESPONSIVE MULTI-LANGUAGE NAVIGATION
   ========================================================================== */
.b2b-header {
    height: var(--header-height);
    background-color: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-dark);
}

.b2b-header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.b2b-logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: white;
}
.b2b-logo span {
    color: var(--accent);
}

.b2b-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.b2b-nav {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.b2b-nav a {
    color: var(--text-muted-dark);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.b2b-nav a:hover,
.b2b-nav li.current-menu-item a,
.b2b-nav a.active {
    color: white;
    background-color: var(--primary-light);
}

/* Multi-language selector */
.lang-selector {
    position: relative;
    cursor: pointer;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background-color: var(--primary-light);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background-color: var(--primary-light);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    min-width: 120px;
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    display: flex;
}

.lang-dropdown a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted-dark);
}

.lang-dropdown a:hover {
    background-color: var(--primary-lighter);
    color: white;
}

/* ==========================================================================
   6. B2B SHOPPING INQUIRY BASKET WIDGET & PAGE
   ========================================================================== */
.inquiry-basket-badge-wrapper {
    position: relative;
}

.inquiry-basket-btn {
    background-color: var(--primary-light);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inquiry-basket-btn:hover {
    background-color: var(--primary-lighter);
}

.inquiry-basket-badge {
    background-color: var(--accent);
    color: white;
    border-radius: var(--radius-full);
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Inquiry Basket Page */
.inquiry-page-main {
    padding: 4rem 0;
}

.inquiry-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2.5rem;
}

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

.inquiry-items-panel {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.inquiry-item-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.inquiry-item-row:last-child {
    border-bottom: none;
}

.inquiry-item-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
}

.inquiry-item-details {
    flex-grow: 1;
}

.inquiry-item-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.inquiry-item-meta {
    font-size: 0.875rem;
    color: var(--text-muted-light);
}

.inquiry-item-remove {
    cursor: pointer;
    color: var(--text-muted-light);
    transition: color var(--transition-fast);
}

.inquiry-item-remove:hover {
    color: var(--danger);
}

.inquiry-form-panel {
    background-color: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    align-self: flex-start;
}

.inquiry-form-panel h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.inquiry-form-fields .form-group {
    margin-bottom: 1.25rem;
}

.inquiry-form-fields label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.inquiry-form-fields input,
.inquiry-form-fields textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--primary-light);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    color: white;
    transition: border-color var(--transition-fast);
}

.inquiry-form-fields input:focus,
.inquiry-form-fields textarea:focus {
    border-color: var(--accent);
}

/* ==========================================================================
   7. SPECIFICATIONS COMPARATOR GRID & DRAWER
   ========================================================================== */
.compare-page-main {
    padding: 4rem 0;
}

.compare-header {
    text-align: center;
    margin-bottom: 3rem;
}

.compare-page-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.compare-page-subtitle {
    color: var(--text-muted-light);
    max-width: 600px;
    margin: 0 auto;
}

.compare-table-responsive {
    width: 100%;
    overflow-x: auto;
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 800px;
}

.compare-table th,
.compare-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: top;
}

.spec-label-header {
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.spec-highlight-btn {
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.spec-highlight-btn.active {
    color: var(--accent);
}

.btn-csv-export {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    font-weight: 600;
}
.btn-csv-export:hover {
    color: var(--primary);
}

.compare-product-col {
    position: relative;
}

.compare-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.compare-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
}

.compare-title {
    font-size: 1rem;
    font-weight: 700;
}

.compare-remove {
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--danger);
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.spec-attribute-label {
    font-weight: 600;
    background-color: var(--bg-light);
    color: var(--primary-lighter);
}

.spec-value-cell {
    font-size: 0.9375rem;
}

.spec-row-different {
    background-color: rgba(221, 107, 32, 0.03);
}

.spec-row-different .spec-attribute-label {
    border-left: 3px solid var(--accent);
}

.compare-action-row td {
    border-bottom: none;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Compare Drawer Widget */
.mr-compare-drawer {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: white;
    z-index: 1050;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.15);
    transition: bottom var(--transition-slow);
    padding: 1.5rem 0;
}

.mr-compare-drawer.active {
    bottom: 0;
}

.mr-compare-drawer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mr-compare-items-list {
    display: flex;
    gap: 1.5rem;
}

.mr-compare-item-bubble {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

/* ==========================================================================
   8. AGRICULTURAL ROI ESTIMATOR & METRICS CARDS
   ========================================================================== */
.roi-page-main {
    padding: 4rem 0;
}

.roi-header {
    text-align: center;
    margin-bottom: 4rem;
}

.roi-page-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.roi-page-subtitle {
    color: var(--text-muted-light);
    max-width: 700px;
    margin: 0 auto;
}

.roi-grid-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .roi-grid-layout {
        grid-template-columns: 1fr;
    }
}

.roi-inputs-card {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    align-self: flex-start;
}

.roi-inputs-card .card-title {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 0.75rem;
}

.roi-form-fields .form-group {
    margin-bottom: 1.5rem;
}

.roi-form-fields label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.roi-form-fields input,
.roi-form-fields select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background-color: var(--bg-light);
    transition: all var(--transition-fast);
}

.roi-form-fields input:focus,
.roi-form-fields select:focus {
    border-color: var(--accent);
    background-color: white;
}

.roi-form-fields .field-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted-light);
}

/* Outputs Cards styling */
.roi-results-card {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.roi-section-block {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.roi-section-block .card-title {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.roi-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

@media (max-width: 640px) {
    .roi-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.metric-box.box-highlight {
    background-color: rgba(221, 107, 32, 0.02);
    border-color: rgba(221, 107, 32, 0.2);
}

.metric-box.box-highlight .metric-value {
    color: var(--accent);
}

.metric-box.box-success {
    background-color: rgba(16, 185, 129, 0.02);
    border-color: rgba(16, 185, 129, 0.2);
}

.metric-box.box-success .metric-value {
    color: var(--success);
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted-light);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* Recommended machinery list */
.machinery-recommendations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.equipment-rec-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.rec-name {
    font-weight: 700;
    font-size: 1rem;
}

.rec-role {
    font-size: 0.8125rem;
    color: var(--text-muted-light);
    font-weight: 500;
}

.rec-qty-price {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.rec-qty {
    font-size: 0.875rem;
    font-weight: 600;
}

.rec-cost {
    font-weight: 700;
    color: var(--primary-lighter);
}

.machinery-cta {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   9. B2B TRUST BLOCK & STYLING COMPONENT METRICS
   ========================================================================== */
.compare-inquiry-notes-card {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-top: 3rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.compare-inquiry-notes-card .card-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
}

@media (max-width: 768px) {
    .compare-inquiry-notes-card .card-inner {
        flex-direction: column;
        text-align: center;
    }
}

.compare-inquiry-notes-card .dashicons-info-outline {
    font-size: 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--accent);
}

.compare-inquiry-notes-card .notes-text {
    flex-grow: 1;
}

.compare-inquiry-notes-card h5 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.compare-inquiry-notes-card p {
    color: var(--text-muted-light);
    font-size: 0.875rem;
}

/* ==========================================================================
   10. FOOTER STYLING
   ========================================================================== */
.b2b-footer {
    background-color: var(--primary);
    color: var(--text-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-dark);
}

.b2b-footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .b2b-footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .b2b-footer-container {
        grid-template-columns: 1fr;
    }
}

.b2b-footer-col h3,
.b2b-footer-col h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.b2b-footer-col p {
    color: var(--text-muted-dark);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.b2b-footer-col a {
    color: var(--text-muted-dark);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.b2b-footer-col a:hover {
    color: white;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--primary-light);
    border-radius: var(--radius-full);
}
.footer-social-links a:hover {
    background-color: var(--accent);
}

.b2b-footer-bottom {
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted-dark);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .b2b-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   11. B2B HOME & ARCHIVES VISUAL REDESIGN
   ========================================================================== */
.b2b-hero-banner {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.98) 0%, rgba(9, 13, 22, 1) 90%);
    padding: 6rem 0;
    color: white;
    overflow: hidden;
    border-bottom: 1px solid var(--border-dark);
}
.b2b-hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.b2b-hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}
.b2b-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(221, 107, 32, 0.1);
    color: var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(221, 107, 32, 0.2);
    margin-bottom: 1.5rem;
}
.b2b-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.b2b-hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-muted-dark);
    margin-bottom: 2.5rem;
    max-width: 620px;
}
.b2b-hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}
.b2b-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--border-dark);
    padding-top: 2rem;
}
.b2b-hero-stat-item strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}
.b2b-hero-stat-item span {
    font-size: 0.8125rem;
    color: var(--text-muted-dark);
    font-weight: 500;
}
.b2b-hero-preview {
    position: relative;
    z-index: 2;
}
.b2b-hero-dashboard {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(18, 24, 36, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}
.b2b-dashboard-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.b2b-dashboard-metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.b2b-dashboard-metric:first-child {
    padding-top: 0;
}
.b2b-dashboard-metric label {
    font-size: 0.875rem;
    color: var(--text-muted-dark);
}
.b2b-dashboard-metric span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--success);
}
.b2b-dashboard-metric span.accent-val {
    color: var(--accent);
}

/* B2B Trust Grid */
.b2b-trust-section {
    padding: 4.5rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}
.b2b-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.b2b-trust-item {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}
.b2b-trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.b2b-trust-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: inline-block;
}
.b2b-trust-item h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.b2b-trust-item p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-muted-light);
}

/* Category Tabs Showcase */
.b2b-showcase-section {
    padding: 6rem 0;
}
.b2b-section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.b2b-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.b2b-section-desc {
    font-size: 1.0625rem;
    color: var(--text-muted-light);
    max-width: 640px;
    margin: 0 auto;
}
.b2b-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.b2b-tab-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--text-muted-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}
.b2b-tab-btn:hover, .b2b-tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.b2b-tab-content {
    display: none;
}
.b2b-tab-content.active {
    display: block;
}

/* B2B Glass Card */
.b2b-glass-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.b2b-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.b2b-card-img-wrapper {
    position: relative;
    height: 220px;
    background: #f8fafc;
    overflow: hidden;
}
.b2b-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.b2b-glass-card:hover .b2b-card-img-wrapper img {
    transform: scale(1.05);
}
.b2b-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.85);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.b2b-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.b2b-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.b2b-card-title a {
    color: var(--primary);
}
.b2b-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}
.b2b-card-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
}
.b2b-card-specs-table td {
    padding: 0.5rem 0;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--border-light);
}
.b2b-card-specs-table td.spec-label {
    color: var(--text-muted-light);
    font-weight: 600;
    width: 40%;
}
.b2b-card-specs-table td.spec-val {
    color: var(--primary-light);
    font-weight: 500;
    text-align: right;
}
.b2b-card-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-light);
    padding-top: 1.25rem;
}
.b2b-card-compare {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.b2b-card-compare label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted-light);
    cursor: pointer;
}

/* Solutions Showcase dark block */
.b2b-solutions-section {
    background: var(--primary);
    color: white;
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-dark);
}
.b2b-solutions-section .b2b-section-title {
    color: white;
}
.b2b-solutions-section .b2b-section-desc {
    color: var(--text-muted-dark);
}
.b2b-solution-card {
    background: var(--primary-light);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}
.b2b-solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
.b2b-solution-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.b2b-solution-card h3 a {
    color: white;
}
.b2b-solution-features {
    list-style: none;
    margin: 1.25rem 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.b2b-solution-features li {
    font-size: 0.875rem;
    color: var(--text-muted-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.b2b-solution-features li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 800;
}

/* Interactive Tools Banner */
.b2b-tools-section {
    padding: 6rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}
.b2b-tool-block {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.b2b-tool-left h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.b2b-tool-left p {
    font-size: 1rem;
    color: var(--text-muted-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* FAQ Accordion Section */
.b2b-faq-section {
    padding: 6rem 0;
    background: white;
    border-bottom: 1px solid var(--border-light);
}
.b2b-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.b2b-faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-light);
}
.b2b-faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.b2b-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted-light);
    font-weight: 300;
    transition: transform var(--transition-normal);
}
.b2b-faq-item.active .b2b-faq-question::after {
    content: '-';
}
.b2b-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}
.b2b-faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted-light);
}

/* Dark B2B Lead Capture Form */
.b2b-lead-section {
    padding: 6rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.98) 0%, rgba(9, 13, 22, 1) 100%);
    color: white;
}
.b2b-lead-section .b2b-section-title {
    color: white;
}
.b2b-lead-section .b2b-section-desc {
    color: var(--text-muted-dark);
}
.b2b-lead-form-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: var(--radius-xl);
    background: rgba(18, 24, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}
.b2b-lead-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.b2b-form-full {
    grid-column: 1 / -1;
}
.b2b-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.b2b-input-group label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.b2b-input-group input, .b2b-input-group select, .b2b-input-group textarea {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    width: 100%;
    transition: all var(--transition-normal);
}
.b2b-input-group input:focus, .b2b-input-group select:focus, .b2b-input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(221, 107, 32, 0.2);
}

@media (max-width: 1024px) {
    .b2b-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .b2b-hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .b2b-hero-actions {
        justify-content: center;
    }
    .b2b-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .b2b-tool-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
@media (max-width: 768px) {
    .b2b-trust-grid {
        grid-template-columns: 1fr;
    }
    .b2b-tabs-nav {
        flex-wrap: wrap;
    }
    .b2b-lead-form-grid {
        grid-template-columns: 1fr;
    }
    .b2b-lead-form-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   12. B2B INNER PAGES (LEVEL 3) PREMIUM REDESIGN
   ========================================================================== */
.product-page-main, .solution-page-main {
    background-color: var(--bg-light);
    color: var(--text-light);
}

/* Glassmorphism Panel Showcase */
.b2b-glass-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}
.b2b-glass-panel:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-lg);
}

/* Breadcrumbs navigation */
.product-breadcrumbs, .solution-breadcrumbs {
    font-size: 0.875rem;
    color: var(--text-muted-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}
.product-breadcrumbs a, .solution-breadcrumbs a {
    color: var(--text-muted-light);
    transition: color var(--transition-fast);
}
.product-breadcrumbs a:hover, .solution-breadcrumbs a:hover {
    color: var(--secondary);
}

/* Headings style reset */
.product-page-main h1.product-title, .solution-page-main h1 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary) !important;
}

/* B2B Product Detail / Solution Content Layouts */
.prose-content, .solution-prose {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
}
.prose-content p, .solution-prose p {
    margin-bottom: 1.5rem;
}
.prose-content h2, .solution-prose h2,
.prose-content h3, .solution-prose h3 {
    color: var(--primary);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.prose-content h2::after, .solution-prose h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), transparent);
    border-radius: var(--radius-full);
}

/* Customized List bullet points */
.prose-content ul, .solution-prose ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}
.prose-content ul li, .solution-prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}
.prose-content ul li::before, .solution-prose ul li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0.45rem;
    width: 0.65rem;
    height: 0.65rem;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(47, 133, 90, 0.4);
}
.prose-content ol, .solution-prose ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}
.prose-content ol li, .solution-prose ol li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

/* B2B Specification table */
.b2b-spec-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    background: #ffffff;
}
.b2b-spec-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.b2b-spec-table th {
    background-color: #f1f5f9;
    color: #1e293b;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    letter-spacing: 0.02em;
}
.b2b-spec-table td {
    padding: 1rem 1.5rem;
    font-size: 0.9375rem;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color var(--transition-fast);
}
.b2b-spec-table tr:last-child td {
    border-bottom: none;
}
.b2b-spec-table tr:nth-child(even) {
    background-color: #f8fafc;
}
.b2b-spec-table tr:hover td {
    background-color: rgba(47, 133, 90, 0.04);
    color: var(--primary);
}
.b2b-spec-table td strong {
    color: #1f2937;
    font-weight: 600;
}

/* Trust Badges */
.b2b-trust-list span {
    transition: color var(--transition-fast);
}
.b2b-trust-list span:hover {
    color: var(--primary);
}

/* Detail page gallery visual wrapper */
.product-gallery-panel .glass-panel {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 1rem !important;
}

/* Solution ROI Callout block */
.solution-roi-callout {
    background: linear-gradient(135deg, rgba(47, 133, 90, 0.03) 0%, rgba(221, 107, 32, 0.03) 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 5px solid var(--secondary) !important;
    backdrop-filter: none !important;
}
.solution-roi-callout h3 {
    color: var(--primary) !important;
    font-weight: 700;
}
.solution-roi-callout p {
    color: var(--text-muted-light) !important;
}

/* Style raw tables enqueued from the WordPress editor */
.prose-content table, .solution-prose table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 2rem 0 !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
}
.prose-content table th, .solution-prose table th {
    background-color: #f1f5f9 !important;
    background: #f1f5f9 !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    padding: 1rem 1.5rem !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: 2px solid #e2e8f0 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
}
.prose-content table td, .solution-prose table td {
    padding: 1rem 1.5rem !important;
    font-size: 0.9375rem !important;
    color: #475569 !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    transition: background-color var(--transition-fast) !important;
}
.prose-content table tr:last-child td, .solution-prose table tr:last-child td {
    border-bottom: none !important;
}
.prose-content table tr:nth-child(even), .solution-prose table tr:nth-child(even) {
    background-color: #f8fafc !important;
}
.prose-content table tr:hover td, .solution-prose table tr:hover td {
    background-color: rgba(47, 133, 90, 0.04) !important;
    color: var(--primary) !important;
}
.prose-content table td strong, .solution-prose table td strong {
    color: #1f2937 !important;
    font-weight: 600 !important;
}

/* Make editor tables responsive */
@media (max-width: 768px) {
    .prose-content table, .solution-prose table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Style images enqueued from the WordPress editor */
.prose-content img, .solution-prose img {
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    margin: 1.5rem auto;
    max-width: 100%;
    height: auto;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}
.prose-content img:hover, .solution-prose img:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

