/* ========================================
   شدوي - Shadawi Menu
   Brand Identity Applied
   Mobile-First | RTL
   ======================================== */

:root {
    --bg-primary: #002A2D;
    --bg-secondary: #003539;
    --bg-card: #003F44;
    --bg-card-hover: #004F52;
    --accent-primary: #C7A876;
    --accent-gold: #C7A876;
    --accent-green: #004F52;
    --accent-green-light: #006B6F;
    --accent-terracotta: #A45B2A;
    --text-primary: #F5F0EB;
    --text-secondary: #C0CCC8;
    --text-muted: #7FA09A;
    --price-color: #C7A876;
    --calories-color: #C7A876;
    --border-subtle: rgba(199, 168, 118, 0.18);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.45);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font-ar: 'Noto Sans Arabic', 'Tajawal', 'Almarai', Arial, sans-serif;
    --font-en: 'Noto Sans', 'Syne', Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
    margin: 0; padding: 0; height: 100%;
    overflow-x: hidden;
    font-family: var(--font-ar);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

body { transition: opacity ease-in 0.2s; }
body[unresolved] { opacity: 0; display: block; overflow: hidden; position: relative; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-green); border-radius: 4px; }

/* ======== Splash Screen ======== */
.splash-screen {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999; display: flex;
    justify-content: center; align-items: center;
    background-color: var(--bg-primary); overflow: hidden;
}
.splash-screen img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 768px) {
    .splash-screen img { object-fit: contain; width: auto; height: auto; max-width: 100%; max-height: 100%; }
}

/* ======== Header ======== */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, #002A2D 0%, #004F52 100%);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 2px solid var(--accent-gold);
    box-shadow: 0 2px 20px rgba(0, 79, 82, 0.35);
}
header .logo { width: 90px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); transition: var(--transition); }
header .logo:hover { transform: scale(1.05); }
header .menu { font-size: 20px; font-weight: 700; color: var(--accent-gold); text-decoration: none; margin-left: 12px; font-family: var(--font-en); letter-spacing: 1px; text-transform: uppercase; }
.icon { color: var(--accent-gold); font-size: 42px; cursor: pointer; transition: var(--transition); padding: 6px 8px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.icon:hover { transform: scale(1.15); color: var(--text-primary); }
.site-name { font-size: 24px !important; font-weight: 800 !important; color: var(--text-primary) !important; font-family: var(--font-ar) !important; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }

@media (max-width: 768px) {
    header { padding: 6px 16px; }
    header .logo { width: 65px; }
    .site-name { font-size: 18px !important; }
}
@media (max-width: 400px) {
    header .logo { width: 55px; }
    .site-name { font-size: 15px !important; }
}

/* ======== Sidebar ======== */
.sidebar {
    display: none; position: fixed; top: 0; right: 0;
    width: 280px; height: 100%;
    background: linear-gradient(180deg, #003539 0%, #002A2D 100%);
    padding: 24px 20px; z-index: 9999; overflow-y: auto;
    border-left: 3px solid #C7A876;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
}
.sidebar a, .sidebar-link {
    display: flex; align-items: center; justify-content: space-between;
    color: var(--text-primary); text-decoration: none;
    margin-bottom: 4px; font-family: var(--font-ar);
    font-size: 16px; font-weight: 500;
    padding: 12px 16px; border-radius: var(--radius-md);
    transition: var(--transition); border-right: 3px solid transparent;
    white-space: normal; word-wrap: break-word;
}
.sidebar a:hover, .sidebar-link:hover {
    background: rgba(200,149,110,0.1); border-right-color: var(--accent-gold);
    color: var(--accent-gold); padding-right: 20px;
}
.sidebar-header { display: flex; justify-content: center; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }
.sidebar-logo { width: 90px; height: auto; }
.contact-button {
    background: linear-gradient(135deg, #C7A876 0%, #A45B2A 100%);
    color: white; border: none; border-radius: var(--radius-lg);
    padding: 14px 24px; font-family: var(--font-ar); font-size: 16px; font-weight: 700;
    text-align: center; text-decoration: none; display: block; margin-top: 24px;
    transition: var(--transition); box-shadow: 0 4px 15px rgba(199, 168, 118, 0.3);
}
.contact-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(199, 168, 118, 0.4); }

.scroll-up-button {
    position: fixed; bottom: 24px; right: 24px; padding: 0;
    background: linear-gradient(135deg, #C7A876 0%, #004F52 100%);
    color: white; border: none; border-radius: 50%; font-size: 20px;
    cursor: pointer; z-index: 10000; width: 48px; height: 48px;
    display: none; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 79, 82, 0.4); transition: var(--transition);
    font-family: var(--font-ar);
}
.scroll-up-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(199, 168, 118, 0.5); }
@media (max-width: 768px) { .sidebar { width: 260px; } }

/* ======== Banner ======== */
.banner { position: relative; width: 100%; height: 420px; overflow: hidden; }
.banner::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 80px;
    background: linear-gradient(transparent, var(--bg-primary)); z-index: 2; pointer-events: none;
}
.banner img { position: absolute; width: 100%; height: 100%; object-fit: cover; top: 0; left: 100%; transition: left 1s cubic-bezier(0.4,0,0.2,1); }
.banner img.active { left: 0; }
@media (max-width: 768px) { .banner { height: 240px; } }
@media (max-width: 480px) { .banner { height: 200px; } }

/* ======== Category Nav Buttons ======== */
.button-container { text-align: center; margin-top: 16px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.nav-button {
    display: inline-flex; flex-direction: column; align-items: center;
    padding: 10px 20px; background: var(--bg-card); color: var(--text-primary);
    border: 1px solid var(--border-subtle); border-radius: var(--radius-xl);
    text-align: center; text-decoration: none; cursor: pointer;
    font-family: var(--font-ar); font-size: 14px; font-weight: 500;
    transition: var(--transition); white-space: nowrap;
}
.nav-button:hover { background: var(--bg-card-hover); border-color: var(--accent-gold); transform: translateY(-2px); }
.nav-button.active {
    background: linear-gradient(135deg, #004F52 0%, #006B6F 100%);
    color: white; border-color: var(--accent-gold); box-shadow: 0 4px 15px rgba(0, 79, 82, 0.4);
}
@media (max-width: 768px) { .button-container { padding: 10px 12px; gap: 6px; } .nav-button { padding: 8px 16px; font-size: 13px; } }

/* ======== Menu Section ======== */
.one-food-menu { padding: 16px; max-width: 1200px; margin: 0 auto; }
.ofm-controls { position: sticky; top: 52px; background: var(--bg-primary); z-index: 100; padding: 12px 0; margin-bottom: 8px; }
.ofm-category-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 8px; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ofm-category-tabs::-webkit-scrollbar { display: none; }

.ofm-cat-tab {
    background: var(--bg-card); color: var(--text-secondary);
    border: 1px solid var(--border-subtle); padding: 10px 22px;
    border-radius: var(--radius-xl); cursor: pointer;
    transition: var(--transition); font-family: var(--font-ar);
    font-size: 14px; font-weight: 500; flex-shrink: 0;
}
.ofm-cat-tab:hover { background: var(--bg-card-hover); color: var(--text-primary); border-color: var(--accent-gold); }
.ofm-cat-tab.active {
    background: linear-gradient(135deg, #004F52 0%, #006B6F 100%);
    color: #C7A876; border-color: rgba(199, 168, 118, 0.3); box-shadow: 0 4px 15px rgba(0, 79, 82, 0.4);
    font-weight: 700;
}

/* Category Title with Shadawi Stepped Pattern (البناء الهرمي) */
.ofm-category__title {
    color: #C7A876; font-size: 22px; font-weight: 800;
    margin: 28px 0 20px; text-align: center; position: relative;
    padding-bottom: 34px; font-family: var(--font-ar);
}
.ofm-category__title::after {
    content: '';
    display: block;
    width: 130px;
    height: 24px;
    margin: 14px auto 0;
    opacity: 0.6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 24' fill='none' stroke='%23C7A876' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 24 L0 14 L9 14 L9 0 L23 0 L23 14 L32 14 L32 24 L48 24 L48 14 L57 14 L57 0 L71 0 L71 14 L80 14 L80 24 L98 24 L98 14 L107 14 L107 0 L121 0 L121 14 L130 14 L130 24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Product Grid */
.ofm-category__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 768px) { .ofm-category__items { grid-template-columns: 1fr; gap: 12px; } }

/* Product Card - Horizontal Layout */
.ofm-product {
    background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
    color: var(--text-primary); transition: var(--transition);
    border: 1px solid var(--border-subtle); display: flex; flex-direction: row; position: relative;
    align-items: stretch;
}
.ofm-product:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: rgba(200,149,110,0.3); }

.ofm-product__image-col { display: flex; flex-direction: column; width: 120px; min-width: 120px; flex-shrink: 0; }
.image-container { width: 120px; height: 120px; overflow: hidden; flex-shrink: 0; background: var(--bg-secondary); display: flex; align-items: center; justify-content: center; }
.product-image { width: 120px; height: 120px; object-fit: cover; transition: transform 0.5s ease; display: block; }
.ofm-product:hover .product-image { transform: scale(1.08); }

.ofm-product__badges {
    display: flex; flex-direction: column; gap: 2px;
    padding: 6px 8px; background: rgba(0,0,0,0.15);
    flex: 1; align-items: center; justify-content: center;
}

@media (max-width: 480px) {
    .ofm-product__image-col { width: 105px; min-width: 105px; }
    .image-container { width: 105px; height: 105px; }
    .product-image { width: 105px; height: 105px; }
}

.ofm-product__info { padding: 10px 14px; display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 3px; justify-content: space-between; }
.ofm-product__title { font-size: 15px; font-weight: 700; margin: 0; line-height: 1.4; font-family: var(--font-ar); color: var(--text-primary); }
.ofm-product__title span { font-size: 11px !important; color: var(--text-muted) !important; font-weight: 400; font-family: var(--font-en); }
.ofm-product__desc { font-size: 12px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.ofm-product__desc span { font-size: 11px !important; color: var(--text-muted) !important; }

/* Tags */
.ofm-product__tags { display: flex; flex-wrap: wrap; gap: 3px; }
.ofm-tag { display: inline-block; background: rgba(200,149,110,0.15); color: var(--accent-gold); padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 500; border: 1px solid rgba(200,149,110,0.2); }

/* Calories */
.ofm-product__calories { display: flex; align-items: center; gap: 3px; font-size: 10px; color: var(--accent-gold); font-weight: 600; margin: 0; padding: 0; line-height: 1.2; }
.calories-icon {
    display: inline-block; width: 12px; height: 12px; flex-shrink: 0;
    background-color: var(--accent-gold);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04C16.5 17.43 14.35 19 11.71 19z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.41 3.8 13.5.67zM11.71 19c-1.78 0-3.22-1.4-3.22-3.14 0-1.62 1.05-2.76 2.81-3.12 1.77-.36 3.6-1.21 4.62-2.58.39 1.29.59 2.65.59 4.04C16.5 17.43 14.35 19 11.71 19z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* Burning Steps */
.ofm-product__steps { display: flex; align-items: center; gap: 3px; font-size: 9px; color: var(--accent-gold); font-weight: 500; margin: 0; padding: 0; opacity: 0.85; line-height: 1.2; }
.steps-icon {
    display: inline-block; width: 12px; height: 12px; flex-shrink: 0;
    background-color: var(--accent-gold);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='13.5' cy='3.5' r='2'/%3E%3Cpath d='M9.8 8.9L7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13h2V9.6l1.8-.7'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='13.5' cy='3.5' r='2'/%3E%3Cpath d='M9.8 8.9L7 23h2.1l1.8-8 2.1 2v6h2v-7.5l-2.1-2 .6-3C14.8 12 16.8 13 19 13v-2c-1.9 0-3.5-1-4.3-2.4l-1-1.6c-.4-.6-1-1-1.7-1-.3 0-.5.1-.8.1L6 8.3V13h2V9.6l1.8-.7'/%3E%3C/svg%3E");
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* Weight (coffee bean) */
.ofm-product__weight { display: flex; align-items: center; gap: 3px; font-size: 10px; color: var(--accent-gold); font-weight: 600; margin: 0; padding: 0; line-height: 1.2; }
.weight-icon {
    display: inline-block; width: 12px; height: 12px; flex-shrink: 0;
    background-color: var(--accent-gold);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M400 64c-16.2 0-31.8 2.7-46.5 7.7C325.1 26.6 278.6 0 226 0c-79.5 0-144 64.5-144 144 0 30.5 9.5 58.8 25.7 82.1C67.1 257.3 40 306.4 40 362c0 82.8 67.2 150 150 150 53.6 0 100.6-28.1 127.1-70.4 14.5 4.7 30 7.4 46.9 7.4 82.8 0 150-67.2 150-150S482.8 64 400 64zM256 225c-7.7 0-15-1.1-22-3.1C260.4 198.3 278 166.4 278 130c0-2-.1-4-.2-6 35.3 14.7 60.2 49.4 60.2 90 0 1.3-.1 2.6-.1 3.9C319.6 234.2 288.7 225 256 225z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M400 64c-16.2 0-31.8 2.7-46.5 7.7C325.1 26.6 278.6 0 226 0c-79.5 0-144 64.5-144 144 0 30.5 9.5 58.8 25.7 82.1C67.1 257.3 40 306.4 40 362c0 82.8 67.2 150 150 150 53.6 0 100.6-28.1 127.1-70.4 14.5 4.7 30 7.4 46.9 7.4 82.8 0 150-67.2 150-150S482.8 64 400 64zM256 225c-7.7 0-15-1.1-22-3.1C260.4 198.3 278 166.4 278 130c0-2-.1-4-.2-6 35.3 14.7 60.2 49.4 60.2 90 0 1.3-.1 2.6-.1 3.9C319.6 234.2 288.7 225 256 225z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}

/* Price & Size */
.ofm-product__options { margin-top: auto; padding-top: 4px; }
.ofm-product__options-item { display: flex; justify-content: space-between; align-items: center; }
.ofm-product__size { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.ofm-price { font-size: 16px; font-weight: 800; color: #C7A876; font-family: var(--font-ar); white-space: nowrap; }
.ofm-text-sm { font-size: 13px; }
.ofm-text-lg { font-size: 17px; }

/* ======== Footer ======== */
footer {
    background: linear-gradient(180deg, #004F52 0%, #003539 50%, #002A2D 100%);
    color: var(--text-primary); padding: 48px 20px 32px;
    text-align: center; margin-top: 48px; position: relative;
    border-top: 2px solid rgba(199, 168, 118, 0.25);
}
footer::before {
    content: '';
    display: block; width: 130px; height: 24px;
    margin: 0 auto 24px;
    opacity: 0.45;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 24' fill='none' stroke='%23C7A876' stroke-width='2.2' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M0 24 L0 14 L9 14 L9 0 L23 0 L23 14 L32 14 L32 24 L48 24 L48 14 L57 14 L57 0 L71 0 L71 14 L80 14 L80 24 L98 24 L98 14 L107 14 L107 0 L121 0 L121 14 L130 14 L130 24'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
footer .container { max-width: 600px; margin: 0 auto; }
footer .footer-logo { width: 150px; height: auto; margin-bottom: 24px; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
footer p { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0; font-size: 15px; }
footer a { color: var(--text-primary); text-decoration: none; transition: var(--transition); font-weight: 500; }
footer a:hover { color: var(--accent-gold); }
footer img { width: 28px; height: 28px; vertical-align: middle; border-radius: 6px; transition: var(--transition); margin-right: 0; }
footer img:hover { transform: scale(1.15); }

.review-button {
    background: linear-gradient(135deg, #C7A876 0%, #b89560 100%); color: white;
    padding: 16px 24px; border: none; border-radius: var(--radius-xl);
    width: 85%; max-width: 400px; margin: 28px auto; cursor: pointer;
    transition: var(--transition); box-shadow: 0 4px 20px rgba(199, 168, 118, 0.25);
}
.review-button:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(199, 168, 118, 0.35); }
.review-button a { text-decoration: none; color: white; font-family: var(--font-ar); font-size: 18px; font-weight: 800; }

footer iframe { width: 100%; height: 180px; border: none; margin-top: 24px; border-radius: var(--radius-lg); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

/* ======== Responsive ======== */
@media (max-width: 768px) {
    .one-food-menu { padding: 12px; }
    .ofm-controls { top: 48px; padding: 8px 0; }
    .ofm-cat-tab { padding: 8px 16px; font-size: 13px; }
    .ofm-category__title { font-size: 20px; margin: 20px 0 16px; }
    .banner { height: 240px; }
    header .logo { width: 70px; }
    .sidebar { width: 260px; }
    footer .footer-logo { width: 120px; }
    footer { padding: 36px 16px 24px; }
    .nav-button { font-size: 13px; padding: 8px 14px; }
}
@media (max-width: 400px) {
    .one-food-menu { padding: 8px; }
    .ofm-product__title { font-size: 15px; }
    .ofm-price { font-size: 15px; }
    .ofm-product__desc { font-size: 12px; }
    footer .footer-logo { width: 100px; }
}

/* Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.ofm-line-clamp { overflow: hidden; text-overflow: ellipsis; }

/* ======== Product Detail Modal ======== */
.clickable-product { cursor: pointer; }

.modal-overlay {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; background-color: rgba(0,0,0,0.92);
    z-index: 10000; justify-content: center; align-items: center;
    overflow-y: auto; padding: 20px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-container {
    position: relative;
    background: linear-gradient(180deg, #003F44 0%, #003539 100%);
    border-radius: var(--radius-xl); max-width: 700px; width: 100%;
    max-height: 92vh; overflow-y: auto; padding: 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: modalSlideIn 0.35s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid var(--border-subtle);
}
@keyframes modalSlideIn {
    from { transform: translateY(30px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
    position: absolute; top: 12px; right: 12px; font-size: 28px; color: white;
    cursor: pointer; z-index: 10001; transition: var(--transition);
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.5); border-radius: 50%; line-height: 1;
    backdrop-filter: blur(4px);
}
.modal-close:hover { background: rgba(199, 168, 118, 0.8); color: white; transform: rotate(90deg); }
.modal-body { display: flex; flex-direction: column; }
.modal-product-image { width: 100%; max-height: 350px; object-fit: cover; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.modal-details { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-product-title { font-size: 26px; font-weight: 800; color: var(--text-primary); margin: 0; line-height: 1.4; font-family: var(--font-ar); }
.modal-product-title span { color: var(--text-muted) !important; }
.modal-product-description { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin: 0; white-space: pre-wrap; }
.modal-product-description span { color: var(--text-muted) !important; }
.modal-product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-product-tags .ofm-tag { background: rgba(200,149,110,0.15); color: var(--accent-gold); padding: 6px 16px; border-radius: 20px; font-size: 13px; border: 1px solid rgba(200,149,110,0.2); }

.modal-product-calories {
    display: flex; align-items: center; gap: 8px;
    font-size: 15px; color: var(--accent-gold); font-weight: 600;
    padding: 8px 16px; background: rgba(212,165,116,0.1);
    border-radius: var(--radius-md); border: 1px solid rgba(212,165,116,0.2); width: fit-content;
}
.modal-product-calories .calories-icon { width: 18px; height: 18px; background-color: var(--accent-gold); }
.modal-product-steps {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--accent-gold); font-weight: 600;
    padding: 8px 16px; background: rgba(212,165,116,0.08);
    border-radius: var(--radius-md); border: 1px solid rgba(212,165,116,0.15); width: fit-content; opacity: 0.85;
}
.modal-product-steps .steps-icon { width: 18px; height: 18px; background-color: var(--accent-gold); }
.modal-product-weight {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: var(--accent-gold); font-weight: 600;
    padding: 8px 16px; background: rgba(212,165,116,0.08);
    border-radius: var(--radius-md); border: 1px solid rgba(212,165,116,0.15); width: fit-content;
}
.modal-product-weight .weight-icon { width: 18px; height: 18px; }

.modal-product-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border-subtle); }
.modal-product-size { font-size: 15px; color: var(--text-secondary); font-weight: 500; }
.modal-product-price {
    font-size: 24px; color: #C7A876; font-weight: 800;
    background: rgba(199, 168, 118, 0.1); padding: 8px 20px;
    border-radius: var(--radius-md); border: 1px solid rgba(199, 168, 118, 0.15);
}

@media (min-width: 768px) {
    .modal-body { flex-direction: row; }
    .modal-product-image { width: 45%; max-height: 500px; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
    .modal-details { flex: 1; padding: 28px; }
}
@media (max-width: 768px) {
    .modal-container { max-height: 95vh; border-radius: var(--radius-lg); }
    .modal-product-image { max-height: 280px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .modal-product-title { font-size: 22px; }
    .modal-product-description { font-size: 14px; }
    .modal-product-price { font-size: 20px; padding: 6px 16px; }
    .modal-details { padding: 20px; gap: 12px; }
}
