#sv-cookie-notice {
    --sv-cookie-teal: #1b404d;
    --sv-cookie-dark: #153039;
    --sv-cookie-gold: #c09c5b;
    --sv-cookie-cream: #f7f5f0;
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 2147483647;
    width: 460px;
    max-width: calc(100% - 48px);
    color: var(--sv-cookie-cream);
    font-family: "Mulish", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    text-align: left;
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
}

#sv-cookie-notice,
#sv-cookie-notice * {
    box-sizing: border-box;
}

#sv-cookie-notice [hidden] {
    display: none !important;
}

#sv-cookie-notice .sv-cookie-panel {
    pointer-events: auto;
    width: 100%;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    padding: 24px;
    border: 1px solid rgba(192, 156, 91, .36);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--sv-cookie-teal), var(--sv-cookie-dark));
    box-shadow: 0 14px 48px rgba(10, 29, 35, .25);
    animation: sv-cookie-enter .3s ease-out both;
}

#sv-cookie-notice .sv-cookie-heading-row {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 12px;
}

#sv-cookie-notice .sv-cookie-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--sv-cookie-gold);
    font-size: 24px;
}

#sv-cookie-notice #sv-cookie-heading {
    margin: 0;
    padding: 0;
    color: var(--sv-cookie-cream);
    font-family: "Marcellus", Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

#sv-cookie-notice .sv-cookie-message {
    margin: 0 0 20px;
    padding: 0;
    color: #e1e8e9;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#sv-cookie-notice .sv-cookie-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

#sv-cookie-notice .sv-cookie-choices {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

#sv-cookie-notice .sv-cookie-scope {
    margin: 0;
    padding: 0;
    color: #d0dddd;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

#sv-cookie-notice .sv-cookie-policy {
    align-self: flex-start;
    display: inline-block;
    color: #e0c38e;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .2s ease;
}

#sv-cookie-notice .sv-cookie-policy:hover {
    color: #fff;
}

#sv-cookie-notice button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 18px;
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--sv-cookie-gold);
    box-shadow: none;
    color: var(--sv-cookie-dark);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    transition: background-color .2s ease, border-color .2s ease;
}

#sv-cookie-notice button::before,
#sv-cookie-notice button::after {
    content: none;
}

#sv-cookie-notice .sv-cookie-accept:hover,
#sv-cookie-notice .sv-cookie-reject:hover {
    background: #d9b877;
}

#sv-cookie-notice svg {
    display: block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    fill: currentColor;
    stroke: none;
}

#sv-cookie-notice i,
#sv-cookie-notice .dashicons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: inherit;
    line-height: 1;
    flex-shrink: 0;
}

#sv-cookie-notice .sv-cookie-choices svg,
#sv-cookie-notice .sv-cookie-choices i {
    font-size: 15px;
}

#sv-cookie-notice .sv-cookie-close {
    flex: 0 0 32px;
    min-height: 32px;
    width: 32px;
    height: 32px;
    margin-left: auto;
    padding: 6px;
    border-radius: 50%;
    background: transparent;
    color: var(--sv-cookie-cream);
}

#sv-cookie-notice .sv-cookie-close:hover {
    background: rgba(255, 255, 255, .1);
}

#sv-cookie-notice .sv-cookie-reopen {
    pointer-events: auto;
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 12px;
    border-radius: 50%;
    border-color: rgba(192, 156, 91, .6);
    background: var(--sv-cookie-dark);
    box-shadow: 0 3px 14px rgba(10, 29, 35, .12);
    color: var(--sv-cookie-cream);
    font-size: 28px;
    font-weight: 500;
}

#sv-cookie-notice .sv-cookie-reopen:hover {
    background: var(--sv-cookie-teal);
    border-color: var(--sv-cookie-gold);
}

#sv-cookie-notice a:focus-visible,
#sv-cookie-notice button:focus-visible {
    outline: 2px solid #f5dfb6;
    outline-offset: 4px;
}

@keyframes sv-cookie-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
    #sv-cookie-notice {
        left: 12px;
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
    }
    #sv-cookie-notice .sv-cookie-panel {
        padding: 18px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px - env(safe-area-inset-bottom));
        border-radius: 15px;
    }
    #sv-cookie-notice #sv-cookie-heading { font-size: 20px; }
    #sv-cookie-notice .sv-cookie-message { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
    #sv-cookie-notice .sv-cookie-actions { gap: 12px; }
    #sv-cookie-notice .sv-cookie-choices { gap: 8px; }
    #sv-cookie-notice .sv-cookie-choices button { padding: 12px 6px; font-size: 12px; gap: 5px; }
    #sv-cookie-notice .sv-cookie-choices svg,
    #sv-cookie-notice .sv-cookie-choices i { font-size: 14px; }
    #sv-cookie-notice .sv-cookie-reopen { width: 52px; height: 52px; min-height: 52px; font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
    #sv-cookie-notice .sv-cookie-panel { animation: none; }
    #sv-cookie-notice button,
    #sv-cookie-notice a { transition: none; }
}
