﻿/* Book Page Styles */
.book-hero-section
{
    padding: 60px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
}

.book-hero-image-wrapper
{
    position: relative;
    text-align: center;
    padding: 20px;
}

.book-hero-image
{
    max-width: 350px;
    width: 100%;
    border-radius: 20px;
}

.book-price-tag
{
    position: absolute;
    top: 0;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(6, 94, 200, 0.3);
    animation: float 3s ease-in-out infinite;
}

.price
{
    font-weight: 800;
    margin-right: 10px;
}

.price-old
{
    text-decoration: line-through;
    opacity: 0.8;
    font-size: 0.9rem;
}

.book-hero-title
{
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.book-hero-subtitle
{
    color: var(--gray-600);
    margin-bottom: 20px;
}

.book-rating-large i
{
    color: #ffc107;
    font-size: 1.3rem;
}

.book-highlight-features
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.book-stats-mini
{
    display: flex;
    gap: 30px;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.stat-mini-number
{
    font-weight: 800;
    color: var(--primary);
    display: block;
}

.stat-mini-label
{
    color: var(--gray-600);
}

/* Gallery Section */
.book-gallery-section
{
    padding: 80px 0;
    background-color: var(--white);
}

.gallery-item
{
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-image
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image
{
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay
{
    transform: translateY(0);
}

/* Book Details */
.book-details-section
{
    padding: 80px 0;
    background-color: var(--gray-50);
}

.book-details-card, .book-specs-card
{
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
}

.chapter-item
{
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-200);
}

.chapter-item:last-child
{
    border-bottom: none;
    padding-bottom: 0;
}

.chapter-number
{
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
}

.chapter-info h4
{
    margin-bottom: 5px;
}

.chapter-info p
{
    color: var(--gray-600);
    margin: 0;
}

.specs-list
{
    list-style: none;
    padding: 0;
}

.specs-list li
{
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-200);
}

.specs-list li:last-child
{
    border-bottom: none;
}

.spec-label
{
    color: var(--gray-600);
}

.spec-value
{
    font-weight: 600;
}

.price-row
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.price-row.highlight
{
    background: var(--tertiary);
    padding: 15px;
    border-radius: 15px;
    margin: 10px 0;
}

/* Reader Reviews */
.book-testimonials-section
{
    padding: 80px 0;
    background-color: var(--white);
}

.reader-review-card
{
    display: flex;
    gap: 20px;
    background: var(--gray-50);
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    transition: transform 0.3s ease;
}

.reader-review-card:hover
{
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 94, 200, 0.1);
}

.reader-avatar i
{
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.5;
}

.reader-rating i
{
    color: #ffc107;
    margin-bottom: 10px;
}

.reader-name
{
    font-weight: 700;
    margin-top: 10px;
}

.reader-title
{
    color: var(--gray-600);
}

/* Bulk Orders */
.bulk-orders-section
{
    padding: 40px 0 80px;
}

.bulk-orders-card
{
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50px;
    padding: 50px;
}

/* Order Page Styles */
.order-hero-section
{
    padding: 40px 0 20px;
    background-color: var(--gray-50);
}

.order-form-section
{
    padding: 20px 0 80px;
}

.order-summary-card
{
    background: var(--white);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(6, 94, 200, 0.1);
    position: sticky;
    top: 100px;
}

.order-item
{
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.order-item-image
{
    width: 80px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
}

.order-item-image img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-totals
{
    padding: 20px 0;
}

.total-row
{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-row.grand-total
{
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--gray-200);
}

.secure-checkout-note
{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
}

.secure-checkout-note i
{
    color: var(--primary);
    font-size: 1.2rem;
}

.order-form-card
{
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Payment Page Styles */
.payment-hero-section
{
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.payment-section
{
    padding: 40px 0 80px;
    background-color: var(--gray-50);
}

.payment-summary-card
{
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.banking-details-card
{
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(6, 94, 200, 0.1);
    border: 2px solid var(--primary);
}

.banking-header
{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.banking-header i
{
    font-size: 3rem;
    color: var(--primary);
}

.banking-details
{
    background: var(--gray-50);
    border-radius: 20px;
    padding: 20px;
}

.detail-row
{
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.detail-row:last-child
{
    border-bottom: none;
}

.detail-label
{
    width: 140px;
    font-weight: 600;
}

.detail-value
{
    flex: 1;
}

.copy-btn
{
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 1.2rem;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.copy-btn:hover
{
    transform: scale(1.1);
    color: var(--primary-dark);
}

.reference-row
{
    background: var(--tertiary);
    border-radius: 10px;
    margin-top: 10px;
}

.banking-note
{
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 10px;
}

.banking-note i
{
    color: #ffc107;
    font-size: 1.5rem;
}

.amount-to-pay
{
    text-align: center;
    padding: 20px;
    background: var(--tertiary);
    border-radius: 20px;
}

.amount
{
    font-weight: 800;
    margin-left: 15px;
}

.whatsapp-confirm-card
{
    background: var(--white);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 2px solid #25D366;
}

.payment-actions
{
    display: flex;
    gap: 15px;
    justify-content: center;
}

#BookOrderNowBtn, #BookSeeMoreBtn
{
    margin-bottom: 10px;
}

.book-price-val
{
    font-size: 16px;
}

#bulkMessage
{
    display: block;
    margin-top: 5px;
    color: var(--primary);
}

.quantity-display
{
    font-weight: 600;
}

#customQuantity
{
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px)
{
    .book-hero-title
    {
        font-size: 2rem;
    }

    .book-highlight-features
    {
        grid-template-columns: 1fr;
    }

    .book-stats-mini
    {
        flex-wrap: wrap;
        gap: 15px;
    }

    .gallery-overlay
    {
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    }

    .book-details-card, .book-specs-card
    {
        padding: 25px;
    }

    .chapter-item
    {
        flex-direction: column;
        gap: 5px;
    }

    .order-summary-card
    {
        position: static;
        margin-bottom: 20px;
    }

    .banking-details-card
    {
        padding: 25px;
    }

    .detail-row
    {
        flex-wrap: wrap;
    }

    .detail-label
    {
        width: 100%;
        margin-bottom: 5px;
    }

    .payment-actions
    {
        flex-direction: column;
    }

    .payment-actions .btn
    {
        width: 100%;
    }
}

@media (max-width: 576px)
{
    .book-hero-section
    {
        padding: 30px 0;
    }

    .book-hero-image
    {
        max-width: 250px;
    }

    .book-price-tag
    {
        padding: 10px 15px;
        right: 0;
    }

    .book-details-section, .book-testimonials-section
    {
        padding: 40px 0;
    }

    .bulk-orders-card
    {
        padding: 30px;
        border-radius: 30px;
    }

    .order-form-card
    {
        padding: 25px;
    }

    .banking-details-card
    {
        padding: 20px;
    }

    .banking-header i
    {
        font-size: 2rem;
    }

    .whatsapp-confirm-card
    {
        padding: 25px;
    }

    #BookOrderNowBtn, #BookSeeMoreBtn
    {
        padding: 5px 15px;
        font-size: 16px;
        width: 235px;
    }
    .book-price-tag
    {
        padding: 5px 15px;
        font-size: 16px;
        right: 80px;
        top: 10px;
    }
    .book-price-val
    {
        font-size: 14px;
    }
    #BookDetailsOrderBtn
    {
        font-size: 16px;
        padding: 7px;
    }
    #BulkOrderBtn
    {
        padding: 7px 20px;
        font-size:16px
    }
}
