﻿.slick-list {
    border-radius: 0;
}

/* Root Categories Section */
.root-categories-section {
    padding: 40px 0;
}

.category-card {
    display: block;
    border-radius: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

    .category-card:hover {
        -webkit-box-shadow: 0 0 0.1rem rgba(0, 0, 0, .55) !important;
        -moz-box-shadow: 0 0 0.1rem rgba(0, 0, 0, .55) !important;
        box-shadow: 0 0 0.rem rgba(0, 0, 0, .55) !important;
    }

.category-card-inner {
    background: #fff;
    -webkit-box-shadow: 0 0 0.1rem rgba(0, 0, 0, .25) !important;
    -moz-box-shadow: 0 0 0.1rem rgba(0, 0, 0, .25) !important;
    box-shadow: 0 0 0.rem rgba(0, 0, 0, .25) !important;
    border-radius: 0;
    padding: 0x;
    text-align: center;
    height: 100%;
    transition: box-shadow 0.3s ease;
    display: grid;
}

.category-image {
    margin-bottom: 15px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

.category-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.category-title {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-top: 16px;
}

.category-card:hover .category-title {
    color: #c73834;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .root-categories-section {
        padding: 20px 0;
    }

    .category-card-inner {
        padding: 0;
    }

    .category-title {
        font-size: 1rem;
    }
}

.features-section .feature-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.features-section .color-main-menu-bar {
    color: #333 !important;
}

.valign-middle {
    vertical-align: middle;
}

/* Category Sidebar */
.category-item {
    margin-bottom: 4px;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .category-link:hover {
        background-color: #f5f5f5;
        color: #c73834;
        text-decoration: none;
    }

    .category-link.active {
        background-color: #fef5f5;
        color: #c73834;
        border-left: 3px solid #c73834;
        padding-left: 9px;
    }

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0;
}

    .category-icon i {
        font-size: 16px;
        color: currentColor;
    }

    .category-icon .icon {
        width: 20px;
        height: 20px;
    }

.category-title {
    flex: 1;
    font-size: 1rem;
}

.category-expand {
    margin-left: auto;
    padding-left: 8px;
    color: #999;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.category-link:hover .category-expand {
    color: #c73834;
}

/* Category Menu Images and Icons */
.category-with-image {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
}

.category-menu-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
    align-self: center;
}

.category-menu-image {
    max-width: 96px;
    max-height: 96px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.category-menu-label {
    font-size: 0.95rem;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-word;
    text-align: left;
    align-self: flex-start;
}

.category-menu-icon {
    width: 24px;
    height: 24px;
    font-size: 20px;
    color: #333;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-group-title a:hover .category-menu-icon {
    color: #c73834;
}

.container .row .card {
    border-radius: 0 !important;
}

.category-title-margin-small {
    margin-top: 3px;
}

.swal2-digiteh-cancel {
    background-color: #333;
}

.btn, .newsletter-button, .button-naruci {
    border-radius: 0 !important;
}

.text-price-on-request {
    color: #333;
}

.irs--flat .irs-bar {
    background-color: #757572 !important;
}

.irs--flat .irs-handle > i:first-child {
    background-color: #757572 !important;
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
    background-color: #757572 !important;
    border-radius: 0 !important;
}

    .irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
        border-top-color: #757572 !important;
    }


.typeahead__empty {
    padding: 0 5px;
}