/*
 Theme Name:   Eventicity Child Theme
 Theme URI:    https://eventicity.themerex.net
 Description:  Eventicity Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     eventicity
 Version:      1.0.0    
 Tags:         celebration, event, event planner, event theme, invitation, venue, wedding, wedding planner, party, events calendar, catering, conference, birthday party, event agency, party planning
 Text Domain:  eventicity
*/


/* =Theme customization starts here
------------------------------------------------------------ */
/* ===== Orders Wrapper ===== */
.my-orders-table {
    display: block;
    border: none;
}

.my-orders-table thead {
    display: none;
}

.my-orders-table tbody {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Order Card ===== */
.my-orders-table tr.order-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 10px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
    align-items: center;
}

/* ===== Order Details Row ===== */
.order-details-row td {
    padding: 0 !important;
    border: none;
}

.order-details-box {
    margin-top: 15px;
    background: #f7f7f7;
    border-radius: 14px;
    padding: 20px;
}

.order-details-btn {
    background: linear-gradient(135deg, #0073aa, #005177);
    padding: 8px 18px;
	color: #fff;
    font-weight: bold;
}

.order-details-btn:hover {
    background: #005177;
}
.meal-block {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    margin-bottom: 20px;
}

.meal-block h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}
.dishes-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.dish-card {
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.dish-card img {
    height: 170px;
}

.dish-content h5 {
    font-size: 15px;
    font-weight: 600;
}
.order-details-row {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.order-details-row.active {
    max-height: 2000px;
}
/* ============================= */
/* Order Details Animation Fix */
/* ============================= */

.order-details-row {
    display: none; /* الصف مقفول افتراضياً */
}

.order-details-box {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height .4s ease, padding .3s ease;
}

.order-details-row.active .order-details-box {
    max-height: 3000px; /* رقم كبير عشان يفتح كله */
    padding: 20px;
}

/* ============================= */
/* Meals Grid (Inside Order) */
/* ============================= */

.order-details-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* كل وجبة */
.meal-block {
    border-bottom: none;
}
.meal-block {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
@media (max-width: 1024px) {
    .order-details-box {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .order-details-box {
        grid-template-columns: 1fr;
    }
}

