/**
 * Venue Page Styles for SuperBowl Theme
 *
 * @package SuperBowl
 */

/* Mobile Sticky Button */
.mobile-sticky-button {
    display: none; /* Hidden by default - shown on mobile only */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #f5f5f5; /* Gray background from category bar */
    padding: 12px 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    box-sizing: border-box;
}

.mobile-price-tag {
    display: none; /* Hide price text */
}

.mobile-price-label {
    display: none;
}

.mobile-price-value {
    display: none;
}

.mobile-sticky-button .cta-button,
.mobile-sticky-button .buynowbutton,
.mobile-sticky-button .ticket-button,
.mobile-sticky-button a.cta-button,
.mobile-sticky-button a.buynowbutton,
.mobile-sticky-button a.ticket-button {
    width: 100% !important;
    height: 60px !important;
    margin: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 24px !important;
    font-family: 'Lato', sans-serif !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    letter-spacing: 2px !important;
    background: #009941 !important;
    background-color: #009941 !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    display: block !important;
    line-height: 40px !important;
}

.mobile-sticky-button .cta-button:hover,
.mobile-sticky-button .buynowbutton:hover,
.mobile-sticky-button .ticket-button:hover,
.mobile-sticky-button a.cta-button:hover,
.mobile-sticky-button a.buynowbutton:hover,
.mobile-sticky-button a.ticket-button:hover {
    background: #0bf469 !important;
    background-color: #0bf469 !important;
    background-image: none !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    /* Hide desktop Purchase Tickets buttons on mobile */
    .topbuybutton,
    .venueDetails .buynowbutton,
    .venueDetails .ticket-button,
    .venueDetails .cta-button,
    .venueDetails div[id*="modal-trigger"],
    .venueDetails a[id*="modal-trigger"] {
        display: none !important;
    }

    /* Show mobile sticky button on mobile */
    .mobile-sticky-button {
        display: block;
    }

    /* Add padding to the bottom of the page to prevent content from being hidden behind sticky button */
    .entry {
        padding-bottom: calc(2rem + 70px);
    }

    .content {
        padding-bottom: 80px;
    }
}

@media screen and (max-width: 576px) {
    .mobile-sticky-button {
        padding: 10px 16px;
    }

    .mobile-sticky-button .cta-button,
    .mobile-sticky-button .buynowbutton,
    .mobile-sticky-button .ticket-button,
    .mobile-sticky-button a.cta-button,
    .mobile-sticky-button a.buynowbutton,
    .mobile-sticky-button a.ticket-button {
        font-size: 20px !important;
        height: 60px !important;
        padding-top: 10px !important;
        line-height: 40px !important;
    }
}
