/* Modern Shop Categories Styles */

.sidebar-wrapper {
    padding-right: 20px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 20px;
    padding: 35px 28px;
    margin-bottom: 30px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(38, 107, 249, 0.08);
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #266bf9 0%, #4a90e2 50%, #6bb3ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-widget:hover::before {
    opacity: 1;
}

.sidebar-widget:hover {
    box-shadow: 0 12px 40px rgba(38, 107, 249, 0.15);
    transform: translateY(-4px);
    border-color: rgba(38, 107, 249, 0.2);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    padding: 0 0 20px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 2px;
}

/* Modern Category List */
.sidebar-widget-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget-category ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.sidebar-widget-category ul li:last-child {
    border-bottom: none;
}

.sidebar-widget-category ul li:hover {
    background: #f8f9ff;
    padding-left: 5px;
}

.sidebar-widget-category ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #4a4a4a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    font-family: 'Poppins', sans-serif;
    margin: 4px 0;
}

.sidebar-widget-category ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.sidebar-widget-category ul li a:hover::before,
.sidebar-widget-category ul li a.active::before {
    height: 60%;
}

.sidebar-widget-category ul li a:hover {
    color: #266bf9;
    padding-left: 25px;
    background: linear-gradient(90deg, rgba(38, 107, 249, 0.05) 0%, transparent 100%);
}

.sidebar-widget-category ul li a.active {
    color: #266bf9;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(38, 107, 249, 0.08) 0%, transparent 100%);
}

.sidebar-widget-category ul li a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.sidebar-widget-category ul li a > div {
    flex: 1;
    min-width: 0;
}

.sidebar-widget-category ul li a .category-name {
    display: block;
}

.sidebar-widget-category ul li a span:not(.category-name) {
    background: linear-gradient(135deg, #266bf9 0%, #4a90e2 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-widget-category ul li a .category-count {
    background: linear-gradient(135deg, #266bf9 0%, #4a90e2 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-widget-category ul li a:hover span {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(38, 107, 249, 0.3);
}

/* Modern Price Filter */
.price-filter {
    padding: 10px 0;
}

.price-slider-amount {
    margin-bottom: 20px;
}

.price-slider-amount .label-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-slider-amount .label-input span {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.price-slider-amount .label-input input {
    flex: 1;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #266bf9;
    background: #f8f9ff;
    transition: all 0.3s ease;
}

.price-slider-amount .label-input input:focus {
    border-color: #266bf9;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(38, 107, 249, 0.1);
    outline: none;
}

#slider-range {
    margin-top: 15px;
}

#slider-range .ui-widget-content {
    background: #e8e8e8;
    border: none;
    border-radius: 10px;
    height: 6px;
}

#slider-range .ui-widget-header {
    background: linear-gradient(90deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 10px;
}

#slider-range .ui-slider-handle {
    width: 20px;
    height: 20px;
    border: 4px solid #ffffff;
    background: linear-gradient(135deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(38, 107, 249, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -10px;
}

#slider-range .ui-slider-handle:hover,
#slider-range .ui-slider-handle.ui-state-hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(38, 107, 249, 0.5);
}

/* Modern Popular Products */
.sidebar-widget-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget-list ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-list ul li:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-color: #266bf9;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(38, 107, 249, 0.15);
}

.sidebar-widget-list ul li:last-child {
    margin-bottom: 0;
}

.sidebar-widget-list ul li .image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sidebar-widget-list ul li:hover .image {
    border-color: #266bf9;
    transform: scale(1.05);
}

.sidebar-widget-list ul li .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-widget-list ul li:hover .image img {
    transform: scale(1.1);
}

.sidebar-widget-list ul li .content {
    flex: 1;
}

.sidebar-widget-list ul li .content h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.sidebar-widget-list ul li .content h5 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget-list ul li:hover .content h5 a {
    color: #266bf9;
}

.sidebar-widget-list ul li .content .price {
    font-size: 16px;
    font-weight: 700;
    color: #266bf9;
    display: block;
}

/* Responsive Design */
@media (max-width: 991px) {
    .sidebar-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .sidebar-widget {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .sidebar-widget {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .sidebar-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .sidebar-widget-category ul li a {
        padding: 12px 15px;
        font-size: 14px;
    }
}


.sidebar-wrapper {
    padding-right: 20px;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border-radius: 20px;
    padding: 35px 28px;
    margin-bottom: 30px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(38, 107, 249, 0.08);
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #266bf9 0%, #4a90e2 50%, #6bb3ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-widget:hover::before {
    opacity: 1;
}

.sidebar-widget:hover {
    box-shadow: 0 12px 40px rgba(38, 107, 249, 0.15);
    transform: translateY(-4px);
    border-color: rgba(38, 107, 249, 0.2);
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    padding: 0 0 20px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 2px;
}

/* Modern Category List */
.sidebar-widget-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget-category ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
}

.sidebar-widget-category ul li:last-child {
    border-bottom: none;
}

.sidebar-widget-category ul li:hover {
    background: #f8f9ff;
    padding-left: 5px;
}

.sidebar-widget-category ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #4a4a4a;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    font-family: 'Poppins', sans-serif;
    margin: 4px 0;
}

.sidebar-widget-category ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.sidebar-widget-category ul li a:hover::before,
.sidebar-widget-category ul li a.active::before {
    height: 60%;
}

.sidebar-widget-category ul li a:hover {
    color: #266bf9;
    padding-left: 25px;
    background: linear-gradient(90deg, rgba(38, 107, 249, 0.05) 0%, transparent 100%);
}

.sidebar-widget-category ul li a.active {
    color: #266bf9;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(38, 107, 249, 0.08) 0%, transparent 100%);
}

.sidebar-widget-category ul li a {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.sidebar-widget-category ul li a > div {
    flex: 1;
    min-width: 0;
}

.sidebar-widget-category ul li a .category-name {
    display: block;
}

.sidebar-widget-category ul li a span:not(.category-name) {
    background: linear-gradient(135deg, #266bf9 0%, #4a90e2 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-widget-category ul li a .category-count {
    background: linear-gradient(135deg, #266bf9 0%, #4a90e2 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-widget-category ul li a:hover span {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(38, 107, 249, 0.3);
}

/* Modern Price Filter */
.price-filter {
    padding: 10px 0;
}

.price-slider-amount {
    margin-bottom: 20px;
}

.price-slider-amount .label-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-slider-amount .label-input span {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.price-slider-amount .label-input input {
    flex: 1;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    color: #266bf9;
    background: #f8f9ff;
    transition: all 0.3s ease;
}

.price-slider-amount .label-input input:focus {
    border-color: #266bf9;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(38, 107, 249, 0.1);
    outline: none;
}

#slider-range {
    margin-top: 15px;
}

#slider-range .ui-widget-content {
    background: #e8e8e8;
    border: none;
    border-radius: 10px;
    height: 6px;
}

#slider-range .ui-widget-header {
    background: linear-gradient(90deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 10px;
}

#slider-range .ui-slider-handle {
    width: 20px;
    height: 20px;
    border: 4px solid #ffffff;
    background: linear-gradient(135deg, #266bf9 0%, #4a90e2 100%);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(38, 107, 249, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -10px;
}

#slider-range .ui-slider-handle:hover,
#slider-range .ui-slider-handle.ui-state-hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(38, 107, 249, 0.5);
}

/* Modern Popular Products */
.sidebar-widget-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget-list ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.sidebar-widget-list ul li:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
    border-color: #266bf9;
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(38, 107, 249, 0.15);
}

.sidebar-widget-list ul li:last-child {
    margin-bottom: 0;
}

.sidebar-widget-list ul li .image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.sidebar-widget-list ul li:hover .image {
    border-color: #266bf9;
    transform: scale(1.05);
}

.sidebar-widget-list ul li .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-widget-list ul li:hover .image img {
    transform: scale(1.1);
}

.sidebar-widget-list ul li .content {
    flex: 1;
}

.sidebar-widget-list ul li .content h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.sidebar-widget-list ul li .content h5 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget-list ul li:hover .content h5 a {
    color: #266bf9;
}

.sidebar-widget-list ul li .content .price {
    font-size: 16px;
    font-weight: 700;
    color: #266bf9;
    display: block;
}

/* Responsive Design */
@media (max-width: 991px) {
    .sidebar-wrapper {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .sidebar-widget {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .sidebar-widget {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .sidebar-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .sidebar-widget-category ul li a {
        padding: 12px 15px;
        font-size: 14px;
    }
}

