/* Standalone cookie notice. No dependency on Bootstrap's modal or button styles. */
.shop-cookies {
    position: fixed;
    right: 24px;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 1040;
    width: min(500px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    overflow: auto;
    box-sizing: border-box;
    padding: 25px;
    border: 1px solid #d6e2dc;
    border-radius: 20px;
    background: #fffefa;
    color: #142c28;
    box-shadow: 0 16px 60px #0b1f1e26, 0 2px 8px #0b1f1e0d;
    font-family: 'Source Sans Pro', system-ui, sans-serif;
    animation: shop-cookie-enter 160ms ease-out;
}
.shop-cookies[hidden] { display: none !important; }
.shop-cookies__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.shop-cookies__icon { flex: 0 0 50px; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: #eaf2ed; color: #0f4a43; }
.shop-cookies__eyebrow { display: block; margin-bottom: 4px; color: #42645a; font-size: 11px; line-height: 1.3; font-weight: 700; letter-spacing: 1.65px; }
.shop-cookies h2 { margin: 0; color: #142c28; font-family: 'Playfair Display', Georgia, serif; font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.5px; }
.shop-cookies__summary { margin: 0 0 20px; color: #485952; font-size: 16px; line-height: 1.5; }
.shop-cookies a:not(.shop-cookie-button), .shop-cookie-dialog a { color: #0f4a43; text-decoration: underline; text-underline-offset: 3px; }
.shop-cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-cookies__customise { grid-column: 1 / -1; }
.shop-cookie-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    box-sizing: border-box;
    padding: 11px 19px;
    border: 1px solid #0f4a43;
    border-radius: 11px;
    font: 600 16px/1.35 'Source Sans Pro', system-ui, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 120ms, color 120ms;
}
.shop-cookie-button--filled { background: #0f4a43; color: #fff; }
.shop-cookie-button--filled:hover { background: #0b3933; color: #fff; }
.shop-cookie-button--outline { background: transparent; color: #0f4a43; }
.shop-cookie-button--outline:hover { background: #edf4ef; color: #0f4a43; }
.shop-cookies :focus-visible, .shop-cookie-dialog :focus-visible, #cookie-settings-trigger:focus-visible { outline: 3px solid #0f5e56; outline-offset: 4px; }
.shop-cookie-dialog {
    width: min(520px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: auto;
    padding: 28px;
    overflow: auto;
    box-sizing: border-box;
    border: 1px solid #d6e2dc;
    border-radius: 22px;
    background: #fffefa;
    color: #142c28;
    box-shadow: 0 24px 90px #0b1f1e33;
    font-family: 'Source Sans Pro', system-ui, sans-serif;
}
.shop-cookie-dialog::backdrop { background: #0b1f1e70; backdrop-filter: blur(2px); }
.shop-cookie-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.shop-cookie-dialog h2 { margin: 0; font: 600 29px/1.2 'Playfair Display', Georgia, serif; color: #142c28; letter-spacing: -.5px; }
.shop-cookie-dialog h2:focus { outline: none; }
.shop-cookie-close { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; margin: -8px -10px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #36534a; cursor: pointer; }
.shop-cookie-close:hover { background: #edf4ef; }
.shop-cookie-dialog__intro { margin: 0 0 22px; color: #485952; font-size: 16px; line-height: 1.5; }
.shop-cookie-category { margin-bottom: 12px; padding: 16px; border: 1px solid #dce6e0; border-radius: 13px; background: #fff; }
.shop-cookie-category__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.shop-cookie-category h3 { margin: 0; color: #142c28; font-size: 16px; line-height: 1.35; font-weight: 700; }
.shop-cookie-category p { margin: 0; color: #485952; font-size: 15px; line-height: 1.5; }
.shop-cookie-option { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; color: #142c28; font-size: 16px; font-weight: 700; cursor: pointer; }
.shop-cookie-option input { position: absolute; right: 0; width: 48px; height: 28px; margin: 0; opacity: 0; cursor: pointer; }
.shop-cookie-switch { display: block; flex: 0 0 48px; width: 48px; height: 28px; padding: 3px; border: 1px solid #71877d; border-radius: 30px; background: #edf1ed; pointer-events: none; box-sizing: border-box; }
.shop-cookie-switch::before { content: ''; display: block; width: 20px; height: 20px; border-radius: 50%; background: #53695f; transition: transform 120ms; }
.shop-cookie-option input:checked + .shop-cookie-switch { background: #0f4a43; border-color: #0f4a43; }
.shop-cookie-option input:checked + .shop-cookie-switch::before { background: #fff; transform: translateX(20px); }
.shop-cookie-option input:focus-visible + .shop-cookie-switch { outline: 3px solid #0f5e56; outline-offset: 4px; }
.shop-cookie-option input:disabled + .shop-cookie-switch { opacity: .55; }
.shop-cookie-category .shop-cookie-gpc { margin-top: 10px; font-size: 14px; }
.shop-cookie-dialog__current { margin: 16px 0; padding: 12px; border-radius: 10px; background: #edf4ef; color: #36534a; font-size: 14px; line-height: 1.5; }
.shop-cookie-badge { display: inline-block; padding: 4px 9px; border-radius: 6px; color: #46584f; background: #f0f2ee; font-size: 12px; line-height: 1.35; font-weight: 600; white-space: nowrap; }
.shop-cookie-badge--active { color: #20523e; background: #e5f0e8; }
.shop-cookie-dialog__remember { margin: 18px 0 22px; color: #59665e; font-size: 14px; line-height: 1.5; }
.shop-cookie-dialog__footer { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid #dce6e0; }
body.shop-cookie-dialog-open { overflow: hidden; }
.shop-cookie-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes shop-cookie-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) {
    .shop-cookies { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 20px; border-radius: 17px; }
    .shop-cookies h2 { font-size: 23px; }
    .shop-cookies__heading { gap: 12px; }
    .shop-cookies__summary { font-size: 15px; margin-bottom: 17px; }
    .shop-cookies__icon { flex-basis: 44px; width: 44px; height: 44px; border-radius: 13px; }
    .shop-cookie-dialog { padding: 22px; border-radius: 18px; }
    .shop-cookie-dialog h2 { font-size: 25px; }
}
@media (max-width: 340px) { .shop-cookies__actions { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .shop-cookies { animation: none; } .shop-cookie-button, .shop-cookie-switch::before { transition: none; } }
@media (forced-colors: active) { .shop-cookies, .shop-cookie-dialog, .shop-cookie-category, .shop-cookie-button, .shop-cookie-switch { border: 1px solid CanvasText; } .shop-cookie-option input { opacity: 1; z-index: 1; } .shop-cookie-switch { visibility: hidden; } }
