.mess_thanks {
    width: calc(100% - 40px);
    max-width: 1440px;
    min-height: 150px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: sans-serif;
    font-size: 1.2em;
    margin: 50px auto;
    box-sizing: border-box;
}

.mess_thanks h2 {
    margin-top: 0;
}

/* Контейнер кнопок */
.btn_thanks {
    width: 100%;
    margin: 25px 0 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

/* Общие стили для обеих кнопок */
.btn_thanks a {
    cursor: pointer;
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-sizing: border-box;
}

/* Кнопка "Begin new price request" */
.btn_new_request {
    background: #ea3d00;
    border: 1px solid #ea3d00;
}

.btn_new_request:hover {
    background: #dd3a00;
    border-color: #dd3a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #f7e2e2;
}

/* Кнопка "Print current price request" */
.btn_print_request {
    background: #ea3d00;
    border: 1px solid #ea3d00;
}

.btn_print_request:hover {
    background: #dd3a00;
    border-color: #dd3a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #f7e2e2;
}

/* Планшеты */
@media (max-width: 768px) {
    .mess_thanks {
        width: calc(100% - 30px);
        margin: 30px auto;
        padding: 18px;
        font-size: 1.05em;
    }

    .btn_thanks {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn_thanks a {
        width: 100%;
        max-width: 300px;
        min-width: 0;
    }
}

/* Телефоны */
@media (max-width: 480px) {
    .mess_thanks {
        width: calc(100% - 20px);
        margin: 20px auto;
        padding: 15px;
        font-size: 1em;
        border-radius: 8px;
    }

    .mess_thanks h2 {
        font-size: 1.4em;
    }

    .btn_thanks a {
        max-width: none;
        width: 100%;
        padding: 12px 15px;
    }
}