/*====================================================
                    SHOP PAGE
======================================================*/

.shop-hero {
    position: relative;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/img/Kromanalitik/kromanalitik_shop.png') center center / cover no-repeat;
    margin-bottom: 60px;
    overflow: hidden;
}
.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(8, 47, 60, 0.55), rgba(8, 47, 60, 0.55) );
    z-index: 1;
}

.shop-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 0;
}

.shop-hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.shop-hero p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 auto;
    max-width: 760px;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
}
.shop-hero h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    border-radius: 3px;
    background: #fff;
    margin: 14px auto 0;
    opacity: 0.95;
}

@media (max-width: 991px) {
    .shop-hero {
        min-height: 260px;
        margin-bottom: 45px;
    }

        .shop-hero h1 {
            font-size: 40px;
        }

        .shop-hero p {
            font-size: 17px;
            max-width: 90%;
        }
}

@media (max-width: 575px) {
    .shop-hero {
        min-height: 220px;
    }

        .shop-hero h1 {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .shop-hero p {
            font-size: 15px;
            line-height: 1.6;
        }
}
/*====================================================
                    SIDEBAR
======================================================*/

.shop-sidebar-card {
    background: #ffffff;
    border: 1px solid #e7eef4;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(25, 61, 84, 0.05);
    height: 100%;
}

.shop-sidebar-title h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: #243746;
}

.category-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.category-block + .category-block {
    margin-top: 14px;
}

.category-item {
    display: block;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 700;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    transition: all 0.25s ease;
    user-select: none;
    color: #34495e;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(20, 60, 90, 0.04);
}

    .category-item:hover {
        background: #f6fbff;
        border-color: #cfe4f5;
        color: #1d99ef;
        transform: translateY(-1px);
        text-decoration: none;
    }

    .category-item.active {
        background: linear-gradient(135deg, #1d99ef 0%, #0b8e95 100%);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 10px 24px rgba(29, 153, 239, 0.20);
    }

.all-products-item {
    font-weight: 700;
}

.category-item-wrapper {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.category-item-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    color: #34495e;
    border: 1px solid #e4edf5;
    background: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(20, 60, 90, 0.04);
}

    .category-item-link:hover {
        background: #f6fbff;
        color: #1d99ef;
        border-color: #cfe4f5;
        text-decoration: none;
        transform: translateY(-1px);
    }

    .category-item-link.active {
        background: linear-gradient(135deg, #1d99ef 0%, #0b8e95 100%);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 10px 24px rgba(29, 153, 239, 0.20);
    }

.category-toggle {
    width: 48px;
    min-width: 48px;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(20, 60, 90, 0.04);
    color: #5c6f82;
}

    .category-toggle:hover {
        background: #f1f8fd;
        border-color: #cfe4f5;
        color: #1d99ef;
    }

    .category-toggle.active {
        background: linear-gradient(135deg, #1d99ef 0%, #0b8e95 100%);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 10px 24px rgba(29, 153, 239, 0.20);
    }

    .category-toggle i {
        font-size: 16px;
        transition: transform 0.25s ease;
    }

        .category-toggle i.rotated {
            transform: rotate(180deg);
        }

.subcategory-list {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    animation: fadeSlideDown 0.25s ease;
}

.subcategory-item {
    margin-bottom: 8px;
}

    .subcategory-item a {
        display: block;
        padding: 10px 14px 10px 18px;
        font-size: 15px;
        color: #5c6f82;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.2s ease;
        background: transparent;
        border-left: 3px solid transparent;
    }

        .subcategory-item a:hover {
            background: #f1f8fd;
            color: #1d99ef;
            padding-left: 22px;
            text-decoration: none;
        }

        .subcategory-item a.active-subcategory {
            background: linear-gradient(135deg, #eaf6ff 0%, #f2fbfb 100%);
            color: #0b8e95;
            font-weight: 700;
            border-left: 3px solid #1d99ef;
            padding-left: 22px;
            box-shadow: inset 0 0 0 1px rgba(29, 153, 239, 0.08);
        }

.d-none {
    display: none !important;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*====================================================
                    PRODUCT LIST
======================================================*/

.simple-product-list {
    background: #ffffff;
    border: 1px solid #e7eef4;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(25, 61, 84, 0.05);
}

.simple-product-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef6fb 100%);
    border-bottom: 1px solid #e7eef4;
}

    .simple-product-list-header h4 {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        color: #243746;
    }

    .simple-product-list-header span {
        font-size: 14px;
        font-weight: 600;
        color: #6c7a89;
        background: #ffffff;
        padding: 6px 12px;
        border-radius: 999px;
        border: 1px solid #dce8f3;
    }

.simple-product-list-body {
    display: flex;
    flex-direction: column;
}

.simple-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #edf2f7;
    transition: all 0.25s ease;
    background: #fff;
}

    .simple-product-item:last-child {
        border-bottom: none;
    }

    .simple-product-item:hover {
        background: #f8fcff;
        transform: translateX(4px);
    }

.simple-product-item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.simple-product-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d99ef 0%, #0b8e95 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(29, 153, 239, 0.16);
}

.simple-product-name {
    font-size: 17px;
    font-weight: 500;
    color: #2f3d49;
    line-height: 1.5;
}

.empty-products {
    background: #fff;
    border: 1px solid #e7eef4;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(25, 61, 84, 0.05);
}

    .empty-products h4 {
        font-size: 28px;
        margin-bottom: 10px;
        color: #243746;
    }

    .empty-products p {
        margin-bottom: 0;
        color: #6a7680;
    }

/*====================================================
                    PAGINATION
======================================================*/

.shop-page .pagination {
    justify-content: center;
    margin-top: 10px;
}

/*====================================================
                    RESPONSIVE
======================================================*/

@media (max-width: 991px) {
    .shop-sidebar-card {
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .simple-product-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

        .simple-product-list-header h4 {
            font-size: 20px;
        }

    .simple-product-item {
        padding: 16px 18px;
    }

    .simple-product-name {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .shop-sidebar-card {
        padding: 22px 18px;
    }

    .category-item-link,
    .category-item {
        padding: 12px 14px;
    }

    .category-toggle {
        width: 44px;
        min-width: 44px;
    }
}