/* =========================================
   map-dynamic.blade.php — Sayfa Özel Stilleri
   ========================================= */

body {
    overflow: hidden;
}

#mapContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

#searchMap {
    width: 100%;
    height: 100%;
}

/* =========================================
   Leaflet Kontrolleri
   ========================================= */
#mapContainer .leaflet-control-container {
    font-family: inherit;
}

#mapContainer .leaflet-bottom.leaflet-left {
    left: 16px;
    bottom: 12px;
}

#mapContainer .leaflet-bottom.leaflet-right {
    right: 16px;
    bottom: 16px;
}

body.map-sidebar-open #mapContainer .leaflet-bottom.leaflet-right {
    right: 436px;
}

#mapContainer .leaflet-control-zoom,
#mapContainer .leaflet-control-locate {
    margin: 0;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.96);
}

#mapContainer .leaflet-bottom.leaflet-right .leaflet-control {
    margin-top: 12px;
}

#mapContainer .leaflet-bottom.leaflet-right .leaflet-control:first-child {
    margin-top: 0;
}

#mapContainer .leaflet-control-zoom a,
#mapContainer .leaflet-control-locate-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #0f172a;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#mapContainer .leaflet-control-zoom a {
    line-height: 1;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1px solid #e2e8f0;
}

#mapContainer .leaflet-control-zoom a:last-child {
    border-bottom: none;
}

#mapContainer .leaflet-control-locate-btn {
    cursor: pointer;
    font-size: 16px;
}

#mapContainer .leaflet-control-zoom a:hover,
#mapContainer .leaflet-control-locate-btn:hover {
    background: #f8fafc;
    color: #1d4ed8;
}

#mapContainer .leaflet-control-locate-btn.is-loading {
    cursor: wait;
    color: #64748b;
}

#mapContainer .leaflet-touch .leaflet-bar a {
    width: 48px;
    height: 48px;
    line-height: 1;
}

#mapContainer .leaflet-control-attribution {
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

#mapContainer .leaflet-control-attribution a {
    color: #1d4ed8;
}

#mapContainer .service-area-mask {
    pointer-events: none;
}

#mapContainer .map-tiles-base {
    filter: saturate(0.84) brightness(1.02) contrast(0.96);
}

#mapContainer .map-tiles-detail {
    filter: saturate(0.68) brightness(1.05) contrast(0.9);
}

@media (max-width: 768px) {
    #mapContainer .service-area-country-label--primary span {
        font-size: 13px;
        padding: 5px 12px;
    }

    #mapContainer .service-area-country-label--secondary span {
        font-size: 12px;
        padding: 4px 10px;
    }
}

/* =========================================
   Sidebar Panel
   ========================================= */
#sidebarPanel {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

#sidebarPanel.collapsed {
    transform: translateX(420px);
}

#sidebarToggle.shifted {
    right: 440px;
    transition: right 0.3s ease;
}

/* =========================================
   Sidebar Toggle Button
   ========================================= */
#sidebarToggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#sidebarToggle .sidebar-toggle-label {
    display: none;
}

#sidebarToggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

#sidebarPanel.collapsed + #sidebarToggle {
    right: 20px;
}

/* =========================================
   Panel Header
   ========================================= */
.panel-header {
    padding: 20px;
    border-bottom: 2px solid #e5e7eb;
    background: linear-gradient(135deg, #f08361 0%, #d35255 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* =========================================
   Filtre Toggle
   ========================================= */
#filterToggleBtn {
    flex-shrink: 0;
    background: rgba(255,255,255,0.2);
    border: 1.5px solid rgba(255,255,255,0.4);
    color: white;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
    white-space: nowrap;
}

#filterToggleBtn:hover {
    background: rgba(255,255,255,0.3);
}

#filterToggleBtn .toggle-icon {
    transition: transform 0.3s ease;
}

#filterToggleBtn.collapsed .toggle-icon {
    transform: rotate(-180deg);
}

#mobileSidebarCloseBtn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.38);
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

#mobileSidebarCloseBtn:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-1px);
}

/* =========================================
   Filtre Paneli Animasyon
   ========================================= */
#filterPanel {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    max-height: 580px;
    opacity: 1;
}

#filterPanel.collapsed {
    max-height: 0;
    opacity: 0;
}

/* =========================================
   Panel Body
   ========================================= */
.panel-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#mainView {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

#detailView {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* =========================================
   Detail Görünüm
   ========================================= */
.detail-header {
    padding: 12px 16px;
    border-bottom: 2px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.price-filter-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 2px solid #f59e0b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #92400e;
    flex-shrink: 0;
}

.detail-menu-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.detail-footer {
    padding: 12px 16px;
    border-top: 2px solid #e5e7eb;
    background: white;
    flex-shrink: 0;
}

/* =========================================
   Menü Kategori Kart
   ========================================= */
.menu-category-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.menu-category-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.menu-items-wrapper {
    padding: 4px 14px;
}

.menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 8px;
}

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

.menu-item-info {
    flex: 1;
    overflow: hidden;
}

.item-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-desc {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-badge {
    background: #dcfce7;
    color: #16a34a;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-icon {
    font-size: 16px;
    line-height: 1;
}

/* =========================================
   Arama Formu
   ========================================= */
.search-controls {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-controls .alert-info {
    background: #e0f2fe;
    border: 1px solid #7dd3fc;
    border-radius: 8px;
    padding: 12px;
}

/* Form etiketleri */
.form-label-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

/* Yarıçap slider */
.radius-slider {
    width: 100%;
    accent-color: #CF4A53;
    cursor: pointer;
}

/* Fiyat giriş alanları */
.price-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s ease;
    outline: none;
    background: white;
}

.price-input:focus,
.price-input:focus-visible {
    border-color: #CF4A53;
    box-shadow: 0 0 0 3px rgba(207, 74, 83, 0.08);
    outline: none;
}

/* Firefox'un min/max constraint'li number input'lara uyguladığı kırmızı geçersiz stilini sıfırla */
.price-input:invalid,
.price-input:-moz-ui-invalid {
    box-shadow: none !important;
    border-color: #e5e7eb !important;
}

/* Metin arama input wrapper */
.query-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.query-input-icon {
    position: absolute;
    left: 12px;
    color: #CF4A53;
    font-size: 13px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.query-input {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 9px 12px 9px 34px;
    font-size: 14px;
    color: #374151;
    background: white;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.query-input::placeholder {
    color: #9ca3af;
}

.query-input:focus,
.query-input:focus-visible {
    border-color: #CF4A53 !important;
    box-shadow: 0 0 0 3px rgba(246, 128, 59, 0.08);
    outline: none;
}

.query-input:focus + .query-input-icon,
.query-input-wrapper:focus-within .query-input-icon {
    color: #CF4A53 !important;
}

.query-hint-text {
    margin-top: 5px;
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.4;
}

/* Arama Butonu */
.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    background: #d35255;
    color: white;
    font-weight: 700;
    font-size: 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: #eb8525;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 100, 37, 0.3);
}

.search-btn:active {
    transform: translateY(0);
}

/* Temizle Butonu */
.clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 9px 20px;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-btn:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    color: #374151;
}

/* =========================================
   Sonuçlar
   ========================================= */
#resultsContainer {
    display: none;
}

#resultsContainer.active {
    display: block;
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

/* Sıralama Butonu */
.sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #3b82f6;
    background: transparent;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-btn:hover {
    background: #eff6ff;
}

/* Sonuç Kart */
.result-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.result-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

.result-card-content {
    min-width: 0;
    flex: 1;
}

.result-card:hover {
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
    border-color: #3b82f6;
    background: #f0f9ff;
}

.result-card.selected {
    border-color: #2563eb;
    background: #dbeafe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.result-card h6 {
    color: #1f2937;
    font-size: 15px;
    line-height: 1.35;
    word-break: break-word;
}

.result-card-address {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.result-card-address i {
    width: 14px;
    flex-shrink: 0;
    color: #ef4444;
}

.result-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .result-card-logo {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }
}

.distance-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    color: #1d4ed8;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.distance-badge i {
    font-size: 11px;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef9c3;
    color: #854d0e;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.filter-badge i {
    font-size: 11px;
}

/* =========================================
   Yükleniyor
   ========================================= */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    display: none;
}

.loading-overlay.active {
    display: flex;
}

/* Dönen Yükleme Göstergesi */
.map-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: mapSpin 0.8s linear infinite;
    margin: 0 auto;
}

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

/* =========================================
   Responsive — Mobil
   ========================================= */
@media (max-width: 768px) {
    #mapContainer .leaflet-bottom.leaflet-left {
        left: 10px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    }

    #mapContainer .leaflet-control-attribution {
        padding: 4px 8px !important;
        border-radius: 14px;
        font-size: 10px;
        line-height: 1.2;
    }

    /* Sidebar tamamen alttan açılır, tam genişlik */
    #sidebarPanel {
        width: 100%;
        height: 78vh;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -6px 32px rgba(0,0,0,0.18);
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    }

    /* Açık durum */
    #sidebarPanel:not(.collapsed) {
        transform: translateY(0);
    }

    /* Kapalı durum */
    #sidebarPanel.collapsed {
        transform: translateY(100%);
    }

    /* Toggle butonu — kapalı durumda alt orta pill olarak görünür */
    #sidebarToggle {
        top: auto !important;
        left: 50% !important;
        right: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
        width: auto !important;
        min-width: 148px;
        height: 52px !important;
        padding: 0 18px !important;
        gap: 10px;
        background-color: rgb(207 74 83 / var(--tw-bg-opacity, 1)) !important;
        /* background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important; 
        box-shadow: 0 10px 28px rgba(37,99,235,0.34) !important;*/
        box-shadow: 0 10px 28px rgba(235, 110, 37, 0.34) !important;
        border-radius: 999px !important;
        z-index: 1002;
        transform: translateX(-50%);
    }

    #sidebarToggle:hover {
        transform: translateX(-50%) translateY(-2px);
        box-shadow: 0 14px 34px rgba(37,99,235,0.4) !important;
    }

    #sidebarToggle i {
        color: white !important;
        font-size: 15px !important;
    }

    #sidebarToggle .sidebar-toggle-label {
        display: inline-flex;
        align-items: center;
        color: white;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 0.01em;
        white-space: nowrap;
    }

    /* Panel açıkken yüzen buton gizlenir, kapatma header üzerinden yapılır */
    #sidebarToggle.shifted {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(12px);
    }

    #mobileSidebarCloseBtn {
        display: inline-flex;
    }

    /* Mobilde arama kontrolleri daha kompakt */
    .search-controls {
        padding: 12px;
        margin-bottom: 10px;
    }

    .panel-header {
        padding: 10px 14px;
        border-radius: 18px 18px 0 0;
    }

    #mainView {
        padding: 10px 14px;
    }

    /* Mobilde filtre toggle gizle */
    #filterToggleBtn {
        display: none;
    }

    /* Filtre paneli mobilde her zaman açık */
    #filterPanel {
        max-height: none !important;
        opacity: 1 !important;
    }
}

/* =========================================
   Scrollbar
   ========================================= */
#mainView::-webkit-scrollbar,
.detail-menu-list::-webkit-scrollbar {
    width: 8px;
}

#mainView::-webkit-scrollbar-track,
.detail-menu-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#mainView::-webkit-scrollbar-thumb,
.detail-menu-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#mainView::-webkit-scrollbar-thumb:hover,
.detail-menu-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* =========================================
   Leaflet Popup — İşletme Kartı
   ========================================= */
.leaflet-popup-content-wrapper {
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.16) !important;
    padding: 0 !important;
    overflow: hidden;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 320px !important;
}

.leaflet-popup-tip-container {
    margin-top: -1px;
}

.restaurant-popup {
    width: 320px;
    font-family: inherit;
}

.popup-company-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    background: white;
    transition: background 0.15s;
}

.popup-company-header:hover {
    background: #f0f9ff;
    text-decoration: none;
}

.popup-company-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
    background: #f3f4f6;
}

.popup-company-logo-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 1px solid #bae6fd;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    font-size: 18px;
}

.popup-company-info {
    flex: 1;
    overflow: hidden;
}

.popup-company-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.popup-company-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 11px;
    color: #6b7280;
}

.popup-visit-icon {
    color: #9ca3af;
    font-size: 12px;
    flex-shrink: 0;
}

.popup-price-banner {
    background: #fef9c3;
    border-bottom: 1px solid #fde047;
    padding: 6px 14px;
    font-size: 11px;
    color: #713f12;
    display: flex;
    align-items: center;
    gap: 5px;
}

.popup-slider-section {
    padding: 12px 0 12px 14px;
    background: #fafafa;
}

.popup-slider-label {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.popup-menu-slider {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-right: 14px;
    padding-bottom: 10px;
    scrollbar-width: auto;
    scrollbar-color: #94a3b8 #e2e8f0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.popup-menu-slider::-webkit-scrollbar {
    height: 8px;
}

.popup-menu-slider::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 4px;
}

.popup-menu-slider::-webkit-scrollbar-thumb {
    background: #64748b;
    border-radius: 4px;
}

.popup-menu-slider::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.popup-item-card {
    flex-shrink: 0;
    width: 112px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: white;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.15s;
    margin-top: 5px;
    margin-bottom: 5px;
}

.popup-item-card:hover {
    box-shadow: 0 4px 14px rgba(59,130,246,0.18);
    transform: translateY(-2px);
    border-color: #3b82f6;
    text-decoration: none;
}

.popup-item-img {
    width: 100%;
    height: 68px;
    object-fit: cover;
    display: block;
    background: #f3f4f6;
}

.popup-item-img-placeholder {
    width: 100%;
    height: 68px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 22px;
}

.popup-item-body {
    padding: 6px 7px 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.popup-item-title {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
    min-height: calc(1.35em * 2);
}

.popup-item-price {
    font-size: 13px;
    font-weight: 700;
    color: #ff5b2d;
    margin-top: auto;
}

.popup-item-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    /* background: #f0fdf4; */
    color: #166534;
    padding: 1px 0px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    /* margin-bottom: 3px; */
}

.popup-item-update-badge i {
    font-size: 8px;
}

.popup-loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 14px;
    color: #9ca3af;
    font-size: 12px;
    background: #fafafa;
}

.popup-no-items {
    text-align: center;
    padding: 18px 14px;
    background: #fafafa;
    color: #9ca3af;
    font-size: 12px;
}

.popup-footer {
    padding: 10px 14px;
    border-top: 1px solid #f3f4f6;
    background: white;
}

.popup-action-btn {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.popup-company-header.popup-action-btn {
    border-radius: 0;
}

.popup-item-card.popup-action-btn {
    padding: 0;
    width: 112px;      /* Slider kart genişliğini geri yükle */
    flex-shrink: 0;    /* Flex sıkıştırmayı önle */
    border: 1px solid #dbe3ee;
    background: #ffffff;
}

/* =========================================
   Detail Sheet (Map In-Page)
   ========================================= */
#detailSheetBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1300;
}

#detailSheet {
    position: fixed;
    top: 0;
    right: 0;
    width: min(540px, 100vw);
    height: 100vh;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1301;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.2);
}

body.sheet-open #detailSheetBackdrop {
    opacity: 1;
    pointer-events: auto;
}

body.sheet-open #detailSheet {
    transform: translateX(0);
}

.detail-sheet-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(120deg, #ffffff 0%, #f8fafc 100%);
}

.detail-sheet-title {
    display: none;
}

.detail-sheet-icon-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.detail-sheet-body {
    flex: 1;
    overflow-y: auto;
    background: #f8fafc;
    padding: 14px;
}

.detail-sheet-loading {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    gap: 10px;
}

.sheet-company-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
}

.sheet-company-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.sheet-company-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.sheet-company-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.sheet-company-meta {
    font-size: 12px;
    color: #475569;
    margin-top: 4px;
}

.sheet-open-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 6px;
}

.sheet-open-badge.open {
    background: #dcfce7;
    color: #166534;
}

.sheet-open-badge.closed {
    background: #fee2e2;
    color: #991b1b;
}

.sheet-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

/* Üst kartta tek buton varsa tam genişlik */
.sheet-actions--top .sheet-action-btn:only-child {
    grid-column: 1 / -1;
}

/* =========================================
   Sheet Tabs
   ========================================= */
.sheet-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
}

.sheet-tab-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.sheet-tab-btn:first-child {
    border-right: 1px solid #e2e8f0;
}

.sheet-tab-btn--active {
    background: #ffffff;
    color: #ff5b2d;
}

.sheet-tab-btn:hover:not(.sheet-tab-btn--active) {
    background: #f1f5f9;
    color: #334155;
}

.sheet-tab-panel {
    padding-bottom: 8px;
}

/* =========================================
   Hakkında tab içerikleri
   ========================================= */
.sheet-about-block {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    background: #ffffff;
}

.sheet-about-block-title {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sheet-about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f8fafc;
}

.sheet-about-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sheet-about-row--column {
    align-items: flex-start;
    flex-direction: column;
}

.sheet-about-row-label {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sheet-about-row-value {
    font-size: 12px;
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

.sheet-about-row--column .sheet-about-row-value {
    text-align: left;
    margin-top: 3px;
    white-space: normal;
    word-break: break-word;
}

.sheet-about-row-value--closed {
    color: #ef4444;
}

.sheet-about-row-value--link {
    color: #ff5b2d;
    text-decoration: none;
}

.sheet-about-row-value--link:hover {
    text-decoration: underline;
}

.sheet-about-empty {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
}

.sheet-about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sheet-about-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid #bbf7d0;
}

.sheet-about-feature-tag i {
    font-size: 10px;
}

.sheet-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.sheet-share-section {
    border: 1px solid #fed7aa;
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff7ed;
}

.sheet-report-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.sheet-report-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px dashed #94a3b8;
    background: transparent;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sheet-report-toggle:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.sheet-report-collapse {
    margin-top: 10px;
}

.sheet-report-form {
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
}

.sheet-report-field {
    margin-bottom: 10px;
}

.sheet-report-field label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.sheet-report-select,
.sheet-report-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    color: #1e293b;
    background: white;
}

.sheet-report-select:focus,
.sheet-report-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.sheet-report-textarea {
    resize: vertical;
    min-height: 70px;
}

.sheet-report-actions {
    display: flex;
    justify-content: flex-end;
}

.sheet-report-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sheet-report-submit:hover {
    background: #dc2626;
}

.sheet-report-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sheet-report-message {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sheet-report-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.sheet-report-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.sheet-report-login-prompt {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    padding: 8px;
    background: #f8fafc;
    border-radius: 8px;
}

.sheet-report-login-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.sheet-report-login-link:hover {
    text-decoration: underline;
}

.sheet-share-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border: 0;
    background: linear-gradient(135deg, #ff7a3d, #ff5b2d);
    color: #ffffff;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

.sheet-share-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sheet-share-toggle-arrow {
    transition: transform 0.2s ease;
}

.sheet-share-section--open .sheet-share-toggle-arrow {
    transform: rotate(180deg);
}

.sheet-share-body {
    display: none;
    padding: 12px;
}

.sheet-share-section--open .sheet-share-body {
    display: block;
}

.sheet-share-summary {
    margin-bottom: 10px;
    padding: 12px;
    border: 1px solid #fdba74;
    border-radius: 12px;
    background: #ffffff;
}

.sheet-share-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.sheet-share-address {
    margin: 6px 0 0;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.sheet-share-note {
    margin: 8px 0 0;
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
}

.sheet-share-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sheet-share-action-btn {
    width: 100%;
    justify-content: center;
    background: #ffffff;
}

.sheet-share-action-btn--google {
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}

.sheet-share-action-btn--yandex {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.sheet-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-bottom: 12px;
}

.sheet-section-title {
    margin: 0;
    padding: 12px 12px 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.sheet-menu-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 12px 10px;
}

.sheet-menu-tab {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
}

.sheet-menu-tab.active {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
}

.sheet-items-list {
    padding: 0 12px 12px;
}

.sheet-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px dashed #e2e8f0;
    padding: 10px 0;
}

.sheet-item-row:first-child {
    border-top: none;
}

.sheet-item-btn {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0;
    cursor: pointer;
}

.sheet-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.sheet-item-desc {
    margin-top: 4px;
    font-size: 11px;
    color: #64748b;
}

.sheet-item-price {
    font-size: 12px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

@media (max-width: 768px) {
    #mapContainer .leaflet-bottom.leaflet-left {
        left: 10px;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    }

    #mapContainer .leaflet-bottom.leaflet-right,
    body.map-sidebar-open #mapContainer .leaflet-bottom.leaflet-right {
        right: 12px;
        bottom: 12px;
    }

    #mapContainer .leaflet-control-zoom a,
    #mapContainer .leaflet-control-locate-btn,
    #mapContainer .leaflet-touch .leaflet-bar a {
        width: 44px;
        height: 44px;
    }

    #mapContainer .leaflet-control-attribution {
        max-width: 116px;
        padding: 4px 8px !important;
        border-radius: 14px;
        font-size: 10px;
        line-height: 1.2;
        white-space: nowrap;
    }
}

.sheet-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.sheet-featured-card {
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

.sheet-featured-img {
    width: 100%;
    height: 92px;
    object-fit: cover;
    background: #e2e8f0;
}

.sheet-featured-body {
    padding: 8px;
}

.sheet-featured-name {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.sheet-featured-price {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
}

.sheet-item-detail {
    padding: 8px 0;
}

.sheet-item-detail-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    background: #e2e8f0;
}

.sheet-item-detail h4 {
    margin: 12px 0 6px;
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
}

.sheet-item-detail p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

.sheet-item-detail .sheet-item-price {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #dcfce7;
}

/* İçerik içi geri + menü adı başlık satırı */
.sheet-item-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0 12px;
}

.sheet-item-back-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.sheet-item-back-inline:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.sheet-item-breadcrumb-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-item-breadcrumb-text {
    min-width: 0;
}

.sheet-item-breadcrumb-desc {
    margin: 3px 0 0;
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
}

/* Belirgin fiyat rozeti */
.sheet-item-price-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5b2d 0%, #ff8c42 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(255, 91, 45, 0.30);
}

.sheet-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.sheet-detail-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #166534;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

.sheet-detail-update-badge i {
    font-size: 11px;
}

.sheet-detail-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
}

.sheet-detail-section {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
}

.sheet-detail-section-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.sheet-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sheet-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 12px;
}

.sheet-detail-section--allergen {
    border-color: #fecaca;
    background: #fff7f7;
}

.sheet-detail-section--allergen .sheet-detail-section-title {
    color: #b91c1c;
}

.sheet-chip--allergen {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
    font-weight: 700;
}

.sheet-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 12px;
}

.sheet-feature-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
}

.sheet-feature-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

.sheet-feature-value {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

/* =========================================
   Sheet Menü Accordion
   ========================================= */
.sheet-menu-accordion {
    padding: 0;
}

.sheet-menu-cat {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.sheet-menu-cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    background: #f8fafc;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #d35255;
    transition: background 0.15s;
}

.sheet-menu-cat--open > .sheet-menu-cat-header {
    background: #eff6ff;
    color: #d35255;
}

.sheet-menu-cat-header:hover {
    background: #e0f2fe;
}

.sheet-menu-cat-count {
    margin-left: auto;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    flex-shrink: 0;
}

.menu-cat-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: #166534;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-left: 6px;
}

.sheet-menu-cat--open > .sheet-menu-cat-header .sheet-menu-cat-count {
    color: #d35255;
}

.sheet-menu-cat-arrow {
    font-size: 10px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sheet-menu-cat--open > .sheet-menu-cat-header .sheet-menu-cat-arrow {
    transform: rotate(180deg);
    color: #d35255;
}

.sheet-menu-cat-body {
    display: none;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.sheet-menu-cat--open > .sheet-menu-cat-body {
    display: block;
}

.sheet-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px dashed #e2e8f0;
    cursor: pointer;
    width: 100%;
    border-left: none;
    border-right: none;
    border-top: none;
    background: transparent;
    text-align: left;
}

.sheet-cat-item:last-child {
    border-bottom: none;
}

.sheet-cat-item:hover {
    background: #f8fafc;
}

.sheet-cat-item-img {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px;
}

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

.sheet-cat-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-cat-item-desc {
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sheet-cat-item-price {
    font-size: 22px;
    font-weight: 700;
    color: #ff5b2d;
    flex-shrink: 0;
    white-space: nowrap;
}

.sheet-item-update-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    /* background: #f0fdf4; */
    color: #166534;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    /* margin-top: 4px; */
}

.sheet-item-update-badge i {
    font-size: 8px;
}

@media (max-width: 768px) {
    #detailSheet {
        width: 100%;
        top: auto;
        bottom: 0;
        height: 84vh;
        border-radius: 18px 18px 0 0;
        transform: translateY(100%);
    }

    body.sheet-open #detailSheet {
        transform: translateY(0);
    }
}

/* =========================================
   Mobil — Menü Kategori Items Düzeni
   ========================================= */
@media (max-width: 768px) {
    .sheet-cat-item {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .sheet-cat-item-img {
        width: 92px;
        height: 92px;
    }

    .sheet-cat-item-info {
        flex: 1;
        /* min-width: calc(100% - 80px); */
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .sheet-cat-item-name {
        font-size: 14px;
    }

    .sheet-cat-item-desc {
        font-size: 10px;
        color: #64748b;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .sheet-cat-item-price {
        font-size: 16px;
        margin-top: 4px;
        align-self: flex-start;
    }

    .sheet-item-update-badge {
        margin-top: 4px; 
    }
}
