/* B2B Directory Product Card Layout */
.product-card-b2b {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card-b2b:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: #0d6efd;
}

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

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

.product-card-b2b .phone-unmask-btn {
    transition: all 0.2s ease;
}

.product-card-b2b .phone-unmask-btn:hover {
    background-color: #f1f3f5 !important;
    border-color: #28a745 !important;
}

/* Floating call handset widget */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #28a745;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-call-btn:hover {
    transform: scale(1.1);
    background-color: #218838;
}

.floating-call-btn i {
    animation: phone-wiggle 1.5s infinite;
}

@keyframes phone-wiggle {
    0%, 100% { transform: rotate(0); }
    10%, 90% { transform: rotate(-10deg); }
    20%, 80% { transform: rotate(10deg); }
    30%, 50%, 70% { transform: rotate(-15deg); }
    40%, 60% { transform: rotate(15deg); }
}

@media(max-width: 576px) {
    .product-card-b2b .product-card-body {
        flex-direction: column;
    }
    .product-card-b2b .product-left-col {
        width: 100% !important;
        flex-direction: row !important;
        align-items: center;
        gap: 15px;
    }
    .product-card-b2b .product-thumb-b2b {
        width: 80px;
        height: 80px !important;
        min-width: 80px;
    }
    .product-card-b2b .company-info-b2b {
        margin-top: 0 !important;
    }
}

/* Sidebar B2B Mega Menu Overlay Styles */
.b2b-categories-sidebar {
    position: relative;
    min-height: 410px;
}

.b2b-sidebar-list {
    position: static;
}

.b2b-sidebar-list li.has-megamenu {
    position: static;
}

.b2b-sidebar-list li.has-megamenu a {
    position: relative;
    z-index: 10;
    font-size: 13px !important;
}

.b2b-sidebar-list li.has-megamenu:hover > a {
    color: #ffffff !important;
    background-color: #0ea5e9 !important;
}

.b2b-megamenu-panel {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 820px;
    height: 100%;
    background-color: #111111;
    border: 1px solid #333;
    border-left: none;
    z-index: 9999;
    padding: 20px 25px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 #111;
}

/* Slim scrollbar for Webkit browsers */
.b2b-megamenu-panel::-webkit-scrollbar {
    width: 6px;
}
.b2b-megamenu-panel::-webkit-scrollbar-track {
    background: #111;
}
.b2b-megamenu-panel::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.b2b-sidebar-list li.has-megamenu:hover .b2b-megamenu-panel {
    display: block;
}

/* Mega menu column contents */
.megamenu-col h6.megamenu-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    border-left: 2px solid #00a8e8;
    padding-left: 8px;
    line-height: 1.2;
}

.megamenu-links li {
    margin-bottom: 4px;
}

.megamenu-links li a {
    color: #aaaaaa !important;
    font-size: 12px !important;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 2px 0;
}

.megamenu-links li a:hover {
    color: #00a8e8 !important;
    padding-left: 4px;
}

@media (max-width: 991px) {
    .b2b-megamenu-panel {
        display: none !important;
    }
}

.product-card__name {
    color: #0ea5e9 !important;
}

.b2b-sidebar-list li:hover > a,
.b2b-sidebar-list li.has-megamenu:hover > a,
.b2b-sidebar-list li:hover {
    background-color: #f1f5f9 !important;
}

.footer-area {
    background-color: #0284c7 !important; /* Darker Sky Blue */
    background-image: none !important;
    border-top: 5px solid #ffffff; /* Crisp white separation line */
}

.footer-area,
.footer-area p,
.footer-area h6,
.footer-area a,
.footer-area li,
.footer-area i,
.footer-area span,
.footer-area .title {
    color: #ffffff !important;
}

.footer-area a:hover {
    color: #111111 !important;
}

.footer-countries-bar {
    background-color: #0369a1 !important; /* Even darker Sky Blue */
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}