:root {
    --mec-primary: #FF2E63;
    --mec-secondary: #08D9D6;
    --mec-dark: #252A34;
    --mec-light: #EAEAEA;
    --mec-glass-bg: rgba(255, 255, 255, 0.1);
    --mec-glass-border: rgba(255, 255, 255, 0.2);
    --mec-glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    --mec-font: 'Inter', sans-serif;
}

/* Base Utility */
.mec-tickets-widget-wrapper {
    font-family: var(--mec-font);
    transition: all 0.3s ease;
}

/* Glassmorphism Standard */
.mec-ticket-preset-standard.mec-tickets-widget-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Common Components */
.mec-promo-badge {
    background: var(--mec-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mec-ticket-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.35em;
    font-weight: 700;
}

.mec-ticket-desc {
    font-size: 0.95em;
    line-height: 1.6;
    opacity: 0.75;
    margin-bottom: 15px;
}

/* Quantity Selector: Elite Pill */
.mec-quantity-selector.elite-pill {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.mec-quantity-selector.elite-pill .mec-qty-btn {
    width: 34px;
    height: 34px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    font-weight: 700;
    color: #252a34;
    /* Ensure symbol is visible */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mec-quantity-selector.elite-pill .mec-qty-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.mec-quantity-selector.elite-pill .mec-qty-input {
    width: 60px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: #252a34;
    /* Professional dark default */
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

/* Remove number spinners */
.mec-quantity-selector.elite-pill .mec-qty-input::-webkit-outer-spin-button,
.mec-quantity-selector.elite-pill .mec-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* Button & Price */
.mec-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--mec-primary), #ff6b6b);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 46, 99, 0.2);
}

.mec-btn:hover {
    box-shadow: 0 8px 25px rgba(255, 46, 99, 0.4);
    transform: translateY(-2px);
}

.mec-current-price {
    font-weight: 900;
    font-size: 1.8em;
    color: var(--mec-primary);
    letter-spacing: -1px;
}

/* Grid Layouts */
.mec-event-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* --- Single Event Page --- */

.mec-single-event-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--mec-font);
}

.mec-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.mec-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 40px;
    color: #fff;
}

.mec-hero h1 {
    font-size: 3em;
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.mec-meta-row {
    display: flex;
    gap: 20px;
    font-size: 1.1em;
    opacity: 0.9;
}

.mec-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mec-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.mec-main-col {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mec-booking-widget {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* Elevated */
    position: sticky;
    top: 20px;
    border: 1px solid #f0f0f0;
}

.mec-booking-widget h3 {
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid var(--mec-light);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .mec-content-wrapper {
        grid-template-columns: 1fr;
    }

    .mec-hero {
        height: 250px;
    }

    .mec-hero h1 {
        font-size: 2em;
    }
}

.mec-section-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--mec-dark);
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
}

.mec-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 5px;
    background: var(--mec-primary);
    border-radius: 4px;
}