```css
/* =========================================================
   MYSP VENDOR PROFILE
   LinkedIn-inspired B2B Supplier Profile
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL RESET — ONLY INSIDE VENDOR PROFILE
--------------------------------------------------------- */

.mysp-profile-page,
.mysp-profile-page * {
    box-sizing: border-box;
}

.mysp-profile-page {
    width: 100%;
    margin: 0;
    padding: 28px 16px 60px;
    background: #f4f6f8;
    color: #172033;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.55;
}

.mysp-profile-page img {
    max-width: 100%;
}

.mysp-profile-page a {
    text-decoration: none;
}

.mysp-profile-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.mysp-profile-hero {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(20, 30, 45, 0.06);
}

/* Compact banner */

.mysp-profile-cover {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #e9edf2;
}

.mysp-profile-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mysp-profile-cover.mysp-no-banner {
    height: 190px;
    background:
        linear-gradient(135deg, #dfe6ed, #f4f6f8);
}


/* Hero bottom area */

.mysp-profile-hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 0 28px 24px;
}


/* =========================================================
   LOGO
========================================================= */

.mysp-profile-logo {
    width: 110px;
    height: 110px;
    margin-top: -48px;
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    border: 4px solid #ffffff;
    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.13);
}

.mysp-profile-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 7px;
    background: #ffffff;
}

.mysp-profile-logo-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef2f6;
    color: #26364a;

    font-size: 36px;
    font-weight: 700;
}


/* =========================================================
   COMPANY INFORMATION
========================================================= */

.mysp-profile-main-info {
    min-width: 0;
    padding-top: 17px;
}

.mysp-company-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mysp-company-title h1 {
    margin: 0;
    color: #172033;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.mysp-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    padding: 5px 9px;

    border-radius: 999px;

    background: #e9f7ef;
    color: #19733d;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.mysp-company-type {
    display: inline-block;

    margin-top: 8px;
    padding: 5px 10px;

    border-radius: 6px;

    background: #f0f3f7;
    color: #475569;

    font-size: 13px;
    font-weight: 600;
}

.mysp-company-location {
    margin-top: 7px;

    color: #667085;
    font-size: 13px;
}

.mysp-company-short-description {
    max-width: 650px;

    margin: 9px 0 0;

    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.mysp-profile-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;

    padding-top: 17px;
}

.mysp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 38px;
    padding: 8px 14px;

    border: 1px solid #d6dce3;
    border-radius: 7px;

    background: #ffffff;
    color: #26364a;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.mysp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mysp-btn-whatsapp {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.mysp-btn-whatsapp:hover {
    background: #1ebe5d;
    color: #ffffff;
}

.mysp-btn-email {
    background: #ffffff;
}

.mysp-btn-website {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.mysp-btn-website:hover {
    background: #1e40af;
    color: #ffffff;
}


/* =========================================================
   PROFILE TABS
========================================================= */

.mysp-profile-tabs {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;

    width: 100%;
    margin-top: 16px;

    padding: 0 8px;

    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #e2e6eb;
    border-radius: 12px;

    box-shadow: 0 3px 12px rgba(20, 30, 45, 0.05);

    overflow-x: auto;
    scrollbar-width: thin;
}

.mysp-profile-tab {
    position: relative;

    flex: 0 0 auto;

    padding: 15px 17px;

    border: 0;
    background: transparent;

    color: #667085;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
    white-space: nowrap;

    transition: color 0.2s ease;
}

.mysp-profile-tab:hover {
    color: #1d4ed8;
}

.mysp-profile-tab.active {
    color: #1d4ed8;
}

.mysp-profile-tab.active::after {
    content: "";

    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 0;

    height: 3px;

    background: #1d4ed8;
    border-radius: 3px 3px 0 0;
}

.mysp-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    margin-left: 5px;
    padding: 0 5px;

    border-radius: 999px;

    background: #eef2f7;
    color: #596579;

    font-size: 10px;
}


/* =========================================================
   TAB CONTENT
========================================================= */

.mysp-profile-content {
    width: 100%;
    margin-top: 16px;
}

.mysp-tab-panel {
    display: none;
    width: 100%;
}

.mysp-tab-panel.active {
    display: block;
}


/* =========================================================
   SECTION CARDS
========================================================= */

.mysp-section-card {
    width: 100%;
    margin-bottom: 16px;

    padding: 23px 25px;

    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 13px;

    box-shadow: 0 2px 10px rgba(20, 30, 45, 0.035);
}

.mysp-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-bottom: 20px;
}

.mysp-section-heading h2 {
    margin: 2px 0 0;

    color: #172033;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 700;
}

.mysp-section-label {
    display: block;

    color: #7b8797;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;

    letter-spacing: 1.1px;
}


/* =========================================================
   OVERVIEW
========================================================= */

.mysp-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
    gap: 25px;
}

.mysp-overview-main h3 {
    margin: 0 0 12px;

    color: #26364a;
    font-size: 17px;
}

.mysp-about-text {
    color: #566273;
    font-size: 14px;
    line-height: 1.75;
}

.mysp-overview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mysp-stat-card {
    min-height: 85px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 13px;

    background: #f7f9fb;
    border: 1px solid #e7ebf0;
    border-radius: 9px;
}

.mysp-stat-card strong {
    display: block;

    color: #1d4ed8;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 750;

    overflow-wrap: anywhere;
}

.mysp-stat-card span {
    margin-top: 5px;

    color: #778294;
    font-size: 11px;
    line-height: 1.35;
}


/* =========================================================
   INFORMATION GRID
========================================================= */

.mysp-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.mysp-info-item {
    min-width: 0;

    padding: 13px 15px;

    background: #f8fafc;
    border: 1px solid #e7ebf0;
    border-radius: 8px;
}

.mysp-info-item span {
    display: block;

    margin-bottom: 4px;

    color: #7b8797;
    font-size: 11px;
    font-weight: 600;
}

.mysp-info-item strong {
    display: block;

    color: #26364a;
    font-size: 13px;
    font-weight: 700;

    overflow-wrap: anywhere;
}


/* =========================================================
   PRODUCTS
========================================================= */

.mysp-product-total {
    flex: 0 0 auto;

    padding: 6px 10px;

    background: #f1f4f8;
    color: #5f6b7a;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;
}

.mysp-products-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}

.mysp-product-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e1e6eb;
    border-radius: 11px;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.mysp-product-card:hover {
    transform: translateY(-3px);

    border-color: #d2d9e2;

    box-shadow: 0 9px 22px rgba(25, 35, 50, 0.09);
}


/* Fixed product image frame */

.mysp-product-image {
    display: block;

    width: 100%;
    height: 175px;

    overflow: hidden;

    background: #f2f4f7;
}

.mysp-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 0.3s ease;
}

.mysp-product-card:hover .mysp-product-image img {
    transform: scale(1.035);
}

.mysp-product-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8a95a5;
    background: #f1f4f7;

    font-size: 12px;
    font-weight: 600;
}

.mysp-product-body {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 13px;
}

.mysp-product-body h3 {
    margin: 0 0 7px;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.mysp-product-body h3 a {
    color: #1c2b3d;
}

.mysp-product-body h3 a:hover {
    color: #1d4ed8;
}

.mysp-product-category {
    display: inline-block;
    align-self: flex-start;

    margin-bottom: 12px;
    padding: 4px 7px;

    border-radius: 5px;

    background: #f0f3f7;
    color: #697586;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
}

.mysp-view-product {
    display: inline-flex;
    align-items: center;

    margin-top: auto;

    color: #1d4ed8;

    font-size: 11px;
    font-weight: 700;
}

.mysp-view-product:hover {
    color: #173ea5;
}


/* =========================================================
   CAPABILITIES
========================================================= */

.mysp-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mysp-capability-card {
    min-width: 0;

    padding: 17px;

    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
}

.mysp-capability-card span {
    display: block;

    margin-bottom: 7px;

    color: #7a8696;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.mysp-capability-card strong {
    display: block;

    color: #26364a;

    font-size: 14px;
    line-height: 1.45;

    overflow-wrap: anywhere;
}


/* =========================================================
   CERTIFICATIONS
========================================================= */

.mysp-certification-box {
    padding: 18px 20px;

    background: #f7faf8;
    border: 1px solid #dfece3;
    border-radius: 9px;

    color: #465a4d;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   CONTACT
========================================================= */

.mysp-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.mysp-contact-card {
    min-width: 0;

    padding: 18px;

    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
}

.mysp-contact-card > span {
    display: block;

    margin-bottom: 8px;

    color: #7a8696;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.mysp-contact-card strong {
    display: block;

    margin-bottom: 12px;

    color: #26364a;

    font-size: 13px;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

.mysp-contact-card a {
    color: #1d4ed8;

    font-size: 11px;
    font-weight: 700;
}

.mysp-contact-card a:hover {
    text-decoration: underline;
}

.mysp-address-box {
    margin-top: 14px;
    padding: 18px;

    background: #f8fafc;
    border: 1px solid #e5eaf0;
    border-radius: 10px;
}

.mysp-address-box > span {
    display: block;

    margin-bottom: 8px;

    color: #7a8696;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.mysp-address-box p {
    margin: 0 0 9px;

    color: #596678;

    font-size: 13px;
    line-height: 1.65;
}

.mysp-address-box strong {
    color: #26364a;
    font-size: 12px;
}


/* =========================================================
   LARGE TEXT
========================================================= */

.mysp-large-text {
    color: #566273;

    font-size: 14px;
    line-height: 1.8;
}

.mysp-large-text p {
    margin-top: 0;
}


/* =========================================================
   EMPTY STATES
========================================================= */

.mysp-empty {
    margin: 0;

    color: #8993a2;
    font-size: 13px;
}

.mysp-empty-box {
    padding: 40px 20px;

    text-align: center;

    background: #f8fafc;
    border: 1px dashed #d9dfe6;
    border-radius: 10px;
}

.mysp-empty-box h3 {
    margin: 0 0 6px;

    color: #475569;
    font-size: 16px;
}

.mysp-empty-box p {
    margin: 0;

    color: #8993a2;
    font-size: 12px;
}


/* =========================================================
   ERROR
========================================================= */

.mysp-vendor-error {
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;

    background: #ffffff;
    border: 1px solid #e1e6eb;
    border-radius: 12px;

    text-align: center;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .mysp-profile-hero-content {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .mysp-profile-actions {
        grid-column: 1 / -1;

        justify-content: flex-start;

        padding-top: 0;
    }

    .mysp-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mysp-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mysp-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP
========================================================= */

@media (max-width: 760px) {

    .mysp-profile-page {
        padding: 15px 10px 40px;
    }

    .mysp-profile-cover,
    .mysp-profile-cover.mysp-no-banner {
        height: 145px;
    }

    .mysp-profile-hero-content {
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 14px;

        padding: 0 16px 18px;
    }

    .mysp-profile-logo {
        width: 86px;
        height: 86px;
        margin-top: -38px;

        border-width: 3px;
        border-radius: 11px;
    }

    .mysp-profile-logo-placeholder {
        font-size: 29px;
    }

    .mysp-profile-main-info {
        padding-top: 12px;
    }

    .mysp-company-title h1 {
        font-size: 22px;
    }

    .mysp-company-short-description {
        font-size: 12px;
    }

    .mysp-section-card {
        padding: 19px 17px;
    }

    .mysp-overview-grid {
        grid-template-columns: 1fr;
    }

    .mysp-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 520px) {

    .mysp-profile-page {
        padding: 8px 7px 30px;
    }

    .mysp-profile-hero {
        border-radius: 11px;
    }

    .mysp-profile-cover,
    .mysp-profile-cover.mysp-no-banner {
        height: 115px;
    }

    .mysp-profile-hero-content {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);

        gap: 11px;

        padding: 0 12px 15px;
    }

    .mysp-profile-logo {
        width: 72px;
        height: 72px;

        margin-top: -30px;

        border-width: 3px;
        border-radius: 9px;
    }

    .mysp-profile-logo img {
        padding: 5px;
    }

    .mysp-profile-logo-placeholder {
        font-size: 24px;
    }

    .mysp-profile-main-info {
        padding-top: 9px;
    }

    .mysp-company-title {
        gap: 6px;
    }

    .mysp-company-title h1 {
        font-size: 18px;
        letter-spacing: 0;
    }

    .mysp-verified {
        padding: 4px 7px;
        font-size: 9px;
    }

    .mysp-company-type {
        margin-top: 5px;
        padding: 4px 7px;

        font-size: 10px;
    }

    .mysp-company-location {
        margin-top: 5px;
        font-size: 11px;
    }

    .mysp-company-short-description {
        display: none;
    }

    .mysp-profile-actions {
        grid-column: 1 / -1;

        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));

        width: 100%;
        padding-top: 3px;
    }

    .mysp-btn {
        width: 100%;
        min-height: 34px;

        padding: 6px 7px;

        font-size: 10px;
    }

    .mysp-profile-tabs {
        margin-top: 10px;
        border-radius: 9px;
    }

    .mysp-profile-tab {
        padding: 12px 12px;
        font-size: 11px;
    }

    .mysp-profile-tab.active::after {
        left: 9px;
        right: 9px;
    }

    .mysp-profile-content {
        margin-top: 10px;
    }

    .mysp-section-card {
        margin-bottom: 10px;
        padding: 16px 13px;
        border-radius: 9px;
    }

    .mysp-section-heading {
        margin-bottom: 15px;
    }

    .mysp-section-heading h2 {
        font-size: 17px;
    }

    .mysp-section-label {
        font-size: 9px;
    }

    .mysp-overview-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mysp-stat-card {
        min-height: 72px;
        padding: 10px;
    }

    .mysp-stat-card strong {
        font-size: 14px;
    }

    .mysp-stat-card span {
        font-size: 9px;
    }

    .mysp-info-grid {
        grid-template-columns: 1fr;
    }

    .mysp-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .mysp-product-image {
        height: 135px;
    }

    .mysp-product-body {
        padding: 9px;
    }

    .mysp-product-body h3 {
        font-size: 12px;
    }

    .mysp-product-category {
        font-size: 8px;
        padding: 3px 5px;
    }

    .mysp-view-product {
        font-size: 9px;
    }

    .mysp-capability-grid {
        grid-template-columns: 1fr;
    }

    .mysp-contact-grid {
        grid-template-columns: 1fr;
    }

    .mysp-contact-card {
        padding: 14px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .mysp-profile-cover,
    .mysp-profile-cover.mysp-no-banner {
        height: 100px;
    }

    .mysp-profile-hero-content {
        grid-template-columns: 62px minmax(0, 1fr);
    }

    .mysp-profile-logo {
        width: 62px;
        height: 62px;
        margin-top: -26px;
    }

    .mysp-company-title h1 {
        font-size: 16px;
    }

    .mysp-products-grid {
        grid-template-columns: 1fr;
    }

    .mysp-product-image {
        height: 180px;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.mysp-profile-tab:focus-visible,
.mysp-btn:focus-visible,
.mysp-product-card a:focus-visible {
    outline: 3px solid rgba(29, 78, 216, 0.25);
    outline-offset: 2px;
}


/* =========================================================
   PREVENT THEME CSS FROM MAKING IMAGES HUGE
========================================================= */

.mysp-profile-page .mysp-profile-cover img {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.mysp-profile-page .mysp-profile-logo img {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.mysp-profile-page .mysp-product-image img {
    max-width: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


/* =========================================================
   END
========================================================= */
```
