:root {
    --ana-renk: #0055a5;
    --ikinci-renk: #00a651;
    --arka-plan: #fcfcfc;
    --gri: #7f8c8d;
    --siyah: #2d3436;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--arka-plan);
    color: var(--siyah);
    padding-bottom: 100px;
    overflow-x: hidden;
}

/* Navigasyon Bar */
.ust-bar {
    background: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.back-btn {
    width: 35px;
    height: 35px;
    background: #f1f2f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--siyah);
    text-decoration: none !important;
}

.page-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ana-renk);
    margin: 0;
}

/* Yemek Kartları (Liste Görünümü) */
.yemek-liste-item {
    background: white;
    border-radius: 20px;
    padding: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    border: 1px solid #f1f2f6;
    cursor: pointer;
    transition: 0.2s;
}

.item-img {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    object-fit: cover;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--siyah);
}

.item-info p {
    font-size: 0.75rem;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.3;
}

.item-price {
    font-weight: 800;
    color: var(--ana-renk);
    font-size: 0.95rem;
    text-align: right;
}

.item-cal {
    display: block;
    font-size: 0.7rem;
    color: #ff9f43;
    font-weight: 600;
}

/* Bottom Nav Styles */
.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: white;
    height: 70px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    text-align: center;
    color: #b2bec3;
    text-decoration: none !important;
}

.nav-item i {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 2px;
}

.nav-item span {
    font-size: 0.6rem;
    font-weight: 600;
}

.nav-item.aktif {
    color: var(--ana-renk);
}

.nav-cart-item {
    position: relative;
}

.nav-cart-box {
    width: 55px;
    height: 55px;
    background: var(--ikinci-renk);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -35px;
    margin-bottom: 5px;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
    border: 5px solid white;
    color: white !important;
    position: relative;
    transition: 0.3s;
}

.nav-cart-box i {
    font-size: 1.4rem;
    margin: 0;
}

.nav-cart-item.aktif .nav-cart-box {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 166, 81, 0.4);
}

.nav-cart-item span {
    margin-top: 2px;
}

.nav-cart-box .badge-count {
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* --- Sayfa Bazlı Özel Stiller --- */

/* Ana Sayfa Header ve Hero */
.ust-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: white;
}

.kurum-alan {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--ana-renk);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.kurum-isim {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ana-renk);
}

.header-icons {
    display: flex;
    gap: 10px;
}

.icon-box {
    width: 35px;
    height: 35px;
    background: #f1f2f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ana-renk);
    position: relative;
}

.badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 50%;
}

.hero-section {
    padding: 0 20px;
    margin-top: 10px;
}

.hero-slider {
    border-radius: 25px;
    overflow: hidden;
    height: 180px;
}

.hero-slide {
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #48c6ef 0%, #6f86d6 100%);
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 5px;
}

.hero-text p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.hero-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
}

.bolum-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin: 25px 0 15px;
}

.bolum-baslik h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.kategori-slider {
    padding: 0 20px;
}

.kategori-item {
    width: 90px !important;
    background: white;
    border-radius: 20px;
    padding: 12px 5px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f2f6;
    transition: 0.3s;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.kategori-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 10px;
}

.kategori-item span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--siyah);
    display: block;
    line-height: 1.2;
}

.kategori-item.aktif {
    background: var(--ana-renk);
    border-color: var(--ana-renk);
}

.kategori-item.aktif span {
    color: white;
}

.yemek-grid {
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.yemek-kart {
    background: white;
    border-radius: 25px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f8f9fa;
}

.yemek-img-alan {
    position: relative;
    width: 100%;
    height: 110px;
    margin-bottom: 10px;
    cursor: pointer;
}

.yemek-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.yemek-icon-alt {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f2f6;
    border-radius: 18px;
    color: var(--ana-renk);
    font-size: 2rem;
}

.fav-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ccc;
    cursor: pointer;
}

.fav-btn.aktif {
    color: #ff4757;
}

.yemek-kart h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
}

.yemek-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.fiyat {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ana-renk);
}

.add-btn {
    width: 28px;
    height: 28px;
    background: var(--ikinci-renk);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.8rem;
}

/* Menüler Sayfası Kategori Barı */
.kategori-ust-slider {
    background: white;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f2f6;
    position: sticky;
    top: 0;
    z-index: 999;
}

.kategori-tab {
    width: auto !important;
    padding: 10px 20px;
    border-radius: 15px;
    background: #f1f2f6;
    color: #7f8c8d;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kategori-tab.aktif {
    background: var(--ana-renk);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 85, 165, 0.2);
}

.tab-icon {
    font-size: 1.1rem;
}

.tab-resim {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.kategori-tab span {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.search-container {
    padding: 15px 20px;
    background: white;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00a651;
    font-size: 1rem;
}

.search-box input {
    width: 100%;
    height: 45px;
    background: #f1f2f6;
    border: none;
    border-radius: 12px;
    padding-left: 45px;
    font-size: 0.9rem;
    outline: none;
}

.kategori-kart {
    margin: 15px 20px;
}

.kategori-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ana-renk);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kategori-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}

/* Yemek Detay Sayfası */
.ust-resim {
    width: 100%;
    height: 350px;
    position: relative;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.ust-resim img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-icon {
    width: 100%;
    height: 100%;
    background: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--ana-renk);
}

.ust-aksiyonlar {
    position: absolute;
    top: 30px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.yuvarlak-btn {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #333;
    text-decoration: none !important;
}

.yuvarlak-btn.aktif {
    color: #ff4757;
}

.icerik-karti {
    margin-top: -40px;
    background: white;
    border-radius: 40px;
    padding: 30px 25px;
    min-height: 400px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

.baslik-alan {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.baslik-alan h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d3436;
    margin: 0;
}

.kalori {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.aciklama h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2d3436;
}

.aciklama p {
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.6;
}

.ozellikler {
    display: flex;
    gap: 15px;
    margin: 25px 0;
    overflow-x: auto;
    padding-bottom: 10px;
}

.ozellik-item {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 15px;
    min-width: 90px;
    text-align: center;
    border: 1px solid #eee;
}

.ozellik-item i {
    display: block;
    margin-bottom: 5px;
    color: var(--ana-renk);
}

.ozellik-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d3436;
}

.alt-siparis {
    position: fixed;
    bottom: 110px;
    right: 15px;
    background: white;
    padding: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    z-index: 1001;
    width: 130px;
    border: 1px solid #eee;
}

.adet-secici {
    display: flex;
    align-items: center;
    background: #f1f2f6;
    padding: 2px;
    border-radius: 10px;
    width: 100%;
    justify-content: space-between;
}

.adet-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.9rem;
}

.adet-sayi {
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--siyah);
}

.sepete-ekle {
    width: 100%;
    height: 42px;
    background: var(--ikinci-renk);
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0, 166, 81, 0.2);
}

.kapali-msj {
    text-align: center;
    color: #e74c3c;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px;
    line-height: 1.2;
}

.fiyat-listesi {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 15px;
    border: 1px solid #eee;
}

.fiyat-satir {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.fiyat-satir:last-child {
    border-bottom: none;
}

.fiyat-satir.header {
    font-weight: 700;
    color: var(--ana-renk);
    border-bottom: 2px solid #eee;
    margin-bottom: 5px;
}

.fiyat-satir span {
    flex: 1;
    text-align: center;
}

.fiyat-satir span:first-child {
    text-align: left;
    flex: 1.2;
    font-weight: 600;
}

.normal-f {
    color: var(--siyah);
    font-weight: 700;
}

.pers-f {
    color: var(--ikinci-renk);
    font-weight: 700;
}

.benzer-kart {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f2f6;
    transition: 0.3s;
    height: 100%;
    cursor: pointer;
}

.benzer-img-alan {
    height: 100px;
    width: 100%;
    position: relative;
    background: #f8f9fa;
    display: block;
}

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

.benzer-icon-alt {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ana-renk);
    font-size: 1.5rem;
}

.benzer-info h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--siyah);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.benzer-fiyat {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--ana-renk);
}

/* Puanlama Sistemi */
.puan-alani {
    display: flex;
    align-items: center;
}

.yildizlar {
    font-size: 1.1rem;
    color: #ffc107;
    display: flex;
    gap: 2px;
}

.puan-metin {
    font-size: 0.8rem;
    color: #636e72;
}

.puan-metin strong {
    color: #2d3436;
    font-size: 1rem;
}

/* Popüler Slider Stilleri */
.populer-slider {
    padding: 0 20px;
}

.populer-item {
    width: 160px !important;
}

.populer-kart {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f2f6;
    position: relative;
}

.pop-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.pop-puan {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff9f43;
    display: flex;
    align-items: center;
}

.pop-info {
    padding: 12px;
}

.pop-info h5 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--siyah);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pop-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pop-fiyat {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--ana-renk);
}

.add-btn-small {
    width: 26px;
    height: 26px;
    background: var(--ikinci-renk);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.75rem;
}

/* Sepet Sayfası */
.clear-cart {
    color: #ff4757;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.sepet-liste {
    padding: 20px;
}

.sepet-item {
    background: white;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    position: relative;
}

.sepet-item .item-img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
}

.item-porsiyon {
    font-size: 0.75rem;
    color: #7f8c8d;
    display: block;
    margin-bottom: 5px;
}

.adet-kontroller {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f1f2f6;
    padding: 5px;
    border-radius: 12px;
}

.adet-btn {
    width: 28px;
    height: 28px;
    background: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adet-sayi {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.bos-sepet {
    text-align: center;
    padding: 80px 40px;
}

.bos-icon {
    font-size: 5rem;
    color: #dfe6e9;
    margin-bottom: 20px;
}

.bos-sepet h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--siyah);
    margin-bottom: 10px;
}

.bos-sepet p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.btn-kesfet {
    background: var(--ana-renk);
    color: white;
    padding: 15px 40px;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 85, 165, 0.2);
}

.ozet-alan {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 25px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    z-index: 1001;
}

.ozet-satir {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ozet-label {
    color: #7f8c8d;
    font-weight: 500;
}

.ozet-deger {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--siyah);
}

.btn-siparis {
    width: 100%;
    height: 55px;
    background: var(--ikinci-renk);
    color: white;
    border: none;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 166, 81, 0.2);
}

.btn-gunun-menusu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px;
    padding: 10px;
    background: linear-gradient(135deg, var(--ana-renk) 0%, #0072ff 100%);
    color: white !important;
    border-radius: 17px;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(0, 85, 165, 0.2);
    transition: 0.3s;
}

.btn-gunun-menusu:active {
    transform: scale(0.97);
}

.btn-gunun-menusu i {
    font-size: 1.2rem;
}

.btn-gunun-menusu span {
    font-weight: 700;
    font-size: 1rem;
}

/* Masaüstü Görünüm: Gerçekçi Telefon Çerçevesi Final Düzeltme */
@media (min-width: 600px) {
    html {
        background: radial-gradient(circle at center, #f1f2f6 0%, #dfe6e9 100%);
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    body {
        width: 375px;
        height: 812px;
        margin: 0;
        background-color: #ffffff;
        border: 12px solid #2d3436;
        border-radius: 45px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        position: relative;
        overflow: hidden;
        /* Dış kasa kaymaz */
    }

    .app-screen {
        width: 100%;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        padding-top: 30px;
        padding-bottom: 250px;
        /* Sepet özeti için ekstra geniş boşluk */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .app-screen::-webkit-scrollbar {
        display: none;
    }

    /* Notch (Kamera Çentiği) */
    body::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 160px;
        height: 28px;
        background: #2d3436;
        border-radius: 0 0 20px 20px;
        z-index: 5000;
        /* Status bar'ın da üstünde olmalı */
    }

    /* Sabit Elemanları Kasa İçinde Sabitle */
    .bottom-nav {
        position: absolute !important;
        bottom: 20px !important;
        z-index: 1000;
        width: calc(100% - 30px);
        left: 15px !important;
        transform: none !important;
        margin: 0 !important;
    }

    .ozet-alan {
        position: absolute !important;
        bottom: 100px !important;
        /* Alt menüden tam kopuş */
        z-index: 1001 !important;
        width: calc(100% - 30px);
        left: 15px !important;
        transform: none !important;
        margin: 0 !important;
        border-radius: 25px !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1) !important;
    }



    .alt-siparis {
        position: absolute !important;
        bottom: 190px !important;
        right: 15px !important;
        z-index: 1001;
    }

    /* Üst Bar (İç sayfalar için) */
    .ust-bar {
        position: absolute !important;
        top: 28px !important;
        /* Notch altına çek */
        z-index: 2010;
        width: 100%;
        left: 0 !important;
        transform: none !important;
    }

    .kategori-ust-slider {
        position: absolute !important;
        top: 93px !important;
        /* Başlık (65px) + Notch (28px) */
        z-index: 2005;
        width: 100%;
        left: 0 !important;
        transform: none !important;
        background: white;
        padding-bottom: 10px;
    }

    /* İçeriklerin üst barın altında kalmaması için */
    .ust-bar+*:not(.kategori-ust-slider) {
        margin-top: 65px;
    }

    /* Menüler sayfasında slider varsa içerik daha aşağıdan başlasın */
    .kategori-ust-slider+.search-container {
        margin-top: 130px;
        /* Slider (65px) + Başlık (65px) */
    }

    /* Yemek Detay: Butonları Notch altına çek */
    .ust-aksiyonlar {
        top: 50px !important;
        /* Notch (28px) + Güvenlik Boşluğu */
    }

    .ust-resim {
        padding-top: 20px;
        /* Resmin üstten kesilmemesi için */
    }

    .ust-header {
        padding-top: 10px;
        /* Ana sayfada notch boşluğunu artır */
    }
}

/* Sipariş Takip Sayfası Stilleri */
:root {
    --status-pending: #ff9f43;
    --status-cooking: #54a0ff;
    --status-ready: #10ac84;
    --status-cancel: #ee5253;
}

.siparis-takip-container {
    padding: 20px;
    background: #f8faff;
    min-height: 80vh;
}

.siparis-kart {
    background: white;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.siparis-kart::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--status-pending);
}

.siparis-kart.hazirlaniyor::before {
    background: var(--status-cooking);
}

.siparis-kart.tamamlandi::before {
    background: var(--status-ready);
}

.siparis-kart.iptal::before {
    background: var(--status-cancel);
}

.siparis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.siparis-no-grup h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #2d3436;
}

.siparis-tarih {
    font-size: 0.75rem;
    color: #b2bec3;
    font-weight: 500;
}

.durum-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-beklemede {
    background: #fff4e6;
    color: #ff9f43;
}

.badge-hazirlaniyor {
    background: #eef5ff;
    color: #54a0ff;
}

.badge-tamamlandi {
    background: #ebfbee;
    color: #10ac84;
}

.badge-iptal {
    background: #ffebee;
    color: #ee5253;
}

.siparis-progress {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
    position: relative;
}

.siparis-progress::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f1f2f6;
    z-index: 1;
}

.progress-step {
    width: 34px;
    height: 34px;
    background: white;
    border: 3px solid #f1f2f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: 0.4s;
    color: #b2bec3;
    font-size: 0.8rem;
}

.progress-step.aktif {
    border-color: currentColor;
    color: inherit;
    background: white;
    box-shadow: 0 0 15px currentColor;
}

.progress-step.tamam {
    background: currentColor;
    border-color: currentColor;
    color: white !important;
}

.urun-ozet {
    background: #fcfdfe;
    border-radius: 16px;
    padding: 15px;
    border: 1px solid #f1f2f6;
}

.urun-satir {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #636e72;
}

.urun-satir:last-child {
    margin-bottom: 0;
}

.urun-ad {
    font-weight: 600;
    color: #2d3436;
}

.urun-adet {
    color: #b2bec3;
    margin-right: 5px;
}

.kart-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.masa-info {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0055a5;
    background: #eef5ff;
    padding: 5px 12px;
    border-radius: 10px;
}

.toplam-fiyat {
    font-size: 1.2rem;
    font-weight: 900;
    color: #2d3436;
}

.bos-ekran {
    text-align: center;
    padding: 80px 40px;
}

.btn-siparis {
    display: inline-block;
    background: #0055a5;
    color: white;
    padding: 15px 35px;
    border-radius: 18px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(0, 85, 165, 0.2);
}

.app-screen {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    padding-top: 0;
    /* Mobilde artık boşluğa gerek yok */
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    overflow-x: hidden;
}

/* Status Bar (Notch Alanı) */
.status-bar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 30px;
    background: white;
    z-index: 4000;
    display: none;
    /* Mobilde varsayılan olarak gizli */
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #b2bec3;
    pointer-events: none;
    /* Altındaki tıklamalara engel olmasın */
}

@media (min-width: 600px) {
    .status-bar {
        display: flex;
        /* Sadece simülasyonda göster */
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
        top: 45px;
        /* Senin belirttiğin tam ölçü */
        width: 350px;
        /* Senin belirttiğin tam ölçü */
    }

    .app-screen {
        padding-top: 30px;
        /* Sadece simülasyonda başlık notch altında kalsın */
    }
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    top: 40px;
    /* Status bar varsa altında kalsın */
    left: 15px;
    right: 15px;
    background: white;
    padding: 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 3500;
    border: 1px solid rgba(0, 85, 165, 0.1);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pwa-info img {
    border-radius: 10px;
}

.pwa-text {
    display: flex;
    flex-direction: column;
}

.pwa-text strong {
    font-size: 0.9rem;
    color: #2d3436;
}

.pwa-text span {
    font-size: 0.75rem;
    color: #b2bec3;
}

.btn-pwa-install {
    background: #0055a5;
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Profil Seçici (Fiyat Tipi) */
.price-type-selector {
    padding: 15px 20px 5px;
    background: white;
}

.selector-container {
    display: flex;
    background: #f1f2f6;
    padding: 4px;
    border-radius: 15px;
    gap: 4px;
}

.selector-btn {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #b2bec3;
    background: transparent;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.selector-btn i {
    font-size: 1rem;
}

/* Profil Seçici State Yönetimi */
html[data-price-type="normal"] #btnNormal,
html[data-price-type="personel"] #btnPersonel {
    background: #0055a5 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.3) !important;
    font-weight: 800 !important;
}


.header-install-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #0055a5;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.2);
    transition: 0.3s;
    animation: pulse-blue 2s infinite;
}

.header-install-btn:active {
    transform: scale(0.9);
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 85, 165, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 85, 165, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 85, 165, 0);
    }
}