/* 3D Hat Hero Section Styles */

.hero-3d-hat {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

#canvas-container-3d-hat {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content-3d-hat {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    pointer-events: none;
    margin-top: auto;
    padding-bottom: 60px;
    color: #fff;
}

.hero-content-3d-hat h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    animation: fadeInUp-3d-hat 1s ease-out;
    color: #fff !important;
}

.hero-content-3d-hat p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    animation: fadeInUp-3d-hat 1s ease-out 0.2s backwards;
}

.cta-button-3d-hat {
    display: inline-block;
    padding: 15px 40px;
    background: var( --moderncart-floating-icon-bg-color, var( --moderncart-primary-color, #705aef ) );
    color: white !important;
    text-decoration: none !important;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: all;
    animation: fadeInUp-3d-hat 1s ease-out 0.4s backwards;
    border: 1px solid #5c2ede;
}

.cta-button-3d-hat:hover {
    background: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.loading-3d-hat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    z-index: 10;
    color: #fff;
}

@keyframes fadeInUp-3d-hat {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content-3d-hat h1 {
        font-size: 2.5rem;
    }
    .hero-content-3d-hat p {
        font-size: 1.2rem;
    }
    .hero-content-3d-hat {
        padding-bottom: 40px;
    }
}