.custom-hero-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 10px auto;
    gap: 40px;
}

.banner-slider {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    max-width: 320px;
    margin: 0;
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: block;
}

.banner-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.banner-content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #555;
}

.banner-buttons {
    display: flex;
    gap: 15px;
}

.button {
    padding: 10px 20px;
    border: 2px solid #000;
    border-radius: 25px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #000;
    color: #fff;
}

/* Favorite Brands and Favorite Shirts Sections */
.favorite-brands, .favorite-shirts {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.favorite-brands h2, .favorite-shirts h2, .latest-updates h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.brands-grid, .shirts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Favorite Brands Specific Styles */
.brand-item {
    text-align: center;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.brand-item img {
    width: 100%;
    height: 100px; /* Reduced height for smaller logo images */
    object-fit: contain; /* Changed to contain to fit logos without cropping */
    border-radius: 6px;
    margin-bottom: 10px;
}

.brand-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

/* Favorite Shirts Specific Styles */
.shirt-item {
    text-align: center;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 20px; /* Increased padding for larger vertical space */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px; /* Added min-height to make boxes larger vertically */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure content is spaced nicely */
}

.shirt-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.shirt-item img {
    width: 85%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    align-self: center;
}

.shirt-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.shirt-item .price {
    font-size: 14px;
    color: #777;
    font-weight: 500;
}

/* Latest Updates Section */
.latest-updates {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.instagram-feed {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-left: 18vw;
    margin-right: 18vw;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .custom-hero-banner {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
        margin: 5px auto;
    }

    .banner-slider {
        flex: 0 0 100%;
        max-width: 250px;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .banner-content {
        flex: 0 0 100%;
        align-items: center;
        text-align: center;
    }

    .banner-content h2 {
        font-size: 20px;
    }

    .banner-content p {
        font-size: 14px;
    }

    .banner-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .button {
        padding: 8px 15px;
        font-size: 12px;
    }

    .brands-grid, .shirts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .brand-item, .shirt-item {
        padding: 10px;
    }

    .brand-item img {
        height: 80px; /* Adjusted for mobile */
    }

    .shirt-item {
        min-height: 350px; /* Adjusted for mobile */
    }

    .shirt-item img {
        height: 200px; /* Adjusted for mobile */
    }

    .favorite-brands h2, .favorite-shirts h2, .latest-updates h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .custom-hero-banner {
        padding: 10px;
    }

    .banner-slider {
        max-width: 200px;
    }

    .banner-content h2 {
        font-size: 18px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .brand-item img {
        height: 60px; /* Further adjusted for smaller screens */
    }

    .shirt-item {
        min-height: 300px; /* Further adjusted for smaller screens */
    }

    .shirt-item img {
        height: 180px; /* Further adjusted for smaller screens */
    }

    .favorite-brands h2, .favorite-shirts h2, .latest-updates h2 {
        font-size: 18px;
    }
}