/**
 * B2B Product Detail Page Styles
 * Industrial B2B Design System
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --b2b-primary: #1e40af;
    --b2b-primary-dark: #1e3a8a;
    --b2b-primary-light: #3b82f6;
    --b2b-secondary: #475569;
    --b2b-accent: #0ea5e9;
    
    --b2b-success: #059669;
    --b2b-warning: #d97706;
    --b2b-danger: #dc2626;
    
    --b2b-gray-50: #f8fafc;
    --b2b-gray-100: #f1f5f9;
    --b2b-gray-200: #e2e8f0;
    --b2b-gray-300: #cbd5e1;
    --b2b-gray-400: #94a3b8;
    --b2b-gray-500: #64748b;
    --b2b-gray-600: #475569;
    --b2b-gray-700: #334155;
    --b2b-gray-800: #1e293b;
    --b2b-gray-900: #0f172a;
    
    --b2b-space-xs: 4px;
    --b2b-space-sm: 8px;
    --b2b-space-md: 16px;
    --b2b-space-lg: 24px;
    --b2b-space-xl: 32px;
    --b2b-space-2xl: 48px;
    --b2b-space-3xl: 64px;
    
    --b2b-radius-sm: 4px;
    --b2b-radius-md: 8px;
    --b2b-radius-lg: 12px;
    
    --b2b-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --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-font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========================================
   Base Image Styles
   ======================================== */
.b2b-product-images img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* ========================================
   Product Gallery
   ======================================== */
.b2b-product-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: var(--b2b-space-md);
}

.b2b-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-sm);
}

.b2b-thumbnail {
    width: 100px;
    height: 100px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--b2b-radius-md);
    overflow: hidden;
    transition: all 0.2s;
}

.b2b-thumbnail:hover,
.b2b-thumbnail.active {
    border-color: var(--b2b-blue-600);
}

.b2b-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Container & Layout
   ======================================== */
.b2b-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--b2b-space-lg);
}

.b2b-main {
    padding: var(--b2b-space-xl) 0 var(--b2b-space-3xl);
    background: #fff;
}

/* ========================================
   Breadcrumb
   ======================================== */
.b2b-breadcrumb {
    background: var(--b2b-gray-50);
    border-bottom: 1px solid var(--b2b-gray-200);
    padding: var(--b2b-space-md) 0;
}

.b2b-breadcrumb .b2b-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--b2b-space-sm);
    font-size: 14px;
}

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

.b2b-breadcrumb a:hover {
    color: var(--b2b-primary);
}

.b2b-breadcrumb .sep {
    color: var(--b2b-gray-300);
}

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

/* ========================================
   Product Header
   ======================================== */
.b2b-product-header {
    margin-bottom: var(--b2b-space-xl);
    padding-bottom: var(--b2b-space-lg);
    border-bottom: 2px solid var(--b2b-gray-100);
}

.b2b-brand {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--b2b-primary);
    background: rgba(30, 64, 175, 0.08);
    padding: 4px 12px;
    border-radius: var(--b2b-radius-sm);
    margin-bottom: var(--b2b-space-sm);
}

.b2b-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--b2b-gray-900);
    margin: 0 0 var(--b2b-space-sm);
    line-height: 1.2;
}

.b2b-sku {
    font-size: 14px;
    color: var(--b2b-gray-500);
}

/* ========================================
   Product Layout
   ======================================== */
.b2b-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 320px;
    gap: var(--b2b-space-xl);
    margin-bottom: var(--b2b-space-2xl);
    overflow: hidden;
}

.b2b-product-layout > * {
    min-width: 0;
    overflow: hidden;
}

/* ========================================
   Product Images
   ======================================== */
.b2b-product-images {
    position: relative;
    overflow: hidden;
}

.b2b-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--b2b-gray-100);
    border-radius: var(--b2b-radius-lg);
    overflow: hidden;
    cursor: zoom-in;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b2b-main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.b2b-main-image:hover img {
    transform: scale(1.02);
}

.b2b-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--b2b-gray-400);
    gap: var(--b2b-space-md);
}

.b2b-badge {
    position: absolute;
    top: var(--b2b-space-md);
    left: var(--b2b-space-md);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--b2b-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.b2b-badge-success {
    background: var(--b2b-success);
    color: #fff;
}

.b2b-badge-warning {
    background: var(--b2b-warning);
    color: #fff;
}

.b2b-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--b2b-space-sm);
    margin-top: var(--b2b-space-md);
}

.b2b-thumb {
    aspect-ratio: 1;
    background: var(--b2b-gray-100);
    border: 2px solid transparent;
    border-radius: var(--b2b-radius-md);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}

.b2b-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.b2b-thumb:hover {
    border-color: var(--b2b-gray-300);
}

.b2b-thumb.active {
    border-color: var(--b2b-primary);
}

.b2b-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Product Info
   ======================================== */
.b2b-product-info {
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-lg);
}

.b2b-quick-specs {
    background: var(--b2b-gray-50);
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius-lg);
    padding: var(--b2b-space-lg);
}

.b2b-specs-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--b2b-gray-700);
    margin: 0 0 var(--b2b-space-md);
    padding-bottom: var(--b2b-space-sm);
    border-bottom: 1px solid var(--b2b-gray-200);
}

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

.b2b-specs-table tr {
    border-bottom: 1px solid var(--b2b-gray-100);
}

.b2b-specs-table tr:last-child {
    border-bottom: none;
}

.b2b-specs-table th,
.b2b-specs-table td {
    padding: var(--b2b-space-sm) 0;
    text-align: left;
    font-size: 14px;
}

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

.b2b-specs-table td {
    color: var(--b2b-gray-800);
    font-weight: 500;
}

/* ========================================
   Pricing
   ======================================== */
.b2b-pricing {
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-md);
}

.b2b-price {
    display: flex;
    align-items: baseline;
    gap: var(--b2b-space-sm);
}

.b2b-price-label {
    font-size: 14px;
    color: var(--b2b-gray-500);
}

.b2b-price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--b2b-primary);
}

.b2b-price-note {
    font-size: 14px;
    color: var(--b2b-gray-400);
}

.b2b-quantity {
    display: flex;
    align-items: center;
    gap: var(--b2b-space-md);
    padding: var(--b2b-space-md);
    background: var(--b2b-gray-50);
    border-radius: var(--b2b-radius-md);
}

.b2b-quantity label {
    font-size: 14px;
    font-weight: 500;
    color: var(--b2b-gray-700);
}

.b2b-input {
    width: 100px;
    padding: var(--b2b-space-sm) var(--b2b-space-md);
    border: 1px solid var(--b2b-gray-300);
    border-radius: var(--b2b-radius-md);
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.b2b-qty-note {
    font-size: 13px;
    color: var(--b2b-gray-500);
}

.b2b-cta-buttons {
    display: flex;
    gap: var(--b2b-space-md);
    min-width: 0;
    overflow: hidden;
}

.b2b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--b2b-space-sm);
    padding: var(--b2b-space-md) var(--b2b-space-lg);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--b2b-radius-md);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

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

.b2b-btn-primary:hover {
    background: var(--b2b-primary-dark);
}

.b2b-btn-secondary {
    background: var(--b2b-gray-100);
    color: var(--b2b-gray-700);
    border: 1px solid var(--b2b-gray-300);
}

.b2b-btn-secondary:hover {
    background: var(--b2b-gray-200);
}

.b2b-btn-block {
    width: 100%;
}

.b2b-trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: var(--b2b-space-lg);
    padding-top: var(--b2b-space-md);
    border-top: 1px solid var(--b2b-gray-200);
}

.b2b-trust-item {
    display: flex;
    align-items: center;
    gap: var(--b2b-space-xs);
    font-size: 13px;
    color: var(--b2b-gray-600);
}

.b2b-trust-item svg {
    color: var(--b2b-success);
}

/* ========================================
   Share
   ======================================== */
.b2b-share {
    display: flex;
    align-items: center;
    gap: var(--b2b-space-sm);
    font-size: 13px;
    color: var(--b2b-gray-500);
}

.b2b-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--b2b-gray-100);
    border-radius: var(--b2b-radius-sm);
    color: var(--b2b-gray-600);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.b2b-share a:hover {
    background: var(--b2b-primary);
    color: #fff;
}

/* ========================================
   Sidebar
   ======================================== */
.b2b-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-lg);
}

.b2b-contact-card {
    background: linear-gradient(135deg, var(--b2b-primary) 0%, var(--b2b-primary-dark) 100%);
    color: #fff;
    padding: var(--b2b-space-lg);
    border-radius: var(--b2b-radius-lg);
}

.b2b-contact-card h4 {
    font-size: 18px;
    margin: 0 0 var(--b2b-space-sm);
}

.b2b-contact-card p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 var(--b2b-space-lg);
}

.b2b-quote-form {
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-sm);
}

.b2b-quote-form .b2b-input {
    width: 92%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
}

.b2b-quote-form .b2b-btn {
    margin-top: var(--b2b-space-sm);
}

.b2b-info-card {
    background: var(--b2b-gray-50);
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius-lg);
    padding: var(--b2b-space-lg);
}

.b2b-info-card h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--b2b-gray-700);
    margin: 0 0 var(--b2b-space-md);
}

.b2b-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-sm);
}

.b2b-doc-list li {
    display: flex;
    align-items: center;
    gap: var(--b2b-space-sm);
}

.b2b-doc-list a {
    color: var(--b2b-primary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.b2b-doc-list a:hover {
    text-decoration: underline;
}

.b2b-doc-list svg {
    flex-shrink: 0;
    color: var(--b2b-gray-400);
}

.b2b-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--b2b-space-sm);
}

.b2b-cert-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--b2b-gray-200);
    border-radius: var(--b2b-radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--b2b-gray-700);
}

.b2b-order-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-sm);
    font-size: 14px;
}

.b2b-order-info li {
    display: flex;
    justify-content: space-between;
    padding-bottom: var(--b2b-space-sm);
    border-bottom: 1px solid var(--b2b-gray-200);
}

.b2b-order-info li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ========================================
   Tabs
   ======================================== */
.b2b-tabs-section {
    background: #fff;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius-lg);
    overflow: hidden;
    margin-bottom: var(--b2b-space-2xl);
}

.b2b-tabs-header {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    gap: 8px;
    padding: 8px;
    border-bottom: 2px solid var(--b2b-gray-200);
}

.b2b-tab-btn {
    flex: 1 1 auto;
    min-width: 120px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--b2b-gray-500);
    background: #fff;
    border: 2px solid var(--b2b-gray-300);
    border-radius: var(--b2b-radius-md);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.b2b-tab-btn:hover {
    color: var(--b2b-primary);
    border-color: var(--b2b-primary-light);
    background: rgba(30, 64, 175, 0.04);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12);
}

.b2b-tab-btn.active {
    color: #fff;
    background: var(--b2b-primary);
    border-color: var(--b2b-primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
}

.b2b-tabs-content {
    padding: var(--b2b-space-xl);
}

.b2b-tab-panel {
    display: none;
}

.b2b-tab-panel.active {
    display: block;
}

/* ========================================
   Tab Content Styles
   ======================================== */
.b2b-excerpt {
    padding: var(--b2b-space-lg);
    background: var(--b2b-gray-50);
    border-left: 4px solid var(--b2b-primary);
    border-radius: var(--b2b-radius-md);
    margin-bottom: var(--b2b-space-lg);
}

.b2b-excerpt p {
    margin: 0;
    font-size: 16px;
    color: var(--b2b-gray-700);
    line-height: 1.7;
}

.b2b-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--b2b-gray-700);
}

.b2b-content p {
    margin: 0 0 var(--b2b-space-md);
}

.b2b-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--b2b-radius-md);
    margin: var(--b2b-space-md) 0;
}

/* Full Specifications Table */
.b2b-full-specs {
    width: 100%;
    border-collapse: collapse;
}

.b2b-full-specs tr {
    border-bottom: 1px solid var(--b2b-gray-100);
}

.b2b-full-specs tr:nth-child(odd) {
    background: var(--b2b-gray-50);
}

.b2b-full-specs th,
.b2b-full-specs td {
    padding: var(--b2b-space-md);
    text-align: left;
    font-size: 14px;
}

.b2b-full-specs th {
    color: var(--b2b-gray-600);
    font-weight: 500;
    width: 40%;
}

.b2b-full-specs td {
    color: var(--b2b-gray-800);
    font-weight: 500;
}

/* Description Product Image */
.b2b-desc-image {
    width: 100%;
    margin-bottom: 24px;
}

.b2b-desc-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e5e7eb;
}

.b2b-desc-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Applications - Industry Cards */
.b2b-applications-header {
    margin-bottom: 28px;
}

.b2b-applications-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--b2b-gray-900);
    margin: 0 0 8px;
}

.b2b-applications-subtitle {
    font-size: 15px;
    color: var(--b2b-gray-500);
    margin: 0;
    line-height: 1.6;
}

.b2b-applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.b2b-app-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    background: var(--b2b-gray-50);
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius-md);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.b2b-app-card:hover {
    border-color: var(--b2b-primary-light);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.b2b-app-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 8px;
    color: var(--b2b-success);
}

.b2b-app-content {
    flex: 1;
    min-width: 0;
}

.b2b-app-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--b2b-gray-800);
    margin: 0 0 6px;
    line-height: 1.3;
}

.b2b-app-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--b2b-gray-500);
    margin: 0;
}

/* Responsive - Applications */
@media (max-width: 1024px) {
    .b2b-applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .b2b-applications-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .b2b-app-card {
        padding: 14px 12px;
        gap: 10px;
    }

    .b2b-applications-title {
        font-size: 18px;
    }

    .b2b-applications-subtitle {
        font-size: 14px;
    }

    .b2b-app-icon {
        width: 30px;
        height: 30px;
    }

    .b2b-app-icon svg {
        width: 16px;
        height: 16px;
    }

    .b2b-app-name {
        font-size: 14px;
    }

    .b2b-app-desc {
        font-size: 12px;
    }

    .b2b-desc-img {
        width: 100%;
    }
}

/* FAQ */
.b2b-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--b2b-space-md);
}

.b2b-faq-item {
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius-md);
    overflow: hidden;
}

.b2b-faq-item > *:not(summary) {
    display: block;
}

.b2b-faq-item:not([open]) > *:not(summary) {
    display: none;
}

.b2b-faq-item summary {
    padding: var(--b2b-space-md);
    font-weight: 600;
    cursor: pointer;
    background: var(--b2b-gray-50);
    list-style: none;
}

.b2b-faq-item summary::-webkit-details-marker {
    display: none;
}

.b2b-faq-item summary::after {
    content: '+';
    float: right;
    font-weight: 700;
    color: var(--b2b-gray-400);
}

.b2b-faq-item[open] summary::after {
    content: '-';
}

.b2b-faq-item p {
    padding: var(--b2b-space-md);
    margin: 0;
    font-size: 14px;
    color: var(--b2b-gray-600);
    line-height: 1.7;
}

/* ========================================
   Tags
   ======================================== */
.b2b-tags {
    margin: 30px 0 0;
    padding: 25px 0 0;
    border-top: 1px solid var(--b2b-border);
}

.b2b-tags-label {
    font-weight: 600;
    color: var(--b2b-text);
    margin-bottom: 12px;
    font-size: 14px;
}

.b2b-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.b2b-tag-link {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    color: #2563eb;
    border: 1px solid #93c5fd;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.b2b-tag-link:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* ========================================
   Related Products
   ======================================== */
.b2b-related {
    margin-top: var(--b2b-space-2xl);
}

.b2b-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--b2b-gray-900);
    margin: 0 0 var(--b2b-space-lg);
    padding-bottom: var(--b2b-space-md);
    border-bottom: 1px solid var(--b2b-gray-100);
}

.b2b-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--b2b-space-lg);
}

.b2b-product-card {
    background: #fff;
    border: 1px solid var(--b2b-gray-200);
    border-radius: var(--b2b-radius-lg);
    overflow: hidden;
    transition: all 0.2s;
}

.b2b-product-card:hover {
    border-color: var(--b2b-primary);
    box-shadow: var(--b2b-shadow-md);
}

.b2b-card-link {
    text-decoration: none;
    color: inherit;
}

.b2b-card-image {
    aspect-ratio: 1;
    background: var(--b2b-gray-100);
    overflow: hidden;
}

.b2b-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.b2b-product-card:hover .b2b-card-image img {
    transform: scale(1.05);
}

.b2b-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--b2b-gray-300);
}

.b2b-card-content {
    padding: var(--b2b-space-md);
}

.b2b-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--b2b-gray-800);
    margin: 0 0 var(--b2b-space-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.b2b-card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--b2b-primary);
}

/* ========================================
   Lightbox
   ======================================== */
.b2b-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.b2b-lightbox.active {
    display: flex;
}

.b2b-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.b2b-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.b2b-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.b2b-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.b2b-lightbox-nav.prev {
    left: 20px;
}

.b2b-lightbox-nav.next {
    right: 20px;
}

.b2b-lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.b2b-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.b2b-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .b2b-product-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .b2b-sidebar {
        grid-column: span 2;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .b2b-sidebar > * {
        flex: 1 1 120px;
    }
    
    .b2b-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .b2b-container {
        padding: 0 var(--b2b-space-md);
    }
    
    .b2b-title {
        font-size: 24px;
    }
    
    .b2b-product-layout {
        grid-template-columns: 1fr;
        gap: var(--b2b-space-lg);
    }
    
    .b2b-sidebar {
        grid-column: auto;
        flex-direction: column;
    }
    
    .b2b-tabs-header {
        flex-wrap: wrap;
    }
    
    .b2b-tab-btn {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .b2b-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--b2b-space-md);
    }
    
    .b2b-cta-buttons {
        flex-direction: column;
    }
    
    .b2b-btn {
        width: 100%;
    }
    
    .b2b-trust-signals {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: var(--b2b-space-sm) var(--b2b-space-lg);
    }

    .b2b-trust-item {
        font-size: 11px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .b2b-thumbnails {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 4px;
    }

    .b2b-thumbnails .b2b-thumb {
        flex: 0 0 65px;
        width: 65px;
        height: 65px;
    }
    
    .b2b-products-grid {
        grid-template-columns: 1fr;
    }
    
    .b2b-price-value {
        font-size: 28px;
    }
    
    .b2b-tab-btn {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .b2b-lightbox-nav {
        width: 40px;
        height: 40px;
    }
    
    .b2b-lightbox-nav.prev {
        left: 10px;
    }
    
    .b2b-lightbox-nav.next {
        right: 10px;
    }
}

/* Manufacturing Capabilities Section */
.b2b-manufacturing {
    margin: 40px 0;
    padding: 0;
}

.b2b-manufacturing .b2b-section-title {
    background: #1a3352;
    color: #fff;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.b2b-manufacturing-item {
    margin-bottom: 8px;
}

.b2b-manufacturing-item img {
    width: 100%;
    height: auto;
    display: block;
}

.b2b-manufacturing-caption {
    background: #f0f4f8;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1a3352;
    text-align: center;
    border-bottom: 2px solid #d4a843;
    margin: 0;
}
