/* -------- GENEL RESETLER -------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Titillium Web", Arial, sans-serif;
    background: #f5f5f5;
    color: #111;
    font-size: 16px;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}

/* -------- KART ve GÖRSEL -------- */
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 16px;
}
.card:hover {
    box-shadow: 1px 1px 5px 5px #e9ecef;
    transform: scale(1.01);
}
.card-title {
    width: 100%;
    min-height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 16px;
    font-weight: bold;
}
.card-text {
    color: #000;
    font-weight: bold;
    font-size: 25px;
    font-family: "Titillium Web", sans-serif;
}
.card_i img {
    padding: 7px;
}
.car_img img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* -------- BAŞLIK LİNK KISALMA -------- */
.wow h2 a {
    width: 100% !important;
    display: block;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -------- YÜKLENİYOR MODALI -------- */
#modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8)
    url('https://i.pinimg.com/originals/65/ba/48/65ba488626025cff82f091336fbf94bb.gif')
    50% 50% no-repeat;
    overflow: hidden;
}
#modal.active {
    display: block;
}

/* -------- ARTIEKSI KONTROL ALANI (Mobil uyumlu) -------- */
.arti_eksi_container {
    padding: 0; /* Yan boşluk yok */
    background-color: rgba(0,0,0,.03);
    border-top: 1px solid rgba(0,0,0,.125);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
}
.arti_eksi {
    flex: 2 1 0%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}
.ae {
    margin: 0;
    flex: 2 1 0%;
}
.spt_cnt {
    flex: 1 1 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    background-color: #0f3a8d;
    border-radius: 5px;
    height: 3.8rem;
    line-height: 2rem;
    font-weight: 600;
    text-align: center;
    transition: 0.4s;
    min-width: 90px;
}
.spt_cnt a {
    text-decoration: none;
    color: #e5e5e5 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 1rem;
}

.arti_eksi div,
.arti_eksi input {
    min-width: 32px;
    max-width: 60px;
    height: 2.6rem;
    font-size: 1rem;
}

.arti_eksi div {
    cursor: pointer;
    padding: 1px 8px;
    background-color: #0f3a8d;
    color: aliceblue;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.3s;
    line-height: 2rem;
    user-select: none;
    margin: 0 3px;
}
.arti_eksi div:hover, .spt_cnt:hover {
    background-color: #212121;
}
.arti_eksi input {
    padding: 4px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #b3b3b3;
    width: 95%;
}

.input-container {
    display: inline-block;
    position: relative;
}
.input-container input {
    padding: 5px;
    text-align: center;
    width: 44px;
    min-width: 44px;
}

.ae__badge {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
    line-height: 3rem;
    background-color: #ed1d24;
    color: #e5e5e5 !important;
    position: absolute;
    top: 12px;
    right: 12px;
    text-align: center;
    border-radius: 50%;
}

/* -------- SEARCH BAR -------- */
.src_b {
    border: 1px solid var(--border-color, #ccc);
    padding: 0.6rem 3rem 0.6rem 1.2rem;
    -webkit-appearance: none;
    cursor: pointer;
    border-radius: 0.5rem;
    background: var(--body-background-color, #fff);
    width: 100%;
}

/* -------- MOBİL DOSTU -------- */
@media (max-width: 600px) {
    .arti_eksi_container {
        flex-direction: column;
        gap: 8px;
    }
    .arti_eksi, .spt_cnt {
        flex: unset;
        width: 100%;
        min-width: unset;
        max-width: unset;
    }
    .arti_eksi div,
    .arti_eksi input {
        font-size: 0.9rem;
        height: 2rem;
        min-width: 28px;
        max-width: 40px;
    }
    .input-container input {
        width: 38px;
        min-width: 38px;
    }
    .spt_cnt {
        font-size: 1rem;
        height: 2.8rem;
        padding: 0 2px;
    }
}
