.sjlc-consent {
    position: fixed;
    z-index: 10000;
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: 760px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid #c8c8c8;
    border-radius: 6px;
    background: #ffffff;
    color: #222222;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
    font-family: Arial, sans-serif;
}

.sjlc-consent[hidden],
.sjlc-consent [hidden] {
    display: none !important;
}

.sjlc-consent h2 {
    margin: 0 0 8px;
    color: #222222;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
}

.sjlc-consent p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

.sjlc-consent a {
    color: #8a1717;
    text-decoration: underline;
}

.sjlc-consent__summary {
    display: flex;
    align-items: center;
    gap: 18px;
}

.sjlc-consent__copy {
    flex: 1 1 auto;
}

.sjlc-consent__actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
}

.sjlc-consent__button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #4d4d4d;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    cursor: pointer;
}

.sjlc-consent__button:focus {
    outline: 3px solid #f0b429;
    outline-offset: 2px;
}

.sjlc-consent__button--primary {
    border-color: #8a1717;
    background: #8a1717;
    color: #ffffff;
}

.sjlc-consent__button--secondary {
    background: #ffffff;
    color: #222222;
}

.sjlc-consent__preferences h2 {
    margin-bottom: 12px;
}

.sjlc-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-top: 1px solid #dddddd;
}

.sjlc-consent__option span {
    display: block;
}

.sjlc-consent__option small {
    display: block;
    margin-top: 3px;
    color: #555555;
    font-size: 13px;
    line-height: 1.35;
}

.sjlc-consent__option input {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.sjlc-cookie-settings-link {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 700px) {
    .sjlc-consent {
        right: 8px;
        bottom: 8px;
        left: 8px;
        padding: 14px;
    }

    .sjlc-consent__summary {
        display: block;
    }

    .sjlc-consent__actions {
        margin-top: 14px;
        flex-wrap: wrap;
    }

    .sjlc-consent__button {
        flex: 1 1 130px;
    }
}
