/* ============================================
   CATEGORY HERO SECTION - Compact & Modern
   ============================================ */

.category-hero {
    padding: 1.5rem 0 1rem;
    background: #fafafa;
}

.category-hero .container {
    max-width: 800px;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.category-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    flex-shrink: 0;
}

.category-search {
    flex: 1;
    max-width: 350px;
    position: relative;
    min-width: 250px;
}

.category-search input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 13px;
    transition: border-color 0.2s;
}

.category-search input:focus {
    border-color: #8b7bd8;
}

.category-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #8b7bd8;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.category-search button:hover {
    background: #7a6bc7;
}

/* ============================================
   Mobile Optimizations - !important ile inline override
   ============================================ */
@media (max-width: 768px) {
    .category-hero {
        padding: 0.5rem 0 !important;
        background: #fff !important;
    }

    .category-hero .container {
        max-width: 100% !important;
        padding: 0 12px !important;
        margin: 0 auto !important;
    }

    .category-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    /* Mobilde başlık gizle - breadcrumb'da zaten var */
    .category-header h1,
    .category-info h1 {
        display: none !important;
    }

    .category-info {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .category-search {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 320px !important;
        min-width: auto !important;
        margin: 0 auto !important;
    }

    .category-search input {
        padding: 8px 35px 8px 14px !important;
        font-size: 13px !important;
        border-radius: 20px !important;
        width: 100% !important;
        background: #f5f5f5 !important;
        border: none !important;
    }

    .category-search input:focus {
        background: #fff !important;
        box-shadow: 0 0 0 2px #8b7bd8 !important;
    }

    .category-search button {
        width: 28px !important;
        height: 28px !important;
        right: 4px !important;
    }

    .category-search button i {
        font-size: 11px !important;
    }
}