.s360-privacy, #sale360-privacy-settings {
    font-family: inherit;
    font-size: 16px;
}
#sale360-cookie-notice, #sale360-cookie-dialog {
    box-sizing: border-box;
    color: #153248;
    background: #fff;
    border: 1px solid #b8cbda;
    border-radius: 14px;
    padding: 18px 20px;
    line-height: 1.48;
    text-align: start;
    box-shadow: 0 5px 28px rgb(16 46 69 / 20%);
}
#sale360-cookie-notice {
    position: fixed;
    z-index: 95;
    inset-inline-start: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(430px, calc(100% - 32px));
    max-height: 68dvh;
    overflow: auto;
}
.s360-privacy [hidden] { display: none !important; }
#sale360-cookie-dialog {
    position: fixed;
    inset: 0;
    width: min(480px, calc(100% - 24px));
    max-height: 85vh;
    max-height: 85dvh;
    margin: auto;
    overflow: auto;
}
#sale360-cookie-dialog:not([open]) { display: none; }
#sale360-cookie-dialog::backdrop { background: rgb(12 30 48 / 53%); }
.s360-privacy h2 { margin: 0 0 6px; font-size: 1.16em; font-weight: 700; color: #102e46; }
.s360-privacy p { margin: 0 0 12px; }
.s360-privacy .s360-privacy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.s360-privacy .s360-privacy-actions button {
    flex: 1 1 100px;
    min-height: 44px;
    padding: 7px 12px;
    color: #075486;
    background: #eef6fc;
    border: 1px solid #77a2bf;
    border-radius: 7px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.s360-privacy .s360-privacy-actions button:hover { background: #dcecf7; }
.s360-privacy .s360-privacy-link, #sale360-privacy-settings {
    color: #085782;
    background: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
.s360-privacy button.s360-privacy-link, #sale360-privacy-settings { min-height: 44px; padding: 6px 4px; }
#sale360-privacy-settings { display: block; width: max-content; max-width: 100%; margin: 8px auto; padding-inline: 14px; border-radius: 5px; }
.s360-privacy :is(button,a,input):focus-visible, #sale360-privacy-settings:focus-visible { outline: 3px solid #0875b5; outline-offset: 2px; }
.s360-cookie-option { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid #d7e0e7; }
div.s360-cookie-option { flex-direction: column; gap: 2px; }
.s360-cookie-option strong, .s360-cookie-option span span { display: block; }
.s360-cookie-option input { width: 20px; height: 20px; flex-shrink: 0; margin-block-start: 3px; accent-color: #075d91; }
.s360-cookie-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width: 640px) {
    #sale360-cookie-notice { inset-inline: 8px; width: auto; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); padding: 13px 15px 5px; }
    body:has(.s360-direct-checkout) #sale360-cookie-notice, .checkout-index-index #sale360-cookie-notice {
        bottom: calc(116px + env(safe-area-inset-bottom, 0px));
    }
}

/* Keep the first visit notice compact above the shop's mobile navigation. */
#sale360-cookie-notice {
    width: min(410px, calc(100% - 32px));
    padding: 6px 14px 12px;
    border: 1px solid #c4d3dd;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 18px rgb(20 48 68 / 16%);
}
#sale360-cookie-notice .s360-notice-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
#sale360-cookie-notice h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
}
#sale360-cookie-notice p {
    margin: 0 0 8px;
    color: #364e60;
    font-size: 14px;
    line-height: 1.4;
}
#sale360-cookie-notice button {
    box-sizing: border-box;
    margin: 0;
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    appearance: none;
    box-shadow: none;
}
#sale360-cookie-notice button.s360-privacy-link {
    min-width: 44px;
    min-height: 44px;
    flex: none;
    padding: 0 2px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #075782;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 3px;
}
#sale360-cookie-notice .s360-privacy-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
#sale360-cookie-notice .s360-privacy-actions button {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 6px 8px;
    border: 1px solid #006bb4;
    border-radius: 7px;
    background: #fff;
    color: #075782;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}
#sale360-cookie-notice button[data-consent-action="accept"] {
    background: #006bb4;
    color: #fff;
}
#sale360-cookie-notice button[data-consent-action="accept"]:is(:hover, :active) {
    background: #00588f;
    border-color: #00588f;
}
#sale360-cookie-notice button[data-consent-action="settings"]:is(:hover, :active) {
    background: #edf5fb;
}
#sale360-cookie-notice button:focus-visible {
    /* Show keyboard focus immediately on the Live theme's animated buttons. */
    transition: none;
    outline: 3px solid #102e46;
    outline-offset: 2px;
}
@media (max-width: 640px) {
    #sale360-cookie-notice {
        inset-inline: 10px;
        width: auto;
        padding: 3px 12px 10px;
    }
}
