@import url(variables.css);

.search{
    background: var(--white-color);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    padding-top: 36px;
    padding-bottom: 36px;
}
.back-item{
    display: flex;
    align-items: center;
}
.back-item a:last-child{
    color: var(--gray-color);
    font-size: var(--font-size-light);
    font-weight: var(--font-weight-regular);
    line-height: 150%; /* 24px */
    padding-bottom: 4px;
}

/* Секция products-items */
.products-items{
    padding-top: 60px;
    padding-bottom: 60px;
}
.block__products-items{
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.block__products-items h2{
    color: var(--black-color);
    text-align: center;
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    line-height: 150%; /* 72px */
}
.flex-item__cart{
    display: flex;
    flex-direction: column;
    background-color: var(--white-color);
    width: 32.3%;
    border-radius: 10px;
    box-shadow: 2px 8px 16px 0px rgba(0, 0, 0, 0.30);
}
.flex-item__cart img{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.flex-item-text__cart{
    padding: 50px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flex-item-text__cart a{
    font-size: var(--font-size-dopHeight);
    font-weight: var(--font-weight-bold);
    line-height: 143%; /* 34.32px */
    margin-bottom: 12px;
    transition: 0.3s;
}
.flex-item-text__cart a:hover{
    color: var(--gray-color);
}
.flex-item-text__cart p{
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-regular);
    line-height: 150%; /* 31.5px */
    margin-bottom: 24px;
}
.item-counter_wrapper{
    width: 150px;
    height: 50px;
    background-color: var(--bg-color-softPink);
    border-radius: 15px;
    display: flex;
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-regular);
    margin-bottom: 25px;
    overflow: hidden;
}
.items-control{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    cursor: pointer;
    text-align: center;
    transition: 0.3s ease-in;
}
.items-control:hover{
    background-color: var(--bg-color-palePink);
    color: var(--white-color);
}
.items-current{
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flex-item-text__cart button{
    cursor: pointer;
    padding: 20px 40px;
    background-color: var(--bg-color-pink);
    border: none;
    border-radius: 8px;
    width: 100%;
    transition: 0.4s;

    /* color: var(--white-color);
    text-align: center;
    font-size: var(--font-size-height);
    font-weight: var(--font-weight-bold);
    line-height: 152%; 36.48px */
}
.button{
    color: var(--white-color);
    text-align: center;
    font-size: var(--font-size-height);
    font-weight: var(--font-weight-bold);
    line-height: 152%; /* 36.48px */
}
.flex-item-text__cart button:hover{
    background-color: var(--bg-color-peach);
}