/* Category Show */
.category-detail-shell {
        background:
            radial-gradient(circle at top left, rgba(217, 213, 253, 0.72), transparent 28%),
            radial-gradient(circle at top right, rgba(247, 186, 246, 0.24), transparent 24%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 238, 255, 0.92) 100%);
        border-radius: var(--hb-shell-radius, 30px);
        padding: var(--hb-shell-padding, 32px);
        box-shadow: var(--hb-shadow-panel, 0 24px 56px rgba(45, 30, 86, 0.14));
        color: #241a38;
        text-align: left;
    }

    .category-detail-head {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
        gap: 22px;
        align-items: center;
        margin-bottom: 26px;
    }

    .category-back {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: var(--hediye-primary);
        text-decoration: none;
        font-weight: 700;
        margin-bottom: 16px;
        padding: 10px 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.82);
        border: 1px solid rgba(101, 69, 157, 0.12);
        box-shadow: 0 10px 20px rgba(52, 34, 93, 0.06);
    }

    .category-back i {
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: rgba(101, 69, 157, 0.1);
    }

    .category-copy h2 {
        margin: 0 0 10px;
        font-size: clamp(1.8rem, 2vw, 2.4rem);
        color: #22163a;
    }

    .category-copy p {
        margin: 0;
        color: #615877;
        line-height: 1.8;
        max-width: 680px;
    }

    .category-visual {
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 20px 38px rgba(48, 32, 88, 0.16);
        aspect-ratio: 4 / 3;
        background: #f1ebff;
    }

    .category-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .category-toolbar {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 22px;
        padding: 18px 20px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(101, 69, 157, 0.1);
    }

    .category-toolbar-note {
        color: #5f5574;
        font-size: 0.96rem;
        display: flex;
        flex-direction: column;
        gap: 4px;
        overflow-wrap: anywhere;
    }

    .category-toolbar-prompt {
        font-size: 0.87rem;
        color: #847998;
    }

    .category-products-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .category-product-card {
        background: #fff;
        border-radius: var(--hb-card-radius, 24px);
        overflow: hidden;
        box-shadow: var(--hb-shadow-card, 0 18px 36px rgba(43, 29, 81, 0.08));
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .category-product-image {
        position: relative;
        aspect-ratio: 1 / 1;
        background: #f4efff;
        overflow: hidden;
    }

    .category-product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .category-product-body {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex: 1;
    }

    .category-product-title {
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
        color: #281c40;
        min-height: 3em;
    }

    .category-empty {
        padding: 28px;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px dashed rgba(101, 69, 157, 0.24);
        color: #5e5670;
    }

    .category-empty-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 18px;
    }

    @media (max-width: 1200px) {
        .category-products-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    @media (max-width: 900px) {
        .category-detail-head {
            grid-template-columns: 1fr;
        }

        .category-products-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .category-detail-shell {
            padding: var(--hb-shell-padding-sm, 22px);
            border-radius: var(--hb-shell-radius-sm, 24px);
        }

        .category-back,
        .category-toolbar .btn {
            width: 100%;
            justify-content: center;
        }

        .category-toolbar {
            padding: 16px;
        }

        .category-products-grid {
            grid-template-columns: 1fr;
        }

        .category-empty-actions .btn {
            width: 100%;
        }
    }
