.ticket-card {
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease-in-out;
    height:100%;
}

.ticket-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.ticket-card .added_to_cart{
    position: absolute;
    top: 0;
    bottom: 0;
    lefT: 0;
    right: 0;
    background: #fff;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    z-indeX: 9;
    margin-top: 0 !important;
    font-weight: 900;
}
.ticket-image {
    position: relative;
    overflow: hidden;
}

.ticket-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}

.ticket-card:hover .ticket-image img {
    transform: scale(1.05);
}

.ticket-details {
    padding: 16px;
    background-color: #fff;
}

.ticket-title {
    font-size: 1.25em;
    margin: 0 0 8px;
    color: #333;
    text-decoration: none;
}

.ticket-title a {
    text-decoration: none;
    color: inherit;
}

.ticket-price {
    font-size: 1.1em;
    margin: 8px 0;
    color: #e67e22;
}

.ticket-date,
.ticket-location {
    font-size: 0.9em;
    color: #888;
    margin: 4px 0;
}

.ticket-description {
    font-size: 1em;
    color: #666;
    margin: 12px 0;
}

.ticket-purchase {
    margin-top: 16px;
}

.ticket-purchase .button {
    background-color: #e67e22;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease-in-out;
}

.ticket-purchase .button:hover {
    background-color: #d35400;
}


.ticket-card .badge {
    position: absolute;
    left: 0;
    top: 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    background: red;
    color: #fff;
    padding: 3px 10px;
}

.sold-amount {
    position: absolute;
}


/* Desktop */
.sold-amount-top-right-desktop {
    top: 20px;
    right: 20px;
}

.sold-amount-top-left-desktop {
    top: 20px;
    left: 20px;
}

.sold-amount-top-center-desktop {
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sold-amount-center-right-desktop {
    top: 50%;
    right: 20px;
    transform: translate(0, -50%);
}

.sold-amount-center-left-desktop {
    top: 50%;
    left: 20px;
    transform: translate(0, -50%);
}

.sold-amount-center-desktop {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sold-amount-bottom-right-desktop {
    bottom: 20px;
    right: 20px;
}

.sold-amount-bottom-left-desktop {
    bottom: 20px;
    left: 20px;
}

.sold-amount-bottom-center-desktop {
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Tablet Portrait (<992px) */
@media (max-width: 991px) {
    .sold-amount-top-right-tablet_portrait {
        top: 20px;
        right: 20px;
        bottom: unset;
        left: unset;
        transform: unset;
    }

    .sold-amount-top-left-tablet_portrait {
        top: 20px;
        left: 20px;
        bottom: unset;
        right: unset;
        transform: unset;
    }

    .sold-amount-top-center-tablet_portrait {
        top: 20px;
        left: 50%;
        bottom: unset;
        right: unset;
        transform: translate(-50%, -50%);
    }

    .sold-amount-center-right-tablet_portrait {
        top: 50%;
        right: 20px;
        bottom: unset;
        left: unset;
        transform: translate(0, -50%);
    }

    .sold-amount-center-left-tablet_portrait {
        top: 50%;
        left: 20px;
        bottom: unset;
        right: unset;
        transform: translate(0, -50%);
    }

    .sold-amount-center-tablet_portrait {
        top: 50%;
        left: 50%;
        bottom: unset;
        right: unset;
        transform: translate(-50%, -50%);
    }

    .sold-amount-bottom-right-tablet_portrait {
        bottom: 20px;
        right: 20px;
        top: unset;
        left: unset;
        transform: unset;
    }

    .sold-amount-bottom-left-tablet_portrait {
        bottom: 20px;
        left: 20px;
        top: unset;
        right: unset;
        transform: unset;
    }

    .sold-amount-bottom-center-tablet_portrait {
        bottom: 20px;
        left: 50%;
        top: unset;
        right: unset;
        transform: translate(-50%, 0);
    }
}

/* Mobile Landscape (<768px) */
@media (max-width: 767px) {
    .sold-amount-top-right-mobile_landscape {
        top: 20px;
        right: 20px;
        bottom: unset;
        left: unset;
        transform: unset;
    }

    .sold-amount-top-left-mobile_landscape {
        top: 20px;
        left: 20px;
        bottom: unset;
        right: unset;
        transform: unset;
    }

    .sold-amount-top-center-mobile_landscape {
        top: 20px;
        left: 50%;
        bottom: unset;
        right: unset;
        transform: translate(-50%, -50%);
    }

    .sold-amount-center-right-mobile_landscape {
        top: 50%;
        right: 20px;
        bottom: unset;
        left: unset;
        transform: translate(0, -50%);
    }

    .sold-amount-center-left-mobile_landscape {
        top: 50%;
        left: 20px;
        bottom: unset;
        right: unset;
        transform: translate(0, -50%);
    }

    .sold-amount-center-mobile_landscape {
        top: 50%;
        left: 50%;
        bottom: unset;
        right: unset;
        transform: translate(-50%, -50%);
    }

    .sold-amount-bottom-right-mobile_landscape {
        bottom: 20px;
        right: 20px;
        top: unset;
        left: unset;
        transform: unset;
    }

    .sold-amount-bottom-left-mobile_landscape {
        bottom: 20px;
        left: 20px;
        top: unset;
        right: unset;
        transform: unset;
    }

    .sold-amount-bottom-center-mobile_landscape {
        bottom: 20px;
        left: 50%;
        top: unset;
        right: unset;
        transform: translate(-50%, 0);
    }
}

/* Mobile Portrait (<479px) */
@media (max-width: 478px) {
    .sold-amount-top-right-mobile_portrait {
        top: 20px;
        right: 20px;
        bottom: unset;
        left: unset;
        transform: unset;
    }

    .sold-amount-top-left-mobile_portrait {
        top: 20px;
        left: 20px;
        bottom: unset;
        right: unset;
        transform: unset;
    }

    .sold-amount-top-center-mobile_portrait {
        top: 20px;
        left: 50%;
        bottom: unset;
        right: unset;
        transform: translate(-50%, -50%);
    }

    .sold-amount-center-right-mobile_portrait {
        top: 50%;
        right: 20px;
        bottom: unset;
        left: unset;
        transform: translate(0, -50%);
    }

    .sold-amount-center-left-mobile_portrait {
        top: 50%;
        left: 20px;
        bottom: unset;
        right: unset;
        transform: translate(0, -50%);
    }

    .sold-amount-center-mobile_portrait {
        top: 50%;
        left: 50%;
        bottom: unset;
        right: unset;
        transform: translate(-50%, -50%);
    }

    .sold-amount-bottom-right-mobile_portrait {
        bottom: 20px;
        right: 20px;
        top: unset;
        left: unset;
        transform: unset;
    }

    .sold-amount-bottom-left-mobile_portrait {
        bottom: 20px;
        left: 20px;
        top: unset;
        right: unset;
        transform: unset;
    }

    .sold-amount-bottom-center-mobile_portrait {
        bottom: 20px;
        left: 50%;
        top: unset;
        right: unset;
        transform: translate(-50%, 0);
    }
}



