@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=Reem+Kufi:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --accent-primary: #e1b168;
    --accent-secondary: #1a5096;
    --accent-light: #648ed3;
    --accent-ultra-light: rgba(59, 110, 189, 0.1);
    
    --background-primary: #0a1222;
    --background-secondary: #0f1a2e;
    --background-tertiary: #152239;
    
    --text-primary: #f0f0f0;
    --text-secondary: #c0c0c0;
    --text-muted: #8a8a8a;
    --text-on-accent: #ffffff;
    
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-intense: rgba(0, 0, 0, 0.5);
    
    --blur-intensity: 10px;
    --border-color: rgba(59, 110, 189, 0.2);
    
    --badge-new: #00c397;
    --badge-popular: #ff7247;
    
    --accent-primary-rgb: 225, 177, 104;
    --accent-secondary-rgb: 26, 80, 150;
    --background-primary-rgb: 10, 18, 34;
    --badge-new-rgb: 0, 195, 151;
    --badge-popular-rgb: 255, 114, 71;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--background-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body[dir="ltr"] {
    font-family: 'Tajawal', sans-serif;
}

body[dir="ltr"] .arabic-title {
    font-family: 'Playfair Display', serif;
}

body[dir="ltr"] .english-title {
    font-family: 'Amiri', serif;
}

.arabic-title {
    font-family: 'Amiri', serif;
}

.english-title {
    font-family: 'Playfair Display', serif;
}

.english-text {
    font-family: 'Cormorant Garamond', serif;
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    background: rgba(var(--background-primary-rgb), 0.8);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    z-index: 100;
    transition: all 0.3s ease;
    padding: 0 20px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-tertiary);
    color: var(--accent-primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background-color: var(--accent-ultra-light);
    transform: translateY(-2px);
}

.app-header.scrolled {
    height: 60px;
    background: rgba(var(--background-primary-rgb), 0.95);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: height 0.3s ease;
}

.app-header.scrolled .logo-image {
    height: 35px;
}

.main-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--background-primary-rgb), 0.9);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    z-index: 100;
    box-shadow: 0 -2px 10px var(--shadow-color);
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-container::-webkit-scrollbar {
    display: none;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
}

.nav-item.active {
    color: var(--accent-primary);
}

.nav-item.active::after {
    display: none;
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.nav-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.main-content {
    flex: 1;
    padding: 80px 0 80px 0;
    position: relative;
}

.category-section {
    display: none;
    padding: 10px;
    transition: all 0.3s ease;
}

.category-section.active {
    display: block;
}

.category-title {
    font-size: 1.8rem;
    color: var(--accent-primary);
    text-align: center;
    margin: 15px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.subcategory-container {
    position: relative;
    margin: 15px 0;
}

.subcategory-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 5px;
    position: relative;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
}

.subcategory-tabs::-webkit-scrollbar {
    display: none;
}

.scroll-indicator,
.tabs-indicator,
.tabs-dots-navigation,
.swipe-hint {
    display: none;
}

.subcategory-tab {
    padding: 8px 16px;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    scroll-snap-align: center;
}

.subcategory-tab:hover {
    background-color: var(--background-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.subcategory-tab.active {
    background-color: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(var(--accent-primary-rgb), 0.3);
}

.category-galleries {
    position: relative;
}

.dish-gallery {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 10px;
    margin-top: 20px;
    animation: fadeIn 0.5s ease forwards;
}

.dish-gallery.active {
    display: grid;
}

.dish-card {
    position: relative;
    cursor: pointer;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    background-color: var(--background-secondary);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dish-card:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px var(--shadow-intense);
}

.dish-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background-color: var(--background-tertiary);
}

.dish-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dish-card:hover .dish-image {
    transform: scale(1.08);
}

.allergens-indicators {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    padding: 5px 8px;
    border-radius: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.dish-card:hover .allergens-indicators {
    opacity: 1;
}

.allergen-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

.allergen-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.allergen-icon:hover .allergen-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.dish-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 50px 15px 15px;
    transition: all 0.3s ease;
}

.dish-title {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.dish-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 8px;
}

.dish-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dish-price {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-family: 'Tajawal', sans-serif;
    letter-spacing: 0.5px;
}

.price-number {
    font-family: 'Poppins', 'Inter', 'Roboto', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: 'tnum' on, 'lnum' on;
}

.currency-icon {
    width: 14px;
    height: 14px;
    display: inline-block;
    filter: brightness(0) invert(1);
    margin-bottom: 1px;
    vertical-align: baseline;
}

[dir="rtl"] .dish-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: auto;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

[dir="ltr"] .dish-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    left: auto;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.badge-new {
    background-color: var(--badge-new);
    color: white;
}

.badge-popular {
    background-color: var(--badge-popular);
    color: white;
}

.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.detail-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--background-secondary);
    border-radius: 20px;
    box-shadow: 0 25px 50px var(--shadow-intense);
    transform: translateY(50px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid var(--border-color);
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--background-tertiary);
}

.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: var(--background-tertiary);
}

.modal-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-primary);
    border-radius: 20px;
}

.detail-modal.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-header {
    position: relative;
    height: 50vh;
    max-height: 400px;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(var(--accent-primary-rgb), 0.7);
    color: white;
    border-color: var(--accent-primary);
}

.modal-price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: var(--accent-primary);
    color: var(--text-on-accent);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.modal-price-badge .price-number {
    font-family: 'Poppins', 'Inter', 'Roboto', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: 'tnum' on, 'lnum' on;
}

.modal-price-badge .currency-icon {
    width: 16px;
    height: 16px;
    margin-bottom: 1px;
    vertical-align: baseline;
}

.modal-content {
    padding: 25px;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 5px;
    font-weight: 700;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.modal-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-left: 8px;
    margin-right: 8px;
}

.modal-description {
    font-size: 1.1rem;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 15px;
    padding-right: 10px;
    padding-left: 10px;
    border-right: 2px solid var(--accent-primary);
}

body[dir="ltr"] .modal-description {
    border-right: none;
    border-left: 2px solid var(--accent-primary);
}

.modal-nutrition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.nutrition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--accent-ultra-light);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.nutrition-value {
    font-size: 1.2rem;
    color: var(--accent-primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.nutrition-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-allergens {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.allergen-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background-color: var(--background-tertiary);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.allergen-item i {
    color: var(--accent-primary);
}

.modal-tags {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-tag {
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-tag.new {
    background-color: rgba(var(--badge-new-rgb), 0.2);
    color: var(--badge-new);
    border: 1px solid rgba(var(--badge-new-rgb), 0.3);
}

.modal-tag.popular {
    background-color: rgba(var(--badge-popular-rgb), 0.2);
    color: var(--badge-popular);
    border: 1px solid rgba(var(--badge-popular-rgb), 0.3);
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--background-primary-rgb), 0.95);
    backdrop-filter: blur(var(--blur-intensity));
    -webkit-backdrop-filter: blur(var(--blur-intensity));
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

.search-title {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.search-close {
    width: 36px;
    height: 36px;
    background-color: var(--accent-ultra-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-primary);
    font-size: 1.2rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.search-close:hover {
    background-color: var(--accent-primary);
    color: var(--text-on-accent);
}

.search-container {
    width: 100%;
    max-width: 600px;
    position: relative;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.1rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--accent-primary);
    background-color: var(--background-tertiary);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.search-results {
    width: 100%;
    max-width: 600px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--background-tertiary);
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: var(--background-tertiary);
}

.search-results::-webkit-scrollbar-thumb {
    background-color: var(--accent-primary);
    border-radius: 20px;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    background-color: var(--background-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-item:hover {
    background-color: var(--background-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 15px;
    margin-right: 15px;
}

.result-info {
    flex: 1;
}

.result-title {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-weight: 600;
}

.result-category {
    font-size: 0.9rem;
    color: var(--accent-light);
}

.result-price {
    font-size: 1.1rem;
    color: var(--accent-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.result-price .price-number {
    font-family: 'Poppins', 'Inter', 'Roboto', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: 'tnum' on, 'lnum' on;
}

.result-price .currency-icon {
    width: 14px;
    height: 14px;
    margin-bottom: 1px;
    vertical-align: baseline;
}

.no-results {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
}

.empty-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.6;
    margin-bottom: 20px;
}

.empty-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 100%;
    max-width: 700px;
    height: auto;
    animation: pulsate 2s infinite;
}

@media (max-width: 767px) {
    .splash-logo {
        max-width: 100%;
        padding: 0 20px;
    }
}

.floating-action-button {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-on-accent);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    cursor: pointer;
    z-index: 90;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.floating-action-button.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-action-button:hover {
    background-color: var(--accent-secondary);
    transform: translateY(-5px);
}

.shimmer-container {
    padding: 20px;
}

.shimmer-card {
    background-color: var(--background-secondary);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.shimmer-image {
    height: 200px;
    background: linear-gradient(90deg, var(--background-tertiary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.shimmer-content {
    padding: 15px;
}

.shimmer-title {
    height: 24px;
    width: 80%;
    background: linear-gradient(90deg, var(--background-tertiary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 10px;
}

.shimmer-subtitle {
    height: 16px;
    width: 60%;
    background: linear-gradient(90deg, var(--background-tertiary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
    margin-bottom: 15px;
}

.shimmer-meta {
    display: flex;
    justify-content: space-between;
}

.shimmer-price {
    height: 20px;
    width: 30%;
    background: linear-gradient(90deg, var(--background-tertiary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.shimmer-tags {
    display: flex;
    gap: 10px;
}

.shimmer-tag {
    height: 20px;
    width: 60px;
    background: linear-gradient(90deg, var(--background-tertiary) 0%, var(--background-secondary) 50%, var(--background-tertiary) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 20px;
}

[dir="rtl"] .scroll-indicator.left i {
    transform: rotate(180deg);
}

[dir="rtl"] .scroll-indicator.right i {
    transform: rotate(180deg);
}

[dir="ltr"] .swipe-hint i {
    transform: scaleX(-1);
}

[dir="rtl"] .ml-2 {
    margin-right: 0.5rem;
    margin-left: 0;
}

[dir="rtl"] .mr-2 {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="ltr"] .ml-2 {
    margin-left: 0.5rem;
    margin-right: 0;
}

[dir="ltr"] .mr-2 {
    margin-right: 0.5rem;
    margin-left: 0;
}

@media (min-width: 1025px) {
    .subcategory-tabs {
        flex-wrap: wrap;
        overflow: visible;
        justify-content: center;
        padding: 10px 20px;
    }
}
@keyframes pulsate {
    0% {
        opacity: 0.6;
        transform: scale(0.98);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@media (min-width: 768px) {
    .subcategory-tabs {
        flex-wrap: wrap;
        overflow-x: visible !important;
        max-width: 100%;
        justify-content: center;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .dish-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-container {
        max-width: 700px;
    }
    
    .modal-nutrition {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .subcategory-tabs {
        justify-content: center;
        overflow-x: visible;
    }
}

@media (max-width: 767px) {
    .dish-gallery {
        grid-template-columns: 1fr;
    }
    
    .dish-image-container {
        padding-top: 66.67%;
    }
    
    .category-title {
        font-size: 1.5rem;
        margin: 10px 0;
    }
    
    .subcategory-container {
        margin: 10px 0;
        position: relative;
    }
    
    .subcategory-tabs {
        padding: 10px 15px;
        gap: 8px;
        justify-content: flex-start;
        scroll-behavior: smooth;
        overflow-x: auto !important;
        max-width: 100%;
        margin: 0 auto;
        scroll-snap-type: x proximity;
        -webkit-scroll-snap-type: x proximity;
        scroll-padding: 0 15px;
    }
    
    .subcategory-tab {
        padding: 8px 16px;
        font-size: 0.9rem;
        scroll-snap-align: center;
    }
    
    .subcategory-tabs::before,
    .subcategory-tabs::after {
        display: none;
    }
    
    .tabs-dots-navigation {
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-top: 12px;
        gap: 10px;
        padding: 8px;
    }
    
    .tab-dot-btn {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--border-color);
        border: none;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        position: relative;
        padding: 0;
        outline: none;
    }
    
    .tab-dot-btn:hover {
        background-color: var(--accent-light);
        transform: scale(1.2);
    }
    
    .tab-dot-btn.active {
        width: 14px;
        height: 14px;
        background-color: var(--accent-primary);
        box-shadow: 0 0 0 4px rgba(var(--accent-primary-rgb), 0.2);
    }
    
    .tab-dot-btn.active::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 6px;
        height: 6px;
        background-color: white;
        border-radius: 50%;
    }
    .scroll-indicator {
        display: none !important;
    }
    
    .tabs-indicator {
        display: none !important;
    }
    
    .swipe-hint {
        position: absolute;
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 0.7rem;
        color: var(--text-muted);
        display: flex !important;
        align-items: center;
        gap: 5px;
        opacity: 0;
        animation: fadeInOut 4s ease-in-out;
    }
    
    @keyframes fadeInOut {
        0%, 100% { opacity: 0; }
        20%, 80% { opacity: 0.7; }
    }
    
    .modal-header {
        height: 35vh;
    }
    
    .modal-title {
        font-size: 1.6rem;
    }
    
    .modal-nutrition {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo-image {
        height: 35px;
    }
    
    .app-header.scrolled .logo-image {
        height: 30px;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .action-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .nav-icon {
        font-size: 1.3rem;
    }
    
    .nav-text {
        font-size: 0.8rem;
    }
    
    .main-content {
        padding: 70px 0 70px 0;
    }
}