/* ----------СБРОС СТИЛЕЙ---------- */

*, *::before, *:after{
    padding: 0;
    margin: 0;
    border: none;
    /* В размер элемента уже будут включены все отступы */
    box-sizing: border-box;
    
    font-family: var(--hind);
    font-weight: 400;
}

/* убираем обводку у ссылок при клике и фокусе */
a, a:focus, a:active {
    outline: none;
    color: inherit;
}

a, a:visited, a:hover {
    text-decoration: none;
}


/* Убираем маркеры у списков */
ul {
    list-style: none;
}

/* -----------СТИЛИЗАЦИЯ----------- */
.main_catalog {
    width: 100%;
    background: var(--bg);
    min-height: 900px;
}

.container {    
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 15px;
   
}

/* ------ШАПКА------- */
.header {
    width: 100%;
    background: var(--bg);
    border-bottom: 1px solid white;
}

.header_inner_catalog {
    padding: 10px 5px 0 5px;

}

/* Заголовок "Личный кабинет" */
.title_lk {
    font-family: var(--mont);
    font-weight: 600;
    color: var(--dark_white); 
}

/* Навигация в шапке */
.header_nav {
    margin: 20px 0 0 0;
}
.header_nav a{
    float: left;
    margin: 0 10px 0 0;
    
    
    font-family: var(--hind);
    color: var(--white);
    
    transition: color 0.3s;
}

.header_nav a:hover {
    color: var(--red);
}

.nav_string {
    display: inline-block;
    color: var(--dark_grey);
}

/* Контейнер для продуктов(карточек) */
.items_wrapper {
    display: grid;
    grid-template-columns: 25% 25% 25%;
    gap: 20px;
    padding: 10px 10px;
    margin-top: 60px;
}

.item {
    background: rgba(127, 120, 120, 0.05);
    padding: 1.5em;
}
/* Отдельный продукт(карточка) */
.product {
    text-align: center;
}

.img_block {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
}


.img_block:hover .move-up{
    /* Анимирование карточки товара при наведении мышью: 
    картинка перемещается вверх на 20px */
    transform: translate(0, -10px);
    -webkit-transform: translate(0,-10px);
}

/* Картинка товара */
.img_block img {
    max-width: 50%;
    object-fit: contain;
}
.object {
    /* ease-in-out: перемещение начинается и заканчивается медленно */
    transition: transform 4s ease-in-out;
    -webkit-transition: transform 4s ease-in-out; /** Chrome & Safari **/
    -moz-transition: transform 4s ease-in-out; /** Firefox **/
    -o-transition: transform 4s ease-in-out; /** Opera **/
}

.img_block img {
    transition: transform 280ms ease-in-out;
    object-fit: contain;
}

.text_block {
    padding: 10px 15px;
    text-align: left;
    display: block;
    cursor: pointer;
    
}

.text_block span {
    font-size: 16px;
    display: block;
    margin: 15px 0 0 0;
}

/* Если есть в наличии */
.success {
    color: var(--green);
}

/* Если нет в наличии */
.unsuccess {
    color: var(--red);
}

.item_title {
    font-family: var(--mont);
    font-weight: 500;

    color: var(--dark_white);
    font-size: 18px;
    display: inline-block;
    margin: 15px 0 0 0;
}

