/* ==========================================================================
   MODERN THEME  —  divafirin.com.tr / YepPos esinli modern restoran teması
   Renk/aksan, subtheme/modern-{renk}.css ile override edilir (--theme-* vars).
   ========================================================================== */

:root {
    /* ---- Tema aksan rengi (subtheme override eder) ---- */
    --theme-primary: #e67e22;
    --theme-primary-light: #f39c12;
    --theme-primary-dark: #d35400;
    --theme-primary-rgb: 230, 126, 34;
    --theme-on-primary: #ffffff;

    /* ---- Sabit palet ---- */
    --color-secondary: #c0392b;
    --color-success: #27ae60;
    --color-success-light: #2ecc71;
    --color-danger: #e74c3c;
    --color-warning: #f39c12;
    --color-info: #3498db;

    --text-primary: #1f2329;
    --text-secondary: #495057;
    --text-muted: #8a929b;
    --border: #edf0f2;
    --border-strong: #e2e6ea;

    --bg-body: #f4f5f7;
    --surface: #ffffff;
    --surface-soft: #f8f9fa;

    /* ---- Şekil ---- */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
    --shadow-md: 0 6px 16px -4px rgba(16, 24, 40, .10), 0 2px 6px -2px rgba(16, 24, 40, .06);
    --shadow-lg: 0 16px 32px -8px rgba(16, 24, 40, .14), 0 6px 12px -6px rgba(16, 24, 40, .08);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-head: 'Poppins', 'Inter', sans-serif;

    --header-h: 92px;
    --transition: all .2s ease;
}

/* ==========================================================================
   BASE
   ========================================================================== */
html, body { height: 100%; }
/* all-min.css 'html{font-size:10px}' koyuyor (rem'leri küçültüp her şeyi bozan asıl neden).
   14px ile eziyoruz → tüm rem bazlı yazılar doğru/orantılı ölçeklenir. */
html { font-size: 14px; }
body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-body);
    background-image: none !important;   /* müşteri/şirket arkaplan fotoğrafını kaldır — düz açık zemin */
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    line-height: 1.55;
}
/* arkaplan fotoğrafı yokken örtü gradyanına da gerek yok */
.top-shadow { display: none; }
* { box-sizing: border-box; }
a { color: var(--theme-primary-dark); transition: var(--transition); }
a:hover, a:focus { text-decoration: none; color: var(--theme-primary); }
a:focus, button:focus, img:focus { outline: none; }
h1, h2, h3, h4, h5, .head, .title { font-family: var(--font-head); }
hr { border-color: var(--border); }
textarea { resize: none !important; }
img { max-width: 100%; }

/* Tarayıcı scrollbar */
body ::-webkit-scrollbar { width: 9px; height: 9px; }
body ::-webkit-scrollbar-track { background-color: transparent; }
body ::-webkit-scrollbar-thumb { background-color: rgba(var(--theme-primary-rgb), .55); border-radius: var(--radius-pill); }
body ::-webkit-scrollbar-thumb:hover { background-color: var(--theme-primary); }

/* Önceki temadan gelen, hâlâ markup'ta kullanılan koyu autofill yeşilini nötrle */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fff inset; }

/* ==========================================================================
   YARDIMCI SINIFLAR (markup bunları kullanıyor — korunur)
   ========================================================================== */
.mt-5 { margin-top: 5px; } .mt-10 { margin-top: 10px; } .mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; } .mb-20 { margin-bottom: 20px; }
.ml-5 { margin-left: 5px; } .ml-15 { margin-left: 15px; }
.pb-5 { padding-bottom: 5px; } .pb-10 { padding-bottom: 10px; }
.pad0 { padding: 0; }
.c-red { color: var(--color-danger); }
.bg-green { background: var(--color-success); }
.bg-red { background: var(--color-danger); }
.opacity-half { opacity: .5; }
.sidebyside { display: inline-block; }
.dnone { display: none; }
.xs-none { display: block; }
.sm-block { display: none !important; }
.vertical-bottom { vertical-align: bottom !important; }
.top-right { position: absolute; top: 8px; right: 8px; }
.bottom-right { position: absolute; bottom: 8px; right: 8px; }
.back-default { background: transparent; padding: 6px 12px; display: inline-block; vertical-align: middle; }
.cleafix::after, .clearfix::after { content: ""; display: table; clear: both; }

/* Container — modern geniş */
.container { max-width: 1240px; padding-left: 16px; padding-right: 16px; position: relative; }
.wrapper { position: relative; }

/* Hafif arka plan örtüsü (içerik kartları temiz okunsun) */
.top-shadow {
    position: fixed; inset: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(244,245,247,.55) 0%, rgba(244,245,247,.85) 100%);
    z-index: 0; pointer-events: none;
}

/* Beyaz yüzey kutusu */
.stepbox-shadow { background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--border); }
.step-container {
    position: relative; margin-bottom: 16px; text-align: left;
    background: var(--surface); border-radius: var(--radius); overflow: hidden;
}
.step-container.stepbox-shadow, .stepbox-shadow.step-container { border-radius: var(--radius); }

/* ==========================================================================
   BUTONLAR
   ========================================================================== */
.btn {
    border-radius: var(--radius-sm); font-weight: 600; font-family: var(--font-body);
    border: 1px solid transparent; transition: var(--transition); letter-spacing: .1px;
}
.btn:active { transform: translateY(1px); }

.btn-theme, .btn-theme-active {
    background: var(--theme-primary); color: var(--theme-on-primary);
    box-shadow: 0 4px 10px -3px rgba(var(--theme-primary-rgb), .5);
}
.btn-theme:hover, .btn-theme:focus, .btn-theme-active:hover { background: var(--theme-primary-dark); color: var(--theme-on-primary); }
.btn-pay-theme { background: var(--theme-primary); color: var(--theme-on-primary); box-shadow: 0 4px 10px -3px rgba(var(--theme-primary-rgb), .5); }
.btn-pay-theme:hover { background: var(--theme-primary-dark); color: var(--theme-on-primary); }

.btn-orange { background: var(--theme-primary); color: #fff; border-radius: var(--radius-sm); }
.btn-orange:hover, .btn-orange:focus { background: var(--theme-primary-dark); color: #fff; }
.btn-yellow { background: var(--color-warning); color: #fff; border-radius: var(--radius-sm); padding: 4px 10px; }
.btn-white { background: #fff; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn-image { background: var(--surface-soft); color: var(--text-primary); border: 1px solid var(--border-strong); padding: 6px 12px; }
.btn-default { background: #fff; color: var(--text-secondary); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.btn-default:hover { background: var(--surface-soft); color: var(--text-primary); }
.btn-success { background: var(--color-success); color: #fff; }
.btn-success:hover { background: var(--color-success-light); color: #fff; }
.btn-warning { background: var(--color-warning); color: #fff; }
.btn-warning:hover, .btn-warning:focus { filter: brightness(.95); color: #fff; }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-danger:hover { filter: brightness(.93); color: #fff; }
.btn-auth { width: 100%; background: var(--color-info); color: #fff; font-size: 1.05em; border-radius: var(--radius-sm); }
.btn-auth:hover { background: #2c7fb8; color: #fff; }
.btn-facebook { background: #3463a0; color: #fff; width: 100%; font-size: 1.05em; border-radius: var(--radius-sm); }
.btn-facebook:hover { background: #163d70; color: #fff; }
.btn-facebook i { opacity: .6; font-size: 1.4em; vertical-align: bottom; }

.badge, .label { border-radius: var(--radius-pill); padding: .35em .7em; font-weight: 600; }
.label-success { background: var(--color-success); }
.label-danger { background: var(--color-danger); }

/* ==========================================================================
   HEADER  —  modern, yapışkan, yarı saydam beyaz
   ========================================================================== */
.header-menu, .header-menu2 {
    position: sticky; top: 0; z-index: 1030;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(16, 24, 40, .05);
    min-height: var(--header-h); margin-bottom: 0;
}
.header-menu2 .navbar-inverse, .header-menu .navbar-inverse {
    background: transparent; border: none; margin-bottom: 0; min-height: var(--header-h); border-radius: 0;
}
.navbar-inverse { background: transparent; border: none; z-index: 1; }

/* Logo */
.navbar-brand { height: var(--header-h); padding: 0 0 0 14px; display: flex; align-items: center; }
.header-menu2 .navbar-brand { height: var(--header-h); }
.header-menu2 .navbar-brand .logo, .header-menu .logo {
    max-height: 54px; max-width: 190px; width: auto; position: static; transform: none; margin: 0;
    object-fit: contain;
}
.header-menu2 .navbar-info { height: var(--header-h); display: flex; align-items: center; padding-left: 14px; max-width: 240px; }
.header-menu2 .navbar-info .content { display: flex; align-items: center; font-weight: 600; color: var(--text-secondary); }

/* Üst nav linkleri — top-info üst satırda, nav linkleri alt satırda (çakışmayı önler) */
.header-menu2 .navbar-nav { margin-top: 44px; display: flex; align-items: center; }
.navbar-inverse .navbar-nav > li > a {
    font-size: 1.02rem; color: var(--text-primary) !important; font-weight: 600;
    padding: 10px 14px; border-radius: var(--radius-pill);
}
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus {
    color: var(--theme-primary) !important; background: rgba(var(--theme-primary-rgb), .08);
}
.header-menu2 .navbar-nav { align-self: center; }
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { border-color: transparent; }

/* Sağ üst aksiyon kutusu (giriş/profil/dil) */
.boxtop-info, .header-menu2 .top-info {
    position: static; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end;
    padding: 0; z-index: 3;
}
.header-menu2 .top-info { position: absolute; top: 8px; right: 16px; height: auto; }
.boxtop-info.boxtop-vercenter { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); margin: 0; }
.boxtop-info .item { display: inline-flex; align-items: center; }
.boxtop-info .active { background: var(--theme-primary); color: #fff; }
.top-info .btn-default { padding: 8px 16px; font-size: .98rem; }
.top-info .back-default { font-size: 1rem; }
.top-info .back-default b { color: var(--text-primary); }

/* Hamburger */
.navbar-toggle { margin-top: 22px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.navbar-toggle .icon-bar { background: var(--text-primary); }
.header-menu2 .navbar-toggle { margin-top: 22px; }
.fixedNav { background: rgba(255,255,255,.95); }

.change-branch, .header-menu2 .change-branch {
    display: inline-block; background: var(--surface-soft); border: 1px solid var(--border-strong);
    color: var(--text-secondary); font-size: .95rem; padding: 7px 14px; font-weight: 600; border-radius: var(--radius-pill);
}
.change-branch:hover, .header-menu2 .change-branch:hover { background: var(--theme-primary); color: var(--theme-on-primary); border-color: var(--theme-primary); }

/* QR */
#qrcode img { border-radius: var(--radius-sm); box-shadow: var(--shadow); }

/* ==========================================================================
   ANA YERLEŞİM
   ========================================================================== */
.wrapper.mt-10 { margin-top: 18px; }
.main-content { max-width: none; width: 100%; display: block; position: relative; z-index: 1; }

/* İki kolon (masaüstü): ana içerik solda (flex:1), sepet sağda STICKY (kaydırınca görünür kalır).
   :has(> .main-content) ile yalnız ana içerikli sayfalar iki-kolon olur — About/ContactUs (yalnız side-content)
   ve Login (yalnız main-content, tam genişlik) doğru kalır. flex + sticky, overflow kullanmaz → kategori sticky'si çalışır. */
@media (min-width: 992px) {
    .wrapper.mt-10:has(> .main-content) {
        display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 28px;
    }
    .wrapper.mt-10:has(> .main-content) > .main-content { order: 1; flex: 1 1 0%; min-width: 0; margin: 0; }
    /* width:auto ŞART — .side-content temelde width:100%; flex item olunca bunu basis alıp alta sarıyordu (sepet en alta düşüyordu) */
    .wrapper.mt-10:has(> .main-content) > .side-content { order: 2; flex: 0 0 auto; width: auto; align-self: flex-start; }
    /* Sepet sütunu (.step-container içeren) STICKY + flex KOLON: sepet üstte, kategoriler altta boşluğu doldurur (Trendyol gibi).
       :has(> .step-container) ile boş restname kutusu HARİÇ tutulur (çökmeye devam eder). */
    .wrapper.mt-10:has(> .main-content) > .side-content:not(.mobil-sidebar):has(> .step-container) {
        position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 8px);
        display: flex; flex-direction: column; gap: 14px; width: 330px;
        max-height: calc(100vh - var(--header-h) - 24px);
    }
    .wrapper.mt-10:has(> .main-content) > .side-content > .step-container { width: 330px; max-width: 330px; }
    /* sepet kutusu kendi içinde kaydır */
    .wrapper.mt-10:has(> .main-content) > .side-content:has(> .step-container) > .step-container { overflow-y: auto; min-height: 0; margin-bottom: 0; }
    /* kategori listesi VARSA: sepet en fazla %58, kategoriler kalanı doldurur + kendi içinde kaydırılır */
    .wrapper.mt-10:has(> .main-content) > .side-content:has(> .category-list--side) > .step-container { flex: 0 1 auto; max-height: 50vh; }
    .wrapper.mt-10:has(> .main-content) > .side-content > .category-list--side { flex: 1 1 auto; min-height: 140px; overflow-y: auto; }
    /* kategori YOKSA (Order/Address): sepet tüm kolonu doldurur */
    .wrapper.mt-10:has(> .main-content) > .side-content:not(:has(> .category-list--side)) > .step-container { flex: 1 1 auto; }
}

/* ---- KATEGORİ ÇUBUĞU  → yapışkan hap (pill) bar ---- */
.main-content .category-list {
    position: -webkit-sticky; position: sticky; top: calc(var(--header-h) + 8px);
    max-width: none; width: 100%; display: flex; align-items: center; gap: 10px;
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; z-index: 90;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
    border: 1px solid var(--border); border-radius: var(--radius-pill);
    box-shadow: var(--shadow); padding: 8px 12px; margin-bottom: 18px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.main-content .category-list::-webkit-scrollbar { display: none; }
.main-content .category-list.fix { position: sticky; top: calc(var(--header-h) + 8px); }
.main-content .category-list > a { flex: 0 0 auto; }
.main-content .category-list .item {
    margin-bottom: 0; padding: 9px 18px; font-weight: 600; font-size: .92rem; white-space: nowrap;
    background: var(--surface-soft); color: var(--text-secondary);
    border: 1px solid var(--border); border-radius: var(--radius-pill); transition: var(--transition);
}
.main-content .category-list .item:hover { color: var(--theme-primary); border-color: rgba(var(--theme-primary-rgb), .4); }
/* Aktif/aksanlı kategori (theme-category-list subtheme hook'u) */
.theme-category-list { background: var(--theme-primary); color: var(--theme-on-primary); border-color: var(--theme-primary); }
.theme-category-list:hover { background: var(--theme-primary-dark); color: #fff; }

/* ---- DİKEY KATEGORİ LİSTESİ (sağ sidebar, büyük ekran — Trendyol gibi) ---- */
.category-list--side { display: none; }
@media (min-width: 992px) {
    .main-content .category-list { display: none; }   /* üst pill bar masaüstünde gizli — kategoriler sağda dikey */
    .category-list--side {
        display: flex; flex-direction: column; gap: 4px; padding: 6px;
        background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
    }
    .category-list--side > a { display: block; text-decoration: none; }
    .category-list--side .item {
        display: block; text-align: left; white-space: normal; padding: 11px 14px; cursor: pointer;
        border-radius: var(--radius-sm); border: 1px solid transparent; background: transparent;
        color: var(--text-secondary); font-weight: 600; font-size: .9rem; transition: var(--transition);
    }
    .category-list--side .item:hover { background: var(--surface-soft); color: var(--theme-primary); }
    .category-list--side a.active .item, .category-list--side .item.active {
        background: var(--theme-primary); color: var(--theme-on-primary); box-shadow: 0 4px 10px -3px rgba(var(--theme-primary-rgb), .5);
    }
}

/* ---- ÜST BİLGİ ÇUBUĞU (çalışma saatleri / ödeme / gönderim — modal açan küçük chip'ler) ---- */
.menu-infobar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.menu-infobar .info-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; cursor: pointer; text-decoration: none;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm); color: var(--text-secondary); font-weight: 600; font-size: .88rem;
    transition: var(--transition);
}
.menu-infobar .info-chip:hover { border-color: var(--theme-primary); color: var(--theme-primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.menu-infobar .info-chip i { color: var(--theme-primary); font-size: 1.05em; }
.menu-infobar .info-chip b { color: var(--text-primary); font-weight: 700; }
@media (max-width: 575px) {
    .menu-infobar { gap: 8px; }
    .menu-infobar .info-chip { flex: 1 1 auto; justify-content: center; padding: 9px 10px; font-size: .82rem; }
    .menu-infobar .info-chip b { display: none; }
}

/* ---- Eski (yinelenen) çalışma saatleri/ödeme/gönderim kutularını gizle ----
   Bunlar artık üstteki .menu-infobar chip'leriyle veriliyor. Anlaşma/altyapı linki altta bir kez kalır. */
.side-content .step-container.mdisabled { display: none; }      /* eski sağ-sütun seti */
#calisma-saatleri, #odeme-secenekleri, #gonderim-bolgeleri { display: none; }  /* alt .mobil-sidebar kopyası */

/* Altta kalan anlaşma/altyapı linki: kutu değil, sade ortalı footer şeridi */
.main-content .mobil-sidebar.side-content { margin-top: 28px; }
.main-content .mobil-sidebar.side-content .step-container { background: transparent; box-shadow: none; border: none; }
.main-content .mobil-sidebar.side-content .side-desc-box { background: transparent; box-shadow: none; border: none; text-align: center; font-size: .85rem; padding: 8px; }
.main-content .mobil-sidebar.side-content .side-desc-box:hover { box-shadow: none; transform: none; }

/* ==========================================================================
   MİKRO-ETKİLEŞİMLER (Seviye 1)  —  rewrite yok, sadece cila
   ========================================================================== */
/* Kategoriye tıklayınca / sayfa içi atlamada yumuşak kaydırma */
html { scroll-behavior: smooth; }

/* Kategori bar'ı: hepsi turuncu yerine NÖTR; aktif olan (scrollspy JS) vurgulu.
   .theme-category-list aksan hook'u burada nötrlenir, aksan rengi yalnız .active'de kullanılır. */
.main-content .category-list .item.theme-category-list { background: var(--surface-soft); color: var(--text-secondary); border-color: var(--border); }
.main-content .category-list .item.theme-category-list:hover { color: var(--theme-primary); border-color: rgba(var(--theme-primary-rgb), .4); }
.main-content .category-list a.active .item,
.main-content .category-list .item.active {
    background: var(--theme-primary); color: var(--theme-on-primary); border-color: var(--theme-primary);
    box-shadow: 0 4px 10px -3px rgba(var(--theme-primary-rgb), .5);
}

/* Ürün kartları sayfa açılışında yumuşak belirir */
@keyframes mdFadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.main-content .content .product-list .item { animation: mdFadeUp .4s ease both; }
@media (prefers-reduced-motion: reduce) { .main-content .content .product-list .item { animation: none; } html { scroll-behavior: auto; } }

/* Loader: modern blur + tema renkli büyük spinner (mevcut FA fa-spin animasyonu korunur) */
.box-spinner { backdrop-filter: blur(2px); }
.box-spinner i { font-size: 42px !important; color: var(--theme-primary); }

/* Kendo bildirim (toast) modern görünüm */
.k-notification { border: none !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-lg) !important; }
.upload-success { background: var(--surface); border-radius: var(--radius); padding: 12px 16px; border-left: 4px solid var(--color-success); }
.upload-success i { color: var(--color-success); }

/* "Sepete ekle" butonuna basışta küçük geri bildirim */
.btn-theme:active, .to-cart:active { transform: scale(.97); }

/* ---- İÇERİK ---- */
.main-content .content { max-width: none; width: 100%; display: block; float: none; }

/* Arama kutusu */
.main-content .rest-search { height: auto; position: relative; }
.main-content .rest-search .title { display: block; width: 100%; }
.main-content .rest-search .title input[type="text"] {
    height: 52px; width: 100%; text-indent: 18px; padding-right: 56px;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
    font-size: 1rem; box-shadow: var(--shadow-sm);
}
.main-content .rest-search .title input[type="text"]:focus {
    border-color: var(--theme-primary); box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), .15); outline: none;
}
.main-content .rest-search .branch {
    position: absolute; top: 0; right: 0; width: 52px; height: 52px; line-height: 52px;
    text-align: center; font-size: 1.2em; color: var(--theme-primary);
}
.box-search-null { position: relative; display: none; margin: 10px 0 40px; }

/* Banner / slider */
.main-content .content .main-image { position: relative; border-radius: var(--radius); overflow: hidden; }
.main-content .content .main-image .slick-slide { height: 275px; }
.main-content .content .main-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.main-image .box-desc {
    position: absolute; bottom: 16px; left: 16px; padding: 10px 16px; border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(4px);
}
.main-image .slick-prev, .main-image .slick-next { z-index: 5; }

/* Promosyon kartları */
.main-content .content .promotion-info { min-height: auto; display: flex; flex-wrap: wrap; gap: 14px; padding: 16px; }
.main-content .content .promotion-info .col {
    max-width: none; flex: 1 1 220px; display: flex; align-items: center; gap: 14px;
    background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px;
}
.main-content .content .promotion-info .col .point {
    max-width: none; width: 64px; height: 64px; flex: 0 0 64px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; line-height: 1;
    font-weight: 800; font-size: 1.35rem; text-align: center;
}
.theme-promotion { background: var(--theme-primary); color: var(--theme-on-primary); }
.promotion-info .col .text .stext { display: block; color: var(--text-muted); font-size: .85rem; }
.promotion-info .col .text .btext { font-size: 1.05rem; font-weight: 700; line-height: 1.2; }

/* Duyurular */
.main-content .content .communiq { padding: 16px 18px 6px; }
.main-content .content .communiq .head { font-weight: 700; margin-bottom: 10px; font-size: 1.05rem; }
.main-content .content .communiq .item {
    background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 10px 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px;
}
.main-content .content .communiq .item .ico { font-size: 1.6em; color: var(--theme-primary); width: auto; }
.main-content .content .communiq .item .text { color: var(--text-secondary); }

/* ---- ÜRÜN GRID'İ + KARTLAR  (divafirin görünümü) ---- */
.step-container.menuBox { background: transparent; box-shadow: none; border: none; overflow: visible; margin-bottom: 22px; }
.main-content .content .product-list {
    padding: 0; background: transparent;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.main-content .content .product-list .head {
    grid-column: 1 / -1; font-family: var(--font-head); font-size: 1.45rem; font-weight: 700;
    margin: 4px 0 4px; color: var(--text-primary); scroll-margin-top: calc(var(--header-h) + 80px);
}
.main-content .content .product-list .item {
    position: relative; border-top: none; padding: 0; min-height: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
    transition: var(--transition); cursor: pointer;
}
.main-content .content .product-list .item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.main-content .content .product-list .item .image { display: block; width: 100%; height: 190px; background: var(--surface-soft); overflow: hidden; }
.main-content .content .product-list .item .image.sidebyside { display: block; }
.main-content .content .product-list .item .image img {
    width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease;
}
.main-content .content .product-list .item:hover .image img { transform: scale(1.05); }
.main-content .content .product-list .item .type2 { height: 6px; background: linear-gradient(90deg, var(--theme-primary), var(--theme-primary-light)); }
.main-content .content .product-list .item .desc {
    vertical-align: top; margin: 0; max-width: none; padding: 14px 16px 6px; flex: 1 1 auto;
}
.main-content .content .product-list .item .desc.sidebyside { display: block; }
.main-content .content .product-list .item .desc .title {
    font-size: 1.02rem; font-weight: 700; display: block; color: var(--text-primary); margin-bottom: 4px; line-height: 1.3;
}
.main-content .content .product-list .item .desc .text {
    color: var(--text-muted); font-size: .87rem; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.main-content .content .product-list .item .price {
    position: static; font-weight: 800; font-size: 1.12rem; color: var(--text-primary);
    padding: 0 16px; order: 5;
}
.main-content .content .product-list .item .old-price {
    position: static; font-size: .85rem; text-decoration: line-through; color: var(--text-muted);
    padding: 0 16px; order: 4;
}
/* Kart alt aksiyon satırı: fiyat solda, sepete-ekle butonu sağda */
.main-content .content .product-list .item .to-cart {
    position: static; order: 9; margin: 12px 16px 16px; align-self: stretch; text-align: center;
    padding: 11px 16px; border-radius: var(--radius); font-weight: 700;
}
.main-content .content .product-list .item .price { padding-top: 8px; }

/* ---- YAN BİLGİ KUTULARI (çalışma saatleri / ödeme / app) ---- */
.side-content, .mobil-sidebar.side-content { max-width: none; width: 100%; float: none; display: block; overflow: visible; }
.side-content .side-desc-box {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center; padding: 16px 12px; cursor: pointer; transition: var(--transition);
}
.side-content .side-desc-box:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.side-content .side-desc-box .ico { font-size: 2em; color: var(--theme-primary); }
.side-content .side-desc-box .head { font-size: 1.05rem; font-weight: 700; margin-top: 4px; }
.side-content .side-desc-box .desc { font-size: .85rem; color: var(--text-muted); }
.side-content .side-desc-box .default-link { color: var(--theme-primary); font-weight: 700; font-size: .85rem; }
.side-content .side-desc-box .link-brand { color: #70409d; }
.side-content .side-desc-box hr { margin: 8px 0; opacity: .4; }
.side-content .side-desc-box .card img { padding: 2px 5px; }
.side-content .mobile { text-align: center; padding: 14px 6px; }
.side-content .mobile .desc { font-weight: 500; font-size: 1.05rem; padding: 2px 15px; }
.side-content .mobile .app img { margin-top: 8px; }

/* ==========================================================================
   SEPET  (.shop-cart  —  CartPost.cshtml AJAX içeriği)
   ========================================================================== */
.shop-cart { overflow-y: auto; border-radius: var(--radius); }
.shop-cart .head {
    position: relative; min-height: 52px; line-height: 52px; padding: 0 16px; font-size: 1.25rem; font-weight: 700;
    color: #fff; border-radius: var(--radius) var(--radius) 0 0;
}
.theme-shopcart-head { background: var(--theme-primary); color: var(--theme-on-primary); }
.shop-cart .head .garbage { position: absolute; right: 14px; top: 0; cursor: pointer; }
.shop-cart .null { display: none; }
.shop-cart .content { background: var(--surface); padding: 0; position: relative; border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); }
.shop-cart .content .items-content { max-height: 320px; overflow-y: auto; }
.shop-cart .content .item { position: relative; border-bottom: 1px solid var(--border); padding: 12px 14px; }
.shop-cart .content .item div { display: inline-block; }
.shop-cart .content .item .title { max-width: 130px; font-size: .92rem; font-weight: 700; vertical-align: middle; margin-left: 6px; }
.shop-cart .content .item .desc { max-width: 100%; font-size: .8rem; display: block; color: var(--text-muted); }
.shop-cart .content .item .right-box { position: static; display: flex; align-items: center; gap: 10px; margin-left: auto; flex: 0 0 auto; }
.shop-cart .content .item .right-box .txt-piece { width: 34px; padding: 2px 5px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.shop-cart .content .item .right-box .price { font-weight: 700; font-size: 1.05rem; text-align: right; white-space: nowrap; margin: 0; }
.shop-cart .content .item .right-box .fa-close { color: var(--color-danger); font-size: 1.2em; cursor: pointer; }
.shop-cart .content .sum-text { text-align: center; font-weight: 600; font-size: 1rem; padding: 6px 14px 0; }
.shop-cart .content .sum-text.last { padding-bottom: 8px; font-size: 1.45rem; font-weight: 800; }
.shop-cart .content .btn-sum, .shop-cart .content .btn-pay-onetouch {
    display: block; font-weight: 700; font-size: 1.05rem; padding: 12px 16px; margin: 0 14px 16px; border-radius: var(--radius);
}
.to-cart { position: absolute; right: 0; top: 35px; }

/* ==========================================================================
   SEPET ÇEKMECESİ (drawer) + KÖŞE BUTON (FAB) + "Sepetim" — sadece menü sayfası
   (.cart-drawer sınıfı yalnız menüdeki sepete eklenir; checkout'ta sepet inline kalır)
   ========================================================================== */
.cart-drawer {
    position: fixed !important; top: 0; right: 0; z-index: 1200;
    width: 420px !important; max-width: 92vw !important; height: 100%; height: 100dvh;
    margin: 0 !important; border-radius: 0 !important; flex: none !important; max-height: none !important;
    display: block !important; background: var(--surface); box-shadow: -10px 0 36px rgba(16, 24, 40, .20);
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto; overflow-x: hidden;
}
body.cart-open .cart-drawer { transform: none; }
.cart-drawer-close {
    position: absolute; top: 12px; right: 14px; z-index: 6; width: 34px; height: 34px; border-radius: 50%;
    border: none; background: rgba(255, 255, 255, .25); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.cart-drawer-close:hover { background: rgba(255, 255, 255, .4); }
.cart-backdrop {
    position: fixed; inset: 0; z-index: 1190; background: rgba(16, 24, 40, .45);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
body.cart-open .cart-backdrop { opacity: 1; visibility: visible; }
body.cart-open { overflow: hidden; }
/* Sepet açıkken: sticky side-content stacking context'i çekmeceyi backdrop ALTINA hapsediyordu.
   Açıkken side-content'i static yap → fixed çekmece kök bağlama çıkar, backdrop ÜSTÜnde ve tıklanabilir kalır. */
body.cart-open .side-content:has(> .cart-drawer) { position: static !important; }
/* çekmece içindeki sepet içeriğini panele uydur: köşe yuvarlama yok, tüm çekmece kaysın */
.cart-drawer .shop-cart, .cart-drawer .shop-cart .head, .cart-drawer .shop-cart .content { border-radius: 0; }
.cart-drawer .shop-cart { overflow: visible; }
.cart-drawer .shop-cart .content .items-content { max-height: none; }
.cart-drawer .shop-cart .head { padding-right: 56px; }   /* kapatma × ile çakışmasın */
/* "Kasaya Git" / ödeme butonu tam genişlik */
.cart-drawer .shop-cart .content .text-center { display: block; padding: 0 16px 16px; }
.cart-drawer .shop-cart .content .text-center form { display: block; margin: 0; }
.cart-drawer .shop-cart .content .btn-sum, .cart-drawer .shop-cart .content .btn-pay-onetouch {
    display: block; width: 100%; margin: 0; padding: 15px 16px; font-size: 1.15rem;
}

/* Köşe sepet butonu (FAB) */
.cart-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 1100; width: 62px; height: 62px;
    border-radius: 50%; border: none; background: var(--theme-primary); color: var(--theme-on-primary);
    cursor: pointer; box-shadow: 0 8px 24px -6px rgba(var(--theme-primary-rgb), .6); font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.cart-fab:hover { transform: translateY(-2px); background: var(--theme-primary-dark); }
.cart-fab-count {
    position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 5px; line-height: 24px;
    border-radius: 999px; background: #1f2329; color: #fff; font-size: .78rem; font-weight: 700; text-align: center; display: none;
}
.cart-fab.has-items .cart-fab-count { display: block; }
body.cart-open .cart-fab { opacity: 0; visibility: hidden; }

/* Üstteki "Sepetim" butonu (menu-infobar içinde, sağa yaslı, tema renkli) */
.menu-infobar .info-chip.menu-cart-btn { margin-left: auto; background: var(--theme-primary); color: #fff; border-color: var(--theme-primary); }
.menu-infobar .info-chip.menu-cart-btn i, .menu-infobar .info-chip.menu-cart-btn span { color: #fff !important; }
.menu-infobar .info-chip.menu-cart-btn:hover { background: var(--theme-primary-dark); color: #fff; border-color: var(--theme-primary-dark); }
.menu-infobar .info-chip.menu-cart-btn .cart-count { background: rgba(255, 255, 255, .28); color: #fff; border-radius: 999px; padding: 1px 8px; font-weight: 700; }
.menu-infobar .info-chip.menu-cart-btn .cart-count:empty { display: none; }

@media (max-width: 575px) {
    .menu-cart-btn { flex: 1 1 100%; justify-content: center; order: -1; margin: 0 0 4px; }
    .cart-fab { bottom: 18px; right: 18px; width: 56px; height: 56px; }
}

/* ---- App indirme (iOS/Android) blokları ----
   Bu bloklar masaüstünde sütun/akış çalıp düzeni bozuyordu (özellikle app URL'si olan müşterilerde).
   430 kopyası (.mobile, sepet sütunu içinde) HER ZAMAN gizli; standalone .mobil-sidebar yalnız MOBİLDE banner olarak görünür. */
.side-content .step-container:has(> .mobile.stepbox-shadow) { display: none; }
@media (min-width: 992px) {
    .wrapper.mt-10 > .mobil-sidebar.side-content { display: none !important; }
}

/* ==========================================================================
   ÜRÜN DETAY MODALI  (#modalProductDetail — fancybox)
   ========================================================================== */
/* DİKKAT: Bu fancybox sürümü içeriği .fancybox-content'e DEĞİL doğrudan .fancybox-slide içine koyar.
   Bu yüzden TÜM kurallar #modalProductDetail'i DOĞRUDAN hedefler. */
.fancybox-slide:has(#modalProductDetail) { padding: 16px 10px; text-align: left; }
/* Dikey ortalama pseudo'su içeriği aşağı itip "gri alan + scroll" yaratıyordu — kapat */
.fancybox-slide:has(#modalProductDetail)::before { display: none !important; }
/* Fancybox kapatma butonu: CDN all-min.css'te content:"×" charset yüzünden "Ã—" görünüyor → charset-bağımsız \00D7 + büyüt */
.fancybox-close-small { width: 52px !important; height: 52px !important; z-index: 99999 !important; }
.fancybox-close-small:after { content: "\00D7" !important; font: 32px/40px Arial, "Helvetica Neue", Helvetica, sans-serif !important; color: var(--text-secondary) !important; width: 40px !important; height: 40px !important; }
.fancybox-close-small:hover:after { color: var(--color-danger) !important; background: var(--surface-soft) !important; }

/* Popup paneli — sabit yükseklik; orta alan kaydırılır, "Sepete Ekle" barı HER ZAMAN altta sabit */
#modalProductDetail {
    width: min(960px, 95vw); max-width: 96vw; margin: 0 auto; font-family: var(--font-body); padding: 0;
    background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
    display: flex; flex-direction: column; max-height: 88vh; max-height: 88dvh;
}
#modalProductDetail > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
#modalProductDetail > form > .row { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0; padding: 18px 20px 8px; }
#modalProductDetail > form > hr { display: none; }
#modalProductDetail .title { font-family: var(--font-head); font-size: 1.7rem; font-weight: 700; color: var(--text-primary); }
#modalProductDetail .meal { color: var(--text-secondary); font-size: 1.05rem; margin-top: 6px; line-height: 1.5; }
#modalProductDetail img { width: 100%; max-height: 60vh; object-fit: cover; border-radius: var(--radius); }
#modalProductDetail .sub-title { font-weight: 700; font-size: 1.18rem; margin: 16px 0 7px; color: var(--text-primary); }
#modalProductDetail .list-drop { margin-bottom: 10px; }
#modalProductDetail .form-control, #modalProductDetail select.form-control { font-size: 1.08rem; min-height: 50px; height: auto; padding: 12px 14px; }
/* SEPETE EKLE — kaymayan, daima görünür alt bar */
#modalProductDetail .box-addtocart {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0;
    padding: 14px 20px; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 -4px 14px rgba(16, 24, 40, .07);
}
#modalProductDetail .box-addtocart .btn-ok { flex: 1 1 auto; padding: 15px 18px; font-size: 1.2rem; font-weight: 700; border-radius: var(--radius); }
#modalProductDetail .box-addtocart .btn-danger { flex: 1 1 auto; padding: 14px 18px; text-align: center; border-radius: var(--radius); }
#modalProductDetail #price { text-align: right; white-space: nowrap; }
#modalProductDetail #product-price { font-size: 1.4rem; font-weight: 800; color: var(--theme-primary); }
#modalProductDetail #old-price { font-size: .9rem; text-decoration: line-through; color: var(--text-muted); }
@media (max-width: 767px) {
    .fancybox-slide:has(#modalProductDetail) { padding: 0; }
    /* Mobil: popup'ı DOĞRUDAN SABİTLE — .fancybox-stage'in transform'u sayesinde tam viewport olur.
       "gri alan + aşağı scroll" biter; her zaman tam ekran, tek scroll (.row), footer altta. */
    #modalProductDetail {
        position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0;
        width: 100vw; max-width: 100vw; max-height: none; margin: 0; border-radius: 0;
    }
    #modalProductDetail img { max-height: 40vh; }
}

/* ==========================================================================
   FORMLAR
   ========================================================================== */
.form-control {
    border-radius: var(--radius-sm); border: 1px solid var(--border-strong); box-shadow: none;
    padding: 9px 12px; height: auto; min-height: 42px; font-size: .95rem; color: var(--text-primary);
}
.form-control:focus { border-color: var(--theme-primary); box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), .15); }
.form-inline { display: inline-block; }
label { font-weight: 600; color: var(--text-secondary); }

/* özel radio / checkbox (markup'ta var) */
.regular-radio, .regular-checkbox { display: none; }
.regular-radio + label, .regular-checkbox + label {
    display: inline-block; position: relative; width: 20px; height: 20px; vertical-align: middle;
    background: #fff; border: 1px solid var(--border-strong); border-radius: 6px; cursor: pointer; margin-right: 6px;
}
.regular-radio + label { border-radius: 50%; }
.regular-radio:checked + label, .regular-checkbox:checked + label { background: var(--theme-primary); border-color: var(--theme-primary); }
.regular-radio:checked + label:after { content: ''; position: absolute; top: 6px; left: 6px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.regular-checkbox:checked + label:after { content: '\f00c'; font-family: FontAwesome; color: #fff; position: absolute; top: 1px; left: 4px; font-size: 12px; }

/* kullanıcı kutusu / auth (login, register) */
.user-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; position: relative; }
.user-box .head { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.user-box .point-box { margin-top: 20px; }
.user-box .point-box div { display: inline-block; }
.user-box .point-box .point { color: var(--theme-primary); font-weight: 800; vertical-align: middle; font-size: 2.2rem; margin-left: 5px; }
.user-box .point { font-weight: 700; }
.user-box .col { max-width: 48%; display: inline-block; vertical-align: top; width: 100%; }
.user-box .col .fa-user-circle-o { margin-top: 30px; color: var(--text-muted); font-size: 8em; }
.user-box .fa-lock:before { font-size: 7em; color: var(--theme-primary); }
.user-box.tab-right { position: relative; min-height: 219px; font-size: 1.2rem; color: var(--text-secondary); background-repeat: no-repeat; background-position: right bottom; background-size: auto 90%; }
.user-box.tab-right .col-md-6 { padding: 0; font-weight: 300; position: absolute; bottom: 12px; }
.user-box.tab-bottom { margin-top: 15px; }
@media (max-width: 767px) { .user-box .col { max-width: 100%; } }
.form-auth { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.form-auth .head { font-size: 1.4rem; font-weight: 700; font-family: var(--font-head); }
.form-auth .forgot-pass a { color: var(--theme-primary); }
.form-auth hr { opacity: .4; }

/* ==========================================================================
   ŞUBE SEÇİMİ  (Index.cshtml)
   ========================================================================== */
.branch-select {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); padding: 22px; max-width: 820px; margin: 0 auto;
}
.branch-select .head { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; margin-bottom: 16px; text-align: center; }
.branch-select .tab { display: flex; flex-direction: column; gap: 6px; }
.branch-select .tab .item { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-soft); border: 1px solid var(--border); cursor: pointer; font-weight: 600; transition: var(--transition); }
.branch-select .tab .item:hover { border-color: rgba(var(--theme-primary-rgb), .4); }
.branch-select .tab .active, .branch-select .tab .active:hover { background: var(--theme-primary); color: #fff; border-color: var(--theme-primary); }
.branchs .item, .branchg .item {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px 16px; margin-bottom: 12px; transition: var(--transition);
}
.branchs .item:hover, .branchg .item:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.branch-select .branchs .item .title, .branchg .item .title, .branchg .item .title { font-weight: 700; font-size: 1.05rem; }
.branchs .btn-orange, .branchg .btn-orange { border-radius: var(--radius-pill); padding: 8px 20px; }
.branch-select .branchg hr { opacity: .25; }
.branch-select .branchg hr:last-of-type { display: none; }
.lblCircle { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; }
.lblCircleIsOpen { background: var(--color-success); box-shadow: 0 0 0 4px rgba(39, 174, 96, .18); }
.lblCircleIsClose { background: var(--color-danger); box-shadow: 0 0 0 4px rgba(231, 76, 60, .18); }
.animate-restopen-flicker { animation: flickerOpen 1.6s infinite; }
.animate-restclose-flicker { animation: flickerClose 1.6s infinite; }
@keyframes flickerOpen { 0%,100%{opacity:1} 50%{opacity:.45} }
@keyframes flickerClose { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ==========================================================================
   ADRES / SİPARİŞ / CHECKOUT
   ========================================================================== */
.branch { text-align: center; padding: 14px 4px; }
.branch .head { text-transform: uppercase; font-weight: 700; letter-spacing: .4px; color: var(--text-secondary); }
.branch .head .item { display: inline-block; width: 32%; text-align: center; vertical-align: bottom; padding: 0 4px; font-size: .9rem; }
.branch .step { white-space: nowrap; }
.branch .step .item { width: 32%; display: inline-block; position: relative; }
.branch .step .item .node { width: 22px; height: 22px; margin: 0 auto; background: var(--border-strong); border-radius: 50%; }
.branch .step .item .active { background: var(--color-success); }
.branch .step .item .active:after { content: '\f00c'; font-family: FontAwesome; color: #fff; font-size: .85em; position: relative; }
.branch .step .item .line { display: inline-block; width: 100%; max-width: 300px; border-top: 2px solid var(--border-strong); position: absolute; top: 11px; margin-left: 10px; }

.address { padding: 18px; }
.address .head { font-size: 1.4rem; font-weight: 700; font-family: var(--font-head); margin-bottom: 10px; }
.address .item { margin-bottom: 16px; }
.address .item .box {
    display: inline-block; max-width: 100%; width: 100%; background: var(--surface-soft);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; vertical-align: top; position: relative;
}
.address .item .box .title { text-transform: uppercase; font-weight: 700; color: var(--text-muted); font-size: .8rem; letter-spacing: .5px; }
.address .item .box .name { font-weight: 600; color: var(--text-primary); margin: 4px 0; }

.order-confirm { padding: 18px; }
.order-confirm .head { font-size: 1.4rem; font-weight: 700; font-family: var(--font-head); }
.order-confirm .confirm-note textarea { width: 100%; height: 100px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); padding: 10px; }

.order-ok { padding: 36px 20px; text-align: center; }
.order-ok .order-ok-icon { display: block; font-size: 76px; line-height: 1; color: var(--color-success); margin-bottom: 16px; }
.order-ok .head { font-size: 1.6rem; font-weight: 700; color: var(--color-success); font-family: var(--font-head); margin-bottom: 6px; }
.order-ok .sub-head { font-size: 1rem; color: var(--text-secondary); margin-bottom: 18px; }
.order-ok .btn-orange { padding: 12px 26px; border-radius: var(--radius-pill); font-size: 1.05rem; }

.order-last { padding: 18px; }
.order-last .head { font-size: 1.4rem; font-weight: 700; font-family: var(--font-head); }
.order-last .wait { color: var(--color-warning); }
.order-last .done { color: var(--color-success); }
.order-last .ok { color: var(--color-info); }
.order-last .items .item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 16px; padding: 16px; position: relative; background: var(--surface); }
.order-last .items .item .desc { color: var(--text-secondary); opacity: .9; font-size: .9rem; }
.order-last .items .item .detail a { color: var(--theme-primary); text-decoration: underline; }
.order-last .items hr { border-color: var(--border); margin: 8px 0; }
.order-last .btn-reorder { border-radius: var(--radius-pill); }

.savecard-box { padding: 14px 18px; }
.savecard-box .head { font-weight: 600; font-size: 1.4rem; font-family: var(--font-head); }
.savecard-box .desc { display: inline-block; font-size: 1.1rem; vertical-align: bottom; margin-left: 8px; }
.savecard-box hr { opacity: .4; }

/* ==========================================================================
   HAKKIMIZDA / SÖZLEŞME / İLETİŞİM
   ========================================================================== */
.about-us, .agreement, .contact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.about-us h3, .agreement h3 { font-family: var(--font-head); font-weight: 700; }
.about-us .rest-images img { border-radius: var(--radius); margin-bottom: 12px; }
.contact .title { font-weight: 700; font-size: 1.1rem; }
.contact .desc .fa { color: var(--theme-primary); width: 22px; }
.contact .map { border-radius: var(--radius); overflow: hidden; }

/* ==========================================================================
   MODALLAR
   ========================================================================== */
.modal-content { border: none; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.modal .modal-dialog { margin-top: 40px; }
.modal .head { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; padding: 4px 0 10px; }
.modal .box-close { position: absolute; top: 12px; right: 12px; z-index: 6; }
.modal .box-close img { display: none; }   /* eski sarı dekoratif kapatma görseli — gizle */
.modal .box-close .close-btn { position: static; }
.modal .box-close .close {
    opacity: 1; float: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-soft);
    border: 1px solid var(--border); color: var(--text-secondary); font-size: 1.5rem; line-height: 36px;
    text-align: center; text-shadow: none; transition: var(--transition); padding: 0;
}
.modal .box-close .close:hover { background: var(--color-danger); color: #fff; border-color: var(--color-danger); opacity: 1; }
.modal .side .item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.modal .side .item .head { font-weight: 700; font-size: 1rem; }
.modal .side .item .desc { color: var(--text-muted); }
.modal-body.contact { padding: 22px; }
.box-star .item { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; gap: 10px; }
.box-star .starPoint { width: 26px; cursor: pointer; }
#modalCalismaSaatleri .item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
#modalCalismaSaatleri .item .day { font-weight: 700; }

/* ==========================================================================
   YUKARI ÇIK / SPINNER / BİLDİRİM
   ========================================================================== */
.cd-top {
    display: inline-block; border-radius: 50%; height: 44px; width: 44px; position: fixed; bottom: 100px; right: 30px;
    background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; text-indent: 100%; white-space: nowrap;
    visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; z-index: 1000;
}
.cd-top i:before { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.3em; color: var(--theme-primary); text-indent: 0; }
.cd-top.cd-is-visible { visibility: visible; opacity: .95; }
.no-touch .cd-top:hover { background: var(--surface-soft); opacity: 1; }
body.cart-open .cd-top { visibility: hidden; opacity: 0; }

.box-spinner {
    position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .6); z-index: 2000; color: var(--theme-primary);
}
.box-spinner.disabled { display: none; }
.upload-success { display: flex; align-items: center; gap: 8px; }

.alert { border-radius: var(--radius); border: none; }
.alert-danger { background: #fdecea; color: #b71c1c; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 768px) {
    .main-content .content .product-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 992px) {
    /* sepet sidebar yanında main-content daralır → 3 sütun */
    .main-content .content .product-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
    .main-content .content .product-list { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

@media (max-width: 767px) {
    .sm-block { display: block !important; }
    .header-menu2 .navbar-nav { margin-top: 0; }
    /* Mobil menü: normal akışta (açılınca içeriği aşağı iter) — çakışma yok */
    .navbar-inverse .navbar-collapse {
        background: #fff; border-top: 1px solid var(--border); box-shadow: var(--shadow);
        margin: 6px -16px 0; padding: 6px 16px; border-radius: 0 0 var(--radius) var(--radius);
    }
    .navbar-inverse .navbar-nav { margin: 0; }
    .navbar-inverse .navbar-nav > li > a { color: var(--text-primary) !important; padding: 10px 12px; }
    .header-menu2 .top-info { position: static; height: auto; padding: 6px 0; justify-content: flex-start; }
    .main-content .content .product-list .head { font-size: 1.2rem; }
    .main-content .content .product-list .item .image { height: 160px; }
    .branch-select { padding: 16px; }
    .container { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 480px) {
    .main-content .content .product-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .main-content .content .product-list .item .image { height: 130px; }
    .main-content .content .product-list .item .desc { padding: 10px 12px 4px; }
    .main-content .content .product-list .item .price, .main-content .content .product-list .item .old-price { padding: 0 12px; }
    .main-content .content .product-list .item .to-cart { margin: 10px 12px 12px; padding: 9px 12px; font-size: .9rem; }
}

/* ==========================================================================
   SEPET ADET SAYACI  (CartPost.cshtml — cart-summary-item__* / quantity-*)
   ========================================================================== */
.shop-cart .content .item > div:first-child { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.shop-cart .content .item .quantity { display: inline-flex; align-items: stretch; height: 38px; min-height: 38px; flex: 0 0 auto; }
.shop-cart .content .item .quantity input,
.cart-summary-item__quantity__input {
    width: 42px; height: 38px; text-align: center; padding: 0; margin: 0; font-weight: 700;
    border: 1px solid var(--border-strong); border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    -moz-appearance: textfield; appearance: textfield; float: none; line-height: normal;
}
.cart-summary-item__quantity__input::-webkit-outer-spin-button,
.cart-summary-item__quantity__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* checkout sepeti: sayaç yok, salt-okunur adet → tam yuvarlatılmış kutu */
.cart-summary-item__quantity__input[readonly] { border-radius: var(--radius-sm); }
.shop-cart .content .item .quantity-nav { display: flex; flex-direction: column; height: 38px; }
.shop-cart .content .item .quantity-button, .quantity-button {
    width: 24px; height: 19px; line-height: 17px; text-align: center; cursor: pointer; user-select: none;
    border: 1px solid var(--border-strong); border-left: none; color: var(--text-secondary);
    font-size: 13px; font-weight: 700; background: var(--surface-soft); transition: var(--transition);
    position: static; transform: none;
}
.quantity-button.quantity-up { border-radius: 0 var(--radius-sm) 0 0; border-bottom: none; }
.quantity-button.quantity-down { border-radius: 0 0 var(--radius-sm) 0; }
.quantity-button:hover { background: var(--theme-primary); color: var(--theme-on-primary); border-color: var(--theme-primary); }
.shop-cart .content .item .title { flex: 1 1 auto; min-width: 0; font-size: 1rem; font-weight: 700; margin-left: 0; }
.shop-cart .content .item .desc { display: block; clear: both; color: var(--text-muted); font-size: .85rem; padding-top: 4px; }
.cart-summary-item__price { font-weight: 700; }
.cart-summary-item__remove { display: inline-block; color: var(--color-danger); margin-left: 8px; font-size: 1.1em; }
.cart-summary-item__remove:hover { color: #b71c1c; }

/* ==========================================================================
   ÖDEME YÖNTEMİ SPRITE'LARI  (spritesheet.png — koordinatlar korunur)
   ========================================================================== */
.sprite { background-image: url(../img/spritesheet.png); background-repeat: no-repeat; display: inline-block; vertical-align: middle; }
.payment-types div { padding: 0 8px; display: inline-block; }
.sprite-bitcoin { width: 22px; height: 22px; background-position: -6px -6px; }
.sprite-bkm-express { width: 73px; height: 20px; background-position: -40px -6px; }
.sprite-cash { width: 29px; height: 18px; background-position: -125px -6px; }
.sprite-credit { width: 66px; height: 18px; background-position: -166px -6px; }
.sprite-mastercard-card { width: 38px; height: 22px; background-position: -244px -6px; }
.sprite-metropol { width: 57px; height: 18px; background-position: -294px -6px; }
.sprite-multinet { width: 20px; height: 23px; background-position: -363px -6px; }
.sprite-online-payment { width: 79px; height: 26px; background-position: -395px -6px; }
.sprite-restaurant-pass { width: 49px; height: 17px; background-position: -486px -6px; }
.sprite-setcard { width: 45px; height: 20px; background-position: -547px -6px; }
.sprite-sodexo { width: 45px; height: 27px; background-position: -604px -6px; }
.sprite-sodexo-en { width: 44px; height: 15px; background-position: -661px -6px; }
.sprite-ticket-card { width: 48px; height: 21px; background-position: -717px -6px; }
.sprite-ticket-card-en { width: 48px; height: 13px; background-position: -777px -6px; }
.sprite-ticket-check { width: 48px; height: 23px; background-position: -837px -6px; }
.sprite-winwin { width: 66px; height: 19px; background-position: -897px -6px; }

/* ==========================================================================
   CHECKOUT / SİPARİŞ KUTULARI  (Order.cshtml / Address.cshtml / CustomerOrders)
   ========================================================================== */
.box-card, .box-no-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.box-no-card { border-style: dashed; text-align: center; color: var(--text-muted); }
.box-pay { text-align: center; }
.box-pay .btn { font-weight: 700; font-size: 1em; }
.box-content { padding: 0 18px; }
.box-address { background: var(--surface-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; }
.confirm-address { position: relative; }
.topright { position: absolute; top: 16px; right: 18px; }
.box-reorder { position: absolute; text-align: right; right: 0; top: 5px; }
.box-badge-desc { display: inline-block; position: absolute; right: 11px; top: 9px; font-size: 1.05em; }
.box-anno-app, .mobile-anno-app { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.radiusbox { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.paybtn2 { width: 100%; }

/* ==========================================================================
   EK YARDIMCI SINIFLAR (markup'ta var)
   ========================================================================== */
.c-gray { color: var(--text-muted); }
.ml-20 { margin-left: 20px; }
.mdisabled { display: block; }
.inline { display: inline-block; }
.full { width: 100%; }
.sub { position: relative; }
.lblStatusRest { display: none; }
.animate-flicker { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; margin-right: 6px; animation: flickerOpen 1.6s infinite; }
.desc-mobile { padding: 0 35px; font-size: 1.05em; font-weight: 400; }
.bg-lingreen { background: linear-gradient(to right, #83c783 0%, #27ae60 60%, #1e8e4f 100%); }
.bg-linred { background: linear-gradient(to right, #ff6b5b 0%, #e74c3c 100%); }
.mobil-restname { display: none; margin-bottom: 12px; min-height: 45px; }
.mobil-restname .rest-marqname { height: 45px; line-height: 45px; font-size: 1.2rem; font-weight: 700; }
.hide-500 { display: block; }
@media (max-width: 992px) {
    .mobil-restname { display: block; }
}
@media (max-width: 500px) {
    .hide-500 { display: none !important; }
}
