/* Enhanced Shop Styles for Kaemridge */

/* Shop Categories Navigation */
.shop-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* Merchandise Section */
.merchandise-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.product-info p {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #8b4513;
    margin-bottom: 1rem;
}

.product-colors {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.color-option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #8b4513;
}

/* Affiliate Sections */
.affiliate-section {
    padding: 4rem 0;
}

.amazon-section {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
}

.target-section {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccb 100%);
}

.premium-partners {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.partner-badge {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.target-badge {
    background: #dc3545;
}

.affiliate-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.affiliate-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.affiliate-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff9500;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.target-exclusive {
    background: #cc0000;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Affiliate Buttons */
.btn-amazon {
    background: linear-gradient(135deg, #ff9500 0%, #ff7700 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%);
    transform: translateY(-2px);
    color: white;
}

.btn-target {
    background: linear-gradient(135deg, #cc0000 0%, #aa0000 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-target:hover {
    background: linear-gradient(135deg, #aa0000 0%, #880000 100%);
    transform: translateY(-2px);
    color: white;
}

.btn-partner {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-partner:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
    transform: translateY(-2px);
    color: white;
}

/* Premium Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-brand {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.partner-brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #8b4513;
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.brand-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2c3e50;
    margin: 0;
}

.discount-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-products {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.mini-product {
    flex: 1;
    text-align: center;
}

.mini-product img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.mini-product span {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Enhanced Modal */
.modal-body .next-steps ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.modal-body .next-steps ul li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-products {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .partner-brand {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .shop-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 200px;
        text-align: center;
    }
    
    .brand-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Animation for scroll-triggered elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card,
.affiliate-product-card,
.partner-brand {
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover effects for interactive elements */
.affiliate-product-card .product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 149, 0, 0.1), rgba(255, 119, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.affiliate-product-card:hover .product-image::after {
    opacity: 1;
}

/* Special styling for Amazon and Target sections */
.amazon-section .affiliate-product-card {
    border-top: 3px solid #ff9500;
}

.target-section .affiliate-product-card {
    border-top: 3px solid #cc0000;
}

.premium-partners .partner-brand {
    border-top: 3px solid #28a745;
}

