.thermo-wrapper {
    margin-bottom: 2rem;
    margin-top: 3rem;
    counter-reset: section;
}

.wrapper_inner b{
    color: #555;
}

.thermo-wrapper h3 {
    margin: 0;
}

.thermo-wrapper .messages {
    display: none;
    padding: 10px;
    background: #4fad00;
    color: white;
    font-weight: bold;
}

.thermo-size-wrapper__inner button{
    /* font-weight: bold; */
    font-size: 13px;
}

thermo-size-wrapper__inner label{
    margin-bottom: 0;
}



.thermo-wrapper .message-success,
.thermo-wrapper .message-fail {
    display: block;
}

.thermo-wrapper .message-success {
    background: #4fad00;
}

.thermo-wrapper .message-fail {
    background: red;
}

.pp-thermo-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 26px;
    margin-bottom: 30px;
}

.p-img-text{
    display: flex;
    gap: 8px;
    /* flex-wrap: wrap; */
    align-items: center;
}

.pp-thermo-container .item-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    /* padding: 1rem 0.5rem; */
    /* padding-right: 1.6rem; */

    /* border: 1px solid var(--ps-order-border-color); */
    /* border-top: none; */
}

.pp-thermo-container .item-row:first-child {
    border-top: 1px solid var(--ps-order-border-color);
}

.pp-thermo-container .item-row > div {
    display: flex;
    order: 1;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

@media (max-width: 1050px) {
    .pp-thermo-container .item-row > div {
        width: 45%;
    }
}

.pp-thermo-container .item-row > div > .pp-quality-label,
.pp-thermo-container .item-row > div > label {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 10px;
    font-weight: 700;
}

.pp-thermo-container .item-row select {
    width: 100px;
    appearance: none;
    cursor: pointer;
}

.pp-thermo-container .item-row .quality-container {
    display: flex;
    align-items: center;
}

.pp-thermo-container .item-row .quality-container img {
    width: 71px;
    height: 71px;
    margin-right: 10px;
    object-fit: cover
}

.pp-thermo-container .item-row .quality-container > div {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: 1rem;
}

.pp-thermo-container .item-row .quality-container label {
    font-weight: normal;
}

.pp-thermo-container .item-row .pp-quality-img {
    display: block;
    width: 150px;
    height: 150px;
}

@media (max-width: 440px) {
    .pp-thermo-container .item-row .quality-container {
        flex-direction: column;
    }
}

.pp-thermo-container .item-row .select {
    display: inline-block;
    position: relative;

    background: transparent;

    z-index: 1;
}

.pp-thermo-container .item-row .select::after {
    content: "";
    position: absolute;
    display: inline-block;
    height: 100%;
    width: 25px;

    right: 1px;

    background-image: url("./images/svg/v.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50%;

    border-left: 1px solid var(--ps-select-border-color);
}

.pp-thermo-container .pp-delete-item-button-container {
    display: flex;
    justify-content: center;
    width: 10%;
}.pp-thermo-container .item-row > div:first-child

.user-personal-data-container input,
.pp-thermo-container .pp-tape-count-container input,
.pp-thermo-container .item-row select {
    padding: 5px;

    border: 1px solid var(--ps-select-border-color);
}

.pp-thermo-container .pp-tape-count-container input {
    width: 6rem;
}

.pp-thermo-container .pp-delete-item-button-container button {
    width: 100%;
}

.pp-thermo-container .item-row .pp-delete-item-button-container button {
    height: 16px;
    width: 16px;

    background: none;
    background-image: url("./images/svg/x.svg");
    background-position: 50% 50%;
    background-size: contain;

    border: none;
}

.pp-thermo-container .item-row:first-child .pp-delete-item-button-container button {
    display: none;
}

.buttons-container {
    display: flex;
    justify-content: right;
    width: 100%;
    margin-right: 1rem;
    margin-bottom: 2rem;
}

.add-item-row-btn {
    background: none;
    border: none;
}

.pp-form .user-personal-data-container {
    display: flex;
    justify-content: space-between;

    margin-bottom: 1rem;
}

.pp-form .user-personal-data-container > div {
    width: 30%;
}

.pp-form .user-personal-data-container input {
    width: 100%;
}

@media (max-width: 550px) {
    .user-personal-data-container {
        flex-direction: column;
    }

    .pp-form .user-personal-data-container > div {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.pp-form .user-comment textarea {
    width: 100%;
    height: 300px;
    resize: none;
}

.pp-form .pp-form-submit-btn-container {
    display: flex;
    justify-content: left;

    margin-top: 1rem;
}

.pp-thermo-container .item-row .pp-tape-count-container input:not([name="count"]) {
    width: 100px;
}

.item-row-custom .num {
    display: flex;
    align-items: center;
    width: 25%;
    gap: 12px;
}

.item-row-custom .num::before {
    display: inline-block;
    flex-shrink: 0;
    counter-increment: section;
    content: counter(section);
    width: 26px;
    height: 26px;
    margin-right: 5px;
    border: 1px solid #009ADE;
    border-radius: 50%;
    color: #009ADE;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
}

.item-row-custom .thermo-size-wrapper{
    width: 100%;
}

.item-row-custom .thermo-label{
    margin-right: 10px;
    font-weight: 700;
    color: #555;
}

.item-row-custom .thermo-size-wrapper .thermo-label{
    width: 20%;
}

.item-row-custom .thermo-size-wrapper__inner {
    display: flex;
    align-items: flex-end;
    width: 100%;
    justify-content: space-between;
}

.thermo-items-wrapper__inner {
    width: 80%;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.thermo-size-wrapper__inner > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.item-row-custom label{
    font-weight: 400;
    font-size: 14px;
    margin-left: 1rem;
}

.item-row-custom > div {
    display: flex;
}

.thermo-size-wrapper__inner label{
    /* font-weight: 700; */
    margin-left: 0;
}

@media (max-width: 1315px){
    .item-row-custom .thermo-size-wrapper__inner{
        flex-direction: column;
        align-items: baseline;
        gap: 5px;
    }
    .thermo-size-wrapper__inner > div {
        width: 100%;
    }
    .thermo-size-wrapper__inner label {
        width: 10%;
    }
    .thermo-size-wrapper__inner     .ps-counter_block{
        margin: 0;
    }
}


@media (max-width: 1299px) {
    .pp-thermo-container .item-row > div {
        justify-content: center;
        width: 50%;
    }

    .pp-thermo-container .item-row > div:first-child,
    .pp-thermo-container .item-row > div:last-child {
        width: 100%;
    }

    .pp-thermo-container .item-row > div > label {
        flex-shrink: 0;
        width: 30%;
    }

    .pp-thermo-container .ps-counter_block {
        margin: 0;
    }
}

@media (max-width: 800px){
    .item-row-custom > div {
        display: flex;
        flex-direction: column;
    }
    .item-row-custom .num{
        width: 100%;
    }
    .thermo-items-wrapper__inner{
        width: 100%;
    }
    .thermo-items-wrapper__inner > div {
        margin-left: 4.4rem;
    }
    .thermo-size-wrapper__inner label {
        width: calc(100vw - 100%);
    }
}

@media (max-width: 470px) {
    .pp-thermo-container .item-row > div {
        justify-content: space-around;
        width: 100%;
        margin-bottom: 1rem;
    }
}