html.kro-restaurant-closed body.kro-restaurant-closed-lock {
    overflow: hidden !important;
}

html.kro-restaurant-closed body > *:not(#kro-store-closed-overlay):not(script):not(style):not(link) {
    filter: blur(7px) grayscale(.15) !important;
    transform: translateZ(0);
    pointer-events: none !important;
    user-select: none !important;
    transition: filter .25s ease;
}

#kro-store-closed-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: grid;
    place-items: center;
    padding: 24px;
    font-family: inherit;
    box-sizing: border-box;
}

#kro-store-closed-overlay,
#kro-store-closed-overlay * {
    box-sizing: border-box;
}

.kro-closed-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 12, 20, .62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.kro-closed-card {
    position: relative;
    width: min(520px, 100%);
    padding: 34px 30px 28px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 28px;
    background: rgba(255, 255, 255, .96);
    color: #111827;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .34);
    animation: kroClosedCardIn .28s ease both;
}

.kro-closed-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: -72px auto 18px;
    border: 6px solid rgba(255, 255, 255, .95);
    border-radius: 50%;
    background: #111827;
    font-size: 38px;
    box-shadow: 0 16px 38px rgba(17, 24, 39, .25);
}

.kro-closed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 5px 14px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: #be123c;
    font-size: 13px;
    font-weight: 800;
}

.kro-closed-restaurant-name {
    margin: 2px 0 4px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.kro-closed-card h2 {
    margin: 4px 0 10px;
    color: #111827;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.25;
    font-weight: 900;
}

.kro-closed-card p {
    margin: 0 auto;
    max-width: 420px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.9;
}

.kro-closed-divider {
    width: 60px;
    height: 4px;
    margin: 20px auto 14px;
    border-radius: 99px;
    background: #111827;
}

.kro-closed-hint {
    display: block;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
}

#kro-check-store-status {
    min-width: 190px;
    min-height: 46px;
    margin-top: 20px;
    padding: 10px 20px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .2);
}

#kro-check-store-status:hover {
    transform: translateY(-1px);
}

#kro-check-store-status:disabled {
    opacity: .65;
    cursor: wait;
}

.kro-purchase-disabled {
    opacity: .45 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

@keyframes kroClosedCardIn {
    from { opacity: 0; transform: translateY(18px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 600px) {
    #kro-store-closed-overlay { padding: 20px; }
    .kro-closed-card { padding: 30px 20px 24px; border-radius: 23px; }
    .kro-closed-icon { width: 68px; height: 68px; margin-top: -64px; font-size: 33px; }
}

/* XStore compatibility: Quick View, Sticky Cart, off-canvas cart and fixed mobile panels. */
html.kro-restaurant-closed body.kro-xstore-compatible .template-container,
html.kro-restaurant-closed body.kro-xstore-compatible .header-wrapper,
html.kro-restaurant-closed body.kro-xstore-compatible .fixed-header,
html.kro-restaurant-closed body.kro-xstore-compatible .etheme-sticky-cart,
html.kro-restaurant-closed body.kro-xstore-compatible .et-off-canvas,
html.kro-restaurant-closed body.kro-xstore-compatible .et-mobile-panel-wrapper,
html.kro-restaurant-closed body.kro-xstore-compatible .quick-view-popup,
html.kro-restaurant-closed body.kro-xstore-compatible .cart-popup-container {
    filter: blur(7px) grayscale(.15) !important;
    pointer-events: none !important;
    user-select: none !important;
}

body.kro-xstore-compatible #kro-store-closed-overlay {
    filter: none !important;
    transform: none !important;
    pointer-events: auto !important;
}
