/* =========================================
   FOOTER STYLES
   ========================================= */
.main-footer {
    background-color: #1c4632;
    color: #efe5db;
    padding: 0 5% 20px; /* Adjusted padding to accommodate the banner */
    margin-top: 80px;
    position: relative;
}

/* =========================================
   CREATIVE SHOP BANNER
   ========================================= */
.footer-shop-banner {
    background-color: #efe5db;
    color: #1c4632;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 50px;
    transform: translateY(-50px); /* Pulls it up out of the footer slightly */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.shop-banner-content h4 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 5px;
    color: #1c4632;
    text-transform: uppercase;
}

.shop-banner-content p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.btn-shop {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1c4632;
    color: #efe5db;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border: 2px solid #1c4632;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-shop:hover {
    background-color: transparent;
    color: #1c4632;
}

/* =========================================
   MAIN FOOTER COLUMNS
   ========================================= */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    margin-top: -10px; /* Compensates for the banner offset */
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.brand-section {
    min-width: 300px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
    display: block;
}

.footer-section h4 {
    color: #efe5db;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #efe5db;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* =========================================
   NEWSLETTER
   ========================================= */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid #efe5db;
    background-color: transparent;
    color: #efe5db;
    font-family: 'Poppins', sans-serif;
    border-radius: 0; 
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(239, 229, 219, 0.7);
}

.newsletter-form input:focus {
    background-color: rgba(239, 229, 219, 0.1);
}

.newsletter-section .btn-secondary {
    width: 100%;
    text-align: center;
    border: 2px solid #efe5db; 
}

.newsletter-section .btn-secondary:hover {
    background-color: transparent;
    color: #efe5db;
}

/* =========================================
   BOTTOM BAR (SPLIT LEGAL & COPYRIGHT)
   ========================================= */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(239, 229, 219, 0.2);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #efe5db;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-copyright p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0;
}

/* =========================================
   FOOTER RESPONSIVENESS
   ========================================= */
@media (max-width: 900px) {
    .footer-shop-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-section {
        min-width: 100%;
    }
    
    .newsletter-form {
        align-items: center;
    }
    
    .newsletter-form input,
    .newsletter-section .btn-secondary {
        width: 100%;
        max-width: 400px;
    }

    /* Stacks legal and copyright cleanly on mobile */
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1c4632;
    color: #efe5db;
    padding: 20px 5%;
    box-sizing: border-box;
    z-index: 10000;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    border-top: 2px solid rgba(239, 229, 219, 0.2);
}

.cookie-banner.show {
    display: flex;
    align-items: center;
}

.cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 30px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #efe5db;
    opacity: 0.95;
}

.cookie-content a {
    color: #efe5db;
    text-decoration: underline;
    font-weight: 800;
}

.cookie-content a:hover {
    opacity: 0.75;
}

#acceptCookieBtn {
    background-color: #efe5db;
    color: #1c4632;
    border: 2px solid #efe5db;
    padding: 10px 30px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 0;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#acceptCookieBtn:hover {
    background-color: transparent;
    color: #efe5db;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}