/* ===== MERCHANDISE BANNER ===== */
.merch-banner {
    position: relative;
    background-size: cover; /* Changed back to cover for wide images */
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
    text-align: center;
    padding: 2rem 1rem; /* Further reduced padding for wide aspect ratio */
    min-height: 550px; /* Reduced height to match 2600x400 aspect ratio */
    max-height: 800px; /* Cap the maximum height */
    height: auto; /* Ensure proper height calculation */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #122126; /* Using COOL BLACK as base */
    /* Maintain aspect ratio for wide banners */
    aspect-ratio: 6.5/1; /* Approximate 2600/400 ratio */
    /* Ensure banner stays within page boundaries */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Desktop-specific fixes to ensure proper banner height */
@media (min-width: 769px) {
    .merch-banner {
        min-height: 550px;
        max-height: 800px;
        height: auto;
    }
}

/* Background image with overlay - lighter for wide images */
.merch-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(18, 33, 38, 0.3), rgba(18, 33, 38, 0.4)); /* Even lighter overlay for wide images */
    z-index: 1;
}

/* Default background if no custom image - using fixed brand colors */
.merch-banner:not([style*="background-image"])::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #01BE6E 0%, #012A67 50%, #122126 100%);
    z-index: 0;
}

.merch-content {
    position: relative;
    z-index: 10; /* Higher z-index to ensure visibility */
    max-width: 800px; /* Reduced for wide banner proportion */
    margin: 0 auto;
    display: block; /* Ensure content is visible */
    visibility: visible; /* Force visibility */
}

.merch-content h2 {
    font-size: 2.2rem; /* Reduced for wide banner */
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
    color: #FFFFFF;
}

.merch-content p {
    font-size: 1.1rem; /* Reduced for wide banner */
    margin-bottom: 1.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF;
}

.merch-content .btn {
    font-size: 1rem; /* Adjusted button text size */
    padding: 0.8rem 1.8rem;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(1, 190, 110, 0.4);
    transition: all 0.3s ease;
    background-color: #01BE6E;
    color: #FFFFFF;
    border: none;
}

.merch-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 190, 110, 0.6);
    background-color: #00a858;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .merch-banner {
        min-height: 150px;
        max-height: 200px;
        padding: 1.5rem 1rem;
        aspect-ratio: 4/1; /* Slightly less wide on mobile */
    }
    
    .merch-content h2 {
        font-size: 1.6rem;
    }
    
    .merch-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .merch-content .btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.4rem;
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .merch-banner {
        min-height: 120px;
        max-height: 160px;
        aspect-ratio: 3.5/1; /* Even less wide on small screens */
    }
    
    .merch-content h2 {
        font-size: 1.3rem;
    }
    
    .merch-content p {
        font-size: 0.8rem;
    }
    
    .merch-content .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}