/*
Theme Name: Neve Child
Theme URI: https://example.com/neve-child/
Description: Child theme of Neve with custom shop category page.
Author: Your Name
Author URI: https://example.com
Template: neve
Version: 1.0
*/


/*rootcat*/
.product-categories {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-categories li {
    background: #f9f9f9;
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
}

.product-categories li a {
    text-decoration: none;
    font-size: 1.2em;
    color: #333;
}

.product-categories li a:hover {
    color: #0073aa;
}
/*endrootcat*/




.grandchild-list li:hover {
    background: #113f68!important;
    color: white!important;
    border-left-color: #e45c5c!important;
    transform: translateX(5px);
}
.grandchild-list li:hover a{
    color: white!important;
}


@media (min-width: 960px) {
    .archive.woocommerce .neve-main > .shop-container .nv-shop.col {
        max-width: 100%!important;
    }
}
.child-cat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(17, 63, 104, 0.15);
    border-color: #113f68;
}
.child-cat {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.child-categories-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
/* Custom styles for child categories */
.child-cat {
    display: inline-block;
    margin: 2%;
    width: 28%;    
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
    vertical-align: top;
}

.child-cat img {
    height: 200px;
    object-fit: cover;
    display: block;
    width: 100%;
    
}
.child-cat h3{
text-align: left;
    margin-left: 3px;
    }


.child-cat .more-btn {
    cursor: pointer;
    background: none;
    border: none;
    color: #113f68;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    padding: 8px 15px;
    border-radius: 20px;
    background: #f0f7ff;
    float:left;
}

.more-btn.expanded{
    background: #e45c5c!important;
    color: white!important;
}

.child-cat .grandchild-list {
    display: none;
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.child-cat .grandchild-list li {
    margin-bottom: 5px;
    text-align:left;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #898989;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    border-left: 3px solid transparent;
    
}
.child-cat .grandchild-list li a {
    color: #898989;
}