*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* font-family: 'Inter', sans-serif; */
}

body {
    padding-top: 10px;
    padding-bottom: 20px;
    max-width: 1920px;
    width: 95%;
    margin: 0 auto;
    font-family: 'Arial', 'Verdana', serif;
    font-size: 16px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-height: 75px;
}

.header a:first-child {
    display: inherit;
}

.header .header-logo {
    width: 100%;
    max-width: 177px;
    height: auto;
}

@media (max-width: 900px) {
    .header img:nth-child(2) {
        display: none;
    }
}

.breadcrumbs {
    background-color: #f7f7f7;
    padding: 8px 11px;
    margin-top: 30px;
}

.form-sending-status {
    padding: 20px 11px;
    margin-top: 15px;
    text-align: center;
}

.form-sending-status.success {
    background-color: #ebffe6;
}

.form-sending-status.error {
    background-color: #ffe6e6;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
    color: #696a6a;
}

main {
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.itemform {
    flex: 0 0 59%;
}

.thumb {
    flex: 0 0 39%;
}

main img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

.fieldset {
    display: grid;
    grid-template-columns: fit-content(20%) 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    align-items: center;
}

h1 {
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    color: #454545;
    margin-bottom: 40px;
}

form {
    width: 100%;
}

.fieldset label {
    text-align: right;
    font-weight: bold;
    font-size: 19px;
    line-height: 32px;
    color: #454545;
}

.fieldset input[type='text'],
.fieldset input[type='email'],
.fieldset input[type='tel'] {
    background-color: #fcfcfc;
    border-radius: 4px;
    border: 1px solid #b0b0b0;
    height: 40px;
    padding: 10px;
    font-size: 16px;
}

.text-value-field {
    margin: auto 0;
}

.counter input,
.counter input:focus-visible {
    background-color: transparent;
    border: none;
    outline: none;
}

.counter input::-webkit-outer-spin-button,
.counter input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.counter input[type='number'] {
    -moz-appearance: textfield;
}

.counter input {
    font-family: 'Inter', sans-serif;
    text-align: center;
    font-weight: 400;
    font-size: 19px;
    line-height: 19px;
    letter-spacing: 0.05em;
    color: #454545;
    margin: 0 20px;
    max-width: 80px;
}

.counter-button {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #f4f4f4;
    border: 1px solid #bbbbbb;
    padding: 13px;
    font-weight: 400;
    font-size: 25px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.counter-button:hover {
    filter: brightness(0.95);
}

button[type='submit'] {
    background: #4c99d3;
    border: 2px solid #3486c5;
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: white;
    min-width: 200px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    cursor: pointer;
}

.counter-and-terms {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}

.counter {
    margin-right: 30px;
    display: flex;
    /*margin-bottom: 20px;*/
}

.terms label {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #4c99d3;
    display: flex;
    align-items: center;
}

.terms.disabled {
    display: none;
}

.terms input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.fieldset .client_price_input,
.fieldset .static_price_input {
    border: none !important;
    outline: none !important;
    background-color: transparent !important;
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: 1px;
    max-width: 160px;
}

*::placeholder {
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    color: #a2a2a2;
}

.nds-selector {
    display: block;
    /*width: 100%;*/
    padding: 5px;
    font-size: 16px;
}

.price-value-and-type {
    display: flex;
}

@media (max-width: 1060px) {
    .counter {
        margin-bottom: 20px;
    }

    main {
        flex-wrap: wrap;
    }

    main img {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .fieldset {
        grid-template-columns: 100%;
    }

    main img,
    .thumb {
        display: none;
    }

    .itemform {
        flex: 0 0 100%;
    }

    .fieldset label {
        text-align: left;
        font-size: 16px;
    }

    .counter-and-terms {
        flex-direction: column;
        align-items: start;
    }

    button[type='submit'] {
        width: 100%;
        padding: 20px 0;
    }
}
.table-header {
    width: 100%; 
}
@media (max-width: 900px) {
    body {
        font-size: 19px;
    }
    .table-header td {
        display: block;
    width: 100%; 
    float: left;
    text-align: center;
    }
    .price-table tbody tr > :nth-child(-n + 3) a,
    .price-table tbody tr > :nth-child(-n + 3) a:focus,
    .price-table tbody tr > :nth-child(-n + 3) a:focus-visible,
    .price-table tbody tr > :nth-child(-n + 3) a:visited,
    .price-table tbody tr > :nth-child(-n + 3) a:hover {
        font-size: 19px;
    }

    blockquote {
        margin: 0;
    }

    blockquote ul {
        padding: 0;
    }

    .price-table-header-container .price-table-header {
        flex: 0 0 100%;
        margin: 0 0 20px;
    }

    .price-table-header-container fieldset {
        flex: 0 0 100%;
        padding: 0;
        margin: 0 0 20px;
    }

    .price-table-header h2 {
        font-size: 22px;
    }

    .textbox {
        font-size: 18px;
    }

    h1 {
        font-size: 26px;
    }
}

@media all and (max-width: 768px) {
    .header a:first-child {
        display: block;
    }

    .banner,
    .header {
        max-height: inherit;
    }

    .banner,
    .header {
        flex-wrap: wrap;
        justify-content: center !important;
    }

    body {
        font-size: 16px;
        padding: 20px 0;
    }
}

@media all and (max-width: 635px) {
    .mailtel {
        flex: 0 0 100%;
        text-align: center;
    }
}

@media all and (max-width: 740px) and (orientation: landscape) {
    .header {
        justify-content: space-between !important;
        align-items: center;
    }

    .textbox {
        font-size: 15px;
    }

    .header .header-logo {
        margin: 0;
    }

    .header a:first-child {
        display: block;
    }
}

@media (max-width: 900px) {
    img {
        max-width: 100%;
        height: auto;
    }
    .table-header td {
        display: block;
    width: 100%; 
    float: left;
    text-align: center;
    }
}