.cards {
    display: flex;
    flex-direction: column;
    height: fit-content;
    margin-top: 20px;
    margin-bottom: 10px;
}

.components {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    /*background-color: #ff4c0d;*/
    width: 100%;
    height: fit-content;
    max-width: 425px;
}

.component-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 140px;
    min-width: 120px;
    background-color: rgba(241, 241, 241, 0.2);
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 19px;
    padding-bottom: 19px;
    border-radius: 15px;
    -webkit-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
}


/*элемент компонента картинка*/
.component-item-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.component-item-img-element {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    max-width: 120px;
}

.component-item-img-element-img {
    width: 100%;
    margin: 0;
}
/*--------------------------*/

/*элемент компонента название и артикуль*/
.component-item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.component-item-info-element {
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-item-info-element-name {
    text-align: center;
    margin-top: 10px;
}

.component-item-info-element-article {
    text-align: start;
    margin-top: 10px;
}
/*--------------------------*/

.component-item-action {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

.component-item-action-add {
    display: flex;
    align-items: center;
    justify-content: center;
}

.component-item-action-add-btn {
    border-radius: 100px;
    width: 120px;
    height: calc(30px * 1.33);
    background-color: var(--text-color);
    color: var(--background-color);
    /*font-size: 16px;*/
    border: none;
}

.component-item-action-add-btn-text {
    margin: 0;
    color: var(--background-color);
}




.component-item-img-element-one {
    height: fit-content;
}

.component-item-img-element-img-one {
    width: 250px;
    border-radius: 10px;
}

/*one component*/
.component {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: fit-content;
}

.component-item-one {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    width: 80%;
    max-width: 400px;
    background-color: rgba(241, 241, 241, 0.2);
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 19px;
    padding-bottom: 19px;
    border-radius: 15px;
    -webkit-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 7px rgba(0, 0, 0, 0.3);
}

.component-item-add-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*margin-top: 15px;*/
}

.component-item-add-info-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.component-item-add-info-container-el {
    width: 100%;
    margin-top: 5px;
}

.component-item-add-info-container-el-input {
    margin: 0;
}

.component-item-add-info-supplier {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /*width: 65%;*/
    margin-top: 5px;
}

.component-item-add-info-supplier-input {
    border-radius: 10px;
}

.component-item-add-info-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.component-item-add-info-desc-textarea {
    /*width: 65%;*/
    width: 100%;
    height: 100px;
    border-radius: 10px;
    margin-top: 5px;
    resize: vertical;
}

/*--------------------------------------------------*/
.component-item-action-count {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.component-item-action-count-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color);
    height: 45px;
    width: 70px;
    cursor: pointer;
}

.component-item-action-count-sub {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.component-item-action-count-add {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.component-item-action-count-val {
    margin: 0;
    height: 45px;
}

.component-item-action-count-val-input {
    border-radius: 0;
    border: 0;
    text-align: center;
    font-size: 20px;
    margin: 0;
    max-width: 55px;
    height: 45px;
    background-color: var(--background-color);
    color: var(--text-color);
}
/*--------------------------------------------------*/
