/* Mutfak Tezgahciniz - Urun galerisi */
.mt-galeri-oge { position: relative; display: block; cursor: zoom-in; }
.mt-galeri-oge img { transition: transform .35s ease; }
.mt-galeri-oge:hover img { transform: scale(1.04); }
.mt-buyut {
    position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(35, 39, 43, .78); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 16px; opacity: .85; transition: opacity .2s, background .2s; pointer-events: none;
}
.mt-galeri-oge:hover .mt-buyut { opacity: 1; background: #f39200; }
.mt-urun { margin: 0; }
.mt-urun .pro-title { cursor: default; }

html.mtg-kilit, html.mtg-kilit body { overflow: hidden; }
html.mtg-kilit #scrollUp, html.mtg-kilit .mt-whatsapp-sabit { display: none !important; }

.mtg {
    position: fixed; inset: 0; z-index: 2147483000; background: #0f1113;
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); color: #fff;
    opacity: 0; transition: opacity .2s ease; font-family: inherit;
    -webkit-user-select: none; user-select: none;
}
.mtg[hidden] { display: none; }
.mtg > * { min-width: 0; }
.mtg.mtg-gorunur { opacity: 1; }

.mtg-ust { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; min-height: 64px; }
.mtg-sayac { font-size: 14px; color: #c9ced2; min-width: 64px; font-variant-numeric: tabular-nums; }
.mtg-baslik { flex: 1; text-align: center; font-size: 17px; font-weight: 600; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtg-kapat {
    width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center;
    transition: background .2s, transform .2s;
}
.mtg-kapat:hover, .mtg-kapat:focus-visible { background: #f39200; transform: rotate(90deg); outline: none; }

.mtg-sahne { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 76px; touch-action: pan-y; }
/* kucuk renk gorselleri (cogu ~300px) alani dolduracak sekilde buyutulur, en fazla 720px */
.mtg-resim { width: 100%; height: 100%; max-width: 720px; object-fit: contain; transition: opacity .2s; }
.mtg.mtg-yukleme .mtg-resim { opacity: .35; }
.mtg-yukleniyor { position: absolute; width: 42px; height: 42px; border: 3px solid rgba(255,255,255,.2); border-top-color: #f39200; border-radius: 50%; animation: mtg-don .8s linear infinite; display: none; }
.mtg.mtg-yukleme .mtg-yukleniyor { display: block; }
@keyframes mtg-don { to { transform: rotate(360deg); } }

.mtg-ok {
    position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%;
    border: 0; cursor: pointer; background: rgba(255, 255, 255, .12); color: #fff;
    display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.mtg-ok:hover, .mtg-ok:focus-visible { background: #f39200; outline: none; }
.mtg-onceki { left: 14px; }
.mtg-sonraki { right: 14px; }

.mtg-alt { padding: 8px 0 14px; }
.mtg-eylem { display: flex; justify-content: center; padding: 0 12px 10px; }
.mtg-wa {
    display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff !important;
    padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none;
}
.mtg-wa:hover { background: #1ebe5a; }
.mtg-serit { display: flex; gap: 10px; overflow-x: auto; padding: 4px 16px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.mtg-serit::-webkit-scrollbar { height: 6px; }
.mtg-serit::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 3px; }
.mtg-kucuk {
    flex: 0 0 auto; width: 92px; padding: 0; border: 0; background: none; color: #c9ced2; cursor: pointer;
    scroll-snap-align: center; text-align: center; opacity: .6; transition: opacity .2s;
}
.mtg-kucuk img { display: block; width: 92px; height: 70px; object-fit: cover; border-radius: 6px; border: 2px solid transparent; }
.mtg-kod { display: block; margin-top: 5px; font-size: 11.5px; line-height: 1.25; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtg-kucuk:hover, .mtg-kucuk:focus-visible { opacity: 1; outline: none; }
.mtg-kucuk.aktif { opacity: 1; color: #fff; }
.mtg-kucuk.aktif img { border-color: #f39200; }

@media (max-width: 767px) {
    .mtg-ust { min-height: 56px; padding-left: 14px; }
    .mtg-baslik { font-size: 15px; }
    .mtg-kapat { width: 46px; height: 46px; }
    .mtg-sahne { padding: 0 8px; }
    .mtg-ok { width: 42px; height: 42px; top: 50%; background: rgba(0,0,0,.55); }
    .mtg-onceki { left: 6px; }
    .mtg-sonraki { right: 6px; }
    .mtg-kucuk { width: 74px; }
    .mtg-kucuk img { width: 74px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .mtg, .mtg-resim, .mtg-kapat, .mt-galeri-oge img { transition: none; }
}
