/* Slyde Recall Notice – tilbagekaldelses-popup. Alle klasser er prefixet for at undgå tema-konflikter. */

.slyde-recall-overlay[hidden] {
    display: none !important;
}

.slyde-recall-overlay {
    position: fixed;
    inset: 0;
    /* Over OceanWP cookie-baren (#ocn-cookie-wrap, z-index 999999) og Elementor-popups. */
    z-index: 1000001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.62);
    opacity: 0;
    transition: opacity 0.18s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.slyde-recall-overlay.is-open {
    opacity: 1;
}

html.slyde-recall-lock,
body.slyde-recall-lock {
    overflow: hidden;
}

.slyde-recall-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 660px;
    max-height: min(88vh, 820px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    transform: translateY(12px) scale(0.985);
    transition: transform 0.2s ease;
    font-family: inherit;
    color: #1f2933;
    line-height: 1.55;
    text-align: left;
}

.slyde-recall-overlay.is-open .slyde-recall-dialog {
    transform: none;
}

.slyde-recall-dialog::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #c1272d, #e8542f);
}

/* Header */
.slyde-recall-header {
    padding: 26px 60px 18px 28px;
    border-bottom: 1px solid #e7e9ee;
}

.slyde-recall-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #c1272d;
}

.slyde-recall-eyebrow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c1272d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

.slyde-recall-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #14181f;
}

.slyde-recall-close {
    position: absolute;
    top: 16px;
    right: 14px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #6b7280;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.slyde-recall-close:hover,
.slyde-recall-close:focus-visible {
    background: #f1f2f5;
    color: #14181f;
}

/* Body */
.slyde-recall-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 28px 24px;
    font-size: 15px;
}

.slyde-recall-body p {
    margin: 0 0 14px;
}

.slyde-recall-lead {
    font-weight: 600;
}

.slyde-recall-subtitle {
    margin: 22px 0 10px;
    font-size: 15px;
    font-weight: 700;
    color: #14181f;
}

.slyde-recall-products {
    margin: 0 0 16px;
    padding: 14px 18px 14px 34px;
    list-style: disc;
    background: #fdf3f2;
    border: 1px solid #f3d6d4;
    border-radius: 10px;
}

.slyde-recall-products li {
    margin: 0 0 6px;
}

.slyde-recall-products li:last-child {
    margin-bottom: 0;
}

.slyde-recall-steps {
    margin: 0 0 16px;
    padding-left: 22px;
    list-style: decimal;
}

.slyde-recall-steps li {
    margin: 0 0 8px;
    padding-left: 2px;
}

.slyde-recall-background {
    padding-left: 14px;
    border-left: 3px solid #e7e9ee;
    color: #4b5563;
}

.slyde-recall-contact a {
    color: #c1272d;
    text-decoration: underline;
}

/* Footer */
.slyde-recall-footer {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 16px 28px 18px;
    border-top: 1px solid #e7e9ee;
    background: #fafbfc;
}

.slyde-recall-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.slyde-recall-btn--primary {
    background: #14181f;
    color: #fff;
}

.slyde-recall-btn--primary:hover,
.slyde-recall-btn--primary:focus-visible {
    background: #2b323d;
    color: #fff;
}

.slyde-recall-btn--primary[disabled] {
    opacity: 0.6;
    cursor: default;
}

.slyde-recall-btn--ghost {
    background: #fff;
    border-color: #d3d7de;
    color: #14181f;
}

.slyde-recall-btn--ghost:hover,
.slyde-recall-btn--ghost:focus-visible {
    border-color: #14181f;
    color: #14181f;
}

.slyde-recall-hint {
    flex: 1 1 100%;
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #6b7280;
}

.slyde-recall-dialog :focus-visible {
    outline: 2px solid #c1272d;
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .slyde-recall-overlay {
        padding: 0;
        align-items: stretch;
        /* Ingen scroll på selve overlayet – dialogen fylder præcis viewporten. */
        overflow: hidden;
    }

    .slyde-recall-dialog {
        max-width: none;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        /* Ingen scale/slide på en fuldskærms-sheet – den ville stikke uden for
           viewporten under indgangs-animationen. Kun overlayets opacity fader. */
        transform: none;
    }

    .slyde-recall-header {
        padding: 22px 56px 16px 20px;
    }

    .slyde-recall-title {
        font-size: 20px;
    }

    .slyde-recall-body {
        padding: 18px 20px 20px;
    }

    .slyde-recall-footer {
        padding: 14px 20px 18px;
    }

    .slyde-recall-btn {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slyde-recall-overlay,
    .slyde-recall-dialog {
        transition: none;
    }
}
