/* RAILYARD BILLIARDS — EVENTS (Event Tickets Manager for WooCommerce Pro) */

/* ── EVENT PRODUCT COLLECTION BLOCK ─────────────────────────── */

ul.wc-block-product-template__responsive {
    gap: var(--s-xl) !important;
}

li.wc-block-product.product-type-event_ticket_manager {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--rad-xl) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    transition: border-color 0.2s ease, transform 0.2s ease !important;
}

li.wc-block-product.product-type-event_ticket_manager:hover {
    border-color: var(--accent-brass) !important;
    transform: translateY(-4px) !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-image {
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-image a {
    display: block !important;
    overflow: hidden !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-image img {
    width: 100% !important;
    height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
    display: block !important;
    transition: transform 0.3s ease !important;
}

li.wc-block-product.product-type-event_ticket_manager:hover .wc-block-components-product-image img {
    transform: scale(1.04) !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-image__inner-container {
    padding: 0 !important;
}

li.wc-block-product.product-type-event_ticket_manager h2,
li.wc-block-product.product-type-event_ticket_manager .wp-block-post-title {
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    background-image: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    line-height: 1.2 !important;
    padding: var(--s-md) var(--s-lg) 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-price,
li.wc-block-product.product-type-event_ticket_manager .wc-block-woocommerce-product-price {
    color: var(--accent-brass) !important;
    font-family: var(--font-accent) !important;
    font-size: 1rem !important;
    padding: var(--s-xs) var(--s-lg) !important;
    margin: 0 !important;
    text-align: left !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-price .woocommerce-Price-amount {
    color: var(--accent-brass) !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-button {
    padding: var(--s-sm) var(--s-lg) var(--s-lg) !important;
    margin-top: auto !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-button a,
li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-button button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 10px 20px !important;
    background: var(--accent-teal) !important;
    color: var(--text-primary) !important;
    border: none !important;
    border-radius: var(--rad-round) !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.09em !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-button a:hover,
li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-button button:hover {
    background: var(--accent-teal-light) !important;
    transform: translateY(-2px) !important;
}

/* ── SINGLE EVENT PAGE: HERO LAYOUT ─────────────────────────── */

/* Remove the global group padding from the WooCommerce product container.
   The hero and content sections manage their own spacing from here. */
.wp-block-group.woocommerce.product.is-layout-flow {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Break WooCommerce 2-col float layout for event products only.
   More-specific selectors beat woocommerce.css without touching
   other product types. */

body.single-product.product-type-event_ticket_manager .woocommerce div.product,
body.single-product.type-event_ticket_manager .woocommerce div.product {
    display: block !important;
}

/* Full-width hero image */
body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    z-index: 0 !important;
    margin: 0 0 var(--s-2xl) 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: var(--rad-lg) !important;
    clear: both !important;
}

body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery__wrapper,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery__image,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery__image {
    display: block !important;
    width: 100% !important;
    height: 38vh !important;
    max-height: 440px !important;
    min-height: 220px !important;
}

body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery__image img,
body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery img,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery__image img,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery img {
    width: 100% !important;
    height: 38vh !important;
    max-height: 440px !important;
    min-height: 220px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 0 !important;
    display: block !important;
}

/* Gradient fade from hero into page background */
body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery::after,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    pointer-events: none;
    z-index: 1;
}

/* Gallery prev/next arrows */
body.single-product.product-type-event_ticket_manager .wc-block-next-previous-buttons__button,
body.single-product.type-event_ticket_manager .wc-block-next-previous-buttons__button {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--rad-md) !important;
    color: var(--text-secondary) !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: border-color 0.15s ease, color 0.15s ease !important;
    opacity: 1 !important;
}

body.single-product.product-type-event_ticket_manager .wc-block-next-previous-buttons__button:hover,
body.single-product.type-event_ticket_manager .wc-block-next-previous-buttons__button:hover {
    border-color: var(--accent-brass) !important;
    color: var(--accent-brass) !important;
}

/* Hide thumbstrip and zoom icon */
body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery .flex-control-thumbs,
body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery__trigger,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery .flex-control-thumbs,
body.single-product.type-event_ticket_manager .woocommerce-product-gallery__trigger {
    display: none !important;
}

/* Summary: full-width stacked below hero, with padding re-added since
   the outer container no longer provides it */
body.single-product.product-type-event_ticket_manager .summary.entry-summary,
body.single-product.type-event_ticket_manager .summary.entry-summary {
    float: none !important;
    width: 100% !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
    background: none !important;
    padding: 0 var(--s-lg) var(--s-2xl) !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}

/* Re-add padding to the product columns block since container lost it */
.wp-block-group.woocommerce.product.is-layout-flow .wp-block-columns,
.wp-block-group.woocommerce.product.is-layout-flow main.wp-block-group {
    padding-left: var(--s-lg) !important;
    padding-right: var(--s-lg) !important;
}

/* ── SUMMARY: TITLE / PRICE / DESCRIPTION SPACING ───────────── */

body.single-product.product-type-event_ticket_manager .product_title.entry-title,
body.single-product.type-event_ticket_manager .product_title.entry-title {
    font-family: var(--font-heading) !important;
    font-size: clamp(1.8rem, 5vw, 3rem) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    background-image: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    line-height: 1.1 !important;
    margin: 0 0 var(--s-sm) 0 !important;
}

body.single-product.product-type-event_ticket_manager p.price,
body.single-product.product-type-event_ticket_manager span.price,
body.single-product.type-event_ticket_manager p.price,
body.single-product.type-event_ticket_manager span.price {
    display: block !important;
    font-family: var(--font-accent) !important;
    font-size: 2rem !important;
    color: var(--accent-brass) !important;
    margin: 0 0 var(--s-xl) 0 !important;
    padding-bottom: var(--s-xl) !important;
    border-bottom: 1px solid var(--border-light) !important;
    -webkit-text-fill-color: var(--accent-brass) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

body.single-product.product-type-event_ticket_manager .woocommerce-product-details__short-description,
body.single-product.type-event_ticket_manager .woocommerce-product-details__short-description {
    color: var(--text-secondary) !important;
    line-height: 1.75 !important;
    font-size: 0.95rem !important;
    margin-bottom: var(--s-2xl) !important;
}

body.single-product.product-type-event_ticket_manager .woocommerce-product-details__short-description p,
body.single-product.type-event_ticket_manager .woocommerce-product-details__short-description p {
    margin-bottom: var(--s-md) !important;
}

/* ── EVENT INFO CHIPS (date / time / venue) ──────────────────── */

.wps_etmfw_event_info_section {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: var(--s-sm) !important;
    padding: var(--s-lg) !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--rad-xl) !important;
    margin-bottom: var(--s-xl) !important;
}

.wps_etmfw_event_general_info {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--s-xs) !important;
    padding: 8px 16px !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--rad-round) !important;
    font-size: 0.84rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.3 !important;
}

#wps_etmfw_event_date.wps_etmfw_event_general_info {
    border-color: rgba(214, 55, 48, 0.3) !important;
    background: var(--active-overlay) !important;
    color: var(--accent-red) !important;
    font-weight: 600 !important;
}

#wps_etmfw_event_time.wps_etmfw_event_general_info {
    border-color: rgba(0, 101, 140, 0.3) !important;
    background: rgba(0, 101, 140, 0.1) !important;
    color: var(--accent-teal-light) !important;
}

#wps_etmfw_event_venue.wps_etmfw_event_general_info {
    border-color: rgba(198, 169, 107, 0.3) !important;
    background: rgba(198, 169, 107, 0.08) !important;
    color: var(--accent-brass) !important;
}

/* ── TICKET FORM COLLAPSIBLE ─────────────────────────────────── */

.ticket-form-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: var(--s-sm) !important;
    width: auto !important;
    align-self: flex-start !important;
    padding: 16px 28px !important;
    background-color: var(--bg-elevated) !important;
    background-image: none !important;
    background-size: 400% 400% !important;
    border: 1px solid rgba(198,169,107,0.35) !important;
    border-radius: var(--rad-round) !important;
    color: var(--accent-cream) !important;
    -webkit-text-fill-color: var(--accent-cream) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, transform 0.15s ease !important;
    margin-bottom: var(--s-md) !important;
}

.ticket-form-toggle:hover {
    background-image: linear-gradient(-45deg, var(--accent-red-dark) 0%, var(--accent-red) 43%, var(--accent-cream) 50%, var(--accent-red) 57%, var(--accent-red-dark) 100%) !important;
    background-size: 400% 400% !important;
    border-color: var(--accent-brass) !important;
    animation: wps-btn-shimmer 2s ease infinite !important;
    transform: translateY(-2px) !important;
}

.ticket-form-toggle svg {
    transition: transform 0.25s ease !important;
    flex-shrink: 0 !important;
}

.ticket-form-toggle.is-open svg {
    transform: rotate(180deg) !important;
}

.ticket-form-collapsible {
    display: none;
    padding: var(--s-xl);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--rad-lg);
    margin-bottom: var(--s-xl);
}

.ticket-form-collapsible.is-open {
    display: block;
}

/* Strip inner box styling so there's only one visible box */
.ticket-form-collapsible .wps_etmfw_product_wrapper,
.ticket-form-collapsible .wps_etmfw_addition_info_section {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* ── FORM FIELD COLORS ───────────────────────────────────────── */

/* All text-type inputs, selects, textareas inside event forms.
   border-subtle (#2a2a2a) is invisible against bg-elevated (#1f1f1f)
   so we use a white-alpha border instead. */

body.single-product.product-type-event_ticket_manager form input[type="text"],
body.single-product.product-type-event_ticket_manager form input[type="email"],
body.single-product.product-type-event_ticket_manager form input[type="tel"],
body.single-product.product-type-event_ticket_manager form input[type="number"],
body.single-product.product-type-event_ticket_manager form input[type="password"],
body.single-product.product-type-event_ticket_manager form select,
body.single-product.product-type-event_ticket_manager form textarea,
body.single-product.type-event_ticket_manager form input[type="text"],
body.single-product.type-event_ticket_manager form input[type="email"],
body.single-product.type-event_ticket_manager form input[type="tel"],
body.single-product.type-event_ticket_manager form input[type="number"],
body.single-product.type-event_ticket_manager form input[type="password"],
body.single-product.type-event_ticket_manager form select,
body.single-product.type-event_ticket_manager form textarea {
    background: var(--bg-elevated) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: var(--rad-md) !important;
    color: var(--text-primary) !important;
    padding: 11px 14px !important;
    font-family: var(--font-body) !important;
    font-size: 0.9rem !important;
    width: 100% !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.single-product.product-type-event_ticket_manager form input:focus,
body.single-product.product-type-event_ticket_manager form select:focus,
body.single-product.product-type-event_ticket_manager form textarea:focus,
body.single-product.type-event_ticket_manager form input:focus,
body.single-product.type-event_ticket_manager form select:focus,
body.single-product.type-event_ticket_manager form textarea:focus {
    outline: none !important;
    border-color: var(--accent-brass) !important;
    box-shadow: 0 0 0 3px rgba(198, 169, 107, 0.15) !important;
}

body.single-product.product-type-event_ticket_manager form input::placeholder,
body.single-product.product-type-event_ticket_manager form textarea::placeholder,
body.single-product.type-event_ticket_manager form input::placeholder,
body.single-product.type-event_ticket_manager form textarea::placeholder {
    color: var(--text-muted) !important;
    opacity: 0.75 !important;
}

body.single-product.product-type-event_ticket_manager .wps_etmfw_sub_wrapper label,
body.single-product.type-event_ticket_manager .wps_etmfw_sub_wrapper label {
    display: block !important;
    font-size: 0.74rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.09em !important;
    color: var(--text-muted) !important;
    margin-bottom: 5px !important;
    font-family: var(--font-body) !important;
}

/* ── RADIO CERTIFICATION FIELD ──────────────────────────────── */

/* Row with radio left, question text right; "Yes" label hidden */
.wps-form-group:has(input[type="radio"]) {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: var(--s-md) !important;
    padding: var(--s-lg) 0 !important;
}

.wps-form-group:has(input[type="radio"]) .wps-form-group__label {
    order: 2 !important;
    margin-bottom: 0 !important;
}

.wps-form-group:has(input[type="radio"]) .wps-form-group__control {
    order: 1 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.wps-form-group:has(input[type="radio"]) .wps-form-group__control label {
    display: none !important;
}

.wps-form-group:has(input[type="radio"]) input[type="radio"] {
    margin: 0 !important;
    vertical-align: middle !important;
}

/* ── ADDITIONAL INFO & TICKET SECTIONS ───────────────────────── */

.wps_etmfw_addition_info_section {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--rad-xl) !important;
    padding: var(--s-xl) !important;
    margin-bottom: var(--s-xl) !important;
}

.wps_etmfw_addition_info_section h3,
.wps_etmfw_addition_info_section h4 {
    font-family: var(--font-heading) !important;
    font-size: 0.88rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: var(--accent-brass) !important;
    -webkit-text-fill-color: var(--accent-brass) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    margin-bottom: var(--s-md) !important;
    padding-bottom: var(--s-sm) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.wps_etmfw_user_type_list {
    display: grid !important;
    gap: var(--s-sm) !important;
}

.wps_etmfw_user_type_row {
    display: grid !important;
    grid-template-columns: 1fr auto auto !important;
    align-items: center !important;
    gap: var(--s-md) !important;
    padding: var(--s-sm) var(--s-md) !important;
    background: var(--bg-elevated) !important;
    border-radius: var(--rad-md) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.wps_etmfw_user_type_price {
    color: var(--accent-brass) !important;
    font-family: var(--font-acc) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.wps-etmfw-user-type-qty input,
.wps_etmfw_user_type_qty input {
    background: var(--bg-surface) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--rad-md) !important;
    color: var(--text-primary) !important;
    padding: 6px 10px !important;
    width: 64px !important;
    text-align: center !important;
}

.wps_etmfw_view_ticket_section,
.wps_etmfw_sub_wrapper {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-light) !important;
    border-radius: var(--rad-xl) !important;
    padding: var(--s-xl) !important;
    margin-top: var(--s-lg) !important;
}

.wps_etmfw_calendar_section a {
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--s-xs) !important;
    padding: 8px 16px !important;
    border-radius: var(--rad-round) !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-muted) !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-decoration: none !important;
    transition: border-color 0.15s ease, color 0.15s ease !important;
}

.wps_etmfw_calendar_section a:hover {
    border-color: var(--accent-teal) !important;
    color: var(--accent-teal-light) !important;
}

/* ── SOCIAL SHARE ────────────────────────────────────────────── */

.wps_etmfw_title_and_social_share_icon {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: var(--s-lg) !important;
    margin-bottom: var(--s-lg) !important;
}

.wps_etmfw_social_share_wrapper {
    display: flex !important;
    gap: var(--s-xs) !important;
    flex-shrink: 0 !important;
    margin-top: 6px !important;
}

.wps-etmfw-share-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: var(--rad-md) !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    transition: border-color 0.15s ease, color 0.15s ease !important;
    text-decoration: none !important;
}

.wps-etmfw-share-btn:hover {
    border-color: var(--accent-teal) !important;
    color: var(--accent-teal-light) !important;
}

/* ── "READ MORE" LINK ────────────────────────────────────────── */

/* WordPress <!--more--> generates a .more-link anchor; style it as
   a button so it doesn't render as unstyled plain text. */

.more-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 20px !important;
    margin-top: var(--s-sm) !important;
    border-radius: var(--rad-round) !important;
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-secondary) !important;
    -webkit-text-fill-color: var(--text-secondary) !important;
    font-size: 0.82rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    text-decoration: none !important;
    background-image: none !important;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    transition: border-color 0.15s ease, color 0.15s ease !important;
}

.more-link:hover {
    border-color: var(--accent-brass) !important;
    color: var(--accent-brass) !important;
    -webkit-text-fill-color: var(--accent-brass) !important;
}

/* ── FULLCALENDAR ────────────────────────────────────────────── */

.fc {
    font-family: var(--font-body) !important;
    color: var(--text-secondary) !important;
}

.fc .fc-toolbar-title {
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-size: 1.1rem !important;
}

.fc .fc-button-primary {
    background: var(--accent-teal) !important;
    border-color: var(--accent-teal) !important;
    color: var(--text-primary) !important;
    border-radius: var(--rad-md) !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    padding: 6px 14px !important;
}

.fc .fc-button-primary:hover {
    background: var(--accent-teal-light) !important;
    border-color: var(--accent-teal-light) !important;
}

.fc .fc-button-primary:disabled {
    opacity: 0.4 !important;
}

.fc .fc-daygrid-day-number,
.fc .fc-col-header-cell-cushion {
    color: var(--text-muted) !important;
    font-size: 0.76rem !important;
    text-decoration: none !important;
}

.fc .fc-event {
    background: var(--accent-teal) !important;
    border-color: var(--accent-teal) !important;
    border-radius: var(--rad-sm) !important;
    font-size: 0.74rem !important;
    cursor: pointer !important;
    padding: 2px 6px !important;
}

.fc .fc-event:hover {
    background: var(--accent-teal-light) !important;
    border-color: var(--accent-teal-light) !important;
}

.fc .fc-day-today {
    background: rgba(0, 101, 140, 0.08) !important;
}

.fc .fc-theme-standard td,
.fc .fc-theme-standard th,
.fc-theme-standard .fc-scrollgrid {
    border-color: var(--border-subtle) !important;
}

/* ── EVENT LISTING PAGE ──────────────────────────────────────── */

.event-listing-page {
    padding: var(--s-xl) var(--s-lg);
}

.event-listing-header {
    margin-bottom: var(--s-xl);
}

.event-listing-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background-image: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--s-sm);
}

.event-listing-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-listing-tabs {
    display: flex;
    gap: var(--s-sm);
    margin-bottom: var(--s-xl);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--s-md);
}

.event-tab {
    padding: 8px 22px;
    border-radius: var(--rad-round);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.event-tab:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--accent-teal);
}

.event-tab.is-active {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    color: var(--text-primary);
}

.event-listing-panel {
    min-height: 200px;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 768px) {
    body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery__image,
    body.single-product.type-event_ticket_manager .woocommerce-product-gallery__image,
    body.single-product.product-type-event_ticket_manager .wc-block-product-gallery-large-image,
    body.single-product.type-event_ticket_manager .wc-block-product-gallery-large-image {
        height: 66vw !important;
        max-height: 450px !important;
        min-height: 0 !important;
    }

    body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery__image img,
    body.single-product.product-type-event_ticket_manager .woocommerce-product-gallery img,
    body.single-product.type-event_ticket_manager .woocommerce-product-gallery__image img,
    body.single-product.type-event_ticket_manager .woocommerce-product-gallery img,
    body.single-product.product-type-event_ticket_manager .wc-block-product-gallery-large-image img,
    body.single-product.type-event_ticket_manager .wc-block-product-gallery-large-image img {
        height: 66vw !important;
        max-height: 450px !important;
        object-position: center top !important;
    }

    body.single-product.product-type-event_ticket_manager .summary.entry-summary,
    body.single-product.type-event_ticket_manager .summary.entry-summary {
        padding: 0 0 var(--s-lg) 0 !important;
    }

    .wps_etmfw_event_info_section {
        gap: var(--s-xs) !important;
        padding: var(--s-md) !important;
    }

    li.wc-block-product.product-type-event_ticket_manager .wc-block-components-product-image img {
        height: 160px !important;
    }

    .ticket-form-toggle {
        font-size: 0.95rem !important;
        padding: 14px 20px !important;
    }
}
