/* ===== Cookie Consent Banner ===== */
.cc-banner {
    position: fixed;
    z-index: 1001;
    font-family: var(--default-font, 'Libre Franklin', sans-serif);
    animation: ccSlideUp .4s ease-out;
}
.cc-banner.cc-bottom-bar {
    bottom: 0; left: 0; right: 0;
}
.cc-banner.cc-bottom-left {
    bottom: 24px; left: 24px; max-width: 440px;
    border-radius: 12px;
}
.cc-banner.cc-bottom-right {
    bottom: 24px; right: 24px; max-width: 440px;
    border-radius: 12px;
}
.cc-banner-inner {
    background: var(--primary-color, #15100A);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.cc-bottom-bar .cc-banner-inner {
    border-top: 2px solid var(--main-color, #C4A07A);
}
.cc-bottom-left .cc-banner-inner,
.cc-bottom-right .cc-banner-inner {
    border-radius: 12px;
    border: 1px solid rgba(196,160,122,.25);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.cc-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.cc-icon {
    font-size: 24px;
    color: var(--main-color, #C4A07A);
    flex-shrink: 0;
    margin-top: 2px;
}
.cc-text p {
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    line-height: 1.55;
}
.cc-policy-link {
    color: var(--main-color, #C4A07A) !important;
    text-decoration: underline !important;
    font-weight: 600;
    white-space: nowrap;
}
.cc-policy-link:hover { opacity: .8; }
.cc-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.cc-bottom-left .cc-banner-actions,
.cc-bottom-right .cc-banner-actions {
    justify-content: stretch;
}
.cc-bottom-left .cc-banner-actions .cc-btn,
.cc-bottom-right .cc-banner-actions .cc-btn {
    flex: 1;
    justify-content: center;
}

/* ===== Buttons ===== */
.cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--heading-font, 'Libre Franklin', sans-serif);
    cursor: pointer;
    transition: all .25s ease;
    border: none;
    white-space: nowrap;
}
.cc-btn-accept {
    background: var(--main-color, #C4A07A);
    color: #fff;
    border: 1px solid var(--main-color, #C4A07A);
}
.cc-btn-accept:hover {
    background: transparent;
    color: var(--main-color, #C4A07A);
}
.cc-btn-reject {
    background: transparent;
    color: var(--main-color, #C4A07A);
    border: 1px solid var(--main-color, #C4A07A);
}
.cc-btn-reject:hover {
    background: var(--main-color, #C4A07A);
    color: #fff;
}
.cc-btn-settings {
    background: transparent;
    color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.2);
}
.cc-btn-settings:hover {
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.cc-btn-save {
    background: var(--main-color, #C4A07A);
    color: #fff;
    border: 1px solid var(--main-color, #C4A07A);
}
.cc-btn-save:hover {
    background: transparent;
    color: var(--main-color, #C4A07A);
}

/* ===== Settings Modal ===== */
.cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 1002;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ccFadeIn .25s ease;
}
.cc-modal {
    background: var(--primary-color, #15100A);
    border: 1px solid rgba(196,160,122,.2);
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
    animation: ccScaleIn .3s ease;
}
.cc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(196,160,122,.15);
}
.cc-modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.cc-modal-header h3 i {
    color: var(--main-color, #C4A07A);
    margin-right: 8px;
}
.cc-modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all .2s;
}
.cc-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,.1);
}
.cc-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}
.cc-modal-intro {
    color: rgba(255,255,255,.7);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.cc-category {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}
.cc-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cc-category-info strong {
    color: #fff;
    font-size: 14px;
}
.cc-category-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
}
.cc-badge-required {
    background: rgba(196,160,122,.15);
    color: var(--main-color, #C4A07A);
}
.cc-category-desc {
    color: rgba(255,255,255,.55);
    font-size: 12.5px;
    line-height: 1.45;
    margin: 8px 0 0;
}
.cc-category .form-check-input {
    width: 3em;
    height: 1.5em;
}
.cc-category .form-check-input:checked {
    background-color: var(--main-color, #C4A07A);
    border-color: var(--main-color, #C4A07A);
}
.cc-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid rgba(196,160,122,.15);
}

/* ===== Floating Button ===== */
.cc-floating-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color, #15100A);
    border: 1px solid rgba(196,160,122,.3);
    color: var(--main-color, #C4A07A);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.cc-floating-btn:hover {
    background: var(--main-color, #C4A07A);
    color: #fff;
    transform: scale(1.1);
}

/* ===== Animations ===== */
@keyframes ccSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes ccFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ccScaleIn {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .cc-banner.cc-bottom-bar .cc-banner-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px;
        gap: 16px;
    }
    .cc-banner.cc-bottom-bar .cc-banner-actions {
        flex-wrap: wrap;
    }
    .cc-banner.cc-bottom-bar .cc-banner-actions .cc-btn {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
    .cc-banner.cc-bottom-left,
    .cc-banner.cc-bottom-right {
        left: 12px; right: 12px; bottom: 12px; max-width: none;
    }
    .cc-modal {
        max-height: 90vh;
        border-radius: 12px;
    }
    .cc-modal-footer {
        flex-wrap: wrap;
    }
    .cc-modal-footer .cc-btn {
        flex: 1;
        justify-content: center;
    }
}
