.product__category-img {
    max-width: 154px;
    max-height: 154px;
}

#order_modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    z-index: 1001; /* Выше, чем у затемнения */
    display: none; /* По умолчанию скрыто */
}

#order_modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.modal-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.order_form-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px;
    background-color: #feecc3;
}

.order_form-title {
    margin-bottom: 12px;
    text-align: center;
    color: var(--txt-color);
}

.order_form-box {
    position: relative;
}

.order_form-form {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 296px;
    gap: 18px;
}

.order_form-btn {
    display: inline-block;
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    color: var(--white-color);
    background-color: var(--txt-color);
}

.order_form-input {
    padding: 18px 20px 22px;
    width: 100%;
}

.order_form-label textarea {
    min-height: 216px;
}

.order_form-input--last {
    min-height: 216px;
    resize: none;
}

.textpage-title {
    padding: 20px 0;
    text-align: center;
}

.textpage-content {
    padding-bottom: 100px;
}

.textpage-content p:has(img) {
    display: flex;
    justify-content: center;
}

.textpage-content h2 {
    margin: 0;
    font-weight: 400;
    font-size: 34px;
    line-height: 1;
    color: var(--txt-color);
    margin-bottom: 20px;
}

.contacts__info-box {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.cost__left-btns {
    padding-bottom: 20px;
}

.cost__size-list {
    padding-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 1440px) {
    .cost__size-list {
        grid-template-columns: 1fr 1fr;
    }
}

.custom-width-container {
    position: relative;
    padding-bottom: 20px;
}

.cost .input-container {
    left: 160px;
    top: 0;
}

.cost-checkbox-custom_field {
    width: 100%;
    height: 100%;
    cursor: pointer;
}