.contactUs-form {
     width: 100%; 
}
.buy-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background: #fff;
}

.buy-card {
    width: min(1032px, 100%);
    aspect-ratio: 1.6;
    display: flex;
    direction: rtl;
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f5;
    box-shadow: 0 12px 38px rgba(35, 35, 35, .08);
}

.buy-brand-panel,
.buy-form-panel {
    direction: rtl;
}

.buy-brand-panel {
    flex: 0 0 37%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 52px 34px;
    color: #fff;
    text-align: center;
    background: var(--tertiary);
}
.text-danger {
    color: var(--tertiary)!important;
}

.buy-brand-content {
    width: 100%;
}

.buy-brand-content h1 {
    margin: 0 0 24px;
    color: #fff;
    font-family: doran-bold, anjoman, sans-serif !important;
    font-size: 32px;
    line-height: 1.2;
}

.buy-brand-content h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 23px;
    font-weight: 600;
}

.buy-brand-content p {
    margin: 0 0 28px;
    color: #fff;
    font-size: 15px;
}

.buy-brand-links {
    display: grid;
    gap: 10px;
    margin: 0 auto;
    max-width: 200px;
}

    .buy-brand-links span {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 8px;
        min-height: 38px;
        padding: 7px 14px;
        border-radius: 16px;
        color: var(--secondary);
        font-size: 16px;
        text-align: right;
        background: #fff;
        justify-content: flex-end;
    } 

.buy-form-panel {
    flex: 1;
    padding: 34px 44px 30px;
    background: #f5f5f5;
}

.buy-form-inner {
    max-width: 570px;
    margin: 0 auto;
}

.buy-eyebrow {
    margin: 0 0 5px;
    color:  var(--tertiary);
    font-size: 14px;
    font-weight: 600;
}

.buy-intro {
    margin: 0 0 23px;
    color: #1d1d1d;
    font-size: 24px;
    font-weight: 600;
}
.buy-intro .text-danger { 
    font-size: 24px!important;
    font-weight: 600!important;
}

.buy-form-panel form {
    display: grid;
    gap: 13px;
}

.buy-field label {
    display: block;
    margin: 0 0 5px;
    color: #5e5e5e;
    font-size: 16px;
}

.buy-field label::after {
    content: " *";
    color:  var(--tertiary);
}

.buy-field .form-control {
    min-height: 48px;
    padding: 7px 11px;
    border: 1px solid #C2C5C6;
    border-radius: 8px;
    color: #5e5e5e;
    font-size: 12px;
    background: transparent;
    box-shadow: none;
}

.buy-field textarea.form-control {
    min-height: 124px;
    resize: vertical;
    border: 1px solid #C2C5C6!important;
}

.buy-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.buy-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 1px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    background:  var(--tertiary);
    border-color: unset;
}

    .buy-submit:hover,
    .buy-submit:focus {
        background: var(--tertiary);
    }
.buy-form-panel .text-success {
    font-size: 16px!important;
    background-color: lightgreen;
    padding: 8px;
    border-radius: 8px;
}
.buy-form-panel .text-success,
.buy-form-panel .text-danger {
    margin: 0 0 15px;
    font-size: 12px;
}

@media (max-width: 767.98px) and (min-width: 576px) {
    .buy-form-panel {
        padding: 28px 24px 24px;
    }

    .buy-brand-panel {
        padding: 28px 18px;
    }

    .buy-brand-content h1 {
        margin-bottom: 14px;
        font-size: 34px;
    }

    .buy-brand-content h2 {
        font-size: 18px;
    }

    .buy-brand-content p,
    .buy-intro {
        font-size: 12px;
    }

    .buy-brand-links {
        gap: 6px;
    }

    .buy-brand-links span {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 10px;
    }

    .buy-form-panel form {
        gap: 8px;
    }

    .buy-field label {
        margin-bottom: 2px;
        font-size: 9px;
    }

    .buy-field .form-control {
        min-height: 28px;
        padding: 4px 7px;
        font-size: 10px;
    }

    .buy-field textarea.form-control {
        min-height: 62px;
    }

    .buy-submit {
        min-height: 28px;
        font-size: 10px;
    }
}

@media (max-width: 575.98px) {
    .buy-page {
        display: block;
        padding: 16px 12px;
    }

    .buy-card {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
        min-height: 0;
        border-radius: 12px;
    }

    .buy-brand-panel {
        flex-basis: auto;
        padding: 32px 20px 28px;
    }

    .buy-brand-content h1 {
        margin-bottom: 14px;
        font-size: 34px;
    }

    .buy-brand-content h2 {
        font-size: 19px;
    }

    .buy-brand-content p {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .buy-brand-links {
        max-width: 260px;
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .buy-brand-links span {
        min-height: 34px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .buy-form-panel {
        padding: 30px 20px 26px;
    }

    .buy-fields-row {
        grid-template-columns: 1fr;
        gap: 13px;
    }
}