/* =========================================================
   Ticket Card Widget — Frontend Styles
   ========================================================= */

/* Force Elementor widget container to have zero padding/margin */
.elementor-widget-tcw_ticket_card,
.elementor-widget-tcw_ticket_card .elementor-widget-container {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* Wrapper — zero padding, zero background, fills 100% */
.tcw-card-wrapper {
    display: flex;
    align-items: stretch;
    padding: 0;
    margin: 0;
    background: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

/* ── CARD — fills the wrapper fully ── */
.tcw-ticket-card {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 20px;
    box-shadow: 8px 12px 40px 0 rgba(0, 0, 0, 0.18);
    overflow: hidden;
    position: relative;
    border: none;
    box-sizing: border-box;
}

/* ── LEFT PANEL ── */
.tcw-ticket-left {
    background-color: #1a1a1a;
    width: 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 20px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.tcw-price {
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    margin: 0;
}

.tcw-logo {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tcw-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tcw-default-icon {
    width: 80px;
    height: 80px;
}

/* ── DIVIDER / NOTCH ── */
.tcw-divider {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 0;
    flex-shrink: 0;
    z-index: 10;
    overflow: visible;
}

.tcw-notch-top,
.tcw-notch-bottom {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.tcw-notch-top    { top: -10px; }
.tcw-notch-bottom { bottom: -10px; }

.tcw-divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 2px dashed rgba(200, 200, 200, 0.4);
    width: 0;
}

/* ── RIGHT PANEL ── */
.tcw-ticket-right {
    background-color: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 32px 28px 36px;
    box-sizing: border-box;
    gap: 8px;
    min-width: 0;
}

.tcw-title {
    margin: 0 0 4px 0;
    padding: 0;
    font-family: 'Georgia', serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #111111;
    line-height: 1.15;
}

.tcw-description {
    margin: 0 0 14px 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.5;
}

/* ── BUTTON BASE ── */
.tcw-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111111;
    font-family: 'Georgia', serif;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #111111;
    padding-bottom: 4px;
    width: fit-content;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.tcw-button-text {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tcw-button-arrow {
    display: inline-block;
    font-size: 20px;
    transition: transform 0.3s ease;
    position: relative;
}

/* ── EFFECT: SLIDE ── */
.tcw-effect-slide .tcw-button-arrow {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tcw-effect-slide:hover .tcw-button-arrow { transform: translateX(8px); }

/* ── EFFECT: LIFT ── */
.tcw-effect-lift { transition: color 0.3s ease, transform 0.3s ease; }
.tcw-effect-lift:hover { transform: translateY(-3px); }

/* ── EFFECT: SHIMMER ── */
.tcw-effect-shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255,201,100,0.55) 50%, transparent 100%);
    background-size: 200% 100%;
    background-position: -100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.6s ease, color 0.3s ease;
}
.tcw-effect-shimmer:hover { background-position: 200% 0; color: #b8860b; }
.tcw-effect-shimmer:hover .tcw-button-arrow { transform: translateX(6px); }

/* ── EFFECT: BOUNCE ── */
.tcw-effect-bounce:hover .tcw-button-arrow {
    animation: tcw-bounce-arrow 0.6s ease infinite alternate;
}
@keyframes tcw-bounce-arrow {
    from { transform: translateX(0px); }
    to   { transform: translateX(10px); }
}

/* =========================================================
   MOBILE — vertical stacking: black top / white bottom
   ========================================================= */
@media (max-width: 600px) {

    .tcw-ticket-card {
        flex-direction: column;
    }

    .tcw-ticket-left {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
        padding: 22px 20px;
    }

    .tcw-price {
        font-size: 22px;
        text-align: left;
        white-space: nowrap;
    }

    .tcw-logo {
        width: 64px;
        height: 64px;
    }

    .tcw-default-icon {
        width: 56px;
        height: 56px;
    }

    .tcw-divider {
        flex-direction: row;
        width: 100%;
        height: 0;
        overflow: visible;
    }

    .tcw-divider-line {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        border-left: none;
        border-top: 2px dashed rgba(200, 200, 200, 0.4);
        width: 100%;
        height: 0;
        transform: none;
    }

    .tcw-notch-top {
        left: -10px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .tcw-notch-bottom {
        right: -10px;
        left: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .tcw-ticket-right {
        padding: 22px 20px 24px;
        gap: 6px;
    }

    .tcw-title       { font-size: 20px; }
    .tcw-description { font-size: 13px; }
    .tcw-button      { font-size: 16px; }
}
