/* Santa Fe Gift Store Specific Styles */

/* Hero Section */
.gift-store-hero {
    background: url('../images/store-hero.jpg') center center no-repeat;
    background-size: cover;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    color: white;
}

/* .gift-store-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
} */

.gift-store-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gift-icon {
    width: 80px;
    height: 80px;
    background: rgba(139, 69, 19, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.gift-store-hero h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Category Filter Buttons */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.filter-btn {
    background: white;
    border: 2px solid var(--border-light);
    padding: 12px 20px;
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.filter-btn i {
    font-size: 0.875rem;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 1px solid var(--border-light);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    justify-content: center;
}

.tab-btn:hover {
    border-color: var(--primary-green);
    background: rgba(34, 197, 94, 0.05);
}

.tab-btn.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.tab-label {
    font-weight: 600;
    font-size: 0.875rem;
}

.tab-count {
    background: rgba(107, 114, 128, 0.2);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.tab-btn.active .tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Gift Store Grid */
.gift-store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

/* Enhanced Book Cards */
.book-card {
    background: var(--background-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--card-shadow-hover);
}

.book-card:hover .book-image {
    transform: scale(1.05);
}

.book-card:hover .book-placeholder {
    transform: scale(1.1);
}

.book-card:hover .book-placeholder i {
    transform: rotateY(20deg);
}

/* Enhanced Book Image with Category-Specific Gradients */
.book-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    font-size: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    gap: 8px;
    transition: transform 0.3s ease;
}

.book-placeholder i {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.4s ease;
}

.placeholder-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Category-Specific Gradients */
.book-image.literature {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #c084fc);
}

.book-image.travel-guide {
    background: linear-gradient(135deg, #22c55e, #16a34a, #15803d);
}

.book-image.food-culture {
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
}

.book-image.history-architecture {
    background: linear-gradient(135deg, #06b6d4, #0891b2, #0e7490);
}

.book-image.mystery-crime {
    background: linear-gradient(135deg, #dc2626, #b91c1c, #991b1b);
}

.book-image.outdoor-recreation {
    background: linear-gradient(135deg, #16a34a, #15803d, #166534);
}

.book-image.souvenirs {
    background: linear-gradient(135deg, #f97316, #ea580c, #c2410c);
}

/* Default fallback gradient */
.book-image:not([class*="book-image."]) {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
}

/* Enhanced Category Badges */
.book-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    color: white;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
}

.badge-bestseller {
    background: #ef4444;
}

.badge-literature {
    background: #8b5cf6;
}

.badge-travel-guide {
    background: #22c55e;
}

.badge-food-culture {
    background: #f59e0b;
}

.badge-history-architecture {
    background: #06b6d4;
}

.badge-mystery-crime {
    background: #dc2626;
}

.badge-outdoor-recreation {
    background: #16a34a;
}

.badge-souvenirs {
    background: #f97316;
}

/* Bestseller Badge (top-right) */
.bestseller-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Book Content */
.book-content {
    padding: 20px;
}

.book-header {
    margin-bottom: 12px;
}

.book-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.4;
}

.book-author {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

.book-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating Display */
.book-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars i {
    color: var(--star-gold);
    font-size: 0.875rem;
}

.rating-number {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.review-count {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Book Features */
.book-features {
    margin-bottom: 16px;
}

.book-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.book-features li {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.book-features li:before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1rem;
}

/* Pricing */
.book-pricing {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.original-price {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.savings {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Buy Button */
.buy-amazon-btn {
    width: 100%;
    background: #ff9500;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.buy-amazon-btn:hover {
    background: #e68900;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.buy-amazon-btn i {
    font-size: 0.8rem;
}

/* About Store Section */
.about-store {
    background: var(--background-light);
    padding: 4rem 0;
    margin-top: 4rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature i {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Affiliate Disclaimer */
.affiliate-disclaimer {
    background: rgba(34, 197, 94, 0.05);
    padding: 2rem 0;
    border-top: 1px solid rgba(34, 197, 94, 0.1);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.disclaimer-content i {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.disclaimer-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gift-store-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .gift-store-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .disclaimer-content {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .gift-store-grid {
        grid-template-columns: 1fr;
    }
    
    .book-content {
        padding: 16px;
    }
    
    .category-filters .filter-btn {
        width: 100%;
        max-width: 280px;
    }
}