/* General Styles */
body {
    background-color: #f9fafb;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    padding: 1rem;
}

/* Breadcrumb Styles */
/* .breadcrumb {
    padding: 0.75rem 1rem;
    background-color: #000000;
    border-radius: 0.375rem;
    font-size: 0.95rem;
} */

.breadcrumb-item a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6b7280;
}

/* Book Card Styles */
.card {
    border: none;
    border-radius: 0.5rem;
    background: #fff;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.book-cover {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* Book Details */
.card-title {
    color: #1f2937;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.price-tag {
    font-weight: bold;
    color: #e53e3e;
    font-size: 1.5rem;
}

.detail-item {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.detail-item .fw-semibold {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    margin-right: 0.5rem;
}

.detail-item span:last-child {
    color: #4b5563;
}

/* Description */
.description h5 {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.description p {
    color: #4b5563;
    line-height: 1.6;
    text-align: justify;
}

/* Buttons */
.btn-order {
    transition: all 0.3s ease;
    background-color: #07bd80;
    border: none;
    border-radius: 50rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: #0b5ed7;
}

/* Recommendation Section */
.mt-5 h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.card.h-100 {
    transition: transform 0.2s;
    border-radius: 0.5rem;
    height: 100%;
}

.card.h-100:hover {
    transform: translateY(-5px);
}

.card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.card-body h6 {
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-body .price-tag {
    font-size: 1rem;
}

/* Responsive Styles */

/* Small Devices (max-width: 576px) */
@media (max-width: 576px) {
    .book-cover {
        max-height: 250px;
    }
    .card-title {
        font-size: 1.3rem;
    }
    .price-tag {
        font-size: 1.1rem;
    }
    .breadcrumb {
        font-size: 0.8rem;
    }
    .detail-item {
        flex-direction: column;
    }
    .detail-item .fw-semibold {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
    .card-img-top {
        height: 160px;
    }
}

/* Medium Devices (max-width: 768px) */
@media (max-width: 768px) {
    .book-cover {
        max-height: 300px;
    }
    .card-title {
        font-size: 1.5rem;
    }
    .price-tag {
        font-size: 1.25rem;
    }
    .card-img-top {
        height: 180px;
    }
}

/* Large Devices (min-width: 992px) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
        margin: auto;
    }
}

/* Extra Large Devices (min-width: 1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

/* Mobile fix: pakai rata kiri agar lebih enak dibaca */
@media (max-width: 768px) {
    .text-justify {
        text-align: left;
    }
}

