/* PCR COOKIE CONSENT */
.pcr-cookie-root [hidden] { display: none !important; }

.pcr-cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 99990;
    padding: 16px;
    background: rgba(3,25,39,.96);
    border-top: 3px solid #ba1200;
    box-shadow: 0 -20px 60px rgba(0,0,0,.24);
    color: #fff;
}

.pcr-cookie-banner__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 22px;
    align-items: center;
}

.pcr-cookie-banner__copy h2,
.pcr-cookie-modal h2 {
    margin: 4px 0 8px;
    font-size: 1.45rem;
    line-height: 1.15;
    font-weight: 900;
}

.pcr-cookie-banner__copy p,
.pcr-cookie-category p,
.pcr-cookie-note {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.55;
}

.pcr-cookie-small {
    margin-top: 8px !important;
    font-size: .875rem;
}

.pcr-cookie-small a,
.pcr-cookie-note a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pcr-cookie-kicker {
    margin: 0 !important;
    color: #ff7b70 !important;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.pcr-cookie-actions,
.pcr-cookie-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.pcr-cookie-btn {
    min-height: 48px;
    border-radius: 12px;
    padding: 12px 18px;
    border: 2px solid transparent;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.pcr-cookie-btn--accept {
    background: #ba1200;
    color: #fff;
    border-color: #ba1200;
}

.pcr-cookie-btn--reject {
    background: #fff;
    color: #031927;
    border-color: #fff;
}

.pcr-cookie-btn--manage {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.45);
}

.pcr-cookie-settings-trigger {
    position: fixed;
    left: 14px;
    bottom: 76px;
    z-index: 99970;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: #031927;
    color: #fff;
    padding: 9px 13px;
    font: inherit;
    font-size: .76rem;
    font-weight: 900;
    box-shadow: 0 8px 30px rgba(0,0,0,.22);
    cursor: pointer;
}

.pcr-cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(1,12,20,.72);
    backdrop-filter: blur(5px);
}

.pcr-cookie-modal__panel {
    width: min(680px, 100%);
    max-height: 90vh;
    overflow: auto;
    border-radius: 24px;
    background: #fff;
    color: #031927;
    box-shadow: 0 30px 100px rgba(0,0,0,.38);
    padding: 24px;
}

.pcr-cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.pcr-cookie-close {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid #d7dde2;
    background: #f5f7f8;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.pcr-cookie-category {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.pcr-cookie-category h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 900;
}

.pcr-cookie-category p {
    color: #64748b;
    font-size: .92rem;
}

.pcr-cookie-always {
    border-radius: 999px;
    background: #e8eef1;
    color: #031927;
    padding: 7px 10px;
    font-size: .72rem;
    font-weight: 900;
}

.pcr-cookie-switch {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.pcr-cookie-switch input {
    position: absolute;
    opacity: 0;
}

.pcr-cookie-switch > span:first-of-type {
    display: block;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #cbd5e1;
    transition: .2s ease;
    position: relative;
}

.pcr-cookie-switch > span:first-of-type::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: .2s ease;
}

.pcr-cookie-switch input:checked + span {
    background: #ba1200;
}

.pcr-cookie-switch input:checked + span::after {
    transform: translateX(22px);
}

.pcr-cookie-switch input:focus-visible + span {
    outline: 3px solid rgba(186,18,0,.28);
    outline-offset: 3px;
}

.pcr-cookie-note {
    margin: 4px 0 20px;
    border-radius: 14px;
    background: #f5f7f8;
    color: #475569;
    padding: 15px;
    font-size: .87rem;
}

.pcr-functional-placeholder {
    min-height: 430px;
    display: grid;
    place-items: center;
    padding: 28px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(3,25,39,.96), rgba(53,19,26,.92));
    color: #fff;
}

.pcr-functional-placeholder__inner {
    max-width: 440px;
}

.pcr-functional-placeholder__inner h3 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 900;
}

.pcr-functional-placeholder__inner p {
    margin: 12px 0 0;
    color: #d6dee4;
    line-height: 1.6;
}

.pcr-functional-placeholder__actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.pcr-functional-placeholder__actions button,
.pcr-functional-placeholder__actions a {
    border-radius: 11px;
    padding: 11px 15px;
    font-weight: 900;
    text-decoration: none;
}

.pcr-functional-placeholder__actions button {
    border: 0;
    background: #ba1200;
    color: #fff;
    cursor: pointer;
}

.pcr-functional-placeholder__actions a {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

@media (min-width: 760px) {
    .pcr-cookie-banner__inner {
        grid-template-columns: minmax(0,1fr) auto;
    }

    .pcr-cookie-actions {
        grid-template-columns: repeat(3, minmax(150px, auto));
    }

    .pcr-cookie-modal__actions {
        grid-template-columns: 1fr 1fr;
    }

    .pcr-cookie-settings-trigger {
        bottom: 16px;
        left: 16px;
    }
}

/* PCR-COOKIE-BOOT-FIX
   Prevent any unstyled flash before the consent JS initialises. */
#pcr-cookie-settings-trigger[hidden],
#pcr-cookie-banner[hidden],
#pcr-cookie-settings[hidden] {
    display: none !important;
}

#pcr-cookie-settings-trigger {
    position: fixed !important;
    left: 16px !important;
    bottom: 16px !important;
    top: auto !important;
    right: auto !important;
    z-index: 99970 !important;
}

/* PCR-COOKIE-NATIVE-HIDDEN-GUARD */
#pcr-cookie-consent [hidden] {
    display: none !important;
}
