/* Cookie consent banner styles */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 4px solid #cc0605;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
    z-index: 10000;
    animation: cookieSlideUp 0.3s ease-out;
}

@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 900px) {
    .cookie-banner-inner {
        grid-template-columns: 1.5fr auto;
        align-items: start;
    }
    .cookie-banner-actions {
        grid-row: 1 / 3;
        grid-column: 2;
    }
}

.cookie-banner-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #26262b;
    margin-bottom: 8px;
}

.cookie-banner-text p {
    font-size: 13px;
    line-height: 1.6;
    color: #4a4a4a;
    margin: 0;
}

.cookie-banner-text a {
    color: #cc0605;
    text-decoration: underline;
}

.cookie-banner-details {
    grid-column: 1 / -1;
    border-top: 1px solid #e5e7eb;
    padding-top: 16px;
}

.cookie-banner-details summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #cc0605;
    margin-bottom: 12px;
    user-select: none;
}

.cookie-banner-details[open] summary {
    margin-bottom: 16px;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-category {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: start;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.cookie-category input {
    grid-row: 1 / 3;
    margin-top: 2px;
    accent-color: #cc0605;
}

.cookie-category strong {
    color: #26262b;
    font-size: 14px;
}

.cookie-category span {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
}

@media (max-width: 899px) {
    .cookie-banner-actions {
        flex-direction: column-reverse;
    }
}

.cookie-btn {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #26262b;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}

.cookie-btn:hover {
    border-color: #cc0605;
    color: #cc0605;
}

.cookie-btn-accept-all {
    background: #cc0605;
    border-color: #cc0605;
    color: #fff;
}

.cookie-btn-accept-all:hover {
    background: #990404;
    border-color: #990404;
    color: #fff;
}

.cookie-btn-save {
    background: #f4f5f7;
}

.cookie-btn-reject {
    color: #666;
}
