.b2b .page-main {
    margin-top: 0;
    margin-bottom: 0;
}

.b2b .columns {
    margin-bottom: 0 !important;
    row-gap: 0;
    grid-template-rows: 1fr;
}

.b2b #messages {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.b2b .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
}

.b2b .page-wrapper #maincontent {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.b2b .page-wrapper #maincontent .column.main {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.b2b-account-login .columns {
    flex-grow: 1;
}

.b2b-field {
    display: flex;
    flex-direction: column;
}

.b2b-field__label {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.75rem;
    letter-spacing: 0.32px;
    color: #3D3F46;
    margin-bottom: 0.25rem;
    width: fit-content;
}

.b2b-field:has(input[required]) .b2b-field__label,
.b2b-field:has(select[required]) .b2b-field__label,
.b2b-field:has(textarea[required]) .b2b-field__label {
    position: relative;
    padding-right: 0.875rem;
}

.b2b-field:has(input[required]) .b2b-field__label::after,
.b2b-field:has(select[required]) .b2b-field__label::after,
.b2b-field:has(textarea[required]) .b2b-field__label::after {
    content: "*";
    position: absolute;
    right: 0;
    top: -0.25rem;
    font-size: 1.125rem;
    line-height: 1;
    color: inherit;
}

.b2b-field__input,
.b2b-field__textarea,
.b2b-field__select {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
    width: 100%;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.b2b-field__input::placeholder,
.b2b-field__textarea::placeholder {
    color: #6b7280;
}

.b2b-field__textarea {
    resize: vertical;
    min-height: 120px;
}

.b2b-field__hint {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.7;
}

.b2b-field__input--password {
    padding-right: 3rem;
}

.b2b-field__password-wrapper {
    position: relative;
}

.b2b-field__password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #6b7280;
}

.b2b-message {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.b2b-message--success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.b2b-message--error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}


.b2b-pending-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow: visible;
}

@media (min-width: 1024px) {
    .b2b-pending-wrapper {
        flex-direction: row;
    }
}

.b2b-pending-wrapper::after,
.b2b-pending-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
}

.b2b-pending-wrapper::after {
    width: calc(50vw - 50%);
    right: calc(-50vw + 50%);
}

.b2b-pending-wrapper::before {
    width: calc(50vw - 50%);
    left: calc(-50vw + 50%);
}

.b2b-pending-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

@media (min-width: 1024px) {
    .b2b-pending-info {
        width: 50%;
        padding: 4rem;
    }
}

.b2b-pending-info__icon {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.b2b-pending-info__icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.b2b-pending-info__title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

@media (min-width: 1024px) {
    .b2b-pending-info__title {
        font-size: 2.25rem;
    }
}

.b2b-pending-info__description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 28rem;
    line-height: 1.7;
}

.b2b-pending-info__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.2s ease;
}

.b2b-pending-info__link svg {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s ease;
}

.b2b-pending-info__link:hover svg {
    transform: translateX(4px);
}

.b2b-pending-steps-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

@media (min-width: 1024px) {
    .b2b-pending-steps-section {
        width: 50%;
        padding: 4rem;
    }
}

.b2b-pending-steps {
    width: 100%;
    max-width: 28rem;
}

.b2b-pending-steps__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.b2b-pending-steps__description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #6b7280;
}

.b2b-pending-steps__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.b2b-pending-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.b2b-pending-steps__number {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
}

.b2b-pending-steps__content {
    display: flex;
    flex-direction: column;
}

.b2b-pending-steps__content strong {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.b2b-pending-steps__content span {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.b2b-pending-steps__contact {
    padding-top: 1.5rem;
    border-top: 1px solid;
}

.b2b-pending-steps__contact p {
    font-size: 0.875rem;
    color: #6b7280;
}

.b2b-pending-steps__contact-link {
    font-weight: 600;
    margin-left: 0.25rem;
    transition: color 0.15s ease;
}

.b2b-header {
    width: 100%;
    padding: 1rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
    .b2b-header {
        padding: 1rem;
    }
}

.b2b-header__container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.b2b-header__back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.b2b-header__back-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    transition: background-color 0.15s ease;
}

.b2b-header__back-icon svg {
    height: 20px;
    width: 20px;
}

.b2b-header__back-text {
    display: none;
}

@media (min-width: 640px) {
    .b2b-header__back-text {
        display: inline;
    }
}

.b2b-header__logo-link {
    display: flex;
    align-items: center;
}

.b2b-header__logo {
    height: auto;
    width: 100%;
}

@media (min-width: 1024px) {
    .b2b-header__logo {
        height: 48px;
    }
}

.b2b-header__right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.b2b-header__cart {
    position: relative;
}

.b2b-header__cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.b2b-header__cart-count {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(25%, -25%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9999px;
    background-color: #3d3f46;
    font-size: 0.625rem;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
}

.b2b-header__help-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.b2b-header__help-text {
    display: none;
}

@media (min-width: 640px) {
    .b2b-header__help-text {
        display: inline;
    }
}

.b2b-header__help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    transition: background-color 0.15s ease;
}

.b2b-footer {
    width: 100%;
    padding: 1.5rem 1rem;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
    .b2b-footer {
        padding: 1.5rem 1rem;
    }
}

.b2b-footer__container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .b2b-footer__container {
        flex-direction: row;
    }
}

.b2b-footer__copyright {
    font-size: 0.875rem;
}

.b2b-footer__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.b2b-footer__link {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

.b2b-login-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.b2b-login-page::after,
.b2b-login-page::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
}

.b2b-login-page::after {
    width: calc(50vw - 50%);
    right: calc(-50vw + 50%);
}

.b2b-login-page::before {
    width: calc(50vw - 50%);
    left: calc(-50vw + 50%);
}

.b2b-login-wrapper {
    display: grid;
    flex: 1;
}

@media (min-width: 1024px) {
    .b2b-login-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.b2b-login-info {
    padding: 3rem 0;
    order: 2;
}

@media (min-width: 1024px) {
    .b2b-login-info {
        display: flex;
        flex-direction: column;
        justify-content: start;
        order: 0;
        padding: 5rem 0 5rem 4rem;
    }
}

@media (min-width: 1280px) {
    .b2b-login-info {
        padding: 6rem 2rem 6rem 90px;
    }
}

.b2b-login-info__title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
    .b2b-login-info__title {
        font-size: 3rem;
    }
}

.b2b-login-info__description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .b2b-login-info__description {
        font-size: 1.125rem;
    }
}

.b2b-login-info__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.b2b-login-info__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (min-width: 1024px) {
    .b2b-login-info__item {
        font-size: 1rem;
    }
}

.b2b-login-info__item strong {
    font-weight: 600;
}

.b2b-login-info__check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.b2b-login-info__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.b2b-login-info__link svg {
    width: 20px;
    height: 20px;
}

.b2b-login-form-section {
    padding: 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
}

@media (min-width: 768px) {
    .b2b-login-form-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .b2b-login-form-section {
        justify-content: start;
        padding: 5rem 4rem 5rem 0;
    }
}

@media (min-width: 1280px) {
    .b2b-login-form-section {
        padding: 6rem 90px 6rem 2rem;
    }
}

.b2b-login-form {
    max-width: 400px;
}

@media (min-width: 1024px) {
    .b2b-login-form {
        max-width: none;
    }
}

.b2b-login-form__title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .b2b-login-form__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .b2b-login-form__title {
        font-size: 3rem;
    }
}

.b2b-login-form__description {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .b2b-login-form__description {
        font-size: 1.125rem;
    }
}

@media (min-width: 1280px) {
    .b2b-login-form__description {
        font-size: 1.25rem;
    }
}

.b2b-login-form__field {
    margin-bottom: 1.5rem;
}

.b2b-login-form__label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.75rem;
    letter-spacing: 0.32px;
    color: #3D3F46;
    margin-bottom: 0.5rem;
    width: fit-content;
}

.b2b-login-form__input {
    width: 100%;
    height: 3.25rem;
    padding: 0 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    font-size: 1rem;
    line-height: 1.5rem;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.b2b-login-form__input-wrapper {
    position: relative;
}

.b2b-login-form__input--password {
    padding-right: 3rem;
}

.b2b-login-form__toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.b2b-login-form__actions {
    font-weight: 600;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.b2b-login-form__submit {
    height: 3.25rem;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.b2b-login-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.b2b-login-form__remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0;
}

.b2b-login-form__checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    cursor: pointer;
}

.b2b-login-form__forgot {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
}

.b2b .b2b-page-wrapper {
    font-family: inherit;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .b2b .b2b-page-wrapper {
        display: grid;
        grid-template-columns: 1fr 384px;
        grid-template-rows: auto 1fr;
        column-gap: 0.75rem;
        align-items: start;
    }
}

@media (min-width: 1400px) {

    .b2b .b2b-page-wrapper {
        grid-template-columns: 1fr 444px;
              column-gap: 0;
    }
}

.b2b .b2b-page-wrapper .b2b-hero {
    background-color: #ffffff;
    padding: 3rem 0;
    order: 1;
}

@media (min-width: 768px) {
    .b2b .b2b-page-wrapper .b2b-hero {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .b2b .b2b-page-wrapper .b2b-hero {
        grid-column: 1;
        grid-row: 1;
        order: unset;
    }
}

.b2b-hero__container {
    max-width: 823px;
}

.b2b-hero__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.b2b-hero__title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.b2b-hero__description {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.75;
}

.b2b .b2b-page-wrapper .b2b-form-section {
    background-color: transparent;
    padding: 2.5rem 0;
    flex: 1;
    position: relative;
    order: 3;
}

.b2b .b2b-page-wrapper .b2b-form-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: -100vw;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 768px) {
    .b2b .b2b-page-wrapper .b2b-form-section {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .b2b .b2b-page-wrapper .b2b-form-section {
        grid-column: 1;
        grid-row: 2;
        padding: 4rem 0 5rem 0;
        order: unset;
    }
}

.b2b-form-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 823px;
}

.b2b-form-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.b2b .b2b-page-wrapper .b2b-form-sidebar {
    display: block;
    width: auto;
    position: static;
    padding: 0;
    order: 2;
    margin-bottom: 3rem;
    border-radius: 1rem;
}

@media (min-width: 1024px) {
    .b2b .b2b-page-wrapper .b2b-form-sidebar {
        grid-column: 2;
        grid-row: 1 / -1;
        position: sticky;
        top: calc(1.5rem - 12rem);
        align-self: start;
        padding: 12rem 0 4rem;
        background-color: transparent;
        order: unset;
        width: auto;
        margin-bottom: 0;
        border-radius: 0;
    }
}

.b2b-form-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    overflow: hidden;
}

.b2b-form-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.25;
}

.b2b-form-card__fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.b2b-field-row {
    display: flex;
    gap: 1.5rem;
}

.b2b-field-row > * {
    flex: 1;
}

.b2b-submit-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.b2b-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 3.25rem;
    padding: 0 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}

.b2b-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.b2b-submit-text {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

.b2b-submit-text a {
    text-decoration: underline;
}

.b2b-help-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
}

@media (min-width: 769px) {
    .b2b-help-card {
        padding: 2.5rem;
    }
}

.b2b-help-card__header {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.b2b-help-card__header-content {
    flex: 1;
}

.b2b-help-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.b2b-help-card__helper-name {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
}

.b2b-help-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.b2b-help-card__contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.b2b-help-card__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    flex-shrink: 0;
}

.b2b-help-card__contact-content {
    flex: 1;
}

.b2b-help-card__contact-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.b2b-help-card__contact-text a {
    text-decoration: underline;
}

.b2b-help-card__contact-subtitle {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}

.b2b-help-card__divider {
    height: 1px;
    background-color: #d9d9d9;
    margin-bottom: 2rem;
}

.b2b-help-card__benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.b2b-help-card__benefit {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.b2b-help-card__benefit-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.b2b-help-card__benefit-text {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .b2b-hero__title {
        font-size: 1.75rem;
    }

    .b2b-hero__description {
        font-size: 1rem;
    }

    .b2b-form-card {
        padding: 1.5rem;
    }

    .b2b-field-row {
        flex-direction: column;
    }

    .b2b-submit-card {
        flex-direction: column;
        align-items: stretch;
    }
}
