.custom-dropdown-wrapper {
    position: relative;
    width: 120px; /* dilediğin genişlik */
    margin-left: auto;
}

.custom-dropdown {
    background-color: transparent; /* Şeffaf ya da koyu band üzerine oturuyor */
    color: white;
    font-weight: bold;
    padding: 10px 12px;
    width: 100%;
    cursor: pointer;
    user-select: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

    .selected-item img {
        width: 24px;
        height: 16px;
    }

.dropdown-list {
    position: absolute;
    top: 100%; /* tam altına */
    left: 0; /* parent'a göre hizalanır */
    width: 100%;
    background-color: #2c2c2c; /* antrasit gri */
    border: 1px solid #444;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-height: 250px;
    overflow-y: auto;
}


.dropdown-item {
    padding: 10px 12px;
    color: white;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer; /* 🖱️ El imleci */
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

    .dropdown-item:hover {
        background-color: #555; /* daha koyu gri */
        color: #fff;
    }

    .dropdown-item img {
        width: 24px;
        height: 16px;
    }



    .dropdown-item:active {
        background-color: #666;
    }

body {
    margin: 0;
    font-family: sans-serif;
    overflow-x: hidden;
    padding-top: 60px; /* top-bar'ın yüksekliği kadar padding */
}

.top-bar {
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 8px 0px 8px 8px;
    position: fixed; /* sticky yerine fixed kullanarak daha güvenilir yapışkan davranış */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; /* Daha yüksek z-index */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); /* Gölge efekti */
    transition: all 0.3s ease; /* Yumuşak geçiş efekti */
}

.top-left .logo {
    margin-top : 5px;
    height: 32px;
}

.top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Tüm öğeleri sağa yaslar */
    gap: 6px;
}

/* Dil seçeneği yoksa menüyü daha sağa yanaştır */
.top-right.no-language .corporate-dropdown-wrapper {
    margin-right: 6px;
}

/* Dil seçeneği yoksa açılır menünün sağ sınırını ayarla */
.top-right.no-language .corporate-dropdown-list {
    right: 6px;
    left: auto;
}

.language-selector {
    padding: 4px;
}

.menu-item a {
    color: white;
    text-decoration: none;
    gap:8px;
}



.accordion-container {
    margin: 10px 20px 20px 20px; /* Üst margin'i azalttım */
}

.accordion-header {
    position: relative;
    height: 150px;
    margin-bottom: 8px;
    cursor: pointer;
    overflow: hidden;
}

    .accordion-header::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0,0,0,0));
        z-index: 1;
    }

    .accordion-header .category-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        opacity: 0.9;
        top: 0;
        left: 0;
    }

.accordion-header {
    display: flex;
    align-items: center; /* 👈 Dikey ortalama */
    justify-content: start; /* 👈 Yatay ortalama (isteğe bağlı) */
}

.category-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-left : 15px;
    z-index :  2;
}


.accordion-body {
    padding: 16px;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    justify-content: center; /* Yatayda ortalama */
    align-items: stretch; /* Kartları aynı yüksekliğe zorla */
    width: 100%;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Grid hücresinin tüm yüksekliğini kapla */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    padding: 8px;
    text-align: center;
    margin: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 500px; /* opsiyonel, genişlik sınırı */
min-width : 200px;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

/* Yeni yardımcı sınıflar */
.product-content-top {
    /* img, name, narration burada olacak */
}

.product-content-bottom {
    margin-top: auto; /* Alt içeriği dibe iter */
}


.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /*border-radius: 4px;*/
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.product-name {
    font-family: 'Exo 2', sans-serif;
    font-weight: 500; /* Medium */
    font-size: 20px; /* İsteğe bağlı */
    margin-top: 8px;
}
.product-narration {
    font-family: 'Exo 2', sans-serif;
    font-weight: 300; /* Medium */
    font-weight: normal; /* Kalın değil */
    color: #333333; /* Koyu gri */
    line-height: 1.5; /* Okunabilirlik için */
    margin-top: 6px; /* Üst boşluk (isteğe bağlı) */
    font-size: 13px;
    font-weight: normal;
}

.product-price {
    margin-top: 8px;
    color: green;
    font-size: 20px;
    font-weight: 500; /* orta kalınlık */
    font-family: 'Exo 2', sans-serif;
}

.product-icons span {
    margin: 2px;
}

.footer-bar {
    background-color: #2e2e2e;
    color: white;
    padding: 16px;
    text-align: center;
}

.footer-links a {
    color: #ccc;
    margin: 0 8px;
    text-decoration: none;
}





@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 250 yerine 220 daha güvenli */
    gap: 16px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ingredient-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease, z-index 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
    overflow: hidden;
    width: 100%; /* yeni: konteyner kadar genişlik */
    max-width: 100%; /* yeni: taşmayı engeller */
    height: 250px;
}

.ingredient-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px; /* Sabit bir yükseklik */
    overflow: hidden;
}

    .ingredient-img-wrapper img {
        max-height: 100%;
        width: auto; /* Genişlik içeriğe göre ayarlansın */
        height: auto; /* Oranı koruyarak küçülsün */
        object-fit: contain; /* Taşma engellensin */
    }

.ingredient-title {
    margin-top: 12px;
    font-weight: 600;
    word-wrap: break-word; /* Uzun başlıklar için */
    color:black;
}



/* Büyük resim overlay sistemi */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.expanded-image-container {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: default;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.expanded-image-container img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.expanded-image-title {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.expanded-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.expanded-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}


    .ingredient-card:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }



@media (max-width: 768px) {
    .expanded-image-container {
        padding: 15px;
        margin: auto;
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .expanded-image-container img {
        max-height: 60vh;
        margin: 0 auto;
    }
    
    .expanded-image-title {
        font-size: 16px;
        margin-top: 10px;
        text-align: center;
    }
    
    .expanded-close-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .expanded-image-container {
        padding: 10px;
        margin: auto;
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .expanded-image-container img {
        max-height: 50vh;
        margin: 0 auto;
    }
    
    /* Mobil cihazlarda top-bar için ek ayarlar */
    .top-bar {
        padding: 6px 0px 6px 6px; /* Daha az padding */
    }
    
    body {
        padding-top: 50px; /* Mobilde daha az padding */
    }
    
    .carousel {
        height: 300px; /* Mobilde daha küçük carousel */
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.simgemodal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 6px;
    width: 90vw;
    max-width: 900px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.custom-page-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 6px;
    width: 90vw;
    max-width: 800px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

.close-btn {
    float: right;
    background: transparent;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

/* Yeni modallar için stiller */
.announcements-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.announcement-item h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 18px;
}

.announcement-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.announcement-item small {
    color: #999;
    font-style: italic;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-section h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 18px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.about-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

.about-section ul {
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
}

.about-section li {
    margin-bottom: 6px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-section h3 {
    color: #333;
    margin-bottom: 12px;
    font-size: 18px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.contact-info p,
.working-hours p,
.reservation-info p,
.location-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-info a,
.reservation-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover,
.reservation-info a:hover {
    text-decoration: underline;
}

.reservation-info ul {
    color: #666;
    line-height: 1.6;
    padding-left: 20px;
    margin-bottom: 12px;
}

.reservation-info li {
    margin-bottom: 6px;
}


.loading-spinner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f0f0f0; /* Gri arka plan */
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.2em;
    color: #333;
}

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



.carousel {
    position: relative;
    width: 100%;
    height: min(42vw, 400px);
    margin: 0;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.carousel:active {
    cursor: grabbing; /* Kaydırma sırasında cursor */
}

.carousel-inner {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    user-select: none;
}

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

.carousel-slide2 {
    width: 100%;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    .carousel-slide2 img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    user-select: none;
}

.indicator-line {
    height: 4px;
    width: 40px;
    background-color: #ccc;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .indicator-line.active {
        background-color: #007bff;
    }



.selected-attribute-btn {
    display: inline-flex; /* Yatayda yan yana, dikeyde ortalı */
    align-items: center; /* Dikey ortalama */
    padding: 4px 8px;
    margin: 2px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    cursor: default;
}

.attribute-name {
    margin-right: 6px; /* Sağdaki x ile arada boşluk */
    white-space: nowrap; /* Yazı tek satırda kalsın */
}

.remove-x {
    font-size: 12px; /* X küçültüldü */
    color: #888;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.attribute-item img {
    border-radius: 4px;
    user-select: none;
}









.attribute-icons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap; /* işte bu! satırdan taşarsa alt satıra geç */
    gap: 4px;
    max-width: 100%; /* kutu dışına taşmasın */
    min-height:35px;
    justify-content: center; /* 🔥 Ortalamak için eklendi */
    
}

.attribute-icon {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: transform 0.2s ease;
}


    .attribute-icon:hover {
        transform: scale(1.1);
    }

.carousel img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.corporate-dropdown-wrapper {
    position: relative;
    margin-right: 12px;
}
.corporate-dropdown-btn {
    background: transparent;
    border: none;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 4px;
}

/* Desktop ve mobil için görünürlük kuralları */
.desktop-text {
    display: inline;
}

.mobile-icon {
    display: none;
}

/* Mobil ekranlarda hamburger menü ikonu */
@media (max-width: 768px) {
    .desktop-text {
        display: none;
    }
    
    .mobile-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 16px;
        position: relative;
    }
    
    .mobile-icon::before,
    .mobile-icon::after,
    .mobile-icon span {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background-color: white;
        margin: 2px 0;
        transition: all 0.3s ease;
    }
    
    .mobile-icon span {
        background-color: white;
    }
    
    .corporate-dropdown-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        padding: 0;
        background: transparent;
        border: none;
    }
    
    /* Menü açıkken animasyon */
    .corporate-dropdown-wrapper.show .mobile-icon::before {
        transform: rotate(45deg) translate(0, 6px);
    }
    
    .corporate-dropdown-wrapper.show .mobile-icon span {
        opacity: 0;
    }
    
    .corporate-dropdown-wrapper.show .mobile-icon::after {
        transform: rotate(-45deg) translate(0, -6px);
    }
}
.corporate-dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #222;
    border: 1px solid #444;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
    margin-top: 2px;
}
.corporate-dropdown-item {
    color: white;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 15px;
    border-bottom: 1px solid #333;
    transition: background 0.2s;
}
.corporate-dropdown-item:last-child {
    border-bottom: none;
}
.corporate-dropdown-item:hover {
    background: #444;
}


/* Modal Overlay */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    overflow: hidden !important;
}

/* Modal Content */
.modal-content {
    background-color: white !important;
    padding: 24px !important;
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    text-align: center !important;
    max-width: 500px !important;
    width: 90% !important;
    position: relative !important;
    animation: fadeIn 0.3s ease-in-out !important;
    z-index: 10001 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    transform: none !important;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
}

/* Modal Header */
.modal-header {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
}

/* X Close Button */
.modal-close-x {
    background: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    color: white !important;
    font-size: 16px !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

    .modal-close-x:hover {
        background: rgba(0, 0, 0, 0.9) !important;
    }

/* İçerik Başlıkları */
.modal-content h7 {
    margin-top: 3px;
    font-size: 13px;
    font-weight: normal;
}

.modal-content h3 {
    margin-top: 8px;
    color: green;
    font-size: 20px;
    font-weight: 500;
}

/* Görseller ve Iconlar */
.modal-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
}

.modal-icons span {
    font-size: 24px;
    margin: 0 8px;
}

/* Attribute Modal Kapat Butonu */
.modal-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
    padding: 12px 20px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.modal-close-btn:hover {
    background: #16213e;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.modal-close-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Menu feedback */
.menu-feedback-wrapper {
    margin-right: 8px;
}

.menu-feedback-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.menu-feedback-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.menu-feedback-btn-icon {
    color: #ffd166;
    font-size: 16px;
}

@media (max-width: 768px) {
    .menu-feedback-btn-text {
        display: none;
    }

    .menu-feedback-btn {
        padding: 8px 10px;
    }
}

.menu-feedback-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
}

.menu-feedback-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    background: #fff;
    border-radius: 14px;
    z-index: 10001;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.menu-feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #001529;
    color: #fff;
    font-weight: 700;
}

.menu-feedback-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.menu-feedback-body {
    padding: 18px 16px 20px;
}

.menu-feedback-intro {
    margin: 0 0 12px;
    color: #334155;
    font-size: 14px;
}

.menu-feedback-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.menu-feedback-star {
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #cbd5e1;
    padding: 0;
}

.menu-feedback-star.is-active {
    color: #f59e0b;
}

.menu-feedback-comment {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    resize: vertical;
    min-height: 96px;
    box-sizing: border-box;
}

.menu-feedback-submit {
    width: 100%;
    margin-top: 12px;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    background: #ff8c42;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.menu-feedback-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.menu-feedback-error {
    color: #dc2626;
    font-size: 13px;
    margin: 8px 0 0;
}

.menu-feedback-thanks {
    margin: 0;
    text-align: center;
    color: #0f766e;
    font-weight: 600;
    padding: 12px 0;
}

.menu-reviews-modal {
    max-height: min(85vh, 640px);
    display: flex;
    flex-direction: column;
}

.menu-reviews-body {
    overflow-y: auto;
    max-height: calc(min(85vh, 640px) - 56px);
}

.menu-reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-review-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.menu-review-item:last-child {
    border-bottom: none;
}

.menu-review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.menu-review-stars {
    color: #f59e0b;
    letter-spacing: 1px;
    font-size: 15px;
}

.menu-review-date {
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}

.menu-review-table {
    font-size: 12px;
    color: #475569;
    margin-bottom: 4px;
}

.menu-review-comment {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #1e293b;
    white-space: pre-wrap;
    word-break: break-word;
}

.menu-review-comment-muted {
    color: #94a3b8;
    font-style: italic;
}

.menu-reviews-empty {
    margin: 0;
    text-align: center;
    color: #64748b;
    padding: 16px 0;
}

.menu-reviews-load-more {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
}

.menu-reviews-load-more:hover:not(:disabled) {
    background: #e2e8f0;
}

.menu-reviews-load-more:disabled {
    opacity: 0.65;
    cursor: wait;
}

.menu-reviews-btn .menu-feedback-btn-icon {
    font-size: 14px;
}

.menu-seo-reviews {
    max-width: 960px;
    margin: 24px auto 0;
    padding: 20px 16px 8px;
    color: #0f172a;
}

.menu-seo-reviews-header h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 700;
}

.menu-seo-reviews-summary {
    margin: 0 0 14px;
    color: #475569;
    font-size: 14px;
}

.menu-seo-reviews-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.menu-seo-review-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
}

.menu-seo-review-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: #64748b;
}

.menu-seo-review-stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.menu-seo-review-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #1e293b;
    white-space: pre-wrap;
    word-break: break-word;
}

.menu-seo-review-body-muted {
    color: #94a3b8;
    font-style: italic;
}

.menu-seo-reviews-more {
    margin: 14px 0 0;
    font-size: 13px;
    color: #64748b;
}

.menu-seo-reviews-open {
    border: 0;
    background: none;
    padding: 0;
    margin-left: 4px;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

/* Masaüstünde dijital menü cihaz önizleme */
.menu-device-preview-toolbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10060;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 48px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.menu-device-preview-label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    margin-right: 4px;
}

.menu-device-preview-btn {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.menu-device-preview-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

.menu-device-preview-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.menu-preview-stage {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 16px 24px;
    box-sizing: border-box;
}

.menu-preview-frame {
    position: relative;
    box-sizing: border-box;
}

.menu-preview-frame-desktop {
    width: 100%;
    max-width: none;
}

.menu-preview-frame-tablet {
    --preview-max-h: calc(100vh - 72px);
    width: min(768px, calc(100vw - 32px), calc(var(--preview-max-h) * 3 / 4));
    aspect-ratio: 3 / 4;
    max-height: var(--preview-max-h);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    transform: translateZ(0);
}

.menu-preview-frame-phone {
    --preview-max-h: calc(100vh - 72px);
    width: min(390px, calc(100vw - 32px), calc(var(--preview-max-h) * 9 / 19.5));
    aspect-ratio: 9 / 19.5;
    max-height: var(--preview-max-h);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
    border: 3px solid #1e293b;
    background: #fff;
    transform: translateZ(0);
}

.menu-preview-shell {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.menu-preview-shell-desktop {
    width: 100%;
}

.menu-preview-shell-tablet,
.menu-preview-shell-phone {
    position: relative;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
}

.menu-preview-shell-tablet .top-bar,
.menu-preview-shell-phone .top-bar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.menu-preview-shell-tablet .carousel,
.menu-preview-shell-phone .carousel {
    width: 100%;
    height: min(56vw, 280px);
    max-height: 280px;
}

.menu-preview-shell-tablet .accordion-container,
.menu-preview-shell-phone .accordion-container {
    margin-left: 10px;
    margin-right: 10px;
}

@media (min-width: 992px) {
    .menu-device-preview-toolbar {
        display: flex;
    }

    body:has(.menu-device-preview-toolbar) {
        padding-top: 0 !important;
    }

    body:has(.menu-device-preview-toolbar) .menu-preview-stage {
        padding-top: 56px;
    }

    body:has(.menu-device-preview-toolbar) .menu-preview-shell-desktop {
        padding-top: 60px;
    }

    body:has(.menu-device-preview-toolbar) .menu-preview-shell-desktop .top-bar {
        top: 48px;
    }
}

/* Telefon önizleme: mobil topbar davranışını simüle et */
.menu-preview-shell-phone .desktop-text {
    display: none;
}

.menu-preview-shell-phone .mobile-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 16px;
    position: relative;
}

.menu-preview-shell-phone .mobile-icon::before,
.menu-preview-shell-phone .mobile-icon::after,
.menu-preview-shell-phone .mobile-icon span {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
}

.menu-preview-shell-phone .mobile-icon span {
    background-color: white;
}

.menu-preview-shell-phone .corporate-dropdown-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    background: transparent;
    border: none;
}

.menu-preview-shell-phone .corporate-dropdown-wrapper.show .mobile-icon::before {
    transform: rotate(45deg) translate(0, 6px);
}

.menu-preview-shell-phone .corporate-dropdown-wrapper.show .mobile-icon span {
    opacity: 0;
}

.menu-preview-shell-phone .corporate-dropdown-wrapper.show .mobile-icon::after {
    transform: rotate(-45deg) translate(0, -6px);
}

.menu-preview-shell-phone .menu-feedback-btn-text {
    display: none;
}

.menu-preview-shell-phone .menu-feedback-btn {
    padding: 8px 10px;
}

.menu-preview-shell-phone .top-bar {
    padding: 6px 0 6px 6px;
}

/* Tablet/telefon önizleme: modallar çerçeve viewport'una sabitlenir (scroll ile kaymaz) */
.menu-preview-shell-tablet:has(.modal-overlay),
.menu-preview-shell-phone:has(.modal-overlay),
.menu-preview-shell-tablet:has(.menu-feedback-backdrop),
.menu-preview-shell-phone:has(.menu-feedback-backdrop),
.menu-preview-shell-tablet:has(.modal-backdrop),
.menu-preview-shell-phone:has(.modal-backdrop) {
    overflow: hidden !important;
}

.menu-preview-shell-tablet .modal-overlay,
.menu-preview-shell-phone .modal-overlay,
.menu-preview-shell-tablet .menu-feedback-backdrop,
.menu-preview-shell-phone .menu-feedback-backdrop,
.menu-preview-shell-tablet .modal-backdrop,
.menu-preview-shell-phone .modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
}

.menu-preview-shell-tablet .modal-content,
.menu-preview-shell-phone .modal-content {
    max-width: min(500px, calc(100% - 24px)) !important;
    width: calc(100% - 24px) !important;
    max-height: calc(100% - 32px) !important;
    overflow-y: auto !important;
}

.menu-preview-shell-tablet .menu-feedback-modal,
.menu-preview-shell-phone .menu-feedback-modal {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(92%, 420px) !important;
    max-width: calc(100% - 24px) !important;
    max-height: calc(100% - 32px) !important;
    overflow-y: auto !important;
}

.menu-preview-shell-tablet .custom-page-modal,
.menu-preview-shell-phone .custom-page-modal,
.menu-preview-shell-tablet .simgemodal-content,
.menu-preview-shell-phone .simgemodal-content {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: min(92%, 900px) !important;
    max-width: calc(100% - 16px) !important;
    max-height: calc(100% - 24px) !important;
}

.menu-preview-shell-tablet .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.menu-preview-shell-tablet .product-card {
    max-width: none;
    min-width: 0;
}

.menu-preview-shell-phone .product-grid {
    grid-template-columns: 1fr;
}

/* Telefon önizleme: üst bar ikonları biraz küçük */
.menu-preview-shell-phone .top-left .logo {
    height: 26px;
    margin-top: 2px;
}

.menu-preview-shell-phone .menu-feedback-btn {
    padding: 5px 8px;
    font-size: 11px;
    gap: 4px;
}

.menu-preview-shell-phone .menu-feedback-btn-icon {
    font-size: 13px;
}

.menu-preview-shell-phone .corporate-dropdown-btn {
    width: 26px;
    height: 26px;
}

.menu-preview-shell-phone .mobile-icon {
    width: 17px;
    height: 14px;
}

.menu-preview-shell-phone .mobile-icon::before,
.menu-preview-shell-phone .mobile-icon::after,
.menu-preview-shell-phone .mobile-icon span {
    width: 17px;
}

.menu-preview-shell-phone .custom-dropdown .selected-item img,
.menu-preview-shell-phone .dropdown-item img {
    width: 20px;
    height: 14px;
}

/* Gerçek mobil: üst bar ikonları biraz küçük (önizleme ile uyumlu) */
@media (max-width: 768px) {
    .top-left .logo {
        height: 26px;
        margin-top: 2px;
    }

    .menu-feedback-btn {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .menu-feedback-btn-icon {
        font-size: 13px;
    }

    .corporate-dropdown-btn {
        padding: 6px 10px;
        font-size: 14px;
    }

    .mobile-icon {
        width: 17px;
        height: 14px;
    }

    .mobile-icon::before,
    .mobile-icon::after,
    .mobile-icon span {
        width: 17px;
    }

    .custom-dropdown .selected-item img,
    .dropdown-item img {
        width: 20px;
        height: 14px;
    }
}
