/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: var(--white);
    padding: 1.5rem 0;
    z-index: 10000;
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-pink);
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-text p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary-pink);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: var(--primary-pink);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
}

.cookie-btn.decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn.decline:hover {
    background: var(--white);
    color: var(--deep-burgundy);
}

.cookie-btn.settings {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.cookie-btn.settings:hover {
    background: var(--primary-pink);
    color: var(--white);
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-modal h3 {
    color: var(--deep-burgundy);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--accent-rose);
    border-radius: 10px;
}

.cookie-category h4 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-pink);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
