/* Shop Styles */
.shop-header {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
                url('../images/pattern-bg.png');
    background-size: cover;
    padding: 60px 0;
}

.shop-hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
                url('../images/pattern-bg.png');
    padding: 80px 0;
}

/* Search and Filter */
.search-filter .form-control {
    border-radius: 30px 0 0 30px;
    border: 1px solid #ddd;
    padding: 0.75rem 1.5rem;
}

.search-filter .btn {
    border-radius: 0 30px 30px 0;
    padding: 0.75rem 1.5rem;
}

/* Sidebar Filters */
.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    color: #DAA520;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-inputs input {
    width: 80px;
}

/* Featured Product */
.featured-product {
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.featured-product:hover {
    transform: translateY(-5px);
}

.featured-product img {
    height: 100%;
    object-fit: cover;
}

.featured-book-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 2rem;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
}

.product-price {
    color: #DAA520;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1rem;
    background: var(--navy-blue);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Pagination */
.pagination .page-link {
    color: #333;
    border: none;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 30px;
}

.pagination .page-item.active .page-link {
    background-color: #DAA520;
    border-color: #DAA520;
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: #DAA520;
}

/* Book Details */
.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.price-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--gold);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.currency {
    font-size: 1rem;
    vertical-align: super;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.book-title {
    color: var(--navy-blue);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.book-subtitle {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-header {
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.book-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.divider {
    color: #ddd;
}

.specifications {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1.5rem;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #666;
}

.specs-list i {
    width: 20px;
    text-align: center;
}

/* Enhanced Book Description Styles */
.description-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.description-section:last-child {
    border-bottom: none;
}

.description-section h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.key-questions {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.key-questions li {
    position: relative;
    margin-bottom: 0.75rem;
    font-style: italic;
    color: var(--navy-blue);
}

.key-questions li:before {
    content: "?";
    position: absolute;
    left: -1.5rem;
    color: var(--gold);
    font-weight: bold;
}

.emphasis-text {
    font-weight: 500;
    color: var(--navy-blue);
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--gold);
    margin: 1rem 0;
}

.call-to-action {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-blue);
    text-align: center;
    margin-bottom: 0.5rem;
}

.final-message {
    text-align: center;
    color: var(--gold);
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .featured-product img {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .book-image-wrapper {
        margin-bottom: 2rem;
    }
    
    .book-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sticky-image-wrapper {
        position: relative;
        top: 0;
    }
}
