.fav-ticket {
    margin-bottom: 10px;
}

/* الكرت */
.fav-ticket .ticket {
    display: grid;
    grid-template-columns: 120px 1px minmax(0, 1fr) 1px 160px;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 24px 32px;
    position: relative;
    gap: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* العمود اليسار */
.fav-ticket .ticket-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	padding-right: 20px;
}

.fav-ticket .ticket-day {
    font-size: 55px;
    font-weight: 600;
    color: #4da6ff;
    line-height: 1;
}

.fav-ticket .ticket-weekday {
    margin-top: 8px;
    font-size: 18px;
    color: #4da6ff;
}

/* الوسط */
.fav-ticket .ticket-middle {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.fav-ticket .ticket-title {
    font-size: 28px;
    font-weight: 500;
    color: #555555;
}

.fav-ticket .ticket-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #777777;
}

.fav-ticket .ticket-icon {
    font-size: 18px;
}

.fav-ticket .ticket-text {
    line-height: 1.4;
}

/* اليمين */
.fav-ticket .ticket-right {
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.fav-ticket .ticket-price {
    font-size: 18px;
    font-weight: 500;
    color: #4da6ff;
}

.fav-ticket .ticket-btn {
    display: inline-block;
    background: #4da6ff;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;   /* يمنع كسر السطر */
    line-height: 1;        /* نص أنعم */
}


/* الفواصل المنقطة + الحفرات */
.fav-ticket .ticket-divider {
    position: relative;
    border-left: 2px dashed #555555;
    margin: 0 auto;
}

/* لو حاب يكون فيه حفرات أوضح على اليمين بس */
.fav-ticket  .ticket-divider-right::before,
.fav-ticket  .ticket-divider-right::after {
    /* نفس الشي حالياً، فيك تعدل لاحقاً لو حاب */
}

.month-divider {
    background: #444549;
    color: #ffffff;
    padding: 8px 14px;
	width: 100%;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    display: inline-block;
}


/* موبايل – تبسيط */
@media (max-width: 768px) {
    .fav-ticket  .ticket {
        grid-template-columns: 1fr;
        row-gap: 16px;
        padding: 20px;
    }

    .fav-ticket .ticket-divider,
    .fav-ticket .ticket-divider::before,
    .fav-ticket .ticket-divider::after {
        display: none;
    }

    .fav-ticket .ticket-left {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }

    .fav-ticket .ticket-right {
        padding-left: 0;
        align-items: flex-start;
    }
}








/* -------- Ticket form ---------- */

.ticket-form-wrapper {
    display: none;        /* JS بيحط is-open */
    margin: 10px 0 20px;
}

.ticket-form-wrapper.is-open {
    display: block;
}

.ticket-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    margin-top: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border: 1px solid #f0f0f0;
}

.ticket-participant {
    margin-bottom: 10px;
}

.ticket-participant-separator {
    border: none;
    border-top: 1px dashed #ddd;
    margin: 10px 0 5px;
}

.ticket-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.ticket-form-field {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-form-field label {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

.ticket-form-field input {
    border-radius: 8px;
    border: 5px solid #000;
    padding: 7px 10px;
    font-size: 14px;
    width: 100%;
}

/* حقول اليوم/الشهر/السنة أصغر */
.ticket-form-field-small {
    flex: 0 0 90px;
}

/* checkboxes */
.ticket-form-row-checkboxes {
    flex-direction: column;
}

.ticket-form-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
}

.ticket-form-checkbox input {
    width: auto;
}

/* زر إضافة مشارك */
.ticket-form-row-add {
    justify-content: flex-start;
}

.ticket-add-participant {
    border: none;
    background: transparent;
    color: #4da6ff;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

/* submit button */
.ticket-form-row-submit {
    justify-content: flex-end;
}

.ticket-form-submit {
    border: none;
    border-radius: 999px;
    padding: 8px 20px;
    background: #4da6ff;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.ticket-total {
    font-size: 20px;
    color: #000000;
}

.ticket-total-label {
    font-weight: 600;
    margin-right: 4px;
}

.participant-title {
    font-size: 15px;
    font-weight: 800;
    color: #333;
    margin: 8px 0 10px;
}

/* زر sold out */
.fav-ticket .ticket-btn--soldout {
    background: #e0e0e0;      /* فضي */
    color: #c00000;           /* أحمر غامق */
    cursor: not-allowed;
    pointer-events: none;
    opacity: 1;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid #d0d0d0;
}

/* عدد المقاعد المتاحة */
.ticket-seats-info{
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.2;
  color: #b52d2d !important;
}

.fav-ticket .ticket-seats-info strong {
    font-weight: 700;
}

/* لما تكون Sold out */
.fav-ticket .ticket-seats-info--soldout {
    color: #c00000;
}

/* موبايل */
@media (max-width: 768px) {
    .ticket-form {
        padding: 12px 12px;
    }

    .ticket-form-field-small {
        flex: 1 1 70px;
    }
}
