/* =====================================================
   Cafe Ruby KKTC — Tema
   Palet: yakut bordo + sıcak krem + altın + espresso
   ===================================================== */
:root {
    --ruby: #9b1b3f;
    --ruby-dark: #5a0f26;
    --ruby-deep: #2e0713;
    --gold: #c9a35f;
    --gold-soft: #ead9b5;
    --cream: #fbf6ee;
    --cream-2: #f3e9da;
    --ink: #2a1b1e;
    --muted: #7a6a6c;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(46, 7, 19, .10);
    --shadow-lg: 0 18px 45px rgba(46, 7, 19, .18);

    /* geriye dönük uyumluluk */
    --ruby-primary: var(--ruby);
    --ruby-accent: var(--gold);
    --ruby-light: var(--cream);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    background: var(--cream);
    color: var(--ink);
    margin: 0;
}

h1, h2, h3, h4, .brand, .footer-brand, .admin-title {
    font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--ruby); }
a:hover { color: var(--ruby-dark); }

.page-inner main { padding-top: 76px; }

/* ---------- Butonlar ---------- */
.btn-ruby {
    background: linear-gradient(135deg, var(--ruby), var(--ruby-dark));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 500;
    box-shadow: 0 6px 16px rgba(155, 27, 63, .28);
    transition: .25s;
}
.btn-ruby:hover, .btn-ruby:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(155, 27, 63, .38);
}

.btn-outline-ruby {
    border: 2px solid var(--ruby);
    color: var(--ruby);
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 500;
    background: transparent;
}
.btn-outline-ruby:hover, .btn-outline-ruby.active { background: var(--ruby); color: #fff; }

.btn-gold {
    background: linear-gradient(135deg, #e0bd7a, var(--gold));
    color: var(--ruby-deep);
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
    transition: .25s;
}
.btn-gold:hover { color: var(--ruby-deep); transform: translateY(-2px); filter: brightness(1.05); }

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, .7);
    color: #fff;
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 500;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(4px);
    transition: .25s;
}
.btn-ghost:hover { background: #fff; color: var(--ruby-dark); }

/* ---------- Navbar ---------- */
.site-nav {
    padding: 14px 0;
    background: transparent;
    transition: background .3s, padding .3s, box-shadow .3s;
}
.site-nav.scrolled {
    background: rgba(46, 7, 19, .94);
    backdrop-filter: blur(10px);
    padding: 8px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.site-nav .brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.5rem; letter-spacing: .5px; color: #fff;
}
.brand-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #ffffff, #f1dfbd);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    display: inline-flex; align-items: center; justify-content: center;
}
.ruby-icon { width: 1em; height: 1em; display: inline-block; }
.brand-icon .ruby-icon { width: 24px; height: 24px; }
.footer-brand .ruby-icon { width: 1.15em; height: 1.15em; vertical-align: -.15em; }
.admin-top .ruby-icon { width: 1.3em; height: 1.3em; vertical-align: -.25em; }
.login-icon .ruby-icon { width: 40px; height: 40px; }
.site-nav .nav-link {
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 30px;
    transition: .2s;
}
.site-nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.site-nav .nav-link.active { color: var(--ruby-deep); background: var(--gold); }
.site-nav .nav-admin { opacity: .7; }
@media (max-width: 991.98px) {
    .site-nav { background: rgba(46, 7, 19, .96); }
    .site-nav .navbar-collapse { padding: 12px 0; }
}

/* ---------- Hero / Slider ---------- */
.hero-slider {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 55%, var(--ruby-deep) 100%);
}
.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item { position: absolute; inset: 0; height: 100%; }
.hero-img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transform: scale(1.02);
}
.carousel-item.active .hero-img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }

.hero-overlay {
    position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(180deg, rgba(46, 7, 19, .55) 0%, rgba(46, 7, 19, .35) 40%, rgba(46, 7, 19, .85) 100%),
        radial-gradient(circle at 20% 20%, rgba(201, 163, 95, .18), transparent 45%);
}
.hero-slider.no-photos::before {
    content: ""; position: absolute; top: -20%; right: -10%;
    width: 520px; height: 520px; border-radius: 50%;
    background: rgba(201, 163, 95, .14);
}
.hero-slider.no-photos::after {
    content: ""; position: absolute; bottom: -25%; left: -8%;
    width: 420px; height: 420px; border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}
.hero-content {
    position: relative; z-index: 3; text-align: center;
    padding-top: 90px; padding-bottom: 130px;
    animation: yukari .9s ease both;
}
@keyframes yukari { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-eyebrow {
    display: inline-block; letter-spacing: 6px; text-transform: uppercase;
    font-size: .8rem; color: var(--gold-soft); margin-bottom: 14px;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 800; letter-spacing: 1px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .45);
}
.hero-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.5rem);
    font-weight: 300; margin-bottom: 32px; color: #f6ead6;
}
.hero-slider .carousel-indicators { z-index: 4; margin-bottom: 1.4rem; }
.hero-slider .carousel-indicators [data-bs-target] {
    width: 34px; height: 4px; border: 0; border-radius: 4px; background: #fff; opacity: .45;
}
.hero-slider .carousel-indicators .active { opacity: 1; background: var(--gold); }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { z-index: 4; width: 8%; opacity: .7; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover { opacity: 1; }

/* ---------- Bilgi çubuğu ---------- */
.info-bar-wrap { position: relative; z-index: 6; margin-top: -64px; }
.info-bar {
    background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg);
    display: flex; flex-wrap: wrap; padding: 8px;
}
.info-item {
    flex: 1 1 240px; display: flex; align-items: center; gap: 14px; padding: 18px 22px;
}
.info-item + .info-item { border-left: 1px solid #f0e5d5; }
.info-item > i {
    width: 48px; height: 48px; border-radius: 14px; flex: none;
    background: var(--cream-2); color: var(--ruby);
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.info-item small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; }
.info-item strong { font-weight: 600; }
.info-item a { color: inherit; text-decoration: none; }
@media (max-width: 767.98px) {
    .info-item + .info-item { border-left: 0; border-top: 1px solid #f0e5d5; }
}

/* ---------- Bölüm başlıkları ---------- */
.section-pad { padding-top: 90px; padding-bottom: 90px; }
.section-pad.pt-0 { padding-top: 0; }
.section-head { margin-bottom: 48px; }
.section-eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 4px;
    font-size: .75rem; font-weight: 600; color: var(--gold); margin-bottom: 8px;
}
.section-eyebrow.light { color: var(--gold-soft); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; color: var(--ruby-dark); margin-bottom: 14px; }
.section-head h2.text-white { color: #fff !important; }
.section-line {
    width: 70px; height: 3px; margin: 0 auto; border-radius: 3px;
    background: linear-gradient(90deg, var(--ruby), var(--gold));
}

/* ---------- Menü kartları ---------- */
.menu-card {
    border: none; border-radius: var(--radius); background: #fff;
    box-shadow: var(--shadow); transition: all .3s ease;
    height: 100%; overflow: hidden; display: flex; flex-direction: column;
}
.menu-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.menu-img-wrap { position: relative; width: 100%; height: 210px; overflow: hidden; background: var(--cream-2); }
.menu-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.menu-card:hover .menu-img { transform: scale(1.08); }
.menu-img-placeholder {
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); font-size: 3.2rem;
    background: linear-gradient(135deg, var(--cream-2), #fff);
}
.kategori-badge {
    background: rgba(46, 7, 19, .78); color: var(--gold-soft);
    font-size: .72rem; padding: 5px 14px; border-radius: 20px; font-weight: 500;
    letter-spacing: .5px; backdrop-filter: blur(4px);
}
.kategori-badge.floating { position: absolute; top: 12px; right: 12px; }
.menu-body { padding: 18px 20px 22px; flex: 1; }
.menu-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; margin: 0; color: var(--ink); }
.menu-card .fiyat {
    color: var(--ruby); font-size: 1.2rem; font-weight: 700; white-space: nowrap;
    background: var(--cream-2); padding: 2px 12px; border-radius: 12px;
}
.menu-desc { color: var(--muted); font-size: .88rem; margin: 10px 0 0; }

/* ---------- Menü sayfası ---------- */
.page-header {
    background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 60%, var(--ruby-deep) 100%);
    color: #fff; padding: 70px 0 80px; margin-bottom: 0; position: relative; overflow: hidden;
    border-radius: 0 0 40px 40px;
}
.page-header::after {
    content: ""; position: absolute; top: -60%; right: -8%;
    width: 380px; height: 380px; border-radius: 50%; background: rgba(201, 163, 95, .15);
}
.page-header h1 { font-weight: 700; font-size: clamp(2rem, 5vw, 3.2rem); margin: 0; position: relative; z-index: 1; }
.page-header .section-eyebrow { position: relative; z-index: 1; }

.menu-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    padding: 8px 20px; border-radius: 50px; text-decoration: none; font-weight: 500; font-size: .92rem;
    background: #fff; color: var(--ruby-dark); border: 1px solid #ead9c2; transition: .2s;
}
.pill:hover { border-color: var(--ruby); color: var(--ruby); }
.pill.active { background: var(--ruby); color: #fff; border-color: var(--ruby); box-shadow: 0 6px 14px rgba(155, 27, 63, .25); }
.menu-search { position: relative; min-width: 240px; }
.menu-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.menu-search input { border-radius: 50px; padding-left: 42px; border: 1px solid #ead9c2; }
.menu-search input:focus { border-color: var(--ruby); box-shadow: 0 0 0 .2rem rgba(155, 27, 63, .12); }

/* ---------- Kayar bant galeri ---------- */
.gallery-band {
    background: linear-gradient(160deg, var(--ruby-dark), var(--ruby-deep));
    padding: 80px 0 90px; overflow: hidden; position: relative;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ruby-dark), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--ruby-deep), transparent); }
.marquee-track {
    display: flex; width: max-content;
    animation: kay var(--sure, 40s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 18px; padding-right: 18px; }
@keyframes kay { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.marquee-item {
    position: relative; flex: none; padding: 0; border: 0; cursor: zoom-in;
    width: 340px; height: 240px; border-radius: 18px; overflow: hidden; background: #000;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .3s;
}
.marquee-item:hover { transform: translateY(-6px) scale(1.02); }
.marquee-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.marquee-item:hover img { transform: scale(1.08); }
.marquee-caption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px;
    color: #fff; font-size: .9rem; text-align: left;
    background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent);
}
@media (max-width: 575.98px) { .marquee-item { width: 250px; height: 180px; } }
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation-duration: 200s; }
    .carousel-item.active .hero-img { animation: none; }
}

.foto-modal { background: transparent; border: 0; position: relative; text-align: center; }
.foto-modal img { max-width: 100%; max-height: 82vh; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.foto-close { position: absolute; top: -8px; right: -8px; z-index: 5; background-color: rgba(0, 0, 0, .5); padding: 12px; border-radius: 50%; }
.foto-baslik { color: #fff; margin-top: 12px; font-size: 1.05rem; }

/* ---------- İletişim kartı ---------- */
.contact-card {
    background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 100%);
    color: #fff; border-radius: 28px; padding: 54px 48px; position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.contact-card::after {
    content: ""; position: absolute; top: -40%; right: -6%; width: 320px; height: 320px;
    border-radius: 50%; background: rgba(201, 163, 95, .16);
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 14px; }
.contact-card p { color: #f1dfc9; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 10px 0; display: flex; align-items: center; gap: 12px; }
.contact-list i { color: var(--gold); font-size: 1.2rem; }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--gold-soft); }
@media (max-width: 575.98px) { .contact-card { padding: 36px 24px; } }

/* ---------- Hakkımızda ---------- */
.about-card { background: #fff; border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.about-card h2 { color: var(--ruby-dark); font-weight: 700; }
.about-card i { color: var(--ruby); margin-right: 8px; }
.about-card a { color: inherit; text-decoration: none; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-photos img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.about-photos img:first-child { grid-column: 1 / -1; height: 280px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ruby-deep); color: #d9c6c9; margin-top: 0; }
.footer-brand { color: #fff; font-size: 1.6rem; font-weight: 700; }
.footer-brand i { color: var(--gold); }
.footer-title { color: var(--gold); text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; margin-bottom: 16px; }
.footer-text { color: #d9c6c9; font-size: .95rem; }
.footer-text i { color: var(--gold); margin-right: 8px; }
.footer-text a, .footer-social { color: #fff; text-decoration: none; }
.footer-social { display: inline-flex; gap: 8px; align-items: center; padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, .25); }
.footer-social:hover { background: var(--gold); color: var(--ruby-deep); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 22px; text-align: center; font-size: .82rem; color: #a9959a; }

/* =====================================================
   ADMIN
   ===================================================== */
.admin-body { background: #f6f1ea; }
.admin-top { background: linear-gradient(90deg, var(--ruby-deep), var(--ruby-dark)); padding: 10px 0; }
.admin-top .navbar-brand i { color: var(--gold); }
.admin-title { color: var(--ruby-dark); font-weight: 700; }

.admin-sidebar {
    background: var(--ruby-deep);
    min-height: calc(100vh - 58px);
    padding: 24px 14px;
}
.admin-sidebar a {
    color: #d9c6c9; display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-radius: 12px; text-decoration: none; margin-bottom: 6px; transition: .2s;
}
.admin-sidebar a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-sidebar a.active { background: var(--gold); color: var(--ruby-deep); font-weight: 600; }
@media (max-width: 991.98px) {
    .admin-sidebar { min-height: 0; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
    .admin-sidebar a { margin: 0; padding: 8px 14px; font-size: .9rem; }
}

.admin-card { border: 0; border-radius: 16px; background: #fff; box-shadow: 0 4px 18px rgba(46, 7, 19, .07); overflow: hidden; }
.admin-card.p-4 { overflow: visible; }
table.table-ruby thead, .table-ruby { --bs-table-bg: var(--ruby-dark); --bs-table-color: #fff; background: var(--ruby-dark); color: #fff; }
.table-ruby th { background: var(--ruby-dark) !important; color: #fff !important; font-weight: 500; border: 0; }

.admin-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 12px; }
.admin-thumb-empty { background: #eee; display: flex; align-items: center; justify-content: center; color: #999; }

.stat-link { text-decoration: none; display: block; }
.stat-card { border-radius: 18px; padding: 26px; color: #fff; position: relative; overflow: hidden; transition: .25s; }
.stat-link:hover .stat-card { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-card.ruby { background: linear-gradient(135deg, var(--ruby), var(--ruby-dark)); }
.stat-card.gold { background: linear-gradient(135deg, #d7b36c, #a67c33); }
.stat-card.espresso { background: linear-gradient(135deg, #5a3a33, #2b1a17); }
.stat-icon { font-size: 2rem; opacity: .9; }

.resim-onizleme {
    width: 100%; height: 190px; border: 2px dashed #d8c7b0; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #bbb; font-size: 2.5rem; overflow: hidden; background: #fcfaf6; transition: border-color .2s;
}
.resim-onizleme:hover { border-color: var(--ruby); }
.resim-onizleme img { width: 100%; height: 100%; object-fit: cover; }

.coklu-onizle { display: flex; flex-wrap: wrap; gap: 10px; }
.coklu-onizle img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

.galeri-card.pasif { opacity: .72; }
.galeri-thumb { position: relative; height: 190px; background: #eee; }
.galeri-thumb img { width: 100%; height: 100%; object-fit: cover; }
.galeri-no {
    position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--ruby); color: #fff; font-size: .85rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0, 0, 0, .3);
}
.galeri-gizli { position: absolute; top: 10px; right: 10px; }
.galeri-actions { display: flex; gap: 6px; padding: 8px 16px 16px; }

.kategori-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.kategori-form { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.kat-sira { width: 70px; flex: none; }

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); background: #fff; border-radius: 16px; border: 2px dashed #e0d2bd; }
.empty-state i { font-size: 3rem; color: var(--gold); display: block; margin-bottom: 8px; }

/* ---------- Giriş ---------- */
.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--ruby) 0%, var(--ruby-dark) 55%, var(--ruby-deep) 100%);
}
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card {
    width: 100%; max-width: 420px; background: #fff; border-radius: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35); padding: 42px 38px;
}
.login-icon {
    width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--gold), #e8cf9c); color: var(--ruby-deep);
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.login-title { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--ruby-dark); }

/* form odak rengi */
.form-control:focus, .form-select:focus { border-color: var(--ruby); box-shadow: 0 0 0 .2rem rgba(155, 27, 63, .15); }
.form-check-input:checked { background-color: var(--ruby); border-color: var(--ruby); }

/* ---------- "YENİ" köşe şeridi (sol üst, 45°) ---------- */
.yeni-serit {
    position: absolute; top: 0; left: 0; width: 120px; height: 120px;
    overflow: hidden; pointer-events: none; z-index: 3;
}
.yeni-serit span {
    position: absolute; top: 26px; left: -38px; width: 150px;
    transform: rotate(-45deg);
    background: linear-gradient(180deg, #e53935, #b71c1c);
    color: #fff; text-align: center; font-weight: 700; font-size: .78rem;
    letter-spacing: 2px; padding: 5px 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}
.pill-yeni { color: #b71c1c; border-color: #e8b4b4; }
.pill-yeni:hover { color: #b71c1c; border-color: #b71c1c; }
.pill-yeni.active { background: #c62828; border-color: #c62828; color: #fff; }

/* =====================================================
   SİPARİŞ: sepet, takip paneli
   ===================================================== */
.btn-sepet {
    margin-top: 14px; width: 100%;
    border: 2px solid var(--ruby); color: var(--ruby); background: transparent;
    border-radius: 50px; font-weight: 500; padding: 8px 16px; transition: .2s;
}
.btn-sepet:hover { background: var(--ruby); color: #fff; }
.btn-sepet.eklendi { background: #2e7d32; border-color: #2e7d32; color: #fff; transform: scale(.97); }
.menu-body { display: flex; flex-direction: column; }
.menu-body .btn-sepet { margin-top: auto; }
.menu-desc { margin-bottom: 14px; }

.sepet-fab {
    position: fixed; right: 20px; bottom: 20px; z-index: 1040;
    width: 62px; height: 62px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ruby), var(--ruby-dark)); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    box-shadow: 0 10px 28px rgba(155, 27, 63, .45); text-decoration: none; transition: .2s;
}
.sepet-fab:hover { color: #fff; transform: translateY(-3px) scale(1.04); }
.sepet-sayi {
    position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px;
    border-radius: 12px; background: var(--gold); color: var(--ruby-deep);
    font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

.toast-kutu { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 1060; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast-mesaj {
    background: rgba(46, 7, 19, .95); color: #fff; padding: 10px 20px; border-radius: 50px;
    font-size: .9rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: opacity .4s, transform .4s;
}
.toast-mesaj.gizle { opacity: 0; transform: translateY(8px); }

.sepet-kutu { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.sepet-satir {
    display: grid; grid-template-columns: 1fr auto auto auto; gap: 12px; align-items: center;
    padding: 14px 0; border-bottom: 1px solid #f0e5d5;
}
.sepet-bilgi { display: flex; flex-direction: column; min-width: 0; }
.sepet-adet { display: inline-flex; align-items: center; gap: 4px; background: var(--cream-2); border-radius: 50px; padding: 3px; }
.sepet-adet button {
    width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; color: var(--ruby);
    font-weight: 700; line-height: 1; box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.sepet-adet button:hover { background: var(--ruby); color: #fff; }
.sepet-adet span { min-width: 26px; text-align: center; font-weight: 600; }
.sepet-tutar { font-weight: 700; color: var(--ruby); min-width: 70px; text-align: right; }
.sepet-sil { border: 0; background: transparent; color: #b0a0a2; font-size: 1rem; padding: 4px 8px; }
.sepet-sil:hover { color: #c62828; }
.sepet-toplam { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; font-size: 1.2rem; }
.sepet-toplam strong { color: var(--ruby); font-size: 1.6rem; font-family: 'Playfair Display', serif; }
@media (max-width: 575.98px) {
    .sepet-satir { grid-template-columns: 1fr auto; }
    .sepet-satir .sepet-tutar { text-align: left; }
}
.sepet-fab, .toast-kutu { -webkit-tap-highlight-color: transparent; }

/* müşteri sipariş durumu */
.adim-cizgi { display: flex; justify-content: space-between; position: relative; margin: 8px 0 28px; }
.adim-cizgi::before { content: ""; position: absolute; top: 17px; left: 8%; right: 8%; height: 4px; background: #eadfce; border-radius: 4px; }
.adim { position: relative; z-index: 1; flex: 1; text-align: center; }
.adim-nokta {
    width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 6px;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
    background: #eadfce; color: #9a8b8d; border: 3px solid var(--cream);
}
.adim.tamam .adim-nokta { background: var(--ruby); color: #fff; }
.adim.simdi .adim-nokta { background: var(--gold); color: var(--ruby-deep); box-shadow: 0 0 0 6px rgba(201, 163, 95, .25); }
.adim-ad { font-size: .8rem; color: var(--muted); }
.adim.tamam .adim-ad { color: var(--ruby-dark); font-weight: 600; }

/* sipariş kartı (takip + özet) */
.siparis-kalemler { list-style: none; padding: 0; margin: 0 0 10px; }
.siparis-kalemler li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #eadfce; font-size: .95rem; }
.siparis-toplam { display: flex; justify-content: space-between; align-items: center; background: var(--cream-2); border-radius: 12px; padding: 10px 14px; }
.siparis-toplam strong { color: var(--ruby); font-size: 1.25rem; }

/* takip paneli */
.takip-body .navbar-brand i { color: var(--gold); }
.takip-sekmeler { display: flex; flex-wrap: wrap; gap: 8px; }
.takip-sekme {
    padding: 8px 18px; border-radius: 50px; text-decoration: none; background: #fff; color: var(--ruby-dark);
    border: 1px solid #ead9c2; font-weight: 500; display: inline-flex; gap: 8px; align-items: center;
}
.takip-sekme.active { background: var(--ruby); color: #fff; border-color: var(--ruby); }
.siparis-kart { height: 100%; overflow: hidden; border-top: 4px solid #e0d2bd; }
.siparis-kart.yeni { border-top-color: #e53935; box-shadow: 0 0 0 3px rgba(229, 57, 53, .15), 0 4px 18px rgba(46, 7, 19, .12); animation: nabiz 2s ease-in-out infinite; }
@keyframes nabiz { 50% { box-shadow: 0 0 0 6px rgba(229, 57, 53, .10), 0 4px 18px rgba(46, 7, 19, .12); } }
.siparis-ust { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 0; }
.siparis-no { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--ruby-dark); }
.siparis-govde { padding: 12px 18px; }
.siparis-govde i { color: var(--ruby); margin-right: 6px; }
.siparis-govde a { color: inherit; font-weight: 600; }
.siparis-not { background: #fff8e1; border-left: 4px solid var(--gold); padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; font-size: .92rem; }
.siparis-aksiyon { display: flex; gap: 8px; padding: 0 18px 18px; }
.siparis-aksiyon form { margin: 0; }

.stat-card.order { background: linear-gradient(135deg, #e53935, #8e1b1b); }

.footer-socials { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* sipariş saatleri */
.siparis-bilgi {
    display: flex; align-items: center; gap: 10px; padding: 12px 18px; margin-bottom: 24px;
    border-radius: 14px; background: #fff8e1; border: 1px solid #f0dca8; color: #6b4e00; font-size: .95rem;
}
.siparis-bilgi.kapali { background: #fdecea; border-color: #f3b8b3; color: #8a1c14; }
.siparis-bilgi i { font-size: 1.2rem; }
.saat-kutu { background: #fcf8f1; border: 1px solid #eadfce; border-radius: 14px; padding: 16px 18px; }
