
.woocommerce-product-gallery { width:100% !important; }



.green-default-circle {
    z-index: 7;
    position: absolute;
    /* background-color: #7D8E9F; */
	background-color: #00aa00; 
    border-radius: 50%;
    border: 2px dotted #45505b;
    opacity: 0.75; 
    width: 20px;
    height: 20px;
    transition: all 0.5s ease;
    cursor: pointer;
    /* pointer-events: none; Allows clicks to pass through the seats to the underlying image */
}

.green-default-circle-not-bookable {
    z-index: 7;
    position: absolute;
    background-color: #e10909;
	opacity: 0.35;
    border-radius: 50%;
    border: 2px dotted #45505b;
    width: 20px;
    height: 20px;
    transition: all 0.5s ease;
    cursor: pointer;
    pointer-events: auto;
}

.green-default-circle-selected {
    background-color: #0056b3;
    border-radius: 50%;
    border: 2px solid #0056b3;
    opacity: 1;
    /* cursor: grab; */
    /* pointer-events: none; Allows clicks to pass through the seats to the underlying image */
}

.green-default-circle:hover {
    background-color: #0056B3;
}

.circle-label {
    z-index: 1001;
    font-size: 10px;
    color: #ffffff;
	text-shadow: 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 2px #000000, 0px 0px 4px #000000, 0px 0px 4px #000000, 0px 0px 6px #000000, 0px 0px 6px #000000;
}


.klyxa-timetable-entry {
    display: flex;
    flex-wrap: wrap;
}
.no-wrap {
    white-space: nowrap; /* Prevent line breaks */
}
.klyxa-booking-button {
    flex: 1 0 100px;
    height: 30px;
    margin: 5px;
    min-width:230px !important;
    /*color: #fff; */
    background-color: #AFD7A9;
    border: none;
    cursor: pointer;
    border-radius: 5px;
	min-width:220px;
	max-width:220px;
    border: 1px solid rgb(204, 204, 204);
}
.klyxa-booking-button.klyxa-active {
    color: #fff;
    background-color: #0056b3;
}

.klyxa-booking-button.klyxa-disabled {
    opacity: 0.7;
    pointer-events: none;
    background-color: #FFCCCC !important;
    cursor: not-allowed !important;
}

.klyxa-booking-button-book-all {
    flex: 1 0 100px;
    height: 20px;
	font-size: 11px;
    margin: 5px;
    color: #fff;
    background-color: #acacac;
    border: none;
    cursor: pointer;
    border-radius: 5px;
	/* min-width:220px;
	max-width:220px; */
}
.klyxa-booking-button-book-all.klyxa-active {
    background-color: #7D8E9F;
}

.selected-slots-summary {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.selected-slots-summary h4 {
    color: #446084;
    margin-bottom: 10px;
}

.selected-slots-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-slots-summary li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.selected-slots-summary li:last-child {
    border-bottom: none;
}

.seat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(99, 99, 99, 0.90);
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
    /* font-size: 24px;*/
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.seat-overlay-content { 
    background-color: white;
    margin: 0px 20px 0px 20px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    overflow-y: auto;
    overflow-x: hidden;
    max-width:350px;
}



.seat_added_to_cart {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: 100000;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.7s ease;
}


.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(255, 186, 186, 0.95); */
    background-color: rgba(255, 255, 255, 1);
    z-index: 100000;
    display: none;  /* Initially hidden */
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

#alert-overlay-content {
    width: 340px;
    background-color: white;
    margin: 0 20px;
    padding: 30px;
    border-radius: 15px;
    /* box-shadow: 0 0 20px rgb(0 0 0 / 20%); */
}


.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(255, 186, 186, 0.95); */
    background-color: rgba(255, 255, 255, 1);
    z-index: 100000;
    display: none;  /* Initially hidden */
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s ease;
    opacity: 0;
}

#alert-overlay-content {
    width: 340px;
    background-color: white;
    margin: 0 20px;
    padding: 30px;
    border-radius: 15px;
    /* box-shadow: 0 0 20px rgb(0 0 0 / 20%); */
}

.klyxa-countdown-container {
    padding:0px 3px 0px 3px; border-radius: 10px !important; font-size: 0.8em; background-color: #e10909; color:#ffffff;
}


@keyframes pulseklyxa {
    0% {
      transform: scale(1);
      opacity: 0.9;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1);
      opacity: 0.9;
    }
  }
.expirecartpulse {
      animation: pulseklyxa 2s infinite ease-in-out;
  }


.loading {
    padding: 20px;
    text-align: center;
}

.highlight-section {
    animation: pulse 2s;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 86, 179, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 86, 179, 0); }
}



.klyxa-custom-add-to-cart-button {
    color: white;
    font-size: medium;
    background-color: #009900;
    padding: 10px 20px;
    border: none;
    border-radius: 99px;
    cursor: pointer;
    margin: 15px 20px 0px 20px;
}

.klyxa-custom-add-to-cart-button:hover {
    background-color: #0056B3;
}

.klyxa-custom-add-to-cart-button:active {
    background-color: #009900;
}

.klyxa-custom-add-to-cart-button:disabled {
    opacity: 0.5;
    /* cursor: not-allowed; */
}

.klyxa-checkout-button {
    color: white;
    font-size: medium;
    background-color: #009900;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 15px 0px 0px 0px;
}

.klyxa-checkout-button:hover {
    background-color: #0056B3;
}

.klyxa-checkout-button:active {
    background-color: #009900;
}


.klyxa-close-button {
    font-size: small;
    margin: 0px 0px 0px 0px;
    color: white;
    cursor: pointer;
    padding: 0px 20px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 99px;
    background: rgb(153, 153, 153);
}

.klyxa-close-button:hover {
    background-color: #696969;
}

.klyxa-alert-close {
    font-size: small;
    margin: 0px 0px 0px 0px;
    color: white;
    cursor: pointer;
    padding: 0px 20px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 99px;
    background: rgb(153, 153, 153);
}

.klyxa-alert-close:hover {
    background-color: #696969;
}





.klyxa-addspot-button {
    font-size: larger;
    height: 20px;
    margin: 5px;
    color: #fff;
    background-color: #7D8E9F;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.klyxa-addspot-button:hover {
    background-color: #0056b3;
}

.klyxa-centered-popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1003; /* Sit on top */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); /* Center the div */
    background-color: white; /* Fallback color */
    border: 1px solid black; /* Fallback border */
    padding: 10px; /* Fallback padding */
	width:300px !important;
}

.klyxa-seatinfo-popup {
-webkit-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 17px 0px rgba(0,0,0,0.75);
}

.klyxa-no-scroll {
  overflow: hidden;
}

/* CSS to enable scrollbars for a specific div */
.klyxa-scrollable {
  overflow: auto; 
  /*max-height: 100%;  Adjust based on your layout */
}








#klyxa_vendor_seatplan_image_topwrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    transition: height 0.3s ease-out; 
}

/* Only apply max-height on desktop */
@media screen and (min-width: 768px) {
    #klyxa_vendor_seatplan_image_topwrapper {
        max-height: 650px;
    }
}

#klyxa_vendor_seatplan_image_wrapper {
    max-width:100%;

    position: relative; /* Ensure wrapper is the parent for absolute positioning */
    overflow: hidden; /* Prevent the overlay from exceeding the bounds */
    touch-action: none; /* Allow pinch-zoom/pan handling via JS */
    


    -ms-overflow-style: none;  /* Hide scrollbar IE and Edge */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;  /* Hide scrollbar Firefox */

    /* transition: height 0.3s ease-out;*/
}

#klyxa_vendor_seatplan_image_wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

#klyxa_vendor_seatplan_image_wrapper:has(.klyxa-zoomed-out) {
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

#klyxa-seatplan-image {
    transform-origin: top left;
    transition: transform 0.1s ease-out;
    max-width: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}





#klyxa-zoom-in, #klyxa-zoom-out {display:none;}

/*
.klyxa-zoom-in:hover, .klyxa-zoom-out:hover { background-color: #e4e4e4 !important;  }
.klyxa-zoom-in:active, .klyxa-zoom-out:active { background-color: #ffffff !important;  }
*/

.klyxa-zoomed-fit {
    width: 100% !important;
    height: auto !important;
}






.show_all-button {
    position: absolute;
    bottom: 10px; /* Distance from the bottom edge */
    left: 10px; /* Distance from the left edge */
    z-index: 10; /* Ensure it appears above other content */  
    padding: 0px 5px 0px 5px; 
    border-radius: 5px; 
    background-color: #ffffff; 
    border: 1px solid #dedede; 
    cursor: pointer; 
    justify-content: center; 
    align-items: center; 
    flex-shrink: 0; 
    margin: 0px;
  }
  /*
  .show_all-button:hover {
    background-color: #e4e4e4; 
  }
  */





#klyxa-zoom-toggle {
    display: none;
    transition: background-color 0.2s ease;
}

#klyxa-zoom-toggle:hover {
    background-color: #f5f5f5;
}

.klyxa-zoom-toggle-active {
    background-color: #e0e0e0 !important;
    border-color: #c0c0c0 !important;
}

.klyxa-zoomed-out {
    transform-origin: center center;
    transition: transform 0.3s ease-out;
    max-width: none !important;
    visibility: visible !important;
}







/* Default styles for the div */
.klyxapopupdiv {
    /* Your other styles */
}

/* Media query for screens smaller than or equal to 768px (typical mobile devices) */
@media (max-width: 768px) {
    .klyxapopupdiv {
        max-width: 90%;
    }
}

/* Media query for screens larger than 768px (typical desktop devices) */
@media (min-width: 769px) {
    .klyxapopupdiv {
        max-width: 600px;
    }
}
/* WooGallery Lightbox Background */
.pswp__bg {
    background-color: rgb(45 45 45 / 95%) !important;
}


/* Flatsome CSS Hacks */
.badge {
    height: 1.9em !important;
}
.badge-container {
    margin: -5px 0px 0 !important;
}
.badge-inner {
    padding: 5px !important;
}
.badge-inner.on-sale {
    background-color: #2c9700 !important;
}
.onsale {
    font-size: .8em;
}
/* .badge-circle .badge-inner, .badge-circle-inside .badge-i */




#calendar {
width: 100%;
max-width: 400px;
margin: 0 auto;
font-family: Arial, sans-serif;
padding-bottom:10px;
}

#monthYear {
    font-size: 1.2em;
    font-weight: bold;
    margin: 10px 0;
    display: inline-block;
}

#prevMonth, #nextMonth {
    font-size: 10px;
    color: #fff;
    background-color: #999999;
    border: 1px solid #ddd;
    padding: 0px 5px 0px 5px;
    cursor: pointer;
    border-radius: 3px;
    outline: none;
    margin-top: 5px;
}

#weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-top: 0px;
}

#weekdays div {
    padding: 5px;
}

#days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 2px;
    justify-content: center;
    align-content: center;
    justify-items: center;
}

.day {
    padding: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.day.selected {
    background-color: #0056B3; /* A distinct color for the selected day */
    /* color: #fff;  White text for better contrast */
    border: 2px solid #333; /* Border to highlight the selection */
}

.day.empty {
    background-color: transparent;
    cursor: default;
}

.day.available {
    background-color: #AFD7A9;
    cursor: pointer;
}

.day.unavailable {
    background-color: #E0E0E0;
    cursor: not-allowed;
}

.day.unavailable[style*="background-color: #FFCCCC"] {
cursor: not-allowed;
}

.day:hover:not(.empty):not(.unavailable) {
    background-color: #7FCC7F;
}

.day.has-booked-slots {
    background: linear-gradient(
        135deg,
        #AFD7A9 50%,
        #FFCCCC 50%
    );
}



.day.has-booked-slots.selected {
    background: linear-gradient(
        135deg,
        #0056B3 50%,
        #FFCCCC 50%
    );
}

#lottie-overlay {
            position: absolute; /* Position relative to the wrapper */
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 8; /* Ensure it appears above other content inside the wrapper */
            cursor: pointer;
            transition: opacity 0.3s ease-out;
        }
        #lottie-overlay.fade-out {
            opacity: 0;
        }

        
        
        #klyxa_vendor_seatplan_image_wrapper.no-scroll {
            overflow: hidden; /* Disable scrolling inside the wrapper */
        }

        #klyxa_vendor_seatplan_image_wrapper.no-grab {
            cursor: default; /* Disable grabbing cursor */
        }

        .no-scroll {
            overflow: hidden !important;
        }

        .no-grab {
            cursor: default !important;
        }



        .klyxa_hover-effect img {
            filter: grayscale(100%);
            transition: filter 0.3s ease-in-out;
          }
        
          .klyxa_hover-effect:hover img {
            filter: grayscale(0%);
          }





        
        .center-location-btn {
            position: absolute;
            bottom: 25px;
            right: 10px;
            background: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 2px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.3);
            cursor: pointer;
            z-index: 1000;
        }
        .center-location-btn:hover {
            background: #f1f1f1;
        }

        .google-maps-button {
            background: rgb(255, 255, 255);
            border: 0;
            margin: 10px;
            padding: 0 17px;
            text-transform: none;
            appearance: none;
            position: absolute;
            cursor: pointer;
            user-select: none;
            text-align: center;
            height: 40px;
            color: rgb(0, 0, 0);
            font-family: Roboto, Arial, sans-serif;
            font-size: 18px;
            box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
            min-width: 69px;
            font-weight: 500;
            border-radius: 2px;
            z-index: 1000;
        }
        
        .google-maps-button:hover {
            background: #f1f1f1;
        }
        
        .center-location-btn {
            top: 0px;
            right: 10px;
        }
        
        .variation-description {
            width:100%; margin-top:10px; padding:5px; border: 1px dashed rgb(164, 164, 164); border-radius:5px; text-align:left !important; font-size:x-small; color:grey;
        }

        .orderlineproduct-description { /*basically location address */
            width:100%; margin-top:0px; padding:5px; border: 1px dashed #2290d6; border-radius:5px; font-size:x-small; color:grey;
        }

        .ux-mini-cart-qty {margin-top:10px !important;}











/*
==============================================
KLYXA Category Page Filter & Sticky Header (v3 - Responsive Toggle)
==============================================
*/

/* --- 1. The Sticky Wrapper --- */
.klyxa-sticky-header-wrapper {
    position: -webkit-sticky;
    position: sticky;
    top: 108px; 
    z-index: 20;
    background-color: #fff;
    padding-bottom: 7px;
}

/* --- 2. The Filter Bar Itself --- */
.klyxa-location-filter-wrapper {
    margin-top: 15px;
    padding: 15px 15px 0px 15px;
    background-color: rgb(243, 243, 243);
    border-radius: 10px; 
    border: 1px solid #446084;
    box-shadow: 0px 5px 6px -5px rgba(0, 0, 0, 1);
}

/* --- 3. The Mobile Toggle Button --- */
.klyxa-filter-toggle {
    display: none; /* IMPORTANT: Hidden on desktop by default */
    cursor: pointer;
	font-weight: bold;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.filter-svg-style {
	height: 15px;
	filter: invert(29%) sepia(21%) saturate(286%) hue-rotate(184deg) brightness(93%) contrast(88%);
}

/* --- 4. The Grid Container (DESKTOP DEFAULT) --- */
.klyxa-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
    align-items: center;
}

/* --- 5. General Styling for Filter Controls --- */
.klyxa-filter-control select,
.klyxa-filter-control button {
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    margin: 0;
}
.klyxa-filter-control.klyxa-filter-state { position: relative; }
#klyxa_state_loader { position: absolute; right: 25px; top: 50%; transform: translateY(-50%); font-size: 1.2em; color: #999; }


/* --- 5a. Desktop View Override --- */
/* This rule ensures the filter grid is ALWAYS visible on larger screens,
   overriding any inline style="display: none;" added by jQuery on mobile. */
   @media (min-width: 550px) {
    .klyxa-filter-grid {
        display: grid !important;
    }
}

/* --- 6. Responsive Breakpoints --- */

/* For TABLETS (e.g., screen width up to 991px) */
@media (max-width: 991px) {
    .klyxa-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .klyxa-filter-control.klyxa-filter-submit {
        grid-column: 1 / -1;
    }
}

/* For MOBILE PHONES (e.g., screen width up to 549px) */
@media (max-width: 549px) {

    /* --- CRUCIAL FIX: Override parent 'overflow' properties --- */
    /* This forces the containers to allow our element to stick to the viewport. */
    main#main,
    .row.category-page-row,
    .col.large-12 {
        overflow: visible !important;
    }
    /* --- END CRUCIAL FIX --- */
    
    /* Re-assert sticky properties for mobile, with the correct top offset */
    .klyxa-sticky-header-wrapper {
        top: 108px; /* Adjust to your mobile header's height */
        /* Ensure it has a defined width when sticky */
        width: 100%;
        left: 0;
        right: 0;
        /* Re-asserting this can help some mobile browsers */
        position: -webkit-sticky;
        position: sticky;
        padding-bottom: 0px;
    }

    /* Show the toggle button on mobile */
    .klyxa-filter-toggle {
        display: flex;
    }

    /* Hide the filter grid by default on mobile */
    .klyxa-filter-grid {
        display: none;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* NEW: Add vertical margin to select elements on mobile */
    .klyxa-filter-control select {
        margin: 10px auto;
    }
}

/* --- 7. Helper Rules --- */
.klyxa-sticky-header-wrapper .page-title { margin-top: 0; }
body.tax-product_cat .shop-container { margin-top: 35px; }