/* Template (style.css) üzerine projeye özel düzeltmeler */

/* Template logo genişliğini sadece >=1600 ve <=1199 için tanımlıyor, aradaki ekranlarda logo taşıyor */
@media (min-width: 1200px) and (max-width: 1599px) {
    .td_site_header.td_style_1.td_type_5 .td_main_header_left .td_site_branding img {
        width: 200px;
        margin-top: 60px;
    }
}

/* ---------- Menü kartı ve gün şeridi ---------- */
.menu-karti .td_post_thumb img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.menu-karti .td_post_info {
    padding: 20px;
}

.menu-gunleri {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.menu-gun {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e3ddd0;
    color: #9a948a;
    background: #f7f4ee;
}

.menu-gun--musait {
    border-color: #0b3120;
    color: #0b3120;
    background: #fff;
}

.menu-gun--yok {
    text-decoration: line-through;
    opacity: .6;
}

.menu-fiyat {
    font-size: 24px;
    font-weight: 600;
    color: #0b3120;
}

.menu-fiyat small {
    font-size: 13px;
    font-weight: 400;
    color: #6c6c6c;
}

/* ---------- Menü detay: gün seçimi ---------- */
.gun-secimleri {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 10px;
}

.gun-secim {
    position: relative;
    display: block;
    border: 1.5px solid #e3ddd0;
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    background: #fff;
    transition: border-color .15s, background .15s;
}

.gun-secim input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gun-secim .gun-secim-ad {
    display: block;
    font-weight: 600;
    color: #1d1d1d;
}

.gun-secim .gun-secim-tarih,
.gun-secim .gun-secim-durum {
    display: block;
    font-size: 12px;
    color: #6c6c6c;
}

.gun-secim:has(input:checked) {
    border-color: #0b3120;
    background: #eef4ef;
}

.gun-secim:has(input:checked)::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 12px;
    color: #0b3120;
}

.gun-secim:has(input:focus-visible) {
    outline: 2px solid #c9a36a;
    outline-offset: 2px;
}

.gun-secim--kapali {
    cursor: not-allowed;
    background: #f7f4ee;
    opacity: .7;
}

.siparis-adimi {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1d1d1d;
}

.ekstra-satiri {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #efeae0;
}

.ekstra-satiri:last-child {
    border-bottom: 0;
}

/* Template'deki .quantity-container ile aynı görünüm, sayfada birden fazla kullanılabilir */
.adet-secici {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e3ddd0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.adet-secici button {
    width: 34px;
    height: 34px;
    border: 0;
    background: #f7f4ee;
    font-size: 18px;
    line-height: 1;
    color: #0b3120;
}

.adet-secici input {
    width: 44px;
    height: 34px;
    border: 0;
    text-align: center;
    font-weight: 600;
    -moz-appearance: textfield;
}

.adet-secici input::-webkit-outer-spin-button,
.adet-secici input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.siparis-ozeti-satiri {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

/* ---------- Menü detay: haftalık plan ---------- */
.plan-gunu {
    border: 1px solid #e3ddd0;
    border-radius: 12px;
    background: #fff;
    height: 100%;
}

.plan-gunu-baslik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #efeae0;
    background: #f9f2e7;
    border-radius: 12px 12px 0 0;
}

.plan-yemegi {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
}

.plan-yemegi + .plan-yemegi {
    border-top: 1px dashed #efeae0;
}

.plan-yemegi img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.plan-yemegi details summary {
    cursor: pointer;
    font-size: 13px;
    color: #0b3120;
}

.menu-detay-gorsel {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

/* Ödeme sayfasında #adresFormu bağlantısıyla gelince form sabit header'ın altında kalmasın */
.adres-formu {
    scroll-margin-top: 130px;
}

/* ---------- Sepet ---------- */
.sepet-teslimati {
    border: 1px solid #e3ddd0;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 24px;
}

.sepet-teslimati-baslik {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: #0b3120;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.sepet-satiri {
    padding: 16px 20px;
    border-bottom: 1px solid #efeae0;
}

.sepet-satiri img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}

.sepet-teslimati-alt {
    display: flex;
    justify-content: space-between;
    padding: 12px 20px;
    font-size: 14px;
}

.sepet-uyari {
    margin: 12px 20px 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecea;
    color: #8a1c12;
    font-size: 14px;
}

/* Sabit header ve aşağı taşan logo içeriğin üstüne binmesin (template sayfalarındaki iki boşluk bloğunun karşılığı) */
.sayfa-ust-boslugu {
    height: 200px;
}

@media (max-width: 1199px) {
    .sayfa-ust-boslugu {
        height: 150px;
    }
}

/* ---------- İçerik sayfaları (Hakkımızda, sözleşmeler...) ---------- */
.icerik-sayfasi {
    font-size: 16px;
    line-height: 1.75;
    color: #3b3b3b;
}

.icerik-sayfasi h2 {
    font-size: 22px;
    margin: 32px 0 12px;
    color: #1d1d1d;
}

.icerik-sayfasi h3 {
    font-size: 18px;
    margin: 24px 0 10px;
}

.icerik-sayfasi p,
.icerik-sayfasi ul,
.icerik-sayfasi ol {
    margin-bottom: 14px;
}

.icerik-sayfasi ul,
.icerik-sayfasi ol {
    padding-left: 22px;
}

.icerik-sayfasi ul {
    list-style: disc;
}

.icerik-sayfasi a {
    color: #0b3120;
    text-decoration: underline;
}

/* Site Ayarları'nda girilmemiş firma bilgisi; fark edilsin diye işaretli gösterilir */
.icerik-sayfasi mark.eksik-bilgi {
    background: #fff3cd;
    color: #8a6d00;
    padding: 0 4px;
    border-radius: 4px;
}

/* ---------- İletişim ---------- */
.iletisim-karti {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #e3ddd0;
    border-radius: 12px;
    background: #fff;
    color: #1d1d1d;
}

a.iletisim-karti:hover {
    border-color: #0b3120;
}

.iletisim-karti > i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0b3120;
    color: #fff;
}

.iletisim-karti small {
    display: block;
    font-size: 12px;
    color: #6c6c6c;
}

.iletisim-sosyal a {
    background: #0b3120;
    color: #fff;
}

/* Bot tuzağı alanı ekrandan ve yardımcı teknolojilerden gizlenir */
.iletisim-tuzak {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Çerez bilgilendirme bandı ---------- */
.cerez-bandi {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1050;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e3ddd0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    font-size: 14px;
}

.cerez-bandi p {
    flex: 1 1 320px;
}

.cerez-bandi a {
    color: #0b3120;
    text-decoration: underline;
}
