/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://yourdomain.com/
Description: A child theme for Twenty Twenty-Five.
Author: Your Name
Author URI: https://yourdomain.com/
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfive-child
*/
/* Add your custom CSS below this line */
/* --- Styling for Cafe Dynamic Menu --- */

.zain-cafe-menu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif; /* Adjust font as per your theme */
}

.menu-category-section {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.menu-category-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    position: relative;
}

.menu-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #A0522D; /* A nice coffee brown */
    margin: 10px auto 0;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.menu-item-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.menu-item-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent image size */
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the area without distortion */
    display: block;
}

.menu-item-content {
    padding: 15px;
    flex-grow: 1; /* Allows content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes details to bottom */
}

.menu-item-name {
    font-size: 1.6em;
    color: #444;
    margin-top: 0;
    margin-bottom: 10px;
    text-align: center;
}

.menu-item-description {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.5;
}

.menu-item-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    font-size: 0.85em;
    color: #777;
    margin-top: auto; /* Pushes details to the bottom of the card */
}

.menu-item-details span {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap; /* Prevent breaking on small screens */
}

.menu-item-price {
    font-weight: bold;
    color: #A0522D; /* Coffee brown */
    font-size: 1em;
}

.milk-options-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #ddd;\
}

/* RTL support (for Arabic text alignment) */
body {
    direction: rtl; /* If your site is full RTL */
}

.menu-item-card {
    text-align: right; /* Adjust card text alignment */
}

.menu-item-details {
    direction: rtl; /* Ensure details flow correctly */
    justify-content: center; /* Keep details centered */
}

.menu-category-title {
    text-align: center; /* Keep category titles centered */
}

/* Adjust text direction for specific elements if needed */
.menu-item-name,
.menu-item-description {
    direction: rtl;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-items-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .menu-category-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .menu-items-grid {
        grid-template-columns: 1fr;
    }
    .menu-category-title {
        font-size: 1.8em;
    }
    .menu-item-image {
        height: 180px;
    }
}