:root {
    --primary: #e0572f;
    --primary-dark: #c9451f;
    --bg: #faf7f2;
    --card: #ffffff;
    --text: #2b2320;
    --muted: #8a7f78;
    --border: #eee2d8;
    --shadow: 0 6px 18px rgba(43, 35, 32, 0.08);
    --gold: #c9a84c;
    --gold-light: #e0ca7a;
    --deep-green: #2d4a22;
    --soft-cream: #fdfaf2;
    --warm-terracotta: #b45f3a;
    --charcoal: #1e1b16;
    --muted-stone: #f3efe7;
    --card-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.07), 0 4px 12px rgba(0, 0, 0, 0.03);
    --glass-bg: rgba(255, 250, 240, 0.7);
    --glass-border: 1px solid rgba(201, 168, 76, 0.2);
    --radius-xl: 2.5rem;
    --radius-lg: 1.75rem;
    --radius-md: 1.25rem;
    --radius-sm: 0.9rem;
}

@font-face {
    font-family: 'irsans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/irsans/irsans.eot');
    src: url('../fonts/irsans/irsans.woff') format("embedded-opentype"),
         url('../fonts/irsans/irsans.ttf') format("truetype");
}

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

html, body {
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.menu-content {
    padding-bottom: 120px !important;
    min-height: auto !important;
    overflow-y: visible !important;
}

.cat-section {
    scroll-margin-top: var(--topbar-height, 150px) !important;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

#branches-section,
#menu-preview-section,
#about-section,
.cat-section,
[id^="section-"] {
    scroll-margin-top: 100px;
}

body {
    font-family: 'irsans', 'Vazirmatn', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.page {
    animation: fadeIn 0.35s ease;
}

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

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 1.5rem 0 3rem;
    background: linear-gradient(135deg, #fefaf1 0%, #faf3e2 100%);
    border-radius: var(--radius-xl);
    padding: 2.2rem 3rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(2px);
}

.hero-content {
    flex: 1 1 50%;
}

.hero-badge {
    background: rgba(201, 168, 76, 0.18);
    color: #8b6914;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
    letter-spacing: 0.2px;
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: var(--deep-green);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(201, 168, 76, 0.4);
    border-radius: 1rem;
    z-index: -1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2.2rem;
    max-width: 85%;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--deep-green);
    color: white;
    border: none;
    padding: 0.9rem 2.4rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 12px 20px -12px rgba(45, 74, 34, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #3a5f2e;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--deep-green);
    color: var(--deep-green);
    padding: 0.85rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: rgba(45, 74, 34, 0.05);
}

.hero-image {
    flex: 1 1 45%;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-img-wrapper {
    background: radial-gradient(circle at center, rgba(201, 168, 76, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    padding: 1.8rem;
}

.hero-img-wrapper img {
    width: 100%;
    max-width: 440px;
    border-radius: 60% 40% 50% 45% / 55% 45% 55% 45%;
    object-fit: cover;
    aspect-ratio: 1/1;
    box-shadow: 0 30px 45px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 240, 0.8);
}

.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--charcoal);
}

.section-title i {
    color: var(--gold);
    font-size: 2rem;
}

.branch-socials-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee2d8;
    flex-wrap: wrap;
    justify-content: center;
}

.branch-socials-title {
    font-size: 13px;
    font-weight: 600;
    color: #8a7f78;
    white-space: nowrap;
}

.branch-socials-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.branch-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: none;
}

.branch-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.branch-social-link i {
    color: #fff;
    line-height: 1;
}

.branch-social-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.branch-socials-style-circle .branch-social-link {
    border-radius: 50%;
}

.branch-socials-style-square .branch-social-link {
    border-radius: 8px;
}

.branch-socials-style-pill .branch-social-link {
    border-radius: 30px;
    padding: 0 16px !important;
    gap: 6px;
}

.branch-socials-size-small .branch-social-link {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.branch-socials-size-medium .branch-social-link {
    width: 40px;
    height: 40px;
    font-size: 17px;
}

.branch-socials-size-large .branch-social-link {
    width: 48px;
    height: 48px;
    font-size: 20px;
}


@media (max-width: 480px) {
    .branch-socials-wrapper {
        gap: 8px;
        padding: 10px 12px;
    }
    
    .branch-socials-title {
        font-size: 11px;
    }
    
    .branch-socials-size-medium .branch-social-link {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0 0;
}

.branch-card {
    display: block;
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    border: 1px solid #f1ede4;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    position: relative;
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.12);
    border-color: rgba(201, 168, 76, 0.3);
}

.branch-card:active {
    transform: scale(0.98);
}

.branch-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.branch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-card:hover .branch-img {
    transform: scale(1.05);
}

.branch-status-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(8px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

.branch-status-badge.open {
    background: rgba(34, 197, 94, 0.9);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
}

.branch-status-badge.closed {
    background: rgba(239, 68, 68, 0.9);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

.branch-status-badge.open .status-dot {
    animation: pulse-dot 2s infinite;
}

.branch-status-badge.closed .status-dot {
    opacity: 0.7;
}

.branch-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

.branch-badge.open {
    background: rgba(76, 175, 80, 0.85);
}

.branch-badge.closed {
    background: rgba(244, 67, 54, 0.85);
}

.branch-info {
    padding: 1rem 1.2rem 1.2rem;
}

.branch-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.branch-address {
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
	height: 50px;
}

.branch-address i {
    color: var(--gold);
    font-size: 1rem;
}

.branch-info h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.branch-info .addr {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 8px;
}

.branch-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.branch-hours {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--muted);
    background: var(--muted-stone);
    padding: 4px 12px;
    border-radius: 20px;
    direction: rtl;
}

.branch-hours i {
    color: var(--deep-green);
    font-size: 0.9rem;
}

.branch-hours::before {
    content: none;
}

.branch-food-count {
    font-size: 0.65rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--muted-stone);
    padding: 4px 12px;
    border-radius: 20px;
}

.branch-food-count i {
    color: var(--warm-terracotta);
    font-size: 0.9rem;
}

.branch-card .hours {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
    direction: rtl;
    justify-content: center;
    padding-bottom: 10px;
}

.branch-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.branch-tags .tag,
.branch-tags span {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12) 0%, rgba(201, 168, 76, 0.05) 100%);
    color: #8b6914;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}

.branch-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.view-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--deep-green);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    transition: gap 0.3s ease;
}

.view-menu-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.branch-card:hover .view-menu-btn::after {
    width: 100%;
}

.branch-card:hover .view-menu-btn {
    gap: 0.8rem;
}

.branches-section-wrapper {
    position: relative;
    padding: 3rem 0;
    margin: 3rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.branches-section-overlay {
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 242, 0.85);
    z-index: 1;
}

.branches-section-wrapper.has-bg .branches-section-overlay {
    background: rgba(30, 27, 22, 0.75);
}

.branches-section-content {
    position: relative;
    z-index: 2;
    padding: 0 2.5rem;
}

.branches-section-wrapper.has-bg .section-title {
    color: #fff;
}

.branches-section-wrapper.has-bg .branches-section-desc {
    color: rgba(255, 255, 255, 0.85) !important;
}

.branches-section-desc {
    color: #5e5544;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .branches-section-wrapper {
        background-attachment: scroll;
        padding: 2rem 0;
        margin: 2rem 0;
    }
    
    .branches-section-content {
        padding: 0 1rem;
    }
}

.menu-preview {
    background: linear-gradient(120deg, #faf7f0 0%, #f4ede0 100%);
    border-radius: var(--radius-xl);
    padding: 2.8rem 2.5rem;
    margin: 3rem 0 3.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.menu-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.menu-preview-title {
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--charcoal);
}

.menu-preview-link {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.3s;
}

.menu-preview-link:hover {
    gap: 0.7rem;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.menu-card {
    background: rgba(255, 255, 250, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0;
    text-align: center;
    box-shadow: 0 15px 25px -12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
    display: block;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 168, 76, 0.4);
}

.menu-card-img-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.menu-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.menu-card:hover img {
    transform: scale(1.08);
}

.menu-card-title {
    font-weight: 600;
    font-size: 1.05rem;
    padding: 1rem 1rem 0.3rem;
    color: var(--charcoal);
}

.menu-card-price {
    color: var(--gold);
    font-weight: 700;
    padding: 0.3rem 1rem 1.2rem;
    font-size: 0.95rem;
}

.menu-card-category {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    padding: 0 1rem;
    margin-top: -0.2rem;
    margin-bottom: 0.3rem;
}

.stats-row {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 4rem 0 3rem;
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    box-shadow: var(--card-shadow);
}

.stats-content {
    flex: 1;
}

.stats-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.stats-desc {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

.stats-grid {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.8rem;
}

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

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--deep-green);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

.stats-image {
    flex: 0.8;
    background: var(--muted-stone);
    border-radius: 2rem;
    padding: 1.2rem;
}

.stats-image img {
    width: 100%;
    border-radius: 1.5rem;
    object-fit: cover;
}

.booking-cta {
    background: var(--deep-green);
    border-radius: var(--radius-xl);
    padding: 3rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin: 3rem 0 3.5rem;
    background-image: radial-gradient(circle at 20% 30%, #4a6e37, #1e3316);
    gap: 2rem;
    flex-wrap: wrap;
}

.booking-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.booking-text p {
    opacity: 0.9;
    font-size: 1rem;
}

.booking-btn {
    background: white;
    color: var(--deep-green);
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-weight: 700;
    border: none;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.home-header {
    padding: 40px 20px 20px;
    text-align: center;
}

.home-header h1 {
    font-size: 26px;
    margin-bottom: 6px;
}

.home-header p {
    color: var(--muted);
    font-size: 14px;
}

.branch-list {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 20px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.menu-topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
    background: var(--bg, #faf7f2);
    padding-top: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.menu-topbar.scrolled {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cat-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 16px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.2s, transform 0.2s;
}

.cat-item.active {
    opacity: 1;
}

.cat-item:active {
    transform: scale(0.95);
}

#menu-page {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.cat-section {
    scroll-margin-top: var(--topbar-height, 150px);
}



.menu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 12px;
}

.back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
}

.menu-header h2 {
    font-size: 18px;
    flex: 1;
}

.menu-header .sub {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    direction: rtl;
}

.cat-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 6px 16px 16px;
    scrollbar-width: none;
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    opacity: .75;
    transition: opacity .2s, transform .2s;
}

.cat-item.active {
    opacity: 1;
}

.cat-item:active {
    transform: scale(.95);
}

.cat-circle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: var(--card);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.cat-item.active .cat-circle {
    border-color: var(--primary);
}

.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-item span {
    font-size: 12px;
    white-space: nowrap;
    color: var(--text);
}

.menu-content {
    padding: 4px 16px 100px;
    max-width: 640px;
    margin: 0 auto;
}

.cat-section {
    scroll-margin-top: var(--topbar-height, 150px);
    padding-top: 18px;
}

.cat-section h3 {
    font-size: 17px;
    margin-bottom: 12px;
    border-right: 4px solid var(--primary);
    padding-right: 10px;
}

.food-card {
    display: flex;
    gap: 10px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    margin-bottom: 12px;
    align-items: center;
    box-shadow: var(--shadow);
}

.food-img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.food-info {
    flex: 1;
    min-width: 0;
}

.food-info h4 {
    font-size: 13px;
    margin-bottom: 15px;
}

.food-info p {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
    align-items: end;
}

.food-price {
    font-size: 11px;
    font-weight: bold;
    color: var(--primary-dark);
}

.add-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .15s, background .15s;
    flex-shrink: 0;
}

.add-btn:active {
    transform: scale(.85);
}

.add-btn.added {
    background: var(--primary-dark);
}

.cart-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 15px;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 22px rgba(224, 87, 47, 0.4);
    cursor: pointer;
    z-index: 30;
    font-size: 10px;
    font-family: inherit;
}

.cart-fab.show {
    display: flex;
}

.cart-fab .count {
    background: #fff;
    color: var(--primary-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 320px;
    max-width: 88vw;
    background: var(--bg);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 6px 0 24px rgba(0, 0, 0, .15);
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 18px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    font-size: 17px;
}

.close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer;
    font-size: 16px;
}

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

.cart-empty {
    text-align: center;
    color: var(--muted);
    margin-top: 60px;
    font-size: 14px;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 10px;
}

/* ردیف اصلی: تصویر + نام + قیمت */
.cart-item-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.cart-item-main img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cart-item-info h5 {
    font-size: 13px;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* قیمت زیر عنوان */
.cart-item-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
}

/* دکمه‌های تعداد */
.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border-radius: 20px;
    padding: 4px 8px;
    justify-content: center;
}

.qty-box button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-box span {
    font-size: 13px;
    min-width: 16px;
    text-align: center;
}

.cart-item img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info h5 {
    font-size: 13px;
    margin-bottom: 2px;
}

.cart-item-info .p {
    font-size: 12px;
    color: var(--primary-dark);
    font-weight: bold;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border-radius: 20px;
    padding: 4px 8px;
}

.qty-box button {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-box span {
    font-size: 13px;
    min-width: 16px;
    text-align: center;
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 15px;
}

.total-row b {
    color: var(--primary-dark);
}

.waiter-note {
    background: #fdece4;
    color: var(--primary-dark);
    font-size: 13px;
    line-height: 1.7;
    padding: 12px 14px;
    border-radius: 12px;
    text-align: center;
}

.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #2b2320;
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 13px;
    opacity: 0;
    transition: .3s ease;
    z-index: 60;
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.branch-hours-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    width: fit-content;
    direction: rtl;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--gold);
    font-size: 1.8rem;
}

.footer-logo span {
    line-height: 1;
}

.site-footer {
    background: var(--charcoal);
    color: #c5bfb2;
    padding: 4rem 0 0;
    position: relative;
    margin-top: 2rem;
    background-image: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(45, 74, 34, 0.08) 0%, transparent 50%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--gold);
    font-size: 1.8rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #a8a094;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #c5bfb2;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-social .social-icon-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.footer-social a:hover .social-icon-img {
    transform: scale(1.15);
}

.footer-social .social-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-social .social-svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.footer-social a:hover .social-svg {
    fill: #fff;
}

.footer-social a i {
    font-size: 18px;
    transition: color 0.3s ease;
    line-height: 1;
}

.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a8a094;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.footer-links a:hover i {
    transform: translateX(-3px);
}

.no-branch {
    color: #6b6560;
    font-size: 0.85rem;
    font-style: italic;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-list li i {
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list li div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.75rem;
    color: #8a8278;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-list a {
    color: #c5bfb2;
    transition: color 0.3s;
    direction: ltr;
    text-align: right;
}

.footer-contact-list a:hover {
    color: var(--gold);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 3rem 0 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: #8a8278;
}

.footer-credit {
    font-size: 0.85rem;
    color: #8a8278;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-credit i {
    color: #ef4444;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--deep-green);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(224, 87, 47, 0.4);
    cursor: pointer;
    z-index: 99;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(224, 87, 47, 0.5);
}

.scroll-top-btn:active {
    transform: scale(0.9);
}

@media (max-width: 1000px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 3rem 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-title {
        margin-bottom: 1rem;
        padding-bottom: 0.6rem;
    }
    
    .footer-title::after {
        width: 30px;
        height: 2px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-top-btn {
        bottom: 20px;
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-desc {
        margin-bottom: 1rem;
    }
}

.branch-hours-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    margin: 4px 16px 0;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1e40af;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #bfdbfe;
    direction: rtl;
}

.branch-hours-bar .hours-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.branch-hours-bar .hours-text {
    letter-spacing: 0.2px;
}

.branch-copyright {
    text-align: center;
    padding: 20px 16px 30px;
    font-size: 0.78rem;
    color: #a8a094;
    direction: rtl;
}

@media (max-width: 600px) {
    .branch-hours-bar {
        font-size: 0.78rem;
        padding: 8px 12px;
        margin: 4px 12px 10px;
        gap: 6px;
    }
    
    .branch-hours-bar .hours-icon {
        font-size: 16px;
    }
    
    .branch-copyright {
        font-size: 0.62rem;
        padding: 16px 12px 24px;
    }
}

.gallery-section-wrapper {
    margin: 3rem 0 4rem;
    position: relative;
}

.gallery-subtitle {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-top: -1rem;
}

.rm-gallery-container {
    position: relative;
}

.rm-gallery-swiper {
    overflow: hidden;
    border-radius: 16px;
}

.gallery-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-slide-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-slide-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-radius-none .swiper-slide,
.gallery-radius-none .gallery-slide-img-wrapper { border-radius: 0; }
.gallery-radius-small .swiper-slide,
.gallery-radius-small .gallery-slide-img-wrapper { border-radius: 8px; }
.gallery-radius-medium .swiper-slide,
.gallery-radius-medium .gallery-slide-img-wrapper { border-radius: 16px; }
.gallery-radius-large .swiper-slide,
.gallery-radius-large .gallery-slide-img-wrapper { border-radius: 24px; }
.gallery-radius-full .swiper-slide,
.gallery-radius-full .gallery-slide-img-wrapper { border-radius: 50%; }

.gallery-hover-zoom .gallery-slide-img-wrapper img {
    transition: transform 0.5s ease;
}
.gallery-hover-zoom .swiper-slide:hover img {
    transform: scale(1.1);
}

.gallery-hover-overlay .gallery-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-hover-overlay .swiper-slide:hover .gallery-slide-overlay {
    opacity: 1;
}

.gallery-hover-grayscale .gallery-slide-img-wrapper img {
    filter: grayscale(100%);
    transition: filter 0.5s;
}
.gallery-hover-grayscale .swiper-slide:hover img {
    filter: grayscale(0%);
}

.gallery-hover-bright .gallery-slide-img-wrapper img {
    transition: filter 0.4s;
}
.gallery-hover-bright .swiper-slide:hover img {
    filter: brightness(1.15);
}

.rm-gallery-prev,
.rm-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--charcoal);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.rm-gallery-prev {
    left: -20px;
}

.rm-gallery-next {
    right: -20px;
}

.rm-gallery-prev:hover,
.rm-gallery-next:hover {
    background: var(--deep-green);
    color: #fff;
    border-color: var(--deep-green);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.rm-gallery-prev.swiper-button-disabled,
.rm-gallery-next.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.rm-gallery-swiper .swiper-pagination {
    position: absolute;
    bottom: 12px;
    left: 50% !important;
    transform: translateX(-50%);
    z-index: 5;
}

.rm-gallery-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.7);
    opacity: 1;
    transition: all 0.3s;
}

.rm-gallery-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 28px;
    border-radius: 10px;
}

.rm-gallery-swiper .swiper-pagination-fraction {
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    width: auto;
}

.rm-gallery-swiper .swiper-pagination-progressbar {
    background: rgba(255,255,255,0.3);
}

.rm-gallery-swiper .swiper-pagination-progressbar-fill {
    background: var(--gold);
}

.rm-gallery-swiper .swiper-scrollbar {
    bottom: 0;
    background: rgba(0,0,0,0.1);
    height: 4px;
}

.rm-gallery-swiper .swiper-scrollbar-drag {
    background: var(--gold);
}

.rm-gallery-swiper.swiper-coverflow .swiper-slide {
    width: 60%;
}

.rm-gallery-swiper.swiper-cube .swiper-slide {
    backface-visibility: hidden;
}

.rm-gallery-swiper.swiper-cards .swiper-slide {
    overflow: visible;
    transform-origin: center bottom;
}

@media (max-width: 1024px) {
    .rm-gallery-prev {
        left: 10px;
    }
    .rm-gallery-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .rm-gallery-prev,
    .rm-gallery-next {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .rm-gallery-prev {
        left: 5px;
    }
    .rm-gallery-next {
        right: 5px;
    }
}

.rm-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rmFadeIn 0.25s ease;
    cursor: zoom-out;
}

@keyframes rmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rm-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default;
}

.rm-lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: rmZoomIn 0.3s ease;
}

@keyframes rmZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.rm-lightbox-close {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
    z-index: 2;
}

.rm-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.05);
}

.rm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 2;
}

.rm-lightbox-nav:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.05);
}

.rm-lightbox-prev {
    right: -80px;
}

.rm-lightbox-next {
    left: -80px;
}

.rm-lightbox-counter {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.rm-lightbox-caption {
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
    opacity: 0.9;
}

.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.95);
    --fancybox-thumbs-width: 60px;
    --fancybox-thumbs-ratio: 1;
    z-index: 99999 !important;
}

.fancybox__toolbar {
    --f-button-bg: rgba(0, 0, 0, 0.4);
    --f-button-border-radius: 8px;
    --f-button-hover-bg: var(--gold);
}

.fancybox__thumbs {
    padding: 8px;
}

.fancybox__thumb {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.fancybox__thumb.is-nav-selected {
    border-color: var(--gold);
}

@media (max-width: 768px) {
    .rm-lightbox-close {
        top: 15px;
        right: 15px;
        left: auto;
        transform: none;
        width: 38px;
        height: 38px;
        font-size: 22px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .rm-lightbox-close:hover {
        transform: none;
    }
    
    .rm-lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .rm-lightbox-prev {
        right: 10px;
    }
    
    .rm-lightbox-next {
        left: 10px;
    }
    
    .rm-lightbox-counter {
        bottom: 10px;
        font-size: 11px;
    }
}

.order-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.order-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.order-modal {
	display: none !important;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    background: #faf7f2;
    border-radius: 20px 20px 0 0;
    z-index: 1001;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.order-modal.show {
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
    .order-modal {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .order-modal {
        bottom: 50%;
        transform: translate(-50%, 50%) translateY(100%);
        border-radius: 20px;
        max-height: 70vh;
    }
    
    .order-modal.show {
        transform: translate(-50%, 50%) translateY(0);
    }
}

.order-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, #e0572f, #c9451f);
    color: #fff;
}

.order-modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.order-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.order-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.order-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.order-modal-branch-info {
    background: #fef3c7;
    color: #92400e;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.order-modal-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.order-modal-divider {
    color: #ddd;
}

.order-modal-summary strong {
    color: #c9451f;
    font-size: 16px;
}

.order-modal-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-modal-empty {
    text-align: center;
    color: #999;
    padding: 30px 0;
}

.order-modal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eee2d8;
    border-radius: 12px;
    padding: 10px 14px;
}

.order-modal-item-index {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fdece4;
    color: #c9451f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.order-modal-item-info {
    flex: 1;
    min-width: 0;
}

.order-modal-item-info strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.order-modal-item-info span {
    font-size: 12px;
    color: #8a7f78;
}

.order-modal-item-total {
    font-size: 13px;
    font-weight: 700;
    color: #2d4a22;
    white-space: nowrap;
}

.order-modal-footer {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid #eee2d8;
    background: #fff;
}

.order-modal-edit-btn,
.order-modal-confirm-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.order-modal-edit-btn {
    background: #f0f0f1;
    color: #333;
    border: 1px solid #ddd;
}

.order-modal-edit-btn:hover {
    background: #e5e5e5;
}

.order-modal-confirm-btn {
    background: #4caf50;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.order-modal-confirm-btn:hover {
    background: #43a047;
}

.order-modal-note {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #8a7f78;
    background: #fdece4;
    margin: 0;
}

@media (min-width: 600px) {
    .order-modal {
        bottom: 50%;
        transform: translate(-50%, 50%) translateY(100%);
        border-radius: 20px;
        max-height: 70vh;
    }
    
    .order-modal.show {
        transform: translate(-50%, 50%) translateY(0);
    }
}

.finish-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.finish-order-btn:disabled,
.finish-order-btn.disabled {
    background: #ccc !important;
    cursor: not-allowed;
    color: #999 !important;
    box-shadow: none !important;
}

.bottom-finish-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    background: #4caf50;
    color: #fff;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    z-index: 25;
}

.bottom-finish-btn:not(:disabled):hover {
    background: #43a047;
    transform: translateX(-50%) translateY(-2px);
}

.sidebar-finish-btn {
    background: #4caf50;
    color: #fff;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.sidebar-finish-btn:not(:disabled):hover {
    background: #43a047;
}

.food-qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.qty-btn-decrease {
    background: #ef4444;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.qty-btn-decrease:active {
    transform: scale(0.85);
    background: #dc2626;
}

.qty-display {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    background: #fef3c7;
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    padding: 0 6px;
}

.add-btn-main {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.add-btn-main:active {
    transform: scale(0.85);
}

.add-btn-main.added {
    background: #4caf50;
}

.add-btn-main.has-item {
    background: #4caf50;
}

.qty-display {
    animation: qtyPop 0.2s ease;
}

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

@media (max-width: 1200px) {
    .branch-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .menu-items-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1000px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
    .hero-desc {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-img-wrapper img {
        max-width: 300px;
    }
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row {
        flex-direction: column;
        padding: 2rem;
    }
    .stats-grid {
        justify-content: space-around;
    }
    .booking-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1.5rem;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .rm-time-guide-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .container {
        padding: 0 1rem;
    }
    .hero {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    .hero h1 {
        font-size: 1rem;
    }
    .hero-badge {
        font-size: 0.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    .branch-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section-title {
        font-size: 1rem;
        justify-content: center;
    }
    .gallery-subtitle {
        font-size: .65rem;
    }
    .menu-items-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1rem;
    }
    .menu-preview {
        padding: 1.5rem;
    }
    .menu-preview-title {
        font-size: 1rem;
    }
    .stats-title {
        font-size: 1rem;
    }
    .stats-desc {
        font-size: .65rem;
    }
    .menu-preview-link {
        font-size: 0.75rem;
    }
    .menu-card-img-wrapper {
        height: 100px;
    }
    .stats-row {
        padding: 1.5rem;
        border-radius: var(--radius-lg);
    }
    .stats-grid {
        gap: 1.5rem;
    }
    .stat-number {
        font-size: 1rem;
    }
    .stat-label {
        font-size: .65rem;
    }
    .booking-cta {
        border-radius: var(--radius-lg);
    }
    .booking-text h2 {
        font-size: 1rem;
    }
    .booking-text p {
        font-size: .65rem;
    }
    .booking-btn {
        padding: .5rem 1.5rem;
        font-size: .65rem;
    }
}

@media (max-width: 480px) {
    .branch-hours,
    .menu-header .sub {
        font-size: 12px;
    }
    .branch-hours-sub {
        font-size: 11px;
        padding: 3px 8px;
    }
}

@media (max-width: 600px) {
    .menu-topbar {
        padding-top: 6px;
    }
    
    .cat-scroll {
        gap: 10px;
        padding: 4px 12px 10px;
    }
}

@media (max-width: 400px) {
    .qty-btn-decrease,
    .add-btn-main {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }
    
    .qty-display {
        min-width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider-wrapper {
    margin: 0 0 3rem;
    --slider-height: 500px;
    --slider-height-mobile: 550px;
}

.hero-swiper {
    height: var(--slider-height);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.hero-slide {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 3rem 4rem;
}

.hero-slide-content {
    flex: 1;
    z-index: 2;
    max-width: 50%;
}

.hero-slide-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.18);
    color: #8b6914;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.hero-slide-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.hero-slide-title-accent {
    display: block;
    color: var(--deep-green);
    position: relative;
}

.hero-slide-desc {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 80%;
    line-height: 1.8;
}

.hero-slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.hero-slide-btn-primary {
    background: var(--deep-green);
    color: #fff;
    box-shadow: 0 10px 25px rgba(45, 74, 34, 0.3);
}

.hero-slide-btn-primary:hover {
    background: #3a5f2e;
    transform: translateY(-2px);
}

.hero-slide-btn-outline {
    background: transparent;
    color: var(--deep-green);
    border: 1.5px solid var(--deep-green);
}

.hero-slide-btn-outline:hover {
    background: rgba(45, 74, 34, 0.05);
}

.hero-slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-slide-image-inner {
    width: 100%;
    max-width: 590px;
    animation: floatImage 4s ease-in-out infinite;
}

.hero-slide-image-inner img {
    width: 100%;
    border-radius: 60% 40% 50% 45% / 55% 45% 55% 45%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--charcoal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.hero-slider-prev {
    right: 10px;
}

.hero-slider-next {
    left: 10px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: var(--deep-green);
    color: #fff;
    border-color: var(--deep-green);
}

.hero-slider-pagination {
    position: absolute;
    bottom: 0 !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.hero-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: all 0.3s;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
    background: var(--gold);
    width: 32px;
    border-radius: 10px;
}

@media (max-width: 900px) {
    .hero-swiper {
        height: var(--slider-height-mobile);
    }
    
    .hero-slide {
        flex-direction: column-reverse;
        padding: 2rem;
        text-align: center;
    }
    
    .hero-slide-content {
        max-width: 100%;
    }
    
    .hero-slide-title {
        font-size: 2rem;
    }
    
    .hero-slide-desc {
        max-width: 100%;
        font-size: 0.95rem;
    }
    
    .hero-slide-buttons {
        justify-content: center;
    }
    
    .hero-slide-buttons .hero-slide-btn {
        padding: 0.9rem 1.2rem;
        font-size: .8rem;
    }
    
    .hero-slide-image-inner {
        max-width: 200px;
    }
    
    .hero-slider-prev,
    .hero-slider-next {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-slide-title {
        font-size: 1.5rem;
    }
    
    .hero-slide-image-inner {
        max-width: 200px;
    }
}

.branch-swiper {
    overflow: hidden;
    padding: 10px 5px 50px;
    position: relative;
}

.branch-swiper .swiper-wrapper {
    align-items: stretch;
}

.branch-swiper .swiper-slide {
    height: auto;
}

.branch-swiper .branch-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.branch-swiper .branch-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.branch-swiper .branch-action {
    margin-top: auto;
}

.branch-swiper-pagination {
    bottom: 10px !important;
}

.branch-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d4cfc7;
    opacity: 1;
    transition: all 0.3s ease;
}

.branch-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--gold, #c9a84c);
    width: 30px;
    border-radius: 10px;
}

.branch-swiper-prev,
.branch-swiper-next {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--charcoal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.branch-swiper-prev {
    right: 5px;
}

.branch-swiper-next {
    left: 5px;
}

.branch-swiper-prev:hover,
.branch-swiper-next:hover {
    background: var(--deep-green);
    color: #fff;
    border-color: var(--deep-green);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.branch-swiper-prev.swiper-button-disabled,
.branch-swiper-next.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (min-width: 1024px) {
    .branch-swiper {
        padding: 0;
        overflow: visible;
    }
    
    .branch-swiper .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        transform: none !important;
    }
    
    .branch-swiper .swiper-slide {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    .branch-swiper-pagination,
    .branch-swiper-prev,
    .branch-swiper-next {
        display: none !important;
    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .branch-swiper-prev,
    .branch-swiper-next {
        display: none;
    }
}

@media (max-width: 767px) {
    .branch-swiper {
        padding: 10px 0 50px;
    }
    
    .branch-swiper-prev,
    .branch-swiper-next {
        display: none;
    }
    
    .branch-swiper .branch-img-wrapper {
        height: 180px;
    }
    
    .branch-swiper .branch-title {
        font-size: 1rem;
    }
    
    .branch-swiper .branch-hours,
    .branch-swiper .branch-food-count {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .branch-address {
        font-size: 0.65rem;
    }
    
    .branch-tags .tag, .branch-tags span {
        font-size: 0.6rem;
    }
    
    .view-menu-btn {
       font-size: 0.7rem; 
    }
}

.menu-preview-swiper {
    overflow: hidden;
    padding-bottom: 40px;
    margin: 0 -5px; /* جبران حاشیه */
}

.menu-preview-swiper .swiper-wrapper {
    align-items: stretch;
}

.menu-preview-swiper .swiper-slide {
    height: auto;
    flex-shrink: 0;
    width: 100%;
    transition: transform 0.3s;
}

.menu-preview-swiper .menu-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
}

.menu-preview-pagination {
    bottom: 0 !important;
}

.menu-preview-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d4cfc7;
    opacity: 1;
    transition: all 0.3s;
    margin: 0 4px;
}

.menu-preview-pagination .swiper-pagination-bullet-active {
    background: var(--gold, #c9a84c);
    width: 24px;
    border-radius: 8px;
}

@media (max-width: 479px) {
    .menu-preview-swiper {
        padding: 0 10px 40px;
        margin: 0;
    }
    
    .menu-preview-swiper .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .menu-preview-swiper .menu-card {
        max-width: 300px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .menu-preview-swiper .swiper-slide {
        width: 50% !important;
    }
    
    .menu-preview-swiper .menu-card {
        max-width: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .menu-preview-swiper .swiper-slide {
        width: 33.333% !important;
    }
}

@media (min-width: 1024px) {
    .menu-preview-swiper {
        padding-bottom: 0;
        overflow: visible;
        margin: 0;
    }
    
    .menu-preview-swiper .swiper-wrapper {
        display: grid !important;
        transform: none !important;
        gap: 1.8rem;
    }
    
    .menu-preview-swiper .swiper-slide {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .menu-preview-pagination {
        display: none !important;
    }
}

.footer-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s;
}

.footer-toggle-icon i {
    font-style: normal;
    font-size: 14px;
    color: var(--gold, #c9a84c);
    transition: all 0.3s;
    position: absolute;
    line-height: 2;
}

.toggle-plus {
    opacity: 1;
    transform: rotate(0deg);
}

.toggle-minus {
    opacity: 0;
    transform: rotate(-90deg);
}

.footer-toggle-title.active .toggle-plus {
    opacity: 0;
    transform: rotate(90deg);
}

.footer-toggle-title.active .toggle-minus {
    opacity: 1;
    transform: rotate(0deg);
}

.footer-toggle-title:hover .footer-toggle-icon {
    background: var(--gold, #c9a84c);
    border-color: var(--gold, #c9a84c);
}

.footer-toggle-title:hover .footer-toggle-icon i {
    color: #fff;
}

.footer-toggle-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.footer-toggle-content.open {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-toggle-title {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    .branches-section-desc {
        font-size: .65rem;
    }
    .order-modal-edit-btn, 
    .order-modal-confirm-btn {
        font-size: 11px;
    }
    .finish-order-btn {
        padding: 10px;
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .footer-toggle-title {
        cursor: default;
    }
    
    .footer-toggle-icon {
        display: none !important;
    }
    
    .footer-toggle-content {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
    }
}