/* Ultra-Premium Single Supplier Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

.b2b-single-supplier-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Hero Section - Professional Blue Gradient */
.b2b-supplier-hero {
    background: linear-gradient(135deg, #2c5f87 0%, #4a7ba7 100%);
    padding: 50px 0 80px;
    position: relative;
    overflow: hidden;
}

.b2b-supplier-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" fill-opacity="0.1"/></svg>');
    background-size: 30px 30px;
    opacity: 0.3;
}

.b2b-back-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 35px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.b2b-back-link:hover {
    gap: 12px;
    color: white;
}

.b2b-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.b2b-hero-left {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

/* Premium Logo with Glassmorphism */
.b2b-company-logo-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.b2b-company-logo-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.b2b-company-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 8px;
}

.b2b-company-info {
    color: white;
}

.b2b-company-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 12px;
    color: white;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.b2b-company-location {
    font-size: 1.1rem;
    opacity: 0.95;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.b2b-company-location i {
    font-size: 1rem;
}

/* Premium Button */
.b2b-btn-contact {
    background: white;
    color: #2c5f87;
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.b2b-btn-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(44, 95, 135, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.b2b-btn-contact:hover::before {
    width: 300px;
    height: 300px;
}

.b2b-btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.b2b-supplier-content {
    padding: -60px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.b2b-section-heading {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #667eea;
    margin: 0 0 25px;
    text-transform: uppercase;
    position: relative;
    padding-left: 20px;
}

.b2b-section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #2c5f87 0%, #4a7ba7 100%);
    border-radius: 2px;
}

.b2b-highlight {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Info Cards */
.b2b-info-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
    border: 1px solid rgba(44, 95, 135, 0.1);
    transition: all 0.4s ease;
}

.b2b-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.b2b-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 20px;
    letter-spacing: -0.3px;
}

.b2b-company-description {
    color: #4a5568;
    line-height: 1.9;
    margin: 0 0 30px;
    font-size: 1rem;
    font-weight: 400;
}

.b2b-info-grid {
    display: grid;
    gap: 0;
}

.b2b-info-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.b2b-info-item:hover {
    padding-left: 10px;
    background: rgba(44, 95, 135, 0.02);
}

.b2b-info-item:last-child {
    border-bottom: none;
}

.b2b-info-label {
    font-weight: 600;
    color: #2c5f87;
    min-width: 220px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.b2b-info-value {
    color: #2d3748;
    flex: 1;
    font-weight: 500;
}

.b2b-contact-grid {
    display: grid;
    gap: 0;
}

.b2b-contact-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.b2b-contact-item:hover {
    padding-left: 10px;
    background: rgba(44, 95, 135, 0.02);
}

.b2b-contact-item:last-child {
    border-bottom: none;
}

/* Premium Products Grid */
.b2b-products-section {
    margin-top: 50px;
}

.b2b-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.b2b-product-item {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.b2b-product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5f87 0%, #4a7ba7 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.b2b-product-item:hover::before {
    opacity: 1;
}

.b2b-product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(44, 95, 135, 0.15);
}

.b2b-product-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.b2b-product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.b2b-product-item:hover .b2b-product-image-wrapper::after {
    opacity: 1;
}

.b2b-product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.b2b-product-item:hover .b2b-product-image-wrapper img {
    transform: scale(1.08);
}

.b2b-product-details {
    padding: 25px;
}

.b2b-product-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.b2b-product-pricing {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
}

.b2b-currency {
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.b2b-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100());
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.b2b-product-moq {
    font-size: 0.85rem;
    color: #718096;
    margin: 0 0 15px;
    font-weight: 500;
}

.b2b-product-rating {
    color: #fbbf24;
    font-size: 0.95rem;
    display: flex;
    gap: 3px;
}

.b2b-product-rating .far {
    color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .b2b-supplier-hero {
        padding: 30px 0 50px;
    }

    .b2b-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .b2b-hero-left {
        flex-direction: column;
        width: 100%;
    }

    .b2b-company-logo-circle {
        width: 110px;
        height: 110px;
    }

    .b2b-company-name {
        font-size: 1.75rem;
    }

    .b2b-company-location {
        justify-content: center;
        font-size: 1rem;
    }

    .b2b-hero-right {
        width: 100%;
    }

    .b2b-btn-contact {
        width: 100%;
    }

    .b2b-info-item,
    .b2b-contact-item {
        flex-direction: column;
        gap: 8px;
    }

    .b2b-info-label {
        min-width: auto;
    }

    .b2b-products-grid {
        grid-template-columns: 1fr;
    }

    .b2b-supplier-content {
        padding: -40px 15px 30px;
    }

    .b2b-info-card {
        padding: 25px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .b2b-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .b2b-company-name {
        font-size: 2rem;
    }
}

@media (min-width: 1025px) {
    .b2b-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Empty State */
.b2b-empty-state {
    background: white;
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.b2b-empty-state p {
    color: #718096;
    font-size: 1.05rem;
    margin: 0;
}