
.product-selection__top-wrapper {
    gap: 24px;
    /*margin-bottom: 48px;*/
}

.product-selection__left-block {
    width: 30%;
}

.product-selection__right-block {
    width: 70%;
}

.product-selection__bottom_wrapper {
    width: 100%;
}

.product-selection__product_item {
    margin-bottom: 24px;
}

.product-selection__note {
    font-size: 0.8em;
    color: gray;
    margin-bottom: 3px;
}


/*стили для выбора фото*/

* {
    --transition: 0.15s;
    --border-radius: 0.5rem;
    --background: #ffc107;
    --box-shadow: #ffc107;
}


.product-selection__photo {
    width: 150px;
    height: 180px;
    border-radius: var(--border-radius);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    background: white;
    transition: transform var(--transition);
}

.cont-checkbox:active {
    transform: scale(0.9);
}

/*input {*/
/*    display: none;*/
/*}*/

input:checked + label {
    opacity: 1;
    box-shadow: 0 0 0 5px var(--background);
}

.product-selection__photo input {
    display: none;
}

.product-selection__photos_name-file {
    font-size: 0.8em;
    color: gray;
    margin-top: 3px;
    text-align: center;
}

.product-selection__photo label {
    display: inline-block;
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.product-selection__photo label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

input:checked + label .cover-checkbox {
    opacity: 1;
    transform: scale(1);
}

input:checked + label .cover-checkbox svg {
    stroke-dashoffset: 0;
}


.product-selection__photo label .cover-checkbox {
    position: absolute;
    right: 5px;
    top: 3px;
    z-index: 1;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--box-shadow);
    border: 2px solid #fff;
    transition: transform var(--transition),
    opacity calc(var(--transition) * 1.2) linear;
    opacity: 0;
    transform: scale(0);
}

.product-selection__photo label .cover-checkbox svg {
    width: 13px;
    height: 11px;
    display: inline-block;
    vertical-align: top;
    fill: none;
    margin: 5px 0 0 3px;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    transition: stroke-dashoffset 0.4s ease var(--transition);
    stroke-dashoffset: 16px;
}

.groups__list_container {
    flex-direction: column;
}

.groups__list_container h1 {
    margin-top: 24px;
    font-size: 20px;
    font-weight: 400;
}

.groups__list_wrapper {
    margin: 24px 0;
}

.groups__list {
    flex-direction: column;
    gap: 24px;
    font-size: 22px;
    font-weight: 500;
}

.groups__list li:hover {
    font-weight: 600;
}

.child__list_container h1 {
    margin: 24px 0;
    font-size: 24px;
    font-weight: 500;
}

.child__list {
    gap: 24px;
    flex-wrap: wrap;
}

.child__list li img {
    width: 300px;
    height: 410px;
    object-fit: cover;
    border-radius: 24px;
    transition: 0.2s;
    transform: translate3d(0, 0, 1px);
}

.child__list li img:hover {
    box-shadow: 0 0 0 4px var(--background);
}

.product-selection__wrapper {
    flex-direction: column;
    gap: 48px;
}

.product-selection__manual_block {
    flex-direction: column;
    gap: 6px;
    margin: 12px 0;
    padding: 12px;
    background-color: var(--accent-color-yelow-light);
    font-weight: 500;
}

.product-selection__manual_block-2 {
    flex-direction: column;
    gap: 6px;
    margin-bottom: 24px;
    padding: 12px;
    background-color: var(--accent-color-yelow-light);
    font-weight: 500;
    text-align: center;
}


.product-selection__manual_block span {
    margin-top: 12px;
    width: fit-content;
    background-color: white;
    padding: 6px;
    font-weight: 600;
    text-align: center;
}

.product-selection__manual_title {
    margin-bottom: 12px;
    font-size: 24px;
}

.product-selection__title {
    margin-bottom: 24px;
    padding: 12px 24px;
    background: var(--linear-gradient);
}

.product-selection__title p {
    font-weight: 500;
    text-align: center;
    font-size: 19px;
}

.product-selection__list-product {
    flex-direction: column;
    gap: 3px;
}

.product-selection__list-product li {
    padding: 12px;
}

.product-selection__list-product li p {
    align-items: end;
    gap: 5px;
}

.product-selection__list-product li p span {
    font-size: 0.8em;
}

.product-selection__list-product li {
    transition: .3s;
}

.product-selection__list-product li:hover {
    cursor: pointer;
    background-color: var(--accent-color-yelow-light);
}

.product-selection__product_name {
    margin: 0;
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 600;
}

.product-selection__product_price {
    margin-bottom: 24px;
    font-weight: 500;
}

.product-selection__product_price p span {
    font-size: 1.3em;
}

.product-selection__product_description {
    margin-bottom: 14px;
}

.product-selection__product_description p {
    margin-bottom: 6px;
}

.product-selection__product_description ul {
    flex-direction: column;
    gap: 3px;
}

.product-selection__product_item-name {
    height: 35px;
    gap: 12px;
    font-size: 24px;
    font-weight: 500;
}

.selection-tick {
    display: none;
}

.product-selection__bottom_wrapper h3 {
    margin-bottom: 12px;
    font-size: 28px;
}

.product-selection__basket_header {
    justify-content: space-between;
    padding: 8px 14px;
    background-color: var(--accent-color-yelow);
}


.product-selection__bottom_wrapper-wrapp {
    width: 100%;
    gap: 24px;
    justify-content: space-between;
    font-size: 14px;
}

.product-selection__bottom_wrapper-left {
    flex-direction: column;
    width: 60%;
}

.product-selection__bottom_right {
    background-color: #F3F3F3;
    padding: 12px;
}

.product-selection__bottom_wrapper-right {
    flex-direction: column;
    gap: 12px;
    /*width: 40%;*/
    /*padding: 12px;*/
    /*background-color: #F3F3F3;*/
}

.product-selection__bottom_wrapper-right button {
    align-self: center;
}

.product-selection__bottom_wrapper-right label {
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.product-selection__bottom_wrapper-right label span {
    font-size: 12px;
    color: gray;
}

.product-selection__bottom_wrapper-right label input {
    width: 300px;
}

#IsEmployeeID {
    width: 20px;
}

.product-selection__total-price_wrapper {
    justify-content: space-between;
    padding: 8px 14px;
    background-color: #F3F3F3;
}

.product-selection__total-price {
    font-size: 18px;
    font-weight: 500;
}

.basket-item__wrapper {
    align-items: center;
    padding: 6px 6px;
    border-bottom: 1px #B4B4B4 solid;
}

.basket-item__wrapper_wrapp {
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.product__number_block-wrapper {
    gap: 5px;
    align-items: center;
}

.product__number_block-wrapper p {
    font-size: 0.8em;
}


.product__right_wrapper {
    flex-direction: column-reverse;
    gap: 6px;
}

.product-selection__basket_wrapper {
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}

.basket-item__price,
.basket-item__name {
    font-weight: 500;
}

.basket-item__price {
    align-self: end;
}

.remove_item {
    cursor: pointer;
    margin-right: 6px;
}

.empty-basket {
    margin-top: 12px;
    padding-left: 12px;
}


.product__number_wrapper {
    display: inline-block;
    position: relative;
    width: 65px;
}

.product__number_wrapper input[type="number"] {
    min-height: auto;
    height: 25px;
    width: 100%;
    padding: 0;
    text-align: center;
    border: none;
    background-color: #F3F3F3;
}

.product__number_wrapper input[type="number"]::-webkit-outer-spin-button,
.product__number_wrapper input[type="number"]::-webkit-inner-spin-button {
    display: none;
}

.product__number-minus {
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    width: 20px;
    border: none;
    font-weight: 600;
    background-color: #F3F3F3;
}

.product__number-plus {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 20px;
    border: none;
    font-weight: 600;
    background-color: #F3F3F3;
}

.product__number-minus,
.product__number-plus:hover {
    cursor: pointer;
}


@media (max-width: 868px) {
    .product-selection__photo {
        width: 120px;
        height: 140px;
    }

    .product-selection__bottom_wrapper-wrapp {
        flex-direction: column;
    }

    .product-selection__bottom_wrapper-left {
        width: 100%;
    }

    .product-selection__bottom_wrapper-right {
        width: 100%;
    }

    .product-selection__right-block {
        width: 60%;
    }

    .product-selection__left-block {
        width: 40%;
    }
}


@media (max-width: 680px) {
    .groups__list_container h1 {
        font-weight: 600;
    }

    .child__list li img {
        width: 145px;
        height: 190px;
    }

    .child__list_container h1 {
        font-size: 20px;
    }

    .groups__list {
        font-weight: 400;
    }

    .product-selection__top-wrapper {
        flex-direction: column;
        gap: 36px;
    }


    .product-selection__list-product {
        justify-content: space-around;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-selection__list-product li p {
        flex-direction: column;
        align-items: center;
    }

    .product-selection__title {
        margin-bottom: 12px;
    }

    .product-selection__left-block {
        width: 100%;
    }

    .product-selection__right-block {
        width: 100%;
    }

    .product-selection__list-product li {
        text-align: center;
        font-weight: 500;
        width: 40%;
        box-shadow: 0 2px 8px 0 #63636333;
    }

    .product-selection__manual_block {
        font-weight: 400;
        margin-bottom: 12px;
    }

    .product-selection__product_name {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .product-selection__product_item-name {
        font-size: 20px;
    }

    .product-selection__bottom_wrapper-right label {
        gap: 6px;
        flex-direction: column;
        align-items: start;
    }

    .product-selection__bottom_wrapper-right label:nth-child(3) {
        flex-direction: row;
    }

    .product-selection__bottom_wrapper-right label input {
        width: -webkit-fill-available;
    }

    /*.product-selection__manual_block p {*/
    /*    font-size: 12px;*/
    /*}*/
    .product-selection__manual_title {
        font-size: 18px;
    }

    .photo-container {
        margin: 3px;
    }

    .product-selection__photo {
        width: 30%;
        height: 120px;
    }

    .product-selection__basket_wrapper {
        font-size: 12px;
    }

}

@media (max-width: 486px) {
    .product-selection__list-product li {

        width: 39%;
    }
}