﻿/* Sol kategori menüsü */
.category-menu {
    position: sticky;
    top: 20px;
    overflow: hidden;
}

    .category-menu .card-header {
        font-weight: 600;
        font-size: 17px;
    }

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
}

    .category-item:hover {
        background-color: #f8f9fa;
        color: #dc3545;
        padding-left: 23px;
    }

    .category-item span:first-child {
        font-size: 20px;
    }

    .category-item span:last-child {
        font-weight: 500;
    }


.book-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

    .book-card:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,.12) !important;
    }

.book-img-wrapper {
    height: 280px;
    padding: 20px;
    background: linear-gradient(180deg,#fafafa,#f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



.book-title {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    min-height: 50px;
    line-height: 1.4;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: .9rem;
}

    .info-row:last-of-type {
        border-bottom: 0;
    }

    .info-row i {
        color: #adb5bd;
        font-size: 14px;
    }

    .info-row span:last-child {
        color: #6c757d;
        font-weight: 500;
    }

.bg-light {
    background: #f8f9fa !important;
}

.text-success {
    color: #198754 !important;
}

.btn-primary {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px;
}

.btn-outline-dark {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px;
}

    .btn-outline-dark:hover {
        transform: translateY(-1px);
    }

.card-body {
    padding: 1.25rem;
}

.book-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

    .book-card:hover {
        box-shadow: 0 15px 35px rgba(0,0,0,.12) !important;
    }

.book-img-wrapper {
    height: 280px;
    padding: 20px;
    background: linear-gradient(180deg,#fafafa,#f3f4f6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



.book-title {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
    min-height: 50px;
    line-height: 1.4;
}

.info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f5;
    font-size: .9rem;
}

    .info-row:last-of-type {
        border-bottom: 0;
    }

    .info-row i {
        color: #adb5bd;
        font-size: 14px;
    }

    .info-row span:last-child {
        color: #6c757d;
        font-weight: 500;
    }

.bg-light {
    background: #f8f9fa !important;
}

.text-success {
    color: #198754 !important;
}

.btn-primary {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px;
}

.btn-outline-dark {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px;
}

    .btn-outline-dark:hover {
        transform: translateY(-1px);
    }

.card-body {
    padding: 1.25rem;
}

/* Mobil */
@media (max-width: 767px) {

    .category-menu {
        position: static;
    }

    .category-item {
        padding: 12px 15px;
    }
}
