/* Подписки */
.cat_m { margin-bottom: 45px; }

.card_img {
    width: auto;
    height: 400px;
    margin-left: 10px;
}

.item {
    border: 1px solid #00000027;
    border-radius: 5px;
    margin-right: 30px;
    margin-bottom: 30px;
    height: 500px;
    min-width: 335px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: 0.5s;
}

.item:hover { border: 1px solid #000000; }

.items {
    display: block;
    margin-top: 40px;
}

.price {
    font-size: 16px;
    font-weight: 600;
    margin-top: -20px;
}

.product_name {
    font-size: 20px;
    font-weight: 600;
}

.product_detail {
    display: flex;
    gap: 60px;
}

.product_info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product_info .price {
    margin-top: 15px;
    font-size: 24px;
}

.product_info form input {
    margin-top: 10px;
    background-color: #000000;
}

/* Sidebar */
#sidebar {
    width:220px;
    padding:30px 20px 0 0;
    float:left;
}

#sidebar ul{
    margin:0;
    padding:0;
}

#sidebar ul li {
    margin:0;
    list-style:none;
    padding:10px 14px;
}

#sidebar ul li a { display:block; }

#sidebar ul li.selected {
    background:#1f1f1f;
    border-radius:4px;
}

#sidebar ul li.selected a { color:#fff; }

#main {
    float:left;
    width: 96%;
    margin-right:-220px;
    overflow:hidden;
}

.selectedd {
    background-image: url(/static/img/hover.png);
    border-radius: 5px;
}

.selectedd a { color: #fff; }

.product-list .item {
    width:25%;
    padding:10px 20px 10px 0;
    float:left;
    text-align:center;
    line-height:1.2;
}

.product-list .item img { width:100%; margin-bottom:8px; }