.junu-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #ffffff;
    border: none;
    border-top: 1px solid #ead9d9;
    border-radius: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.14);
    padding: 18px 24px;
    display: none;
}

.junu-cookie-banner.is-visible {
    display: block;
}

.junu-cookie-banner-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.junu-cookie-banner-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.junu-cookie-banner-copy h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #881B1B;
    font-weight: 700;
}

.junu-cookie-banner-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #555555;
}

.junu-cookie-banner-copy a {
    color: #881B1B;
    font-weight: 600;
    text-decoration: underline;
}

.junu-cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.junu-cookie-btn {
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}

.junu-cookie-btn-primary {
    background: #881B1B;
    color: #ffffff;
}

.junu-cookie-btn-primary:hover {
    background: #6f1515;
}

.junu-cookie-btn-secondary {
    background: #f5f5f5;
    color: #333333;
    border: 1px solid #ddd;
}

.junu-cookie-btn-secondary:hover {
    background: #eeeeee;
}

.junu-cookie-btn-outline {
    background: #ffffff;
    color: #881B1B;
    border: 1px solid #881B1B;
}

.junu-cookie-btn-outline:hover {
    background: #fff5f5;
}

.junu-cookie-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1085;
    display: none;
}

.junu-cookie-modal-backdrop.is-visible {
    display: block;
}

.junu-cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 24px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #ffffff;
    border-radius: 16px;
    z-index: 1090;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    display: none;
}

.junu-cookie-modal.is-visible {
    display: block;
}

.junu-cookie-modal-header,
.junu-cookie-modal-footer {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.junu-cookie-modal-footer {
    border-bottom: none;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.junu-cookie-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #881B1B;
}

.junu-cookie-modal-body {
    padding: 18px 20px;
}

.junu-cookie-option {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.junu-cookie-option:last-child {
    margin-bottom: 0;
}

.junu-cookie-option-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.junu-cookie-option-head strong {
    color: #222;
    font-size: 15px;
}

.junu-cookie-option p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.junu-cookie-switch {
    position: relative;
    width: 44px;
    height: 24px;
    display: inline-block;
}

.junu-cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.junu-cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: #ccc;
    border-radius: 999px;
    transition: .2s;
}

.junu-cookie-slider:before {
    position: absolute;
    content: '';
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.junu-cookie-switch input:checked + .junu-cookie-slider {
    background: #881B1B;
}

.junu-cookie-switch input:checked + .junu-cookie-slider:before {
    transform: translateX(20px);
}

.junu-cookie-switch input:disabled + .junu-cookie-slider {
    background: #a36a6a;
    cursor: not-allowed;
    opacity: .85;
}

.junu-cookie-manage-link {
    color: #881B1B;
    font-weight: 600;
    text-decoration: none;
}

.junu-cookie-manage-link:hover {
    text-decoration: underline;
    color: #6f1515;
}

@media (max-width: 991px) {
    .junu-cookie-banner {
        padding: 16px;
    }

    .junu-cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .junu-cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .junu-cookie-btn {
        flex: 1 1 auto;
        text-align: center;
    }
}
