/* Reset dan Variabel */
:root {
    --primary-color: #1B5E20;  /* Hijau gelap */
    --secondary-color: #388E3C; /* Hijau medium */
    --text-color: #333;
    --light-gray: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header & Navigasi */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo dan Branch Info */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-image {
    background: url('/assets/images/logo.png') no-repeat center;
    background-size: contain;
    width: 50px;
    height: 50px;
}

.logo span {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
    padding-left: 5px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links .cart {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links .cart i {
    font-size: 1.1em;
}

.nav-links .cart #cart-count {
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('/assets/images/home.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background: transparent;
    color: #fff;
}

/* Menu Grid */
.featured-menu {
    padding: 60px 0;
    background: #f9f9f9;
}

.featured-menu h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.featured-menu h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2E7D32;
}

.featured-menu .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-menu .menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.featured-menu .menu-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.featured-menu .menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-menu .menu-info {
    padding: 20px;
    background: white;
    text-align: center;
}

.featured-menu .menu-title {
    color: #333;
    font-size: 1.2em;
    margin: 0;
    font-weight: 500;
}

.featured-menu .menu-item:hover {
    transform: translateY(-5px);
}

.featured-menu .menu-item:hover .menu-image img {
    transform: scale(1.1);
}

/* Responsive untuk Featured Menu */
@media (max-width: 1024px) {
    .featured-menu .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-menu {
        padding: 40px 0;
    }

    .featured-menu h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .featured-menu .menu-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .featured-menu .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-menu h2 {
        font-size: 1.8em;
    }

    .featured-menu .menu-image {
        height: 180px;
    }
}

/* Cart Page */
.cart-page {
    background-color: #f9f9f9;
    min-height: 100vh;
}

.cart-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/cart-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.cart-hero h1 {
    font-size: 2.5em;
    margin: 0;
}

.cart-section {
    padding: 40px 0;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cart-items {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    gap: 20px;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-info h3 {
    margin: 0 0 5px;
    font-size: 1.1em;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    background: #2E7D32;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 5px;
    cursor: pointer;
}

.qty-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
}

.item-total {
    min-width: 120px;
    text-align: right;
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
}

.cart-summary {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2E7D32;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: bold;
    font-size: 1.1em;
}

.checkout-button {
    width: 100%;
    padding: 15px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    margin-bottom: 10px;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #2E7D32;
    text-decoration: none;
    padding: 10px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart h2 {
    color: #333;
    margin-bottom: 10px;
}

.empty-cart p {
    color: #666;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .item-quantity {
        order: 2;
    }

    .item-total {
        order: 3;
        width: 100%;
        text-align: left;
    }

    .remove-item {
        order: 1;
    }
}

/* Footer */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 5%;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.links a {
    color: white;
    text-decoration: none;
}

.links a:hover {
    color: #f0f0f0; 
    text-decoration: none;
}

.links ul {
    list-style: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.other-branches {
    padding: 2rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

.branches-slider {
    padding: 0 40px;
}

.branch-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.branch-card.active {
    display: block; /* Tampilkan hanya yang active */
}

.branch-card a {
    color: #333;
    text-decoration: none;
}
.branch-card h3 {
    margin: 0 0 0.5rem;
    color: #333;
    font-size: 1.25rem;
}
.branch-card .area {
    color: #666;
    margin-bottom: 1rem;
}
.visit-branch {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}
.visit-branch:hover {
    background: #0056b3;
}

/* Swiper Custom Styles */
.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
}

.swiper-pagination-bullet {
    background: #007bff;
}

.swiper-pagination-bullet-active {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .branches-slider {
        padding: 0 20px;
    }
}

/* Search Styles */
.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.branch-search {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.branch-search:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
    outline: none;
}

.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.search-result-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8f9fa;
}

.no-results {
    padding: 1rem;
    text-align: center;
    color: #666;
}

/* Branch Item Styles */
.branch-item {
    height: auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.branch-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.branch-content {
    padding: 1.5rem;
}

.branch-header {
    margin-bottom: 1rem;
}

.branch-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #333;
}

.branch-area {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 50px;
    font-size: 0.875rem;
    color: #666;
}

.branch-info {
    margin-bottom: 1.5rem;
}

.branch-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    color: #666;
    font-size: 0.9rem;
}

.branch-info i {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
    color: #007bff;
}

.branch-actions {
    text-align: center;
}

/* Loading States */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    margin-left: 0.5rem;
    animation: spin 0.8s linear infinite;
}

.loading .loading-spinner {
    display: inline-block;
}

.loading .button-text {
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .branch-controls {
        padding: 0 1rem;
    }
    
    .branches-slider {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .branch-search {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }
    
    .visit-branch {
        width: 100%;
        padding: 0.5rem 1rem;
    }
} 

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.branch-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.branch-actions {
    margin-top: auto;
}

.visit-branch {
    width: 100%;
    display: inline-block;
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background 0.3s ease;
}

.visit-branch:hover {
    background: var(--secondary-color);
}

/* Pagination Responsif */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
    padding: 0 20px;
}

.page-link {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.page-link:hover {
    background: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 15px;
    }

    .branch-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .branches-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pagination {
        gap: 8px;
    }

    .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}


.branch-card {
    display: none; 
}

.branch-card.active {
    display: block; 
}


.menu-page {
    background-color: #f9f9f9;
}

.menu-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/assets/images/menu.jpg') center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.menu-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.menu-hero p {
    font-size: 1.2em;
    opacity: 0.9;
}

.menu-gallery {
    padding: 40px 0 80px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-image {
    position: relative;
    padding-top: 75%; 
    overflow: hidden;
}

.menu-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-image img {
    transform: scale(1.05);
}

.menu-info {
    padding: 20px;
    text-align: center;
}

.menu-title {
    font-size: 1.2em;
    color: #333;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-hero h1 {
        font-size: 2.5em;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .menu-hero h1 {
        font-size: 2em;
    }
    
    .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 0 15px;
        gap: 15px;
    }
    
    .menu-info {
        padding: 15px;
    }
}

/* Order Page Styles */
.order-page {
    background-color: #f9f9f9;
    min-height: 100vh;
}

.order-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/assets/images/menu.jpg') center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}


.order-hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.order-announcement {
    background-color: #2E7D32;  /* Hijau gelap */
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-cart-btn {
    background: white;
    color: #2E7D32;  /* Hijau gelap */
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.menu-order {
    padding: 40px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-category {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu-category h2 {
    color: #333;
    border-bottom: 2px solid #2E7D32;  /* Hijau gelap */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.category-note {
    color: #2E7D32;  /* Hijau gelap */
    font-style: italic;
    margin-bottom: 15px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info {
    flex: 1;
}

.menu-item-info h3 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #333;
}

.description {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.price {
    color: #2E7D32;  /* Hijau gelap */
    font-weight: bold;
}

/* Menu Item Actions Styles */
.menu-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 2px;
}

.qty-btn {
    background: #2E7D32;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.qty-btn:hover:not(:disabled) {
    background: #1B5E20;
}

.qty-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    padding: 0 5px;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-btn {
    background: #2E7D32;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background: #1B5E20;
    transform: translateY(-1px);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Responsive styles */
@media (max-width: 768px) {
    .menu-item-actions {
        flex-direction: row;
        width: 100%;
        margin-top: 15px;
    }

    .quantity-controls {
        flex: 0 0 auto;
    }

    .add-to-cart-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .menu-item-actions {
        flex-direction: column;
        gap: 10px;
    }

    .quantity-controls {
        width: 100%;
        justify-content: center;
    }

    .add-to-cart-btn {
        width: 100%;
        padding: 12px;
    }
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    color: #333;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cart-item-info h4 {
    margin: 0 0 5px;
    color: #333;
}

.cart-item-info p {
    margin: 0;
    color: #666;
}

.remove-item {
    background: none;
    border: none;
    color: #2E7D32;  /* Hijau gelap */
    font-size: 1.2em;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
}

.cart-subtotal,
.cart-tax,
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-total {
    font-weight: bold;
    font-size: 1.1em;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background-color: #2E7D32;  /* Hijau gelap */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

.checkout-btn:hover {
    background-color: #1B5E20;  /* Hijau lebih gelap untuk hover */
}

.checkout-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .menu-item-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .order-announcement {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Gallery Menu Grid (untuk menu.php dan index.php) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid .menu-item {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 300px; /* Fixed height */
}

.gallery-grid .menu-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-grid .menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-grid .menu-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    transition: all 0.3s ease;
}

.gallery-grid .menu-title {
    font-size: 1.1em;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.gallery-grid .menu-item:hover .menu-info {
    background: rgba(255, 255, 255, 0.95);
}

.gallery-grid .menu-item:hover .menu-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Responsive untuk gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-grid .menu-item {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        padding: 15px;
    }
    
    .gallery-grid .menu-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    .gallery-grid .menu-item {
        height: 150px;
    }
    
    .gallery-grid .menu-info {
        padding: 10px;
    }
    
    .gallery-grid .menu-title {
        font-size: 1em;
    }
}