/* JOUWMOMENT - LAUNCH OPTIMIZATION */

:focus-visible {
    outline: 2px solid #A36B50;
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.jm-form,
.jm-columns > *,
.cart-summary,
.admin-panel,
.jm-record {
    min-width: 0;
    overflow-wrap: anywhere;
}

.jm-form textarea {
    resize: vertical;
    min-height: 120px;
}

.jm-form input,
.jm-form select,
.jm-form textarea {
    box-sizing: border-box;
    max-width: 100%;
}

.jm-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.jm-button,
.jm-form button,
.menu-toggle,
.header-cart {
    min-height: 44px;
}

.header-cart,
.menu-toggle {
    min-width: 44px;
}

#jme-list,
#jm-orders,
#jm-requests {
    overflow-wrap: anywhere;
}

@media (max-width: 800px) {

    .jm-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .jm-form input:not([type="checkbox"]),
    .jm-form select,
    .jm-form textarea {
        font-size: 16px;
    }

    .jm-form button,
    .jm-form .jm-button {
        width: 100%;
    }

    .jm-hero h1 {
        font-size: clamp(34px, 8vw, 58px);
    }

    .jm-section h2 {
        font-size: clamp(25px, 6vw, 32px);
    }

    .jm-form {
        padding: 20px;
    }

    .admin-panel {
        max-width: 100%;
    }

    .admin-panel svg {
        max-width: 100%;
    }

    #jme-search,
    #jme-filter,
    #jme-refresh {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto !important;
    }

    .cart-toast,
    .cart-bump,
    .menu-toggle {
        animation: none !important;
        transition: none !important;
    }
}
.event-card > a {display:flex;flex-direction:column;height:auto;}
.event-card img.event-card-image {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;}
.event-card .event-card-content {display:block;position:relative;height:auto;padding:24px;visibility:visible;opacity:1;}

.events-page .event-card img.event-card-image {height:auto;aspect-ratio:4/3;}
.events-page .event-card .event-card-content {height:auto;position:relative;}

.jm-whatsapp{position:fixed;bottom:20px;right:20px;z-index:90;background:#167c43;color:white!important;padding:12px 18px;border-radius:30px;text-decoration:none;box-shadow:0 3px 14px #0003;font-weight:600;}

.jm-coupon-form {display:grid;gap:10px;padding:12px 0;}
#jm-coupon {width:100%;padding:12px;border:1px solid #c9b8ad;border-radius:6px;font:inherit;background:#fff;color:#30251f;}
.jm-coupon-actions {display:flex;flex-wrap:wrap;gap:10px;}
.jm-coupon-actions button {flex:1 1 110px;width:auto;min-height:44px;padding:10px 12px;border:1px solid #80553e;border-radius:6px;font:inherit;font-weight:600;cursor:pointer;}
#jm-coupon-apply {background:#80553e;color:white;}
#jm-coupon-clear {background:white;color:#80553e;}
#jm-coupon-apply:hover {background:#68432f;}
#jm-coupon-clear:hover {background:#f5eee8;}
#jm-coupon-notice {color:#a12626;font-size:14px;margin:0;}
#jm-coupon-notice:empty {display:none;}
