/* --- General Body --- */
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #f8f9fc !important; /* gray stone background */
    color: #231F20;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

main {
    flex: 1;
}

/* --- Café Page Specific Background --- */
body.cafe-page {
    background-color: #f8f9fc !important; /* gray stone background */
}



/* --- Navigation Bar Styling --- */
.navbar {
    background-color: #231F20 !important;
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #ff6b35;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: #ff6b35 !important;
}

.navbar-nav .nav-link {
    color: #f8f9fc !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ff6b35 !important;
}

/* --- Top Bar with Logo --- */
.top-bar {
    background-color: #fff;
    border-bottom: 1px solid #A7A9AC;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(35, 31, 32, 0.1);
}

.top-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.top-logo {
    max-height: 60px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(35, 31, 32, 0.2);
}

.top-bar-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #231F20;
    margin: 0;
}

.top-bar-text p {
    font-size: 1rem;
    color: #A7A9AC;
    margin: 0;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.7) 0%, rgba(167, 169, 172, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 31, 32, 0.2);
}

.instagram-link {
    color: #E4405F !important;
}

.linkedin-link {
    color: #0077B5 !important;
}

.social-icons a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(35, 31, 32, 0.3);
    background-color: #fff;
}



.btn-primary {
    background-color: #ff6b35;
    border-color: #ff6b35;
    color: #fff;
    font-weight: 600;
    border-radius: 0 10px 10px 0;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    transform: translateY(-1px);
}

/* --- Unified Container --- */
.unified-menu-container {
    background: #e3e3e6 !important; 
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.08);
    overflow: hidden;
    /* margin: 30px auto; */
    min-height: 750px;
    max-width: 100% !important;
    width: 100%;
    display: flex !important;
    flex-direction: row-reverse !important;
    position: relative !important;
}

.unified-menu-container .row.g-0 {
    display: flex !important;
    flex-direction: row-reverse !important;
    height: 100%;
    width: 100%;
    margin: 0;
    position: relative !important;
}

/* Menu content on the left */
.unified-menu-container .col-lg-10,
.unified-menu-container .col-md-9 {
    flex: 0 0 92% !important;
    max-width: 92% !important;
    padding: 0;
    order: 1 !important;
    position: relative !important;
}

/* Tabs on the right - aligned with content */
.unified-menu-container .col-lg-2,
.unified-menu-container .col-md-3 {
    flex: 0 0 8% !important;
    max-width: 8% !important;
    border: none !important;
    padding: 0;
    order: 2 !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
}

/* --- Large Desktop (1400px+) --- */
@media (min-width: 1400px) {
    .unified-menu-container {
        background: #e3e3e6 !important;
        max-width: 100% !important;
        margin: 30px auto;
    }
    
    .unified-menu-container .col-lg-2 {
        flex: 0 0 6% !important;
        max-width: 6% !important;
    }
    
    .unified-menu-container .col-lg-10 {
        flex: 0 0 94% !important;
        max-width: 94% !important;
    }
    
    .menu-items {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
.category-tabs {
        background: #e3e3e6 !important;
        border-left: 1px dotted #302f2f !important;
    }
    
    .category-tab {
        background: #e3e3e6 !important;
    }
    
    .menu-items-container {
        background: #e3e3e6 !important;
    }
    
    .menu-item {
        background: #e3e3e6 !important;
    }
    
    .price-item {
        background: #e3e3e6 !important;
    }
}

/* --- Desktop (1200px-1399px) --- */
@media (min-width: 1200px) and (max-width: 1399px) {
    .unified-menu-container {
        background: #e3e3e6 !important;
        max-width: 100% !important;
        margin: 30px auto;
    }
    
    .menu-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .category-tabs {
        background: #e3e3e6 !important;
        border-left: 1px dotted #302f2f !important;
    }
    
    .category-tab {
        background: #e3e3e6 !important;
    }
    
    .menu-items-container {
        background: #e3e3e6 !important;
    }
    
    .menu-item {
        background: #e3e3e6 !important;
    }
    
    .price-item {
        background: #e3e3e6 !important;
    }
}

/* --- Standard Desktop (993px-1199px) --- */
@media (min-width: 993px) and (max-width: 1199px) {
    .unified-menu-container {
        background: #e3e3e6 !important;
        max-width: 100% !important;
        margin: 20px auto;
        flex-direction: row-reverse !important;
    }
    
    .unified-menu-container .row.g-0 {
        flex-direction: row-reverse !important;
    }
    
    .menu-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
    
    .category-tabs {
        background: #e3e3e6 !important;
        border-left: 1px dotted #302f2f !important;
    }
    
    .category-tab {
        background: #e3e3e6 !important;
    }
    
    .menu-items-container {
        background: #e3e3e6 !important;
    }
    
    .menu-item {
        background: #e3e3e6 !important;
    }
    
    .price-item {
        background: #e3e3e6 !important;
    }
}

/* --- Tablet (769px-992px) --- */
@media (min-width: 769px) and (max-width: 992px) {
    .unified-menu-container {
        background: #e3e3e6 !important;
        border: none !important;
        flex-direction: row-reverse !important;
        margin: 20px auto;
        max-width: 100% !important;
    }

    .unified-menu-container .row.g-0 {
        flex-direction: row-reverse !important;
    }

    .unified-menu-container .col-md-3 {
        flex: 0 0 10% !important;
        max-width: 10% !important;
        border: none !important;
        order: 2 !important;
    }

    .unified-menu-container .col-md-9 {
        flex: 0 0 90% !important;
        max-width: 90% !important;
        order: 1 !important;
    }

    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-tabs {
        background: #e3e3e6 !important;
        border-left: 1px dotted #302f2f !important;
        padding: 8px 5px;
        position: sticky;
        top: 10px;
    }

    .category-tab {
        background: #e3e3e6 !important;
        border: none !important;
        padding: 8px 5px;
        margin-bottom: 0;
    }

    .category-tab .tab-content h4 {
        font-size: 0.91rem !important;
    }

    .category-tab .tab-content p {
        font-size: 0.78rem !important;
    }

    .menu-items-container {
        background: #e3e3e6 !important;
        border: none !important;
        padding: 20px;
    }

    .menu-item {
        background: #e3e3e6 !important;
        border: none !important;
        padding: 15px;
    }

    .category-header-display h2 {
        font-size: 1.52rem !important;
    }

    .category-header-display h3 {
        font-size: 0.845rem !important;
    }

    .item-name-persian {
        font-size: 1.014rem !important;
    }

    .item-name-english {
        font-size: 0.76rem !important;
    }

    .size-name {
        font-size: 0.676rem !important;
    }

    .price-amount {
        font-size: 0.845rem !important;
    }

    .price-amount::after {
        font-size: 0.642rem !important;
    }

    .item-description p {
        font-size: 0.642rem !important;
    }

    .price-item {
        background: #e3e3e6 !important;
        border: none !important;
    }
}

/* Remove absolute positioning and use proper flexbox */
.unified-menu-container .col-lg-2.order-lg-2,
.unified-menu-container .col-md-3.order-md-2 {
    order: 2 !important;
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
}

.unified-menu-container .col-lg-10.order-lg-1,
.unified-menu-container .col-md-9.order-md-1 {
    order: 1 !important;
    position: relative !important;
}

/* --- Category Tabs (Aligned with Menu Content) --- */
.category-tabs {
    background: #e3e3e6 !important; /* gray stone background */
    border-left: 1px dotted #302f2f !important;
    border-radius: 0;
    padding: 5px 3px;
    box-shadow: none;
    margin-bottom: 0;
    position: sticky !important;
    top: 20px !important;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100% !important;
}

.category-tabs::after {
    display: none !important;
}

.category-tabs::before {
    display: none !important;
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 3px;
    margin-top: 10px;
    margin-bottom: 0;
    background: #e3e3e6 !important; /* gray stone background */
    border: none !important;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    width: 100%;
}

.category-tab:last-child {
    border: none !important;
}

.category-tab:hover {
    background-color: rgba(230, 81, 27, 0.342) !important;
    transform: none;
}

.category-tab.active {
    background-color: rgba(255, 107, 53, 0.15) !important;
    color: #231F20;
    transform: none;
}

.category-tab .tab-image {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 3px;
    flex-shrink: 0;
}

.category-tab .tab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tab .tab-content {
    width: 100%;
}

.category-tab .tab-content h4 {
    font-size: 0.9rem !important; /* 30% larger than 0.9rem */
    font-weight: 600;
    color: #231F20;
    margin: 0;
    transition: color 0.3s ease;
    line-height: 1.2;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.category-tab .tab-content p {
    font-size: 0.7rem !important; /* 30% larger than 0.9rem */
    color: #636363;
    margin: 0;
    font-weight: 400;
    transition: color 0.3s ease;
    line-height: 1.1;
    margin-top: 8px;
    white-space: normal !important; /* Allow text wrapping */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.category-tab.active .tab-content h4,
.category-tab.active .tab-content p {
    color: #231F20;
}

.tab-separator {
    display: none !important;
}

/* --- Menu Items Container (Maximum Space) --- */
.menu-items-container {
    background: #e3e3e6  !important; /* tinge of gray background */
    border: none !important;
    border-radius: 0;
    padding: 25px;
    box-shadow: none;
    position: relative;
    height: 100%;
}

.menu-items-container::before {
    display: none !important;
}

.menu-items-container::after {
    display: none !important;
}

/* --- Category Header --- */
.category-header-display {
    background: rgba(255, 107, 53, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
    border: none !important;
}

.category-header-display h2 {
    font-size: 1.2rem !important; /* 30% larger than 1.3rem */
    font-weight: 700;
    color: #231F20;
    margin: 0 0 5px 0;
}

.category-header-display h3 {
    font-size: 1rem !important; /* 30% larger than 1rem */
    font-weight: 400;
    color: #7c7c7c;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-content {
    display: none;
}

.category-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* --- Menu Items Grid --- */
.menu-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Exactly 4 columns on large screens */
    gap: 25px; /* Consistent spacing between items */
    position: relative;
    padding-bottom: 20px;
}

/* Grid responsive breakpoints */
@media (max-width: 1200px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
        gap: 22px;
    }
}

@media (max-width: 900px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr); /* Exactly 2 columns */
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .menu-items {
        grid-template-columns: repeat(1, 1fr); /* Exactly 1 column */
        gap: 18px;
    }
}

/* --- Medium-Small Screens (577px-890px) --- */
@media (min-width: 577px) and (max-width: 890px) {
    .unified-menu-container .col-md-3 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
        border: none !important;
        order: 2 !important;
    }

    .unified-menu-container .col-md-9 {
        flex: 0 0 80% !important;
        max-width: 80% !important;
        order: 1 !important;
    }

    .menu-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .category-tabs {
        background: #e3e3e6 !important;
        border-left: 1px dotted #302f2f !important;
        padding: 6px 3px;
        position: sticky;
        top: 10px;
    }

    .category-tab {
        background: #e3e3e6 !important;
        border: none !important;
        padding: 6px 3px;
        margin-bottom: 0;
    }

    .category-tab .tab-content h4 {
        font-size: 0.8rem !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .category-tab .tab-content p {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 576px) {
    .menu-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .unified-menu-container .col-md-3 {
        flex: 0 0 25% !important;
        max-width: 25% !important;
        border: none !important;
        order: 2 !important;
    }

    .unified-menu-container .col-md-9 {
        flex: 0 0 75% !important;
        max-width: 75% !important;
        order: 1 !important;
    }

    /* Progressive font scaling for small screens */
    .category-tab .tab-content h4 {
        font-size: 0.78rem !important; /* Smaller font for 576px */
    }

    .category-tab .tab-content p {
        font-size: 0.65rem !important;
        white-space: normal !important; /* Allow text wrapping */
        word-wrap: break-word !important;
    }

    .item-name-persian {
        font-size: 1.0rem !important;
    }

    .item-name-english {
        font-size: 0.8rem !important;
    }

    .size-name {
        font-size: 0.7rem !important;
    }

    .price-amount {
        font-size: 0.85rem !important;
    }

    .price-amount::after {
        font-size: 0.65rem !important;
    }

    .item-description p {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 450px) {
    .menu-items {
        gap: 12px;
    }

    /* Further adjust tab-to-content ratio */
    .unified-menu-container .col-md-3 {
        flex: 0 0 30% !important;
        max-width: 30% !important;
    }

    .unified-menu-container .col-md-9 {
        flex: 0 0 70% !important;
        max-width: 70% !important;
    }

    /* Smaller fonts for very small screens */
    .category-tab .tab-content h4 {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }

    .category-tab .tab-content p {
        font-size: 0.58rem !important;
        line-height: 1.1 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .item-name-persian {
        font-size: 0.9rem !important;
    }

    .item-name-english {
        font-size: 0.72rem !important;
    }

    .size-name {
        font-size: 0.62rem !important;
    }

    .price-amount {
        font-size: 0.76rem !important;
    }

    .price-amount::after {
        font-size: 0.58rem !important;
    }

    .item-description p {
        font-size: 0.65rem !important;
    }
}

.menu-item {
    background: #e3e3e6   !important; /* tinge of gray background */
    border-bottom: 1px solid #302f2f !important;
    /* border-radius: 15px; */
    padding: 20px;
    transition: none;
    position: relative;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 2px 10px rgba(35, 31, 32, 0.05); */
}

/* .menu-item:hover {
    transform: none !important;
    box-shadow: 0 2px 10px rgba(35, 31, 32, 0.05) !important;
    border: none !important;
} */

.menu-item-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    flex-shrink: 0;
}

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

.menu-item:hover .item-image img {
    transform: none !important;
}

.item-main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.item-name-persian {
    font-size: 1.1rem !important; /* 30% larger than 0.845rem */
    font-weight: 700;
    color: #231F20;
    margin: 0 0 4px 0;
    line-height: 1.3;
    text-align: center;
}

.item-name-english {
    font-size: 0.845rem !important; /* 30% larger than 0.65rem */
    font-weight: 400;
    color: #7c7c7c;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.item-prices {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: auto;
    justify-content: center;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px;
    background: #e3e3e6  !important; /* tinge of gray background */
    border: none !important;
    border-radius: 8px;
    min-width: 60px;
}

.size-name {
    font-size: 0.76rem !important; /* 30% larger than 0.585rem */
    font-weight: 600;
    color: #231F20;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 0.93rem !important; /* 30% larger than 0.715rem */
    font-weight: 700;
    color: #ff6b35;
    direction: ltr;
}

.price-amount::after {
    content: " تومان";
    font-size: 0.71rem !important; /* 30% larger than 0.546rem */
    color: #272727;
    font-weight: 400;
}

.item-description {
    margin-top: 15px;
    padding-top: 15px;
    border: none;
}

.item-description p {
    font-size: 1rem !important; /* 30% larger than 0.546rem */
    color: #666;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* --- Quick Access Footer --- */
.quick-access-footer {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(35, 31, 32, 0.1);
    border: 1px solid #A7A9AC;
    text-align: center;
}

.quick-access-footer h5 {
    color: #231F20;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footer-links a {
    padding: 8px 15px;
    background-color: #f8f9fa;
    color: #231F20;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #A7A9AC;
}

.footer-links a:hover {
    background-color: #ff6b35;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* --- Footer --- */
.footer {
    background-color: #231F20 !important;
    color: #A7A9AC !important;
    border-top: 3px solid #ff6b35;
}

/* --- Alert Styles --- */
.alert-success {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
    color: #231F20;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #231F20;
}



/* --- Container Maximum Width --- */
    .container {
    max-width: 100% !important;
        padding: 0 15px;
}

/* --- Smooth Scroll --- */
html {
    scroll-behavior: smooth;
}

/* --- Loading Animation --- */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* --- Extra Small Mobile (max-width: 487px) --- */
@media (max-width: 487px) {
    .unified-menu-container {
        background: #e3e3e6 !important;
        border: none !important;
        flex-direction: row-reverse !important; /* Keep tabs and content side by side */
        /* margin: 15px auto; */
        max-width: 100% !important;
        min-height: 750px;
        overflow-x: auto; /* Enable horizontal scroll for entire container */
    }

    .unified-menu-container .row.g-0 {
        flex-direction: row-reverse !important;
        min-width: 100%;
        overflow-x: auto;
    }
    
    /* Content area with horizontal scroll */
    .unified-menu-container .col-lg-10,
    .unified-menu-container .col-md-9,
    .unified-menu-container .col-sm-12 {
        flex: 0 0 70% !important;
        max-width: 70% !important;
        border: none !important;
        order: 1 !important;
        overflow-x: auto;
    }
    
    /* Tabs area with horizontal scroll */
    .unified-menu-container .col-lg-2,
    .unified-menu-container .col-md-3 {
        flex: 0 0 30% !important;
        max-width: 30% !important;
        border: none !important;
        order: 2 !important;
        overflow-x: auto;
    }
    
    /* Menu items vertical layout with 2 columns - only 2 items visible */
    .menu-items {
        display: grid !important;
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 12px;
        overflow-x: hidden;
        overflow-y: auto;
        max-height: calc(2 * (300px + 12px)); 
        padding-bottom: 10px;
        scrollbar-width: thin;
        scrollbar-color: #ff6b35 #e3e3e6;
    }

    .menu-items::-webkit-scrollbar {
        width: 6px;
    }

    .menu-items::-webkit-scrollbar-track {
        background: #e3e3e6;
        border-radius: 3px;
    }

    .menu-items::-webkit-scrollbar-thumb {
        background: #ff6b35;
        border-radius: 3px;
    }

    .menu-items::-webkit-scrollbar-thumb:hover {
        background: #e55a2b;
    }

    /* Vertical scrolling tabs (top to bottom) */
    .category-tabs {
        background: #e3e3e6 !important;
        border-left: 1px dotted #302f2f !important;
        display: flex;
        flex-direction: column !important;
        overflow-y: auto;
        overflow-x: hidden;
        /* padding: 8px 5px; */
        position: sticky;
        top: 0 !important;
        z-index: 100;
        /* gap: 8px; */
        scrollbar-width: thin;
        scrollbar-color: #ff6b35 #e3e3e6;
        height: 124vh; 
        max-height: 700px;
    }

    .category-tabs::-webkit-scrollbar {
        width: 6px;
    }

    .category-tabs::-webkit-scrollbar-track {
        background: #e3e3e6;
        border-radius: 3px;
    }

    .category-tabs::-webkit-scrollbar-thumb {
        background: #ff6b35;
        border-radius: 3px;
    }

    .category-tabs::-webkit-scrollbar-thumb:hover {
        background: #e55a2b;
    }

    .category-tab {
        background: #e3e3e6 !important;
        border: none !important;
        flex: 0 0 auto;
        min-width: auto;
        min-height: 60px; 
        padding: 8px 6px; 
        margin-bottom: 0;
        border-radius: 8px;
        white-space: nowrap;
    }

    .category-tab .tab-image {
        width: 40px; 
        height: 40px; 
        margin-bottom: 4px;
        border-radius: 5px;
    }

    /* 30% smaller fonts for tabs */
    .category-tab .tab-content h4 {
        font-size: 0.70rem !important; 
        font-weight: 600;
        line-height: 1.1;
    }

    .category-tab .tab-content p {
        font-size: 0.60rem !important; 
        margin-top: 2px;
        line-height: 1.0;
    }

    .menu-items-container {
        background: #e3e3e6 !important;
        border: none !important;
        padding: 12px; /* 20% smaller than 15px */
        overflow-x: auto;
    }
    
    /* 20% smaller menu items in 2-column grid layout */
    .menu-item {
        background: #e3e3e6 !important;
        border: none !important;
        padding: 12px; 
        border-bottom: 1px solid #302f2f !important;
        width: 100%; 
        max-width: none;
        min-width: auto;
        /* height: 305px; */
        overflow: hidden; 
    }

    .item-image {
        width: 120px; 
        height: 120px; 
        margin-bottom: 12px; 
    }

    .category-header-display {
        background: rgba(255, 107, 53, 0.1);
        border: none !important;
        padding: 12px; 
        margin-bottom: 16px; 
    }

    .category-header-display h2 {
        font-size: 0.946rem !important; 
    }

    .category-header-display h3 {
        font-size: 0.532rem !important; 
    }

    .item-name-persian {
        font-size: 1rem !important; 
        margin: 0 0 3px 0; 
    }

    .item-name-english {
        font-size: 0.65rem !important; 
        margin: 0 0 8px 0; 
    }
    
    .size-name {
        font-size: 0.7rem !important; 
        margin-bottom: 3px; 
    }
    
    .price-amount {
        font-size: 0.8rem !important; 
    }
    
    .price-amount::after {
        font-size: 0.8rem !important; 
    }
    
    /* 30% smaller fonts for descriptions */
    .item-description p {
        font-size: 0.8rem !important; 
        line-height: 1.4;
    }
    
    .item-prices {
        flex-direction: row;
        gap: 8px; 
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 16px;
        margin-top: auto;
    }

    
    .price-item {
        background: #e3e3e6 !important;
        border: none !important;
        min-width: 40px; 
        padding: 5px 6px; 
        border-radius: 6px; 
    }

    .item-description {
        margin-top: 6px; 
        padding-top: 6px; 
    }

    .menu-item-content {
        gap: 12px; 
    }


    .top-bar-text h1 {
        font-size: 1.26rem !important; 
    }

    .top-bar-text p {
        font-size: 0.7rem !important; 
    }



    .btn-primary {
        font-size: 0.875rem !important; 
        padding: 8px 14px; 
    }

   
    .quick-access-footer h5 {
        font-size: 1.05rem !important; 
        margin-bottom: 14px; 
    }

    .footer-links a {
        font-size: 0.875rem !important; 
        padding: 6px 12px; 
    }


    .top-bar {
        padding: 12px 0; 
    }

    .hero-section {
        height: 240px; 
        margin-bottom: 7px; 
    }

    .social-icons {
        gap: 16px; 
    }

    .social-icons a {
        width: 48px; 
        height: 48px; 
        font-size: 19.2px; 
    }

    .quick-access-footer {
        padding: 20px; 
        margin: 32px 0; 
    }

    .container {
        padding: 0 12px; 
    }
}


/* --- Splash Screen Overlay --- */
#splash-screen {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

#splash-logo {
  width: 120px;
  height: 120px;
  opacity: 1;
  animation: splash-grow-fade 2.5s cubic-bezier(0.4,0,0.2,1) forwards;
}

@keyframes splash-grow-fade {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.25);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}


/* --- User Comments Slider & Form --- */
.comments-slider-wrapper {
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.comments-slider {
  display: flex;
  flex-direction: row;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0;
}
.comment-card {
  min-width: 260px;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,31,32,0.08);
  padding: 18px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e3e3e6;
        font-size: 1rem;
    }
.comment-text {
  color: #231F20;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: right;
}
.comment-meta {
  color: #7c7c7c;
  font-size: 0.85rem;
  text-align: left;
  margin-top: auto;
}
#comment-form textarea.form-control {
  resize: vertical;
  min-height: 60px;
  font-size: 1rem;
}
#comment-form input.form-control {
  font-size: 1rem;
}
#comment-form .btn {
  font-size: 1.1rem;
  font-weight: 600;
}
#comment-message.text-success {
  color: #28a745 !important;
}
#comment-message.text-danger {
  color: #dc3545 !important;
}
@media (max-width: 600px) {
  .comment-card {
    min-width: 80vw;
    max-width: 95vw;
    font-size: 0.95rem;
    padding: 12px 8px 8px 8px;
  }
  .comments-slider {
    gap: 10px;
  }
}

