/* Dil seçici */
.lang-switcher {
    position: relative;
    z-index: 50;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.92);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 10px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.lang-switcher-btn .fa-globe {
    font-size: 0.85rem;
}

.lang-switcher-caret {
    font-size: 0.65rem;
    opacity: 0.85;
}

.lang-switcher-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 150px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    border: 1px solid #eee;
}

.lang-switcher-menu[hidden] {
    display: none !important;
}

.lang-option {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-option:hover,
.lang-option.is-active {
    background: #fff3e8;
    color: #ff6a00;
}

/* Menü liste kartları (referans tipografi) */
.menu-list-section {
    margin-bottom: 22px;
}

.menu-list-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2b2118;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
}

.meal-list-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(43, 33, 24, 0.06);
    cursor: pointer;
    align-items: stretch;
}

.meal-list-card-img {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0ebe4;
}

.meal-list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.meal-list-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.meal-list-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #3d2914;
    line-height: 1.25;
    margin: 0 0 4px;
}

.meal-list-card-desc {
    font-size: 0.75rem;
    color: #9a8b7c;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meal-list-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.meal-list-tag {
    font-size: 0.65rem;
    font-weight: 600;
    color: #c45c4a;
    background: #fdece6;
    border-radius: 999px;
    padding: 2px 7px;
}

.meal-list-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.meal-list-kcal {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ff6a00;
    font-size: 0.82rem;
    font-weight: 600;
}

.meal-list-kcal i {
    font-size: 0.78rem;
}

.meal-list-price {
    color: #ff6a00;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.other-meal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 4px;
    border-bottom: 1px solid #f0ebe6;
    cursor: pointer;
}

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

.other-meal-row-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: #3d2914;
}

.other-meal-row-kcal {
    font-size: 0.78rem;
    color: #ff6a00;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .menu-list-section {
        margin-bottom: 14px;
    }

    .menu-list-section:last-child {
        margin-bottom: 0;
    }
}

.app-header-with-lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-header-with-lang h1 {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    flex: 1;
}

/* Kullanıcı toast menü (sağ üst) */
.user-toast-menu {
    position: relative;
    z-index: 120;
}

.user-toast-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.user-toast-btn:hover,
.user-toast-btn[aria-expanded="true"] {
    background: rgba(37, 99, 235, 0.18);
}

.user-toast-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 188px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    border: 1px solid #eee;
    overflow: hidden;
    z-index: 130;
    animation: userToastIn 0.18s ease;
}

.user-toast-panel[hidden] {
    display: none !important;
}

@keyframes userToastIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-toast-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-toast-item i {
    width: 18px;
    text-align: center;
    color: #64748b;
}

.user-toast-item:hover {
    background: #f8fafc;
}

.user-toast-item.is-danger {
    color: #dc3545;
    border-top: 1px solid #f1f5f9;
}

.user-toast-item.is-danger i {
    color: #dc3545;
}

.user-toast-item.is-danger:hover {
    background: #fef2f2;
}
