﻿
/* Основен стил */
.product-sidebar .list, 
.product-sidebar .list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Подкатегории - скриени по default */
.product-sidebar .list .sublist {
    display: none;
    margin-left: 15px;
    border-left: 1px solid #e0e0e0;
    padding-left: 10px;
}

/* Активна подкатегорија */
.product-sidebar .list li.active > a {
    color: #0167F3 !important;
    font-weight: 600;
}

/* Toggle икона */
.product-sidebar .list li.has-children {
    position: relative;
}

.product-sidebar .list li.has-children > .toggle {
    cursor: pointer;
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #aaa;
    border-radius: 3px;
    text-align: center;
    font-size: 11px;
    line-height: 12px;
    margin-right: 6px;
    background: #f8f8f8;
}

.product-sidebar .list li.has-children.open > .toggle::before {
    content: "–";
}

.product-sidebar .list li.has-children:not(.open) > .toggle::before {
    content: "+";
}

/* Кога е отворена, покажи подкатегории */
.product-sidebar .list li.has-children.open > ul {
    display: block;
}








/* Додадено за AllCategories.aspx */
/* === ALL CATEGORIES TREE === */
.all-categories-page {
    margin-top: 40px;
    margin-bottom: 60px;
}

.all-categories-page h2 {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
}

.category-tree {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Секое ниво на категорија */
.category-row {
    margin-bottom: 6px;
}

.category-link {
    color: #333;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.category-link:hover {
    color: #0167F3;
    text-decoration: underline;
}

/* Визуелна индикација за ниво */
.level-0 a {
    font-weight: 700;
    font-size: 18px;
    color: #0167F3;
}

.level-1 a {
    font-weight: 600;
    font-size: 16px;
    color: #444;
}

.level-2 a {
    font-weight: 400;
    font-size: 15px;
    color: #555;
}

/* Responsive */
@media (max-width: 767px) {
    .all-categories-page h2 {
        font-size: 22px;
    }
    .category-tree {
        padding: 15px;
    }
    .level-0 a { font-size: 16px; }
    .level-1 a { font-size: 15px; }
    .level-2 a { font-size: 14px; }
}


.cart-single-list img {
    max-width: 60px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}







/* products */
.related-products .single-product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
}
.related-products .single-product:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.related-products .single-product img {
    max-width: 100%;
    border-radius: 8px;
}
.related-products .product-info .name {
    font-size: 15px;
    color: #333;
    margin-top: 8px;
}
.related-products .product-info .price {
    color: #009578;
    font-weight: 600;
}

#lnkBackCategory {
    display: inline-block;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #555;
    font-weight: 500;
    text-decoration: none;
}
#lnkBackCategory:hover {
    color: #009578;
    text-decoration: underline;
}


.social-share {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.social-share label {
    font-weight: 600;
    margin-right: 8px;
}
.social-share .social-links i {
    font-size: 20px;
    color: #555;
    transition: color 0.3s;
}
.social-share .social-links i:hover {
    color: #0167F3;
}
