/* =========================================================
   B2B BUSINESS PROFILE
========================================================= */

:root {

    --b2b-primary: #123b68;
    --b2b-primary-dark: #0c2948;
    --b2b-secondary: #0b6e4f;
    --b2b-accent: #f4b400;
    --b2b-dark: #10243b;
    --b2b-text: #263646;
    --b2b-muted: #718096;
    --b2b-light: #f5f8fb;
    --b2b-border: #e2e8f0;
    --b2b-white: #ffffff;

}


.b2b-profile-page {

    background: #f5f8fb;
    color: var(--b2b-text);

}


/* =========================================================
   CONTAINER
========================================================= */

.b2b-profile-container {

    width: 92%;
    max-width: 1400px;
    margin: auto;

}


/* =========================================================
   COVER
========================================================= */

.b2b-profile-cover {

    min-height: 310px;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(9,34,58,.96),
            rgba(18,59,104,.78)
        ),
        url("img/business-cover.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

}


.b2b-cover-overlay {

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(244,180,0,.14),
            transparent 30%
        );

}


.b2b-profile-cover-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

}


.b2b-cover-tag {

    display: inline-block;

    color: var(--b2b-accent);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;

}


.b2b-profile-cover h1 {

    color: #fff;

    font-size: 42px;

    line-height: 1.15;

    margin: 0 0 12px;

}


.b2b-profile-cover p {

    color: rgba(255,255,255,.82);

    font-size: 16px;

    margin: 0;

    line-height: 1.7;

}


/* =========================================================
   BUSINESS HEAD
========================================================= */

.b2b-business-head {

    background: #fff;

    border-bottom: 1px solid var(--b2b-border);

}


.b2b-business-head-inner {

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 28px 0;

}


/* LOGO */

.b2b-business-logo {

    width: 125px;
    height: 125px;

    flex-shrink: 0;

    background: #fff;

    border: 5px solid #fff;

    box-shadow: 0 10px 35px rgba(15,40,65,.16);

    border-radius: 14px;

    overflow: hidden;

    margin-top: -65px;

    position: relative;

    z-index: 5;

}


.b2b-business-logo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


/* BUSINESS INFO */

.b2b-business-main-info {

    flex: 1;

}


.b2b-business-badges {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 8px;

}


.b2b-type-badge,
.b2b-verified-badge {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 10px;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 800;

}


.b2b-type-badge {

    color: var(--b2b-primary);

    background: #eaf2fa;

}


.b2b-verified-badge {

    color: var(--b2b-secondary);

    background: #e8f7f0;

}


.b2b-business-main-info h2 {

    margin: 0 0 10px;

    color: var(--b2b-dark);

    font-size: 28px;

}


.b2b-business-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;

    color: var(--b2b-muted);

    font-size: 13px;

}


.b2b-business-meta span {

    display: flex;

    align-items: center;

    gap: 6px;

}


.b2b-business-meta i {

    color: var(--b2b-secondary);

}


.b2b-profile-rating {

    margin-top: 10px;

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 13px;

}


.b2b-stars {

    color: var(--b2b-accent);

    letter-spacing: 2px;

}


.b2b-profile-rating strong {

    color: var(--b2b-dark);

}


/* ACTIONS */

.b2b-business-actions {

    display: flex;

    flex-direction: column;

    gap: 9px;

    width: 150px;

}


.b2b-business-actions a {

    text-decoration: none;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    padding: 11px 15px;

    border-radius: 7px;

    font-size: 13px;

    font-weight: 800;

    transition: .3s;

}


.b2b-call-btn {

    color: #fff;

    background: var(--b2b-primary);

}


.b2b-whatsapp-btn {

    color: #fff;

    background: var(--b2b-secondary);

}


.b2b-business-actions a:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(0,0,0,.14);

}


/* =========================================================
   QUICK STATS
========================================================= */

.b2b-quick-stats {

    background: #fff;

    padding: 18px 0;

    border-bottom: 1px solid var(--b2b-border);

}


.b2b-stats-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 15px;

}


.b2b-stat-box {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px 15px;

    background: #f8fafc;

    border: 1px solid var(--b2b-border);

    border-radius: 8px;

}


.b2b-stat-box > i {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--b2b-secondary);

    background: #e8f7f0;

    border-radius: 7px;

}


.b2b-stat-box strong {

    display: block;

    color: var(--b2b-dark);

    font-size: 18px;

}


.b2b-stat-box span {

    display: block;

    color: var(--b2b-muted);

    font-size: 11px;

    margin-top: 2px;

}


/* =========================================================
   MAIN CONTENT
========================================================= */

.b2b-profile-content {

    padding: 45px 0;

}


.b2b-profile-layout {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 360px;

    gap: 25px;

}


.b2b-profile-left {

    min-width: 0;

}


/* =========================================================
   PROFILE CARD
========================================================= */

.b2b-profile-card {

    background: #fff;

    border: 1px solid var(--b2b-border);

    border-radius: 12px;

    padding: 28px;

    margin-bottom: 22px;

    box-shadow: 0 8px 25px rgba(20,40,65,.04);

}


.b2b-card-heading {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 22px;

}


.b2b-card-heading span,
.b2b-related-heading span {

    display: block;

    color: var(--b2b-secondary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.7px;

    margin-bottom: 5px;

}


.b2b-card-heading h2 {

    margin: 0;

    color: var(--b2b-dark);

    font-size: 25px;

}


.b2b-card-heading h2 strong,
.b2b-related-heading h2 strong {

    color: var(--b2b-secondary);

}


.b2b-card-heading > a {

    color: var(--b2b-primary);

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

}

.profile-share-btn {

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 11px 15px;

    background: #f4b400;

    color: #7a0000;

    border: 2px solid #c40000;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    transition: all 0.3s ease;

    box-sizing: border-box;

}


.profile-share-btn i {

    font-size: 15px;

}


.profile-share-btn:hover {

    background: #ffd21a;

    color: #a80000;

    border-color: #a80000;

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(196, 0, 0, 0.18);

}


.profile-share-btn:active {

    transform: translateY(0);

}

/* =========================================================
   ABOUT
========================================================= */

.b2b-about-text {

    color: var(--b2b-muted);

    font-size: 14px;

    line-height: 1.8;

    margin: 0 0 12px;

}


.b2b-about-points {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 12px;

    margin-top: 22px;

}


.b2b-about-points div {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 13px;

    font-weight: 700;

    color: var(--b2b-text);

}


.b2b-about-points i {

    color: var(--b2b-secondary);

}


/* =========================================================
   PRODUCTS
========================================================= */

.b2b-products-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
}


.b2b-product-card {

    display: flex;

    border: 1px solid var(--b2b-border);

    border-radius: 9px;

    overflow: hidden;

    background: #fff;

    transition: .3s;

}


.b2b-product-card:hover {

    transform: translateY(-3px);

    box-shadow: 0 12px 25px rgba(20,40,65,.09);

}


.b2b-product-image {

    width: 135px;

    min-width: 135px;

    height: 135px;

}


.b2b-product-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.b2b-product-info {

    padding: 15px;

}


.b2b-product-info h3 {

    margin: 0 0 6px;

    font-size: 15px;

    color: var(--b2b-dark);

}


.b2b-product-info p {

    margin: 0 0 12px;

    color: var(--b2b-muted);

    font-size: 11px;

    line-height: 1.5;

}


.b2b-product-info a {

    text-decoration: none;

    color: var(--b2b-secondary);

    font-size: 11px;

    font-weight: 800;

}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.b2b-highlight-grid {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 18px;

}


.b2b-highlight-item {

    display: flex;

    gap: 13px;

}


.b2b-highlight-icon {

    width: 42px;
    height: 42px;

    min-width: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--b2b-primary);

    background: #edf4fa;

    border-radius: 8px;

}


.b2b-highlight-item h3 {

    margin: 0 0 5px;

    font-size: 14px;

    color: var(--b2b-dark);

}


.b2b-highlight-item p {

    margin: 0;

    font-size: 12px;

    color: var(--b2b-muted);

    line-height: 1.5;

}


/* =========================================================
   COMPANY TABLE
========================================================= */

.b2b-company-table {

    border: 1px solid var(--b2b-border);

    border-radius: 8px;

    overflow: hidden;

}


.b2b-company-table div {

    display: grid;

    grid-template-columns: 40% 60%;

    padding: 13px 15px;

    border-bottom: 1px solid var(--b2b-border);

    font-size: 13px;

}


.b2b-company-table div:last-child {

    border-bottom: 0;

}


.b2b-company-table span {

    color: var(--b2b-muted);

}


.b2b-company-table strong {

    color: var(--b2b-dark);

}


/* =========================================================
   MAP
========================================================= */

.b2b-map {

    height: 300px;

    overflow: hidden;

    border-radius: 8px;

    border: 1px solid var(--b2b-border);

}


.b2b-map iframe {

    width: 100%;
    height: 100%;

    border: 0;

}


.b2b-address {

    display: flex;

    gap: 12px;

    padding-top: 18px;

}


.b2b-address > i {

    color: var(--b2b-secondary);

    font-size: 20px;

}


.b2b-address strong {

    display: block;

    color: var(--b2b-dark);

    font-size: 13px;

}


.b2b-address p {

    margin: 4px 0 0;

    color: var(--b2b-muted);

    font-size: 12px;

}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.b2b-profile-right {

    position: relative;

}


.b2b-enquiry-card {

    background: #fff;

    border: 1px solid var(--b2b-border);

    border-radius: 12px;

    padding: 25px;

    box-shadow: 0 12px 35px rgba(20,40,65,.08);

    position: sticky;

    top: 20px;

    z-index: 2;

}


.b2b-enquiry-heading span {

    color: var(--b2b-secondary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.b2b-enquiry-heading h2 {

    color: var(--b2b-dark);

    font-size: 22px;

    line-height: 1.3;

    margin: 6px 0 7px;

}


.b2b-enquiry-heading h2 strong {

    color: var(--b2b-secondary);

}


.b2b-enquiry-heading p {

    color: var(--b2b-muted);

    font-size: 12px;

    line-height: 1.6;

    margin: 0 0 20px;

}


/* FORM */

.b2b-form-group {

    margin-bottom: 14px;

}


.b2b-form-group label {

    display: block;

    margin-bottom: 6px;

    font-size: 11px;

    font-weight: 800;

    color: var(--b2b-dark);

}


.b2b-form-group input,
.b2b-form-group select {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid var(--b2b-border);

    background: #f9fbfd;

    padding: 11px 12px;

    border-radius: 6px;

    outline: none;

    font-family: inherit;

    font-size: 12px;

    color: var(--b2b-text);

}


.b2b-form-group input:focus,
.b2b-form-group select:focus {

    border-color: var(--b2b-secondary);

    background: #fff;

}


.b2b-enquiry-btn {

    width: 100%;

    border: 0;

    padding: 13px;

    border-radius: 7px;

    color: #fff;

    background: var(--b2b-secondary);

    font-size: 12px;

    font-weight: 800;

    cursor: pointer;

    transition: .3s;

}


.b2b-enquiry-btn:hover {

    background: #075b41;

    transform: translateY(-2px);

}


/* =========================================================
   SIDEBAR CARD
========================================================= */

.b2b-sidebar-card {

    background: #fff;

    border: 1px solid var(--b2b-border);

    border-radius: 10px;

    padding: 22px;

    margin-top: 18px;

}


.b2b-sidebar-title {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 16px;

}


.b2b-sidebar-title > i {

    color: var(--b2b-secondary);

}


.b2b-sidebar-title h3 {

    margin: 0;

    color: var(--b2b-dark);

    font-size: 16px;

}


/* HOURS */

.b2b-hours div {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 9px 0;

    border-bottom: 1px dashed var(--b2b-border);

    font-size: 11px;

}


.b2b-hours div:last-child {

    border-bottom: 0;

}


.b2b-hours span {

    color: var(--b2b-muted);

}


.b2b-hours strong {

    color: var(--b2b-dark);

    text-align: right;

}


/* CONTACT */

.b2b-contact-card p {

    color: var(--b2b-muted);

    font-size: 12px;

    line-height: 1.6;

    margin-bottom: 15px;

}


.b2b-side-call,
.b2b-side-whatsapp {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    padding: 11px;

    margin-top: 8px;

    border-radius: 6px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

}


.b2b-side-call {

    color: #fff;

    background: var(--b2b-primary);

}


.b2b-side-whatsapp {

    color: #fff;

    background: var(--b2b-secondary);

}


/* =========================================================
   RELATED BUSINESSES
========================================================= */

.b2b-related-section {

    padding: 50px 0;

    background: #fff;

    border-top: 1px solid var(--b2b-border);

}


.b2b-related-heading {

    text-align: center;

    margin-bottom: 28px;

}


.b2b-related-heading h2 {

    color: var(--b2b-dark);

    margin: 0 0 8px;

    font-size: 28px;

}


.b2b-related-heading p {

    color: var(--b2b-muted);

    margin: 0;

    font-size: 13px;

}


.b2b-related-grid {

    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 18px;

}


.b2b-related-card {

    background: #fff;

    border: 1px solid var(--b2b-border);

    border-radius: 10px;

    overflow: hidden;

    transition: .3s;

}


.b2b-related-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(20,40,65,.12);

}


.b2b-related-card > img {

    width: 100%;

    height: 170px;

    object-fit: cover;

}


.b2b-related-info {

    padding: 16px;

}


.b2b-related-info > span {

    color: var(--b2b-secondary);

    background: #e8f7f0;

    padding: 4px 7px;

    border-radius: 4px;

    font-size: 9px;

    font-weight: 800;

}


.b2b-related-info h3 {

    margin: 10px 0 8px;

    color: var(--b2b-dark);

    font-size: 15px;

}


.b2b-related-info p {

    margin: 0 0 13px;

    color: var(--b2b-muted);

    font-size: 11px;

}


.b2b-related-info a {

    color: var(--b2b-primary);

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .b2b-profile-layout {

        grid-template-columns: minmax(0,1fr) 310px;

    }


    .b2b-related-grid {

        grid-template-columns: repeat(2,1fr);

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .b2b-profile-container {

        width: 94%;

    }


    .b2b-profile-cover {

        min-height: 260px;

    }


    .b2b-profile-cover h1 {

        font-size: 29px;

    }


    .b2b-profile-cover p {

        font-size: 13px;

    }


    .b2b-business-head-inner {

        flex-wrap: wrap;

        gap: 15px;

        padding: 20px 0 25px;

    }


    .b2b-business-logo {

        width: 90px;
        height: 90px;

        margin-top: -55px;

    }


    .b2b-business-main-info {

        width: calc(100% - 110px);

    }


    .b2b-business-main-info h2 {

        font-size: 21px;

    }


    .b2b-business-meta {

        gap: 7px 12px;

        font-size: 11px;

    }


    .b2b-business-actions {

        width: 100%;

        display: grid;

        grid-template-columns: 1fr 1fr;

    }


    .b2b-stats-grid {

        grid-template-columns: repeat(2,1fr);

    }


    .b2b-profile-content {

        padding: 30px 0;

    }


    .b2b-profile-layout {

        display: block;

    }


    .b2b-profile-right {

        margin-top: 25px;

    }


    .b2b-enquiry-card {

        position: relative;

        top: auto;

    }


    .b2b-profile-card {

        padding: 20px;

    }


    .b2b-card-heading h2 {

        font-size: 21px;

    }


    .b2b-about-points {

        grid-template-columns: 1fr;

    }


    .b2b-products-grid {

        grid-template-columns: 1fr;

    }


    .b2b-highlight-grid {

        grid-template-columns: 1fr;

    }


    .b2b-related-grid {

        grid-template-columns: 1fr 1fr;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {

    .b2b-profile-cover {

        min-height: 230px;

    }


    .b2b-profile-cover h1 {

        font-size: 25px;

    }


    .b2b-business-logo {

        width: 78px;
        height: 78px;

    }


    .b2b-business-main-info {

        width: calc(100% - 95px);

    }


    .b2b-business-main-info h2 {

        font-size: 18px;

    }


    .b2b-profile-rating {

        font-size: 11px;

    }


    .b2b-stats-grid {

        gap: 8px;

    }


    .b2b-stat-box {

        padding: 10px;

        gap: 8px;

    }


    .b2b-stat-box > i {

        width: 35px;
        height: 35px;

    }


    .b2b-stat-box strong {

        font-size: 15px;

    }


    .b2b-stat-box span {

        font-size: 9px;

    }


    .b2b-product-card {

        display: block;

    }


    .b2b-product-image {

        width: 100%;

        height: 170px;

    }


    .b2b-company-table div {

        grid-template-columns: 1fr;

        gap: 5px;

    }


    .b2b-related-grid {

        grid-template-columns: 1fr;

    }


    .b2b-map {

        height: 230px;

    }

}

/* =========================================
   FIXED CALL ACTION BUTTON Left Side Vendr Profile
========================================= */

#fixedCallButton {
    position: fixed;
    left: 20px;
    bottom: 25px;
    z-index: 9999;
}

#fixedCallButton a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 20px 12px 12px;

    background: #ffc107;
    color: #111;

    border: 2px solid #ffffff;
    border-radius: 50px;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    transition: all 0.3s ease;
}

#fixedCallButton a:hover {
    transform: translateY(-4px);
    background: #ffb300;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}


/* PHONE ICON */

.call-action-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
    color: #ffc107;

    border-radius: 50%;

    font-size: 18px;
}


/* TEXT */

.call-action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.call-action-text small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.call-action-text strong {
    font-size: 15px;
    font-weight: 800;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    #fixedCallButton {
        left: 2px;
        bottom: 15px;
    }

    #fixedCallButton a {
        padding: 9px 15px 9px 9px;
        gap: 9px;
    }

    .call-action-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .call-action-text small {
        font-size: 9px;
    }

    .call-action-text strong {
        font-size: 13px;
    }
}


/* =========================================
   FIXED CHAT ACTION BUTTON - RIGHT
========================================= */

#fixedChatButton {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 9999;
}

#fixedChatButton a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 12px 12px 20px;

    background: #046e2b;
    color: #fff;

    border: 2px solid #ffffff;
    border-radius: 50px;

    text-decoration: none;

    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    transition: all 0.3s ease;
}

#fixedChatButton a:hover {
    transform: translateY(-4px);
    background: #046e2b;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}


/* CHAT ICON */

.chat-action-icon {
    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;
    color: #046e2b;

    border-radius: 50%;

    font-size: 22px;
}


/* CHAT TEXT */

.chat-action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: right;
}

.chat-action-text small {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.chat-action-text strong {
    font-size: 15px;
    font-weight: 800;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    #fixedChatButton {
        right: 2px;
        bottom: 15px;
    }

    #fixedChatButton a {
        padding: 9px 9px 9px 15px;
        gap: 9px;
    }

    .chat-action-icon {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .chat-action-text small {
        font-size: 9px;
    }

    .chat-action-text strong {
        font-size: 13px;
    }
}

/* Global button and icon hover color */
:where(button, input[type="button"], input[type="submit"], input[type="reset"], a[class*="btn"], a[class*="button"], [class*="-btn"], [class*="_btn"], .icon-btn):hover {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #fff !important;
}

:where(button, input[type="button"], input[type="submit"], input[type="reset"], a[class*="btn"], a[class*="button"], [class*="-btn"], [class*="_btn"], .icon-btn):hover :where(i, svg, span) {
    color: #fff !important;
}

:where([class*="-icon"], [class*="_icon"], .fa, .fa-solid, .fa-regular, .fa-brands):hover {
    color: #f59e0b !important;
}
