/* ===== CSS Variables ===== */
:root {
    --primary-color: #fbc500;
    --secondary-color: #f39c12;
    --bg-color: #1a1a2e;
    --card-bg: #16213e;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #2a2a4a;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --radius: 12px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Header ===== */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h5 {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

.nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.slide-content h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.slide-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.slide-content .price {
    display: inline-block;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-top: 8px;
    font-weight: bold;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 12px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 5px;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--primary-color);
}

/* ===== Search ===== */
.search-container {
    padding: 15px 0;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 30px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

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

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

[dir="rtl"] .search-icon {
    left: auto;
    right: 15px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-top: 5px;
    display: none;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.suggestion-item:hover {
    background: rgba(231, 76, 60, 0.1);
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    margin-bottom: 25px;
}

.section-header h2,
.section-header h4 {
    font-size: 1.5rem;
    color: var(--text-secondary-color);
}

/* ===== Popular Section ===== */
.popular-section {
    padding: 20px 0;
    overflow-x: auto;
    overflow-y: hidden;
}


.popular-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: bold;
}

[dir="rtl"] .popular-badge {
    left: auto;
    right: 10px;
}

/* ===== Category Tabs ===== */
.category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.tab-btn {
    white-space: nowrap;
    padding: 8px 18px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--card-bg);
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.tab-btn:hover {
    border-color: var(--primary-color);
}

/* ===== Menu Grid ===== */
.menu-section {
    display: none;
}

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

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 10px 0;
}

/* ===== Menu Item ===== */
.menu-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.menu-item:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
}

.item-image {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.item-image:hover img {
    transform: scale(1.05);
}

.item-image .preview-btn {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

[dir="rtl"] .item-image .preview-btn {
    left: auto;
    right: 8px;
}

.item-image:hover .preview-btn {
    opacity: 1;
}

.item-name {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}

.item-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    flex-grow: 1;
    /* display: none; */
}

.item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.price-lbp {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.price-usd {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.size-selector-compact {
    display: flex;
    gap: 3px;
    margin-bottom: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.size-radio-label {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.size-radio-label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(231, 76, 60, 0.1);
}

.size-radio-label input {
    width: 12px;
    height: 12px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    background: #c0392b;
    transform: scale(1.02);
}

/* ===== About Section ===== */
.about-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(243, 156, 18, 0.05));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    margin-top: 20px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.feature-item h4 {
    color: var(--text-color);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 40px 0;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.gallery-tab {
    padding: 8px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.gallery-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.gallery-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay p {
    color: white;
    font-size: 0.85rem;
    text-align: center;
}

/* ===== Location Section ===== */
.location-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(243, 156, 18, 0.05));
}

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

.location-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

.location-card:hover {
    border-color: var(--primary-color);
}

.location-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.location-card h3 {
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.location-card p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.location-phone {
    color: var(--primary-color) !important;
    font-weight: bold;
    margin-bottom: 15px !important;
}

.map-container {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
}

/* ===== Working Hours Section ===== */
.hours-section {
    padding: 40px 0;
}

.hours-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.hours-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
    text-align: center;
}

.hours-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hours-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.hours-table {
    text-align: right;
}

[dir="ltr"] .hours-table {
    text-align: left;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hours-row:last-child {
    border-bottom: none;
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 4px 0;
    width: 60%;
}

.social-item {
    text-align: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s;
    margin: 0 auto 8px;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-btn.tiktok {
    background: #000;
}

.social-btn:hover {
    transform: scale(1.15);
}

.social-item p {
    font-size: 0.6rem;
    color: var(--text-secondary);
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
}

[dir="rtl"] .whatsapp-float {
    left: 25px;
    right: auto;
}

.whatsapp-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.whatsapp-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px;
    min-width: 200px;
    display: none;
    box-shadow: var(--shadow);
    animation: slideUp 0.3s ease;
}

.whatsapp-menu.show {
    display: block;
}

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

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
    font-size: 0.9rem;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: right;
}

[dir="ltr"] .whatsapp-option {
    text-align: left;
}

.whatsapp-option:hover {
    background: rgba(37, 211, 102, 0.1);
}

.whatsapp-option i {
    color: #25d366;
    font-size: 1.1rem;
}

.whatsapp-cart-option i {
    color: var(--primary-color);
}

/* ===== Cart Sidebar ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    max-width: 90vw;
    height: 100vh;
    background: var(--card-bg);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

[dir="rtl"] .cart-sidebar {
    right: auto;
    left: -400px;
    transition: left 0.3s;
}

.cart-sidebar.open {
    right: 0;
}

[dir="rtl"] .cart-sidebar.open {
    left: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
}

.cart-header h2 {
    font-size: 1.2rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 10px;
}

.cart-item-image {
    font-size: 2rem;
    display: flex;
    align-items: center;
}

.cart-item-content {
    flex: 1;
}

.cart-item-content h4 {
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.cart-item-details {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.cart-item-price {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin: 5px 0;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.quantity {
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-footer {
    padding: 15px;
    border-top: 2px solid var(--border-color);
}

.cart-total {
    margin-bottom: 15px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-weight: bold;
}

.branch-selector {
    margin-bottom: 15px;
}

.branch-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.branch-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.branch-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-option label {
    cursor: pointer;
    font-size: 0.9rem;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #1da851;
}

.checkout-btn:disabled {
    background: #555;
    cursor: not-allowed;
}

/* ===== Modals ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.open {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.2rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.checkout-form .form-group {
    margin-bottom: 15px;
}

.checkout-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #25d366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #1da851;
}

/* ===== Image Preview Modal ===== */
.image-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-preview-modal.open {
    display: flex;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

.image-preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1;
}

.image-preview-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.image-preview-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.image-preview-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ===== Cart Animation ===== */
.cart-animation {
    position: fixed;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 5000;
    pointer-events: none;
}

.cart-animation.show {
    display: flex;
    animation: cartPop 0.6s ease forwards;
}

@keyframes cartPop {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

/* ===== Loading Overlay ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ===== Scroll to Top ===== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    left: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
    box-shadow: var(--shadow);
}

[dir="rtl"] .scroll-to-top {
    left: 25px;
    right: auto;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: scale(1.1);
}

/* ===== Hidden Items ===== */
.menu-item.hidden {
    display: none;
}

/* ===== Responsive - Mobile First ===== */
/* Base styles are already optimized for mobile (2 columns) */

/* Tablets (iPad) */
@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-slider {
        height: 280px;
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hours-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens - still keep 2 columns for menu */
@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 700px;
        margin: 0 auto;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .social-links {
        gap: 8px;
    }
}