/* ShopMax Filtre AI — smfai.css v2.0.0
   Referans: Amazon, ASOS, Algolia InstantSearch
*/
:root {
    --smfai-c:    #ff9900;
    --smfai-cd:   #cc7700;
    --smfai-bg:   #f8fafc;
    --smfai-brd:  #e2e8f0;
    --smfai-txt:  #1a202c;
    --smfai-sub:  #718096;
    --smfai-rad:  8px;
    --smfai-trn:  all .18s cubic-bezier(.4,0,.2,1);
}

/* ════════════════════════════
   SIDEBAR LAYOUT WRAP
════════════════════════════ */
.smfai {
    font-family: inherit;
    font-size: 13px;
    color: var(--smfai-txt);
}

/* Header */
.smfai__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--smfai-c);
    margin-bottom: 10px;
}
.smfai__header-left { display:flex; align-items:center; gap:10px; }
.smfai__title { font-size:15px; font-weight:700; letter-spacing:-.3px; }

.smfai__clear-all {
    font-size: 11px;
    color: var(--smfai-c);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
    padding: 0;
}
.smfai__ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: #f0ebff;
    border: 1px solid #c4b5fd;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: #6d28d9;
    letter-spacing: .4px;
}

/* Aktif filtre chip'leri */
.smfai__active-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--smfai-brd);
    margin-bottom: 8px;
}
.smfai__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: #7c3aed;
}
.smfai__chip-remove {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #9333ea;
    font-size: 12px;
    line-height: 1;
}

/* ════ Bölüm ════ */
.smfai__section {
    border: 1px solid var(--smfai-brd);
    border-radius: var(--smfai-rad);
    overflow: hidden;
    margin-bottom: 6px;
    background: #fff;
}
.smfai__section-head {
    display: flex;
    align-items: center;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: var(--smfai-trn);
    gap: 6px;
}
.smfai__section-head:hover { background: var(--smfai-bg); }
.smfai__section-head > span:first-child { flex: 1; }
.smfai__active-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--smfai-c);
    flex-shrink: 0;
}
.smfai__arrow {
    flex-shrink: 0;
    color: var(--smfai-sub);
    transition: transform .2s;
    font-size: 10px;
}
.smfai__section-head--closed .smfai__arrow { transform: rotate(180deg); }
.smfai__section-body {
    padding: 4px 14px 12px;
    border-top: 1px solid var(--smfai-bg);
}
.smfai__section-body--hidden { display: none; }

/* ════ AI Arama Bölümü ════ */
.smfai__ai-search-section {
    border-color: #e9d5ff;
    background: linear-gradient(135deg, #faf5ff, #f0f4ff);
}
.smfai__ai-search-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 5px 6px 5px 10px;
    transition: var(--smfai-trn);
    margin-bottom: 6px;
}
.smfai__ai-search-wrap:focus-within {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px #7c3aed18;
}
.smfai__ai-icon { width:14px; height:14px; color:var(--smfai-sub); flex-shrink:0; }
.smfai__ai-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 12px;
    color: var(--smfai-txt);
    background: transparent;
    min-width: 0;
}
.smfai__ai-input::placeholder { color: #adb5bd; }
.smfai__ai-btn {
    width: 26px; height: 26px;
    background: var(--smfai-c);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    transition: var(--smfai-trn);
}
.smfai__ai-btn:hover { background: var(--smfai-cd); }
.smfai__ai-btn:disabled { opacity: .6; cursor: wait; }
.smfai__ai-hint {
    font-size: 10px;
    color: #6d28d9;
    display: flex;
    align-items: center;
    gap: 3px;
}
.smfai__ai-suggestion {
    margin-top: 6px;
    font-size: 11px;
    color: #6d28d9;
    padding: 6px 8px;
    background: #f3e8ff;
    border-radius: 6px;
    line-height: 1.4;
}

/* ════ Toggle (İndirimli/Stokta) ════ */
.smfai__toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--smfai-bg);
}
.smfai__toggle-row:last-child { border-bottom: none; }
.smfai__toggle-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
}
.smfai__toggle-icon { font-size: 13px; }
.smfai__toggle-wrap { position: relative; }
.smfai__toggle-wrap input { display: none; }
.smfai__pill {
    display: block;
    width: 36px; height: 20px;
    background: var(--smfai-brd);
    border-radius: 10px;
    transition: var(--smfai-trn);
    position: relative;
    cursor: pointer;
}
.smfai__pill::after {
    content: '';
    width: 14px; height: 14px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px; left: 3px;
    transition: var(--smfai-trn);
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.smfai__toggle-wrap input:checked + .smfai__pill { background: var(--smfai-c); }
.smfai__toggle-wrap input:checked + .smfai__pill::after { left: 19px; }

/* ════ Fiyat Range Slider ════ */
.smfai__range-wrap { padding: 8px 0; }
.smfai__range-track {
    position: relative;
    height: 4px;
    background: var(--smfai-brd);
    border-radius: 2px;
    margin: 20px 0 8px;
}
.smfai__range-fill {
    position: absolute;
    height: 100%;
    background: var(--smfai-c);
    border-radius: 2px;
    pointer-events: none;
}
.smfai__range {
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
    pointer-events: none;
    top: 0; left: 0;
}
.smfai__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--smfai-c);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
    transition: transform .1s;
}
.smfai__range::-webkit-slider-thumb:hover,
.smfai__range::-webkit-slider-thumb:active { transform: scale(1.2); }
.smfai__range-vals {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.smfai__range-apply {
    width: 100%;
    padding: 8px;
    background: var(--smfai-c);
    color: #fff;
    border: none;
    border-radius: var(--smfai-rad);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--smfai-trn);
}
.smfai__range-apply:hover { background: var(--smfai-cd); }
.smfai__price-inputs { display:flex; align-items:center; gap:5px; margin-bottom:10px; }
.smfai__price-in {
    flex: 1;
    border: 1.5px solid var(--smfai-brd);
    border-radius: 6px;
    padding: 6px 6px;
    font-size: 11px;
    text-align: center;
    outline: none;
    min-width: 0;
    transition: var(--smfai-trn);
}
.smfai__price-in:focus { border-color: var(--smfai-c); }
.smfai__price-sep { color: var(--smfai-sub); flex-shrink: 0; }
.smfai__price-btn {
    padding: 6px 10px;
    background: var(--smfai-c);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}
.smfai__price-pills { display:flex; flex-wrap:wrap; gap:4px; margin-top:8px; }
.smfai__price-pill {
    padding: 3px 9px;
    border: 1.5px solid var(--smfai-brd);
    border-radius: 14px;
    font-size: 11px;
    background: #fff;
    cursor: pointer;
    transition: var(--smfai-trn);
    color: var(--smfai-txt);
}
.smfai__price-pill:hover { border-color: var(--smfai-c); color: var(--smfai-cd); }
.smfai__price-pill--active {
    background: #fff8ec;
    border-color: var(--smfai-c);
    color: var(--smfai-cd);
    font-weight: 700;
}

/* ════ Yıldız Puanı ════ */
.smfai__rating-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 12px;
}
.smfai__rating-row input { display: none; }
.smfai__stars { display: flex; gap: 1px; }
.smfai__stars svg { transition: var(--smfai-trn); }
.smfai__rating-label { color: var(--smfai-sub); font-size: 11px; }
.smfai__rating-row:has(input:checked) .smfai__rating-label { color: var(--smfai-txt); font-weight: 600; }
.smfai__clear-group {
    margin-top: 4px;
    font-size: 11px;
    color: #dc2626;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* ════ Radio ════ */
.smfai__radio {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 12px;
}
.smfai__radio input { display: none; }
.smfai__radio-mark {
    width: 15px; height: 15px;
    border: 2px solid var(--smfai-brd);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--smfai-trn);
}
.smfai__radio input:checked ~ .smfai__radio-mark {
    border-color: var(--smfai-c);
    background: var(--smfai-c);
    box-shadow: inset 0 0 0 3px #fff;
}

/* ════ Checkbox ════ */
.smfai__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.3;
}
.smfai__checkbox input { display: none; }
.smfai__checkbox-mark {
    width: 15px; height: 15px;
    border: 2px solid var(--smfai-brd);
    border-radius: 3px;
    flex-shrink: 0;
    transition: var(--smfai-trn);
    display: flex;
    align-items: center;
    justify-content: center;
}
.smfai__checkbox input:checked ~ .smfai__checkbox-mark {
    background: var(--smfai-c);
    border-color: var(--smfai-c);
}
.smfai__checkbox input:checked ~ .smfai__checkbox-mark::after {
    content: '';
    width: 5px; height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    margin-bottom: 2px;
}
.smfai__checkbox-label { flex: 1; }
.smfai__count {
    background: var(--smfai-bg);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 10px;
    color: var(--smfai-sub);
    margin-left: auto;
    flex-shrink: 0;
}

/* ════ Renk Swatchi (ASOS tarzı) ════ */
.smfai__swatches { display:flex; flex-wrap:wrap; gap:6px; padding-top:4px; }
.smfai__swatch {
    width: 22px; height: 22px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--smfai-trn);
    position: relative;
}
.smfai__swatch:hover { transform: scale(1.1); border-color: var(--smfai-c); }
.smfai__swatch--active {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--smfai-c);
}

/* Daha fazla göster */
.smfai__show-more-wrap { }
.smfai__show-more {
    margin-top: 4px;
    font-size: 11px;
    color: var(--smfai-c);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    font-weight: 600;
}

/* AI badge küçük */
.smfai__ai-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--smfai-c);
    background: #fff8ec;
    border: 1px solid #fecd6a;
    padding: 1px 5px;
    border-radius: 8px;
    letter-spacing: .3px;
}

/* ════ AI Loading ════ */
.smfai__ai-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--smfai-brd);
    border-radius: var(--smfai-rad);
    font-size: 12px;
    color: var(--smfai-sub);
    margin-bottom: 6px;
}
.smfai__spinner {
    width: 16px; height: 16px;
    border: 2px solid var(--smfai-brd);
    border-top-color: var(--smfai-c);
    border-radius: 50%;
    animation: smfai-spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes smfai-spin { to { transform: rotate(360deg); } }

/* ════ Ürün Sonuçları ════ */
#smfai-results { transition: opacity .2s; }
.smfai-no-result {
    text-align: center;
    padding: 48px 20px;
    color: var(--smfai-sub);
}
.smfai-no-result-icon { font-size: 48px; margin-bottom: 12px; }
.smfai-no-result p { font-size: 14px; margin-bottom: 16px; }
.smfai-reset-btn {
    padding: 10px 24px;
    background: var(--smfai-c);
    color: #fff;
    border: none;
    border-radius: var(--smfai-rad);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

/* ════ Sayfalama ════ */
.smfai__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.smfai__page-btn {
    min-width: 34px; height: 34px;
    padding: 0 8px;
    border: 1.5px solid var(--smfai-brd);
    border-radius: 6px;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    color: var(--smfai-txt);
    transition: var(--smfai-trn);
    display: flex;
    align-items: center;
    justify-content: center;
}
.smfai__page-btn:hover:not(:disabled) { border-color: var(--smfai-c); color: var(--smfai-c); }
.smfai__page-btn--active { background: var(--smfai-c); border-color: var(--smfai-c); color: #fff; font-weight: 700; }
.smfai__page-btn:disabled { opacity: .35; cursor: default; }

/* ════ Sıralama Radio ════ */
.smfai__sort-select {
    width: 100%;
    border: 1.5px solid var(--smfai-brd);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 12px;
    background: #fff;
    color: var(--smfai-txt);
    cursor: pointer;
    outline: none;
}
.smfai__sort-select:focus { border-color: var(--smfai-c); }

/* ════ Mobil ════ */
@media (max-width: 768px) {
    .smfai--sidebar { display: none; }
    .smfai-mobile-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border: 1.5px solid var(--smfai-c);
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
        color: var(--smfai-c);
        background: #fff8ec;
        cursor: pointer;
    }
    .smfai-mobile-count {
        width: 18px; height: 18px;
        background: var(--smfai-c);
        border-radius: 50%;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ════ ShopMax Tema Uyum ════ */
.sm-sidebar .smfai {
    width: 100%;
    max-width: 100%;
}
.sm-sidebar .smfai__section {
    box-shadow: none;
}
/* Offcanvas */
.smfai-offcanvas-trigger {
    margin-bottom: 12px;
}
.smfai-offcanvas-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid var(--smfai-c);
    border-radius: 20px;
    background: #fff8ec;
    color: var(--smfai-cd);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.smfai-offcanvas {
    display: none;
}
.smfai-offcanvas.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.smfai-offcanvas__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.smfai-offcanvas__panel {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 300px;
    background: #fff;
    overflow-y: auto;
    padding: 16px;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
}

/* ════════════════════════════════════
   SHOPMAX TEMA UYUMU
════════════════════════════════════ */

/* sm-sidebar içinde filtre tam genişlik */
.sm-sidebar .smfai {
    width: 100%;
}

/* Filtre bölümleri sm-widget stiline uyum */
.sm-sidebar .smfai__section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    border: 1px solid #e8e8e8;
    margin-bottom: 8px;
    overflow: hidden;
}

/* Header ShopMax font uyumu */
.sm-sidebar .smfai__title {
    font-size: 15px;
    font-weight: 700;
    color: #0f1111;
}

/* Bölüm başlıkları */
.sm-sidebar .smfai__section-head {
    font-size: 13px;
    font-weight: 600;
    color: #0f1111;
    padding: 10px 12px;
}

/* Body padding uyumu */
.sm-sidebar .smfai__section-body {
    padding: 4px 12px 10px;
}

/* AI arama sm-sidebar'da tam genişlik */
.sm-sidebar .smfai__ai-search-section {
    margin-bottom: 8px;
}

/* Chip'ler */
.sm-sidebar .smfai__active-chips {
    margin-bottom: 8px;
}

/* Fiyat pill'leri küçük ekranda */
.sm-sidebar .smfai__price-pill {
    font-size: 10px;
    padding: 3px 7px;
}

/* Checkbox label overflow */
.sm-sidebar .smfai__checkbox-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

/* Toggle row compact */
.sm-sidebar .smfai__toggle-label {
    font-size: 12px;
}

/* Range slider 220px konteyner için */
.sm-sidebar .smfai__range-track {
    margin: 16px 4px 8px;
}

/* AI loading compact */
.sm-sidebar .smfai__ai-loading {
    padding: 8px 12px;
    font-size: 11px;
}

/* ════ sm-main-content & smfai-results düzeltme ════ */
.sm-main-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}
#smfai-results {
    width: 100%;
}
#smfai-results ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ════════════════════════════════════════════════
   SHOPMAX KATEGORI SAYFASI — TAM TASARIM DÜZELTMESİ
   v2.0.6
════════════════════════════════════════════════ */

/* ── Sayfa geneli container hizalaması ── */
body.woocommerce-page.archive {
    background: #f7f8fa;
}

/* ── sm-shop-layout ── */
.sm-shop-layout {
    display: flex !important;
    align-items: flex-start;
    gap: 20px;
    max-width: var(--sm-container, 1280px);
    width: 100%;
    margin: 0 auto 32px;
    padding: 0 24px;
    box-sizing: border-box;
}

/* ── Sidebar ── */
.sm-sidebar {
    flex: 0 0 260px;
    width: 260px;
    min-width: 0;
    position: sticky;
    top: 16px;
}

/* ── Main Content ── */
.sm-main-content {
    flex: 1;
    min-width: 0;
}

/* ── Toolbar: Sonuç sayısı + Sıralama ── */
.sm-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 16px;
    gap: 12px;
}

.woocommerce-result-count {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.woocommerce-ordering {
    float: none !important;
    margin: 0 !important;
}

.woocommerce-ordering select.orderby {
    appearance: none;
    -webkit-appearance: none;
    background: #f8f8f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center;
    background-size: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 7px 34px 7px 12px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    min-width: 210px;
}

.woocommerce-ordering select.orderby:hover,
.woocommerce-ordering select.orderby:focus {
    border-color: var(--smfai-c, #ff9900);
    box-shadow: 0 0 0 3px rgba(255,153,0,.15);
    background-color: #fff;
}

/* ── Ürün grid ── */
.sm-main-content ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
}

.sm-main-content ul.products::before,
.sm-main-content ul.products::after {
    display: none !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .sm-shop-layout {
        flex-direction: column;
        padding: 0 16px;
    }
    .sm-sidebar {
        width: 100%;
        flex: none;
        position: static;
    }
    .sm-main-content ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .sm-main-content ul.products {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════════════
   CİNSİYET SEÇİM POPUP
════════════════════════════════════════════════ */
.smfai-gender-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: none; /* JS ile açılır */
    align-items: center;
    justify-content: center;
    animation: smfaiGenderFadeIn .3s ease;
}

.smfai-gender-overlay.smfai-open {
    display: flex;
}

.smfai-gender-overlay.smfai-hide {
    animation: smfaiGenderFadeOut .25s ease forwards;
}

@keyframes smfaiGenderFadeIn {
    from { opacity:0; }
    to   { opacity:1; }
}
@keyframes smfaiGenderFadeOut {
    from { opacity:1; }
    to   { opacity:0; }
}

.smfai-gender-modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px 36px 32px;
    max-width: 560px;
    width: calc(100% - 32px);
    box-shadow: 0 24px 80px rgba(0,0,0,.18);
    text-align: center;
    animation: smfaiGenderSlideUp .35s cubic-bezier(.34,1.56,.64,1);
}

@keyframes smfaiGenderSlideUp {
    from { transform: translateY(40px) scale(.96); opacity:0; }
    to   { transform: translateY(0)    scale(1);   opacity:1; }
}

.smfai-gender-header {
    margin-bottom: 28px;
}

.smfai-gender-logo {
    margin-bottom: 16px;
}

.smfai-gender-logo img {
    max-height: 40px;
    width: auto;
}

.smfai-gender-site-name {
    font-size: 22px;
    font-weight: 800;
    color: var(--smfai-c, #ff9900);
}

.smfai-gender-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 8px;
}

.smfai-gender-header p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.smfai-gender-choices {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.smfai-gender-btn {
    flex: 1;
    min-width: 130px;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px 20px;
    border: 2px solid #eee;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
    color: #444;
}

.smfai-gender-btn:hover {
    border-color: var(--smfai-c, #ff9900);
    background: rgba(255,153,0,.04);
    color: var(--smfai-c, #ff9900);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,153,0,.15);
}

.smfai-gender-btn:active {
    transform: translateY(0);
}

.smfai-gender-btn.smfai-selected {
    border-color: var(--smfai-c, #ff9900);
    background: var(--smfai-c, #ff9900);
    color: #fff;
}

.smfai-gender-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,153,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.smfai-gender-btn:hover .smfai-gender-icon,
.smfai-gender-btn.smfai-selected .smfai-gender-icon {
    background: rgba(255,255,255,.2);
}

.smfai-gender-icon svg {
    width: 40px;
    height: 40px;
    color: currentColor;
}

.smfai-gender-label {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.smfai-gender-sub {
    font-size: 11px;
    opacity: .7;
    line-height: 1.3;
    text-align: center;
}

.smfai-gender-skip {
    background: none;
    border: none;
    color: #bbb;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color .15s;
    text-decoration: underline;
}

.smfai-gender-skip:hover {
    color: #888;
}

/* Toolbar'da cinsiyet göstergesi */
.smfai-gender-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 4px 10px 4px 6px;
    cursor: pointer;
    transition: all .15s;
}

.smfai-gender-badge:hover {
    border-color: var(--smfai-c, #ff9900);
    color: var(--smfai-c, #ff9900);
}

.smfai-gender-badge svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 480px) {
    .smfai-gender-modal {
        padding: 28px 20px 24px;
    }
    .smfai-gender-choices {
        gap: 10px;
    }
    .smfai-gender-btn {
        min-width: 100px;
        padding: 18px 12px 14px;
    }
    .smfai-gender-icon {
        width: 52px;
        height: 52px;
    }
    .smfai-gender-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* Breadcrumb hizalama */