/* Cookie consent GDPR — Hotel Stellato */
.stellato-cc-root {
    --cc-navy: #0a2540;
    --cc-gold: #deb666;
    --cc-text: #2d3748;
    --cc-muted: #5a6b7d;
    --cc-border: #dce3eb;
    --cc-bg: #fff;
    --cc-overlay: rgba(10, 37, 64, 0.45);
    font-family: Lato, Raleway, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: var(--cc-text);
    box-sizing: border-box;
}

.stellato-cc-root *,
.stellato-cc-root *::before,
.stellato-cc-root *::after {
    box-sizing: border-box;
}

.stellato-cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100050;
    background: var(--cc-bg);
    border-top: 3px solid var(--cc-gold);
    box-shadow: 0 -8px 32px rgba(10, 37, 64, 0.18);
    padding: 1.1rem 1.25rem 1.25rem;
    max-height: 90vh;
    overflow-y: auto;
}

.stellato-cc-banner[hidden],
.stellato-cc-panel[hidden],
.stellato-cc-overlay[hidden],
.stellato-cc-reopen[hidden] {
    display: none !important;
}

.stellato-cc-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.stellato-cc-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cc-navy);
}

.stellato-cc-text {
    margin: 0 0 1rem;
    color: var(--cc-muted);
    font-size: 0.95rem;
}

.stellato-cc-text a {
    color: var(--cc-navy);
    text-decoration: underline;
}

.stellato-cc-text a:hover,
.stellato-cc-text a:focus {
    color: var(--cc-gold);
}

.stellato-cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.stellato-cc-btn {
    border: 1px solid;
    border-radius: 1px;
    font-size: 0.9em;
    padding: 8px 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    line-height: 1.5;
    transition: all ease 0.25s;
    background: #fff;
    border-color: var(--cc-border);
    color: var(--cc-navy);
}

.stellato-cc-btn:hover,
.stellato-cc-btn:focus {
    background: #f7f9fc;
    border-color: var(--cc-navy);
    outline: none;
}

.stellato-cc-btn--primary {
    background: var(--cc-gold);
    border-color: var(--cc-gold);
    color: #fff;
}

.stellato-cc-btn--primary:hover,
.stellato-cc-btn--primary:focus {
    background: var(--cc-navy);
    border-color: var(--cc-navy);
    color: #fff;
}

.stellato-cc-btn--ghost {
    background: transparent;
}

.stellato-cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 100060;
    background: var(--cc-overlay);
}

.stellato-cc-panel {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100070;
    width: calc(100% - 2rem);
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--cc-bg);
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(10, 37, 64, 0.28);
    padding: 1.35rem 1.4rem 1.5rem;
}

.stellato-cc-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.stellato-cc-panel-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cc-navy);
}

.stellato-cc-close {
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--cc-muted);
    cursor: pointer;
    padding: 0 0.15rem;
}

.stellato-cc-close:hover,
.stellato-cc-close:focus {
    color: var(--cc-navy);
    outline: none;
}

.stellato-cc-category {
    border: 1px solid var(--cc-border);
    border-radius: 4px;
    padding: 0.9rem 1rem;
    margin: 1rem 0;
    background: #f7f9fc;
}

.stellato-cc-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.35rem;
}

.stellato-cc-category-row strong {
    color: var(--cc-navy);
    font-size: 0.98rem;
}

.stellato-cc-category p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--cc-muted);
}

.stellato-cc-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.stellato-cc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.stellato-cc-slider {
    position: absolute;
    inset: 0;
    background: #c5ced8;
    border-radius: 24px;
    cursor: not-allowed;
    transition: 0.2s;
}

.stellato-cc-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.2s;
}

.stellato-cc-switch input:checked + .stellato-cc-slider {
    background: var(--cc-gold);
}

.stellato-cc-switch input:checked + .stellato-cc-slider::before {
    transform: translateX(20px);
}

.stellato-cc-switch input:disabled + .stellato-cc-slider {
    opacity: 0.95;
}

.stellato-cc-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cc-navy);
    background: #e8eef4;
    border: 1px solid var(--cc-border);
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.stellato-cc-reopen {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 100040;
    background: var(--cc-navy);
    color: #fff;
    border: 0;
    border-radius: 2px;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.25);
    transition: background 0.2s;
}

.stellato-cc-reopen:hover,
.stellato-cc-reopen:focus {
    background: #163a5c;
    outline: none;
    color: #fff;
}

@media (max-width: 575px) {
    .stellato-cc-banner {
        padding: 1rem;
    }

    .stellato-cc-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .stellato-cc-btn {
        width: 100%;
        text-align: center;
    }

    .stellato-cc-reopen {
        left: 8px;
        bottom: 8px;
        font-size: 0.75rem;
        padding: 0.5rem 0.7rem;
    }
}
