@font-face {
    font-family: "Be Vietnam Pro";
    src: url('/user/fonts/BeVietnamPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: "Be Vietnam Pro";
    src: url('/user/fonts/BeVietnamPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap
}

:root {
    --b2b-ink: #10233f;
    --b2b-muted: #62748a;
    --b2b-line: #dbe4ed;
    --b2b-soft: #f4f8fb;
    --b2b-blue: #1b63d9;
    --b2b-blue-dark: #1149a6;
    --b2b-green: #12805c;
    --b2b-white: #fff;
    --b2b-shadow: 0 18px 45px rgba(16,35,63,.09)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--b2b-ink);
    font-family: "Be Vietnam Pro",Arial,sans-serif;
    font-size: 15px
}

a {
    color: inherit;
    text-decoration: none
}

button, input, select, textarea {
    font: inherit
}

.b2b-container {
    width: min(1180px,calc(100% - 36px));
    margin: 0 auto
}

.b2b-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(219,228,237,.9);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px)
}

.b2b-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 32px
}

.b2b-brand {
    display: flex;
    align-items: center;
    gap: 11px
}

    .b2b-brand img {
        width: 44px;
        height: 44px;
        object-fit: contain
    }

    .b2b-brand span {
        display: flex;
        flex-direction: column;
        line-height: 1.15
    }

    .b2b-brand strong {
        font-size: 17px
    }

    .b2b-brand small {
        margin-top: 3px;
        color: var(--b2b-muted);
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: .08em
    }

.b2b-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto
}

    .b2b-nav a, .b2b-account-actions > a, .b2b-link-button {
        font-size: 13px;
        font-weight: 700
    }

        .b2b-nav a:hover, .b2b-account-actions > a:hover {
            color: var(--b2b-blue)
        }

.b2b-account-actions {
    display: flex;
    align-items: center;
    gap: 14px
}

.b2b-portal-menu {
    position: relative
}

    .b2b-portal-menu summary {
        cursor: pointer;
        font-size: 12px;
        font-weight: 800;
        color: var(--b2b-blue)
    }

    .b2b-portal-menu > div {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        z-index: 20;
        min-width: 180px;
        padding: 8px;
        border: 1px solid var(--b2b-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 16px 35px rgba(15, 23, 42, .16)
    }

    .b2b-portal-menu a {
        display: block;
        padding: 9px 10px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 700
    }

        .b2b-portal-menu a:hover {
            background: var(--b2b-soft);
            color: var(--b2b-blue)
        }

    .b2b-account-actions form {
        margin: 0
    }

.b2b-link-button {
    border: 0;
    background: none;
    color: var(--b2b-ink);
    cursor: pointer;
    padding: 8px 0
}

.b2b-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--b2b-blue);
    border-radius: 11px;
    background: var(--b2b-blue);
    color: #fff !important;
    padding: 0 17px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s
}

    .b2b-button:hover {
        background: var(--b2b-blue-dark);
        border-color: var(--b2b-blue-dark);
        transform: translateY(-1px)
    }

.b2b-button-light {
    border-color: #cbd9e8;
    background: #fff;
    color: var(--b2b-ink) !important
}

    .b2b-button-light:hover {
        background: #edf4ff;
        color: var(--b2b-blue) !important
    }

.b2b-button-wide {
    width: 100%;
    min-height: 48px
}

.b2b-hero {
    padding: 76px 0;
    background: radial-gradient(circle at 82% 20%,rgba(47,126,247,.22),transparent 28%),linear-gradient(135deg,#07182f,#123564 62%,#194d91);
    color: #fff
}

.b2b-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
    align-items: center;
    gap: 54px
}

.b2b-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #70a9ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em
}

.b2b-hero h1, .b2b-page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: 48px;
    line-height: 1.12;
    letter-spacing: -1.4px
}

.b2b-hero p, .b2b-page-hero p {
    max-width: 670px;
    margin: 18px 0 0;
    color: #c9d9ef;
    font-size: 17px;
    line-height: 1.7
}

.b2b-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 26px
}

.b2b-hero-panel {
    display: grid;
    gap: 10px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 28px 60px rgba(0,0,0,.18);
    backdrop-filter: blur(12px)
}

    .b2b-hero-panel strong {
        margin-bottom: 8px;
        font-size: 20px
    }

    .b2b-hero-panel span {
        padding: 11px 13px;
        border-radius: 10px;
        background: rgba(255,255,255,.09);
        color: #dce9fa
    }

.b2b-page-hero {
    padding: 58px 0;
    background: linear-gradient(135deg,#0b1f3a,#174c8e);
    color: #fff
}

.b2b-dashboard-hero {
    padding: 44px 0
}

.b2b-section {
    padding: 52px 0
}

    .b2b-section:nth-of-type(even) {
        background: var(--b2b-soft)
    }

.b2b-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px
}

    .b2b-section-head span {
        color: var(--b2b-blue);
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .14em
    }

    .b2b-section-head h2 {
        margin: 5px 0 0;
        font-size: 28px;
        letter-spacing: -.5px
    }

    .b2b-section-head > strong {
        color: var(--b2b-muted);
        font-size: 13px
    }

    .b2b-section-head.compact {
        margin-bottom: 16px
    }

.b2b-filter {
    display: grid;
    grid-template-columns: minmax(0,1fr) 260px auto;
    gap: 10px;
    margin-bottom: 26px;
    padding: 12px;
    border: 1px solid var(--b2b-line);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,35,63,.05)
}

    .b2b-filter input, .b2b-filter select, .b2b-form input, .b2b-form select, .b2b-form textarea, .b2b-auth input {
        width: 100%;
        min-height: 44px;
        border: 1px solid #cfdbe7;
        border-radius: 10px;
        background: #fff;
        color: var(--b2b-ink);
        outline: none;
        padding: 11px 12px;
        line-height: 20px
    }

    .b2b-filter select:not([multiple]), .b2b-form select:not([multiple]) {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 40px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2352637a' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.75' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
        background-position: right 14px center;
        background-repeat: no-repeat
    }

    .b2b-form input[type="checkbox"], .b2b-auth input[type="checkbox"], .b2b-form input[type="radio"] {
        min-height: auto;
        padding: 0
    }

        .b2b-filter input:focus, .b2b-filter select:focus, .b2b-form input:focus, .b2b-form select:focus, .b2b-form textarea:focus, .b2b-auth input:focus {
            border-color: #6b9ce7;
            box-shadow: 0 0 0 3px rgba(27,99,217,.1)
        }

.b2b-company-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px
}

.b2b-company-card {
    display: grid;
    grid-template-columns: 112px minmax(0,1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--b2b-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,35,63,.045);
    transition: .2s
}

    .b2b-company-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--b2b-shadow)
    }

.b2b-company-logo, .b2b-profile-logo {
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e0e8f0;
    border-radius: 15px;
    background: #f7fafe
}

.b2b-company-logo {
    width: 112px;
    height: 112px
}

    .b2b-company-logo img, .b2b-profile-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain
    }

    .b2b-company-logo span, .b2b-profile-logo span {
        color: var(--b2b-blue);
        font-size: 36px;
        font-weight: 700
    }

    .b2b-company-logo .b2b-company-monogram, .b2b-profile-logo .b2b-company-monogram {
        width: 72%;
        aspect-ratio: 1;
        display: grid;
        place-items: center;
        border-radius: 24px;
        color: #fff;
        font-size: 42px;
        font-weight: 800;
        line-height: 1;
        background: linear-gradient(135deg, #0b376e, #0f79a7);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px rgba(11,55,110,.2)
    }

.b2b-card-copy {
    min-width: 0
}

.b2b-card-title, .b2b-title-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px
}

    .b2b-card-title h3 {
        margin: 0;
        font-size: 18px
    }

.b2b-card-copy p, .b2b-product-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 9px 0;
    color: var(--b2b-muted);
    font-size: 13px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2
}

.b2b-verified {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #e8f8f2;
    color: var(--b2b-green);
    font-size: 10px;
    font-weight: 700
}

.b2b-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

    .b2b-tags span {
        padding: 5px 8px;
        border-radius: 999px;
        background: #edf3f9;
        color: #536b84;
        font-size: 10px
    }

.b2b-text-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--b2b-blue);
    font-size: 12px;
    font-weight: 700
}

.b2b-product-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 17px
}

    .b2b-product-grid.compact {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

.b2b-product-card {
    overflow: hidden;
    border: 1px solid var(--b2b-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16,35,63,.045);
    transition: .2s
}

    .b2b-product-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--b2b-shadow)
    }

.b2b-product-image {
    height: 210px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #edf3f8;
    color: #8394a7
}

    .b2b-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .3s
    }

.b2b-product-card:hover .b2b-product-image img {
    transform: scale(1.03)
}

.b2b-product-copy {
    padding: 16px
}

.b2b-product-category {
    color: var(--b2b-blue);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em
}

.b2b-product-copy h3 {
    margin: 7px 0 0;
    font-size: 17px;
    line-height: 1.4
}

.b2b-product-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #edf1f5
}

    .b2b-product-meta a {
        color: var(--b2b-muted);
        font-size: 11px
    }

    .b2b-product-meta strong {
        font-size: 12px;
        text-align: right
    }

.b2b-empty {
    padding: 44px 20px;
    border: 1px dashed #bdcbd9;
    border-radius: 17px;
    background: #f8fafc;
    text-align: center
}

    .b2b-empty h3 {
        margin: 0
    }

    .b2b-empty p {
        color: var(--b2b-muted)
    }

.b2b-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 30px
}

    .b2b-pagination a {
        min-width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border: 1px solid var(--b2b-line);
        border-radius: 9px;
        background: #fff;
        font-size: 12px;
        font-weight: 700
    }

        .b2b-pagination a.active {
            border-color: var(--b2b-blue);
            background: var(--b2b-blue);
            color: #fff
        }

.b2b-company-cover {
    position: relative;
    min-height: 310px;
    padding-top: 150px;
    background: linear-gradient(135deg,#0a2140,#194d8d);
    color: #fff
}

    .b2b-company-cover > img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .35
    }

    .b2b-company-cover:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,rgba(3,14,30,.1),rgba(3,14,30,.85))
    }

.b2b-company-profile-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 140px minmax(0,1fr);
    align-items: end;
    gap: 24px;
    padding-bottom: 28px
}

.b2b-profile-logo {
    width: 140px;
    height: 140px;
    background: #fff
}

.b2b-title-line h1 {
    margin: 0;
    font-size: 38px
}

.b2b-company-profile-head p {
    max-width: 720px;
    margin: 9px 0 13px;
    color: #d4e0ed
}

.b2b-detail-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 22px;
    align-items: start
}

.b2b-detail-main {
    min-width: 0;
    display: grid;
    gap: 18px
}

.b2b-panel, .b2b-contact-card {
    padding: 24px;
    border: 1px solid var(--b2b-line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(16,35,63,.045)
}

    .b2b-panel h2, .b2b-contact-card h2 {
        margin: 0 0 16px;
        font-size: 21px
    }

.b2b-rich-content {
    overflow-wrap: anywhere;
    color: #334c65;
    line-height: 1.75
}

    .b2b-rich-content img, .b2b-rich-content video, .b2b-rich-content iframe {
        max-width: 100%;
        height: auto
    }

    .b2b-rich-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto
    }

.b2b-address-list {
    display: grid;
    gap: 10px
}

    .b2b-address-list div {
        display: grid;
        gap: 4px;
        padding: 12px;
        border-radius: 10px;
        background: var(--b2b-soft)
    }

    .b2b-address-list span {
        color: var(--b2b-muted);
        font-size: 13px
    }

.b2b-detail-side {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 18px
}

.b2b-contact-card {
    display: grid;
    gap: 9px
}

    .b2b-contact-card a {
        padding: 10px;
        border-radius: 9px;
        background: var(--b2b-soft);
        color: var(--b2b-blue);
        font-size: 12px;
        font-weight: 700;
        overflow-wrap: anywhere
    }

.b2b-side-ad, .b2b-detail-ad {
    overflow: hidden
}

    .b2b-side-ad img, .b2b-detail-ad img {
        max-width: 100%;
        height: auto
    }

.b2b-product-detail-head {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(270px,.9fr);
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--b2b-line);
    border-radius: 18px;
    background: #fff
}

.b2b-product-gallery {
    min-width: 0
}

.b2b-product-main-image {
    width: 100%;
    height: auto;
    max-height: 560px;
    aspect-ratio: 4/3;
    object-fit: contain;
    border-radius: 14px;
    background: #eef3f7
}

.b2b-no-image {
    display: grid;
    place-items: center;
    color: #8291a1
}

.b2b-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 9px;
    overflow-x: auto
}

    .b2b-thumbs img {
        width: 76px;
        height: 64px;
        flex: 0 0 auto;
        border-radius: 8px;
        object-fit: cover
    }

.b2b-product-summary h1 {
    margin: 10px 0;
    font-size: 31px;
    line-height: 1.25
}

.b2b-company-by {
    color: var(--b2b-muted);
    font-size: 12px
}

    .b2b-company-by b {
        color: var(--b2b-green)
    }

.b2b-product-summary p {
    color: var(--b2b-muted);
    line-height: 1.65
}

.b2b-price {
    display: block;
    margin: 22px 0;
    font-size: 21px
}

.b2b-form-shell {
    max-width: 900px
}

.b2b-form-head {
    margin-bottom: 22px
}

    .b2b-form-head h1 {
        margin: 0;
        font-size: 34px
    }

    .b2b-form-head p {
        color: var(--b2b-muted)
    }

.b2b-form {
    display: grid;
    gap: 17px;
    padding: 26px;
    border: 1px solid var(--b2b-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--b2b-shadow)
}

.b2b-form-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px
}

.b2b-form label, .b2b-auth label {
    display: grid;
    gap: 7px
}

    .b2b-form label > span, .b2b-auth label > span {
        font-size: 12px;
        font-weight: 700
    }

.b2b-form small {
    color: var(--b2b-muted);
    font-size: 10px;
    line-height: 1.5
}

.b2b-form textarea {
    resize: vertical
}

.b2b-form select[multiple] {
    min-height: 150px
}

.b2b-check {
    display: flex !important;
    align-items: center;
    grid-template-columns: auto 1fr
}

    .b2b-check input {
        width: 16px !important;
        height: 16px;
        margin: 0
    }

.b2b-existing-images {
    display: flex;
    flex-wrap: wrap;
    gap: 9px
}

    .b2b-existing-images img {
        width: 110px;
        height: 82px;
        border-radius: 9px;
        object-fit: cover
    }

.b2b-product-images {
    display: grid;
    gap: 10px
}

.b2b-product-images-head {
    display: grid;
    gap: 3px
}

    .b2b-product-images-head > span, .b2b-product-image-upload > span {
        font-size: 12px;
        font-weight: 700
    }

.b2b-product-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.b2b-product-image-card {
    display: grid;
    position: relative;
    width: 132px;
    gap: 7px
}

    .b2b-product-image-card img {
        width: 132px;
        height: 98px;
        border: 1px solid var(--b2b-line);
        border-radius: 9px;
        object-fit: cover
    }

.b2b-image-primary-choice {
    display: flex !important;
    align-items: center;
    gap: 6px;
    color: var(--b2b-ink);
    font-size: 11px
}

    .b2b-image-primary-choice[hidden] {
        display: none !important
    }

    .b2b-image-primary-choice input {
        width: 15px !important;
        height: 15px;
        margin: 0
    }

.b2b-image-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 1;
    width: 26px;
    height: 26px;
    border: 1px solid #e7b7bd;
    border-radius: 50%;
    background: rgba(255, 245, 245, .96);
    color: #a72835;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1
}

.b2b-product-image-upload {
    display: grid !important;
    gap: 5px
}

.b2b-company-image-preview {
    display: block;
    width: 150px;
    height: 92px;
    border: 1px solid var(--b2b-line);
    border-radius: 9px;
    object-fit: cover
}

    .b2b-company-image-preview[data-image-kind="logo"] {
        width: 92px;
        object-fit: contain;
        background: #f8fafc
    }

.b2b-validation {
    color: #ae2431;
    font-size: 12px
}

    .b2b-validation ul {
        margin: 0;
        padding-left: 18px
    }

.b2b-dashboard-block {
    margin-bottom: 34px
}

.b2b-dashboard-list {
    display: grid;
    gap: 10px
}

    .b2b-dashboard-list article {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 17px;
        border: 1px solid var(--b2b-line);
        border-radius: 13px;
        background: #fff
    }

        .b2b-dashboard-list article strong {
            font-size: 15px
        }

        .b2b-dashboard-list article p {
            margin: 6px 0 0;
            color: var(--b2b-muted);
            font-size: 12px
        }

.b2b-status {
    display: inline-flex;
    margin-left: 9px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #eef1f4;
    color: #637286;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase
}

    .b2b-status.active {
        background: #e7f7f1;
        color: #0f7956
    }

    .b2b-status.pending-review {
        background: #fff3d7;
        color: #8a6210
    }

.b2b-row-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

    .b2b-row-actions a, .b2b-row-actions button {
        border: 1px solid var(--b2b-line);
        border-radius: 8px;
        background: #fff;
        padding: 8px 10px;
        color: var(--b2b-blue);
        font-size: 11px;
        font-weight: 700;
        cursor: pointer
    }

    .b2b-row-actions form {
        margin: 0
    }

.b2b-alert {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #b6ddce;
    border-radius: 10px;
    background: #edf9f5;
    color: #146347;
    font-size: 13px
}

.b2b-auth {
    min-height: calc(100vh - 160px);
    display: grid;
    place-items: center;
    padding: 56px 18px;
    background: linear-gradient(135deg,#eef5fc,#f8fbfe)
}

.b2b-auth-card {
    width: min(100%,470px);
    padding: 30px;
    border: 1px solid var(--b2b-line);
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--b2b-shadow)
}

    .b2b-auth-card.wide {
        width: min(100%,720px)
    }

    .b2b-auth-card h1 {
        margin: 0;
        font-size: 30px
    }

    .b2b-auth-card > p {
        color: var(--b2b-muted);
        line-height: 1.6
    }

    .b2b-auth-card form {
        display: grid;
        gap: 14px;
        margin-top: 21px
    }

.b2b-auth-foot {
    text-align: center;
    font-size: 12px
}

    .b2b-auth-foot a {
        color: var(--b2b-blue);
        font-weight: 700
    }

.b2b-footer {
    padding: 38px 0;
    background: #091a31;
    color: #fff
}

.b2b-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px
}

.b2b-footer p {
    color: #aebed1;
    font-size: 12px
}

.b2b-footer-inner > div:last-child {
    display: flex;
    gap: 20px;
    color: #c4d2e1;
    font-size: 12px
}

@media(max-width:900px) {
    .b2b-header-inner {
        gap: 14px
    }

    .b2b-nav {
        display: none
    }

    .b2b-account-actions {
        margin-left: auto
    }

    .b2b-portal-menu {
        margin-left: auto
    }

    .b2b-account-actions {
        margin-left: 0
    }

    .b2b-hero-grid, .b2b-detail-layout, .b2b-product-detail-head {
        grid-template-columns: 1fr
    }

    .b2b-hero h1, .b2b-page-hero h1 {
        font-size: 38px
    }

    .b2b-detail-side {
        position: static;
        grid-template-columns: 1fr
    }

    .b2b-company-grid, .b2b-product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

        .b2b-product-grid.compact {
            grid-template-columns: repeat(2,minmax(0,1fr))
        }
}

@media(max-width:640px) {
    .b2b-container {
        width: min(100% - 24px,1180px)
    }

    .b2b-header-inner {
        min-height: 62px
    }

    .b2b-brand img {
        width: 38px;
        height: 38px
    }

    .b2b-brand small {
        display: none
    }

    .b2b-account-actions > a:not(.b2b-button), .b2b-link-button {
        display: none
    }

    .b2b-portal-menu summary {
        font-size: 0
    }

        .b2b-portal-menu summary::after {
            content: "Switch";
            font-size: 11px
        }

    .b2b-account-actions .b2b-button {
        min-height: 36px;
        padding: 0 11px;
        font-size: 11px
    }

    .b2b-hero {
        padding: 48px 0
    }

    .b2b-hero-grid {
        gap: 28px
    }

    .b2b-hero h1, .b2b-page-hero h1 {
        font-size: 30px;
        letter-spacing: -.7px
    }

    .b2b-hero p, .b2b-page-hero p {
        font-size: 14px
    }

    .b2b-page-hero {
        padding: 40px 0
    }

    .b2b-section {
        padding: 34px 0
    }

    .b2b-section-head {
        align-items: flex-start;
        flex-direction: column
    }

        .b2b-section-head h2 {
            font-size: 23px
        }

    .b2b-filter, .b2b-company-grid, .b2b-product-grid, .b2b-product-grid.compact, .b2b-form-grid {
        grid-template-columns: 1fr
    }

    .b2b-company-card {
        grid-template-columns: 76px minmax(0,1fr);
        gap: 12px;
        padding: 14px
    }

    .b2b-company-logo {
        width: 76px;
        height: 76px
    }

    .b2b-product-image {
        height: 220px
    }

    .b2b-company-cover {
        min-height: 330px;
        padding-top: 145px
    }

    .b2b-company-profile-head {
        grid-template-columns: 88px minmax(0,1fr);
        gap: 14px
    }

    .b2b-profile-logo {
        width: 88px;
        height: 88px
    }

    .b2b-title-line h1 {
        font-size: 25px
    }

    .b2b-panel, .b2b-contact-card, .b2b-product-detail-head, .b2b-form, .b2b-auth-card {
        padding: 17px
    }

    .b2b-product-summary h1 {
        font-size: 25px
    }

    .b2b-dashboard-list article {
        align-items: flex-start;
        flex-direction: column
    }

    .b2b-row-actions {
        width: 100%;
        flex-wrap: wrap
    }

    .b2b-footer-inner {
        flex-direction: column
    }

        .b2b-footer-inner > div:last-child {
            flex-wrap: wrap
        }
}
