/* ==========================================================================
Süti hozzájárulás (js/cookieconsent.js)
========================================================================== */
.cc-banner[hidden],
.cc-modal[hidden] {
    display: none !important;
}

.cc-banner,
.cc-modal {
    font-family: 'Nunito', sans-serif;
    color: #323a45;
}

/* ---------- Sáv ---------- */
.cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #fff;
    border-top: 4px solid #694431;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}
.cc-banner-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 18px 15px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.cc-banner-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
.cc-banner a,
.cc-modal a {
    color: #694431;
    text-decoration: underline;
}

/* ---------- Gombok ---------- */
.cc-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.cc-btn {
    min-width: 120px;
    padding: 9px 18px;
    font: 700 14px 'Nunito', sans-serif;
    color: #fff;
    background: #694431;
    border: 1px solid #82533c;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
}
.cc-btn:hover,
.cc-btn:focus {
    background: #82533c;
    border-color: #694431;
}
.cc-btn-link {
    color: #694431;
    background: transparent;
    border-color: #694431;
}
.cc-btn-link:hover,
.cc-btn-link:focus {
    color: #fff;
}
.cc-btn:focus,
.cc-close:focus,
.cc-switch input:focus + .cc-slider {
    outline: 2px solid #926650;
    outline-offset: 2px;
}

/* ---------- Beállítások ablak ---------- */
html.cc-modal-open,
html.cc-modal-open body {
    overflow: hidden;
}
.cc-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.cc-modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.6);
}
.cc-modal-box {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 100%;
    overflow-y: auto;
    padding: 30px;
    background: #fff;
    border-top: 4px solid #694431;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.cc-modal-box:focus {
    outline: none;
}
.cc-modal h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #694431;
}
.cc-close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 0 6px;
    font-size: 28px;
    line-height: 1;
    color: #778899;
    background: none;
    border: 0;
    cursor: pointer;
}
.cc-status {
    margin: 0 0 18px;
    padding: 10px 12px;
    font-size: 14px;
    background: #f6f7f9;
    border-left: 3px solid #926650;
}
.cc-category {
    padding: 14px 0;
    border-top: 1px solid #f0f2f4;
}
.cc-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.cc-category-title {
    font-weight: 700;
    font-size: 16px;
}
.cc-category-desc {
    margin: 6px 0 0 56px;
    font-size: 13px;
    color: #778899;
}
.cc-always,
.cc-state {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}
.cc-always,
.cc-on {
    color: #3c7a3c;
}
.cc-off {
    color: #a1a9b0;
}
.cc-more {
    margin: 4px 0 20px;
    font-size: 13px;
}

/* ---------- Kapcsoló ---------- */
.cc-switch {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}
.cc-switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.cc-slider {
    position: relative;
    flex: none;
    width: 44px;
    height: 24px;
    margin-right: 12px;
    background: #c0c0c0;
    border-radius: 12px;
    transition: background 0.2s;
}
.cc-slider:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: left 0.2s;
}
.cc-switch input:checked + .cc-slider {
    background: #694431;
}
.cc-switch input:checked + .cc-slider:after {
    left: 23px;
}
.cc-switch input:disabled + .cc-slider {
    opacity: 0.6;
}
.cc-switch input:disabled ~ .cc-category-title {
    cursor: default;
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
    .cc-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cc-banner-text {
        font-size: 13px;
    }
    .cc-actions {
        justify-content: stretch;
    }
    .cc-btn {
        flex: 1 1 auto;
        min-width: 0;
    }
    .cc-modal-box {
        padding: 24px 18px;
    }
    .cc-category-desc {
        margin-left: 0;
    }
}
