/* Dispergo Wholesale: GDPR Compliance Pro "Custom CSS" (GDPR Config > Tools > Custom CSS and JavaScript).
   Applied by tools/gdpr_setup.php --css=... Theme colours: black #121417, teal #0a766c (white on teal 5.6:1). */

/* ICO: refusing is as easy and as visible as accepting: Reject all looks exactly like Accept all */
.gdpr-v3 #reject-all-gdpr {
    border-color: #0a766c;
    background: #0a766c;
    color: #fff;
}
.gdpr-v3 .gdpr-v3__title {
    font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    font-size: 22px;
}
.gdpr-v3 a {
    color: #0b5d56;
}

/* Phones: a shorter sheet; Reject all and Accept all side by side, Customise under them */
@media only screen and (max-width: 649px) {
    .gdpr-v3 {
        max-height: 80vh;
        max-height: 80dvh;
    }
    .gdpr-v3__head {
        display: none;
    }
    .gdpr-v3__foot {
        grid-template-columns: 1fr 1fr;
    }
    .gdpr-v3__foot .gdpr-v3-btn--customize,
    .gdpr-v3__foot #close-gdpr-consent {
        grid-column: 1 / -1;
        order: 3;
    }
}

/* The "Cookie settings" link (added at the end of the page) as the last line of the black footer */
body > a.show-gdpr-modal {
    display: block;
    width: 100%;
    max-height: none !important;
    margin: 0;
    padding: 0 max(16px, calc((100% - 1280px) / 2)) 22px;
    border: 0;
    border-radius: 0;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
}
body > a.show-gdpr-modal:hover,
body > a.show-gdpr-modal:focus-visible {
    text-decoration-thickness: 2px;
}

/* Newsletter block: the consent box next to its text, readable on the light background */
.ps-17-newsletter-checkbox {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 8px;
}
.ps-17-newsletter-checkbox input[type="checkbox"] {
    flex: none;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #0a766c;
}
.ps-17-newsletter-checkbox label {
    color: #3a4048;
    font-size: 14px;
    line-height: 1.45;
}
.ps-17-newsletter-checkbox label a {
    color: #0b5d56;
    text-decoration: underline;
}
