/* Gesloten-/vakantiemodus — strips & popup (Printics tokens) */
.closed-mode-popup .modal-content {
    border: 0;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}
.closed-mode-popup-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: rgba(var(--printics-primary-rgb, 61, 96, 146), 0.12);
    color: var(--printics-primary, #3d6092);
}
.closed-mode-phase-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.55rem;
    border-radius: 0.35rem;
}
.closed-mode-phase-badge--info {
    background: #e8f1fb;
    color: #1e4a7a;
}
.closed-mode-phase-badge--warning {
    background: #fff4e5;
    color: #8a4b00;
}
.closed-mode-countdown {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.closed-mode-sections {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.75rem;
}
.closed-mode-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}
.closed-mode-sections--compact .closed-mode-section-title {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
}
.closed-mode-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.closed-mode-facts--mixed {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
}
.closed-mode-facts--mixed .closed-mode-fact {
    align-self: flex-start;
}
.closed-mode-fact {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.closed-mode-fact-prose {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 0.45rem;
    font-size: 0.875rem;
    line-height: 1.45;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}
.closed-mode-fact-prose i {
    margin-top: 0.15rem;
    flex-shrink: 0;
    opacity: 0.85;
}
.closed-mode-fact-prose--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.closed-mode-fact-prose--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}
.closed-mode-fact-prose--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}
.closed-mode-fact-prose--pulse {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
    animation: closed-mode-fact-pulse 2.1s ease-in-out infinite;
}
.closed-mode-fact-prose--pulse i {
    color: #dc2626;
    opacity: 1;
}
@keyframes closed-mode-fact-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.28);
        border-color: #fca5a5;
    }
    50% {
        box-shadow: 0 0 0 5px rgba(220, 38, 38, 0);
        border-color: #ef4444;
    }
}
@media (prefers-reduced-motion: reduce) {
    .closed-mode-fact-prose--pulse {
        animation: none;
        border-color: #ef4444;
    }
}
.closed-mode-fact--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
.closed-mode-fact--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}
.closed-mode-fact--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}
.closed-mode-fact i {
    opacity: 0.85;
}

/* Compact strips */
.closed-mode-strip {
    border: 0;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.closed-mode-strip:hover,
.closed-mode-strip:focus-visible {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
    outline: none;
}
.closed-mode-strip--cart {
    background: linear-gradient(135deg, #fffaf3 0%, #fff 55%);
    border: 1px solid #fde68a !important;
}
.closed-mode-strip--cart.is-blocked {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 60%);
    border-color: #fdba74 !important;
}
.closed-mode-strip--form {
    background: #f8fafc;
    border: 1px solid #e2e8f0 !important;
}
.closed-mode-strip--footer {
    border-radius: 0;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    cursor: pointer;
    margin: -1.5rem -12px 1.25rem;
    padding: 0.65rem 1rem;
}
@media (min-width: 992px) {
    .closed-mode-strip--footer {
        margin-left: 0;
        margin-right: 0;
        border-radius: 0.5rem;
    }
}
.closed-mode-strip--footer .closed-mode-fact {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #f1f5f9;
}
.closed-mode-strip--footer .closed-mode-countdown,
.closed-mode-strip--footer strong {
    color: #fff;
}

/* Licht thema: footer is een lichte blauwtint, donkere strip valt daar uit. */
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer {
    border-radius: 0.75rem;
    border: 1px solid var(--tv-border-strong, rgba(61, 96, 146, 0.18)) !important;
    border-left: 4px solid var(--printics-primary, #3d6092) !important;
    background: var(--tv-bg-card, #fcfdff);
    color: #3d4a63;
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem 0.85rem 1.05rem;
    box-shadow: 0 1px 2px rgba(20, 32, 50, 0.04);
}
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer:hover,
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer:focus-visible {
    box-shadow: 0 6px 18px rgba(20, 32, 50, 0.08);
    border-color: rgba(var(--printics-primary-rgb, 61, 96, 146), 0.32) !important;
    border-left-color: var(--printics-primary-dark, #304977) !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer p,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer div,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer span,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer small {
    color: #3d4a63 !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer strong {
    color: var(--tv-text, #151a24) !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer strong .bi,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-countdown .bi {
    color: var(--printics-primary, #3d6092) !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-countdown,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-countdown span {
    color: var(--tv-text, #151a24) !important;
    font-weight: 600;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-strip-cta {
    color: var(--printics-primary-dark, #304977) !important;
    font-weight: 600;
}
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer .closed-mode-fact {
    background: #f4f7fb;
    border-color: rgba(var(--printics-primary-rgb, 61, 96, 146), 0.16);
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact span {
    color: #334155 !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer .closed-mode-fact--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact--success,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact--success span {
    color: #065f46 !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer .closed-mode-fact--warning {
    background: #fff7ed;
    border-color: #fed7aa;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact--warning,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact--warning span {
    color: #9a3412 !important;
}
html:not(.calc-fullscreen-app)[data-theme="light"] .closed-mode-strip--footer .closed-mode-fact--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact--info,
html:not(.calc-fullscreen-app)[data-theme="light"] footer.footer .closed-mode-strip--footer .closed-mode-fact--info span {
    color: #1e40af !important;
}
.closed-mode-strip-cta {
    font-size: 0.8125rem;
    white-space: nowrap;
}
.closed-mode-contact-lines {
    margin: 0;
    padding-left: 1.1rem;
}
.closed-mode-contact-lines li {
    margin-bottom: 0.15rem;
}
