/* allComponents */

:root {
    --color_base: #fff;
    --color_primary: #3a4752;
    --color_secondary: #333;
    --color_red: red;
    --color_border: #ddd;
    --color_input: #f2f2f2;
    --color_btn: #388e3c;
    --color_btn_hover: #2bac31;
    --color_green: #d9ead3;
    --color_yellow: #fff2cc;
    --color_dark: #f3f3f3;
    --color_comments_priamry: #9faeb5;
    --color_comments_secondary: #eeee;
    --color_comments_text: rgb(65, 65, 65);
    --color_comments_hover: #5f95ad
}

.order {
    position: relative !important;
    display: none !important;
    min-width: 270px !important;
    max-width: 450px !important;
    margin: 0 auto !important;
    padding: 15px !important;
    border: 2.5px dashed var(--color_border) !important;
    border-radius: 2.5px !important
}

.order.active {
    display: block !important
}

.order__header {
    display: flex !important;
    flex-flow: column !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important
}

.order__img {
    width: 240px !important;
    height: auto !important;
    max-width: 350px !important;
    margin: 0 auto !important
}

.order__text {
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 15px !important
}

.order__text:nth-child(2) {
    margin-bottom: 5px !important
}

.order__time {
    font-weight: 700 !important;
    font-size: 24px !important;
    text-align: center !important;
    color: var(--color_red) !important
}

.order__price {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 20px !important;
    -webkit-box-align: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-align: center !important;
    -ms-flex-pack: center !important
}

.order__price-old {
    font-weight: 700 !important;
    text-decoration: line-through !important
}

.order__price-new {
    font-weight: 700 !important;
    color: var(--color_red) !important
}

.order__price-new>.order__price-summ {
    font-size: 24px !important
}

.order__price-new>.order__price-curr {
    font-size: 24px !important
}

.order__price-zero {
    text-transform: uppercase !important
}

.order__body {
    display: flex !important;
    flex-flow: column !important;
    gap: 15px !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    border: none !important;
    text-align: center !important
}

.order__input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 55px !important;
    padding: 15px !important;
    border-style: none !important;
    border-width: 0 !important;
    border-color: transparent !important;
    border-radius: 35px !important;
    outline: none !important;
    background-color: var(--color_input) !important
}

.order__input::-webkit-input-placeholder {
    font-size: 16px !important;
    font-weight: 400 !important
}

.order__input::-moz-placeholder {
    font-size: 16px !important;
    font-weight: 400 !important
}

.order__input:-ms-input-placeholder {
    font-size: 16px !important;
    font-weight: 400 !important
}

.order__input::-ms-input-placeholder {
    font-size: 16px !important;
    font-weight: 400 !important
}

.order__input::placeholder {
    font-size: 16px !important;
    font-weight: 400 !important
}

.order__input--select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    -ms-appearance: none !important;
    -o-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    width: 100% !important
}

.order__input--select::-ms-expand {
    display: none
}

.order__select {
    position: relative !important;
    width: 100% !important
}

.order__select::before,
.order__select::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    z-index: 10 !important;
    display: block !important;
    width: 10px !important;
    height: 2px !important;
    background-color: rgb(172, 170, 170) !important;
    transform: translate(-3px, -50%) rotate(45deg) !important;
    transition: background-color 0.3s linear !important
}

.order__select::after {
    transform: translate(3px, -50%) rotate(-45deg) !important
}

.order__select:hover.order__select::before {
    background-color: var(--color_btn) !important
}

.order__select:hover.order__select::after {
    background-color: var(--color_btn) !important
}

.order__select.active::before {
    transform: translate(-3px, -50%) rotate(-45deg) !important
}

.order__select.active::after {
    transform: translate(3px, -50%) rotate(45deg) !important
}

.order__input:focus-visible {
    outline: none !important;
    outline-offset: 0 !important
}

.order__btn {
    cursor: pointer !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
    width: 100% !important;
    min-height: 55px !important;
    padding: 20px !important;
    border-radius: 35px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--color_base) !important;
    background-color: var(--color_btn) !important;
    transition: background-color 0.2s linear !important;
    box-shadow: none !important;
    -webkit-box-align: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-align: center !important;
    -ms-flex-pack: center !important
}

.order__btn:hover {
    background-color: var(--color_btn_hover) !important
}

.order__footer {
    font-size: 14px !important;
    text-align: center !important;
    color: #888 !important
}

.order__info {
    text-align: center !important;
    line-height: 1.3 !important
}

@media all and (min-width: 475px) {
    .order__header {
        font-size: 22px !important
    }

    .order__time {
        font-size: 26px !important
    }

    .order__price {
        font-size: 28px !important
    }

    .order__btn {
        font-size: 22px !important
    }
}

@media all and (min-width: 576px) {
    .order__footer {
        font-size: 16px !important
    }
}

.my-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--color_base);
    background-color: #fa3d3d;
    transition: all 0.2s ease-in 0s;
}

.my-btn:hover {
    color: var(--color_base);
    background-color: #f52b2b;
    transform: scale(1.1)
}

/* addform */

.addform-comment * {
    box-sizing: border-box !important;
}

.addform-comment {
    display: flex;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.addform-image {
    flex: 0 0 50px;
    margin-right: 15px;
}


.addform-form {
    width: 100%;
}

.addform-input {
    width: 100%;
    padding: 5px 10px;
    outline: none;
    font-size: 18px;
    font-family: inherit;
    margin-bottom: 10px;
    resize: none;
    font-weight: 400;
    border-radius: 2px;
    border: 1px solid;
}

.addform-error {
    border-color: red;
}

.addform-text {
    height: 120px;
    font-size: 18px;
}


.addform-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.addform-btn {
    cursor: pointer;
    font-size: 18px;
    text-align: center;
    padding: 8px 22px;
    background: #cfcfcf;
    border-radius: 2px;
}

.addform-btn:hover {
    background: #c1bebe;
}

.addform-quote {
    font-size: 12px;
}

@media (max-width: 460px) {
    .addform-btn {
        padding: 4px 14px;
    }
}