/*
 * Cookie consent banner (catalog/view/javascript/cookie-consent.js).
 * Loaded on every page, so every selector is scoped to .qe-cookie-banner and nothing
 * here can touch existing markup. Accept and Reject are deliberately styled the same:
 * UK guidance (ICO) expects rejecting to be as easy as accepting.
 */
.qe-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2147483000; /* above the LiveChat launcher */
    background: #1f1f1f;
    color: #fff;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
    font-size: 15px;
    line-height: 1.5;
}

.qe-cookie-banner[hidden] {
    display: none;
}

.qe-cookie-banner .qe-cookie-banner__inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}

.qe-cookie-banner p.qe-cookie-banner__text {
    flex: 1 1 420px;
    margin: 0;
    color: #fff;
}

.qe-cookie-banner a.qe-cookie-banner__link {
    color: #fff;
    text-decoration: underline;
}

.qe-cookie-banner .qe-cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}

.qe-cookie-banner button.qe-cookie-banner__button {
    min-width: 120px;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 0;
    background: #fff;
    color: #1f1f1f;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.qe-cookie-banner button.qe-cookie-banner__button:hover,
.qe-cookie-banner button.qe-cookie-banner__button:focus-visible {
    background: var(--tertiary-color, #ff5a00);
    border-color: var(--tertiary-color, #ff5a00);
    color: #fff;
}

@media (max-width: 480px) {
    .qe-cookie-banner .qe-cookie-banner__actions {
        width: 100%;
    }

    .qe-cookie-banner button.qe-cookie-banner__button {
        flex: 1 1 0;
        min-width: 0;
    }
}
