@charset "UTF-8";

:root {
    --backbtncolor: #3b2516;
    --backbtncolorrgb: 59, 37, 22;
    --ink: #2a211c;
    --muted: #7a6e66;
    --paper: #f7f3ee;
    --card: #ffffff;
    --line: rgba(59, 37, 22, .08);
    --gold: #c4a574;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #e8dfd4;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

#app {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.page {
    position: relative;
    width: 100%;
    min-height: 100%;
    background: var(--paper);
    float: left;
}

.hide { display: none !important; }
::-webkit-scrollbar { display: none; }

.overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 200;
    display: none;
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.overlay.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #3b2516;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader span {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255,255,255,.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.loader.done { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.tabmenu {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(42, 33, 28, .35);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    font-size: 22px;
    color: #fff;
}
.tabmenu nav { padding: 32px 24px 80px; width: 100%; }
.tabmenu .nav-mi {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
}
.tabmenu .nav-mi.disabled {
    color: rgba(255,255,255,.25);
    pointer-events: none;
}

/* ===== KAPAK ===== */
.start {
    height: 100%;
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    transform-origin: top;
    transition: all .3s ease;
}
.start.openned {
    scale: .92;
    border-radius: 16px;
    top: -28px;
    left: 16px;
    overflow: hidden;
}

.cover, .cover div {
    width: 100%;
    height: 100%;
    min-height: 100vh;
}
.cover { overflow: hidden; }
.cover div {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: var(--backbtncolor);
}

.cover-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(20,12,8,.18) 0%, rgba(20,12,8,.12) 40%, rgba(20,12,8,.55) 100%);
    pointer-events: none;
}

.cover_name { display: none; }

.cover-hero {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    pointer-events: none;
}
.welcome-plate {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px 28px;
    border-radius: 28px;
    background: rgba(22, 13, 9, .62);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,.16);
    width: min(86vw, 360px);
    margin: 0 auto;
    text-align: center;
}

.welcome-kicker {
    color: rgba(255,255,255,.82);
    letter-spacing: .38em;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 2px 16px rgba(0,0,0,.45);
}

.welcome {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-size: clamp(26px, 6.4vw, 34px);
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 22px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0 4px 28px rgba(0,0,0,.4);
}

.enter-grid {
    pointer-events: auto;
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border: 0;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    animation: grid-pulse 2.8s ease-in-out infinite;
}
.enter-grid span {
    display: block;
    background: #fff;
    border-radius: 5px;
}
@keyframes grid-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
    50% { transform: scale(1.04); box-shadow: 0 14px 36px rgba(0,0,0,.28); }
}

.welcome-hint {
    margin-top: 16px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

.gotabmenu {
    display: block;
    width: 46px;
    height: 46px;
    position: absolute;
    left: 18px;
    bottom: 22px;
    z-index: 100;
    border-radius: 12px;
    background: rgba(59,37,22,.72);
    backdrop-filter: blur(8px);
}
.gotabmenu a {
    display: block;
    width: 46px;
    height: 46px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px;
}

.headbar {
    width: 100%;
    height: 56px;
    top: 0;
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(247,243,238,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}
.head-logo {
    height: 86%;
    max-height: 42px;
    object-fit: contain;
}

.page.wthead:not(.start) {
    min-height: calc(100% - 56px);
    top: 56px;
    padding-top: 56px;
    margin-top: -56px;
}
.page.wthead.wtsearch {
    min-height: calc(100% - 108px);
    top: 108px;
}

.nav__toggle {
    position: absolute;
    left: 8px;
    z-index: 10;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.menuicon { stroke: var(--backbtncolor); stroke-width: 2; fill: none; }
.menuicon__circle {
    stroke-dasharray: 144;
    stroke-dashoffset: 144;
    transition: stroke-dashoffset .3s;
}
.nav--open .menuicon__circle { stroke-dashoffset: 0; }
.nav--open .menuicon__bar:nth-child(1),
.nav--open .menuicon__bar:nth-child(4) { opacity: 0; }
.nav--open .menuicon__bar:nth-child(2) { transform: rotate(45deg); transform-origin: center; }
.nav--open .menuicon__bar:nth-child(3) { transform: rotate(-45deg); transform-origin: center; }

.nav__menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    position: absolute;
    z-index: 5;
    visibility: hidden;
    top: 0;
    list-style: none;
    height: 100vh;
    background: rgba(247,243,238,.96);
}
.nav--open .nav__menu { visibility: visible; }
.nav__item { opacity: 0; transition: all .3s ease .2s; }
.nav--open .nav__item { opacity: 1; transform: translateY(0) !important; }
.nav__item:nth-child(1) { transform: translateY(-40px); }
.nav__item:nth-child(2) { transform: translateY(-80px); }
.nav__item:nth-child(3) { transform: translateY(-120px); }
.nav__item:nth-child(4) { transform: translateY(-160px); }
.nav__link {
    display: block;
    text-align: center;
    letter-spacing: 3px;
    font-size: 1.05rem;
    padding: 10px 0;
    color: var(--ink);
}
.nav__link .nav-mi.disabled { color: rgba(0,0,0,.18); }

.splash, .splash2 { position: absolute; inset: 0; pointer-events: none; }
.splash::after, .splash2::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--backbtncolorrgb),.08);
    transform: scale(0);
    border-radius: 50%;
    transition: transform .4s;
}
.nav--open > .splash::after,
.nav--open > .splash2::after { transform: scale(3); }

.btnSrc {
    position: absolute;
    right: 14px;
    color: var(--backbtncolor);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.searchbar {
    display: none;
    width: 100%;
    height: 52px;
    top: 56px;
    position: fixed;
    z-index: 10;
    justify-content: center;
    align-items: center;
    background: #efe8e0;
    gap: 0;
    padding: 0 12px;
}
.searchbar.open { display: flex; }
.sb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    width: 38px;
    background: var(--backbtncolor);
    border-radius: 10px 0 0 10px;
}
.searchbar a {
    height: 38px;
    line-height: 38px;
    padding-left: 10px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
    display: none;
    cursor: pointer;
}
.searchbar.open a { display: block; }
.searchbar input {
    flex: 1;
    min-width: 0;
    border: none;
    background: #fff;
    border-radius: 0 10px 10px 0;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.bottom {
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
}
.backbtn {
    display: block;
    width: 52px;
    height: 52px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: var(--backbtncolor);
    border-radius: 16px;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 20px rgba(59,37,22,.28);
}
.backbtn::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-left: 2.5px solid #fff;
    border-bottom: 2.5px solid #fff;
    transform: rotate(45deg);
    margin: 20px 0 0 20px;
}

.menualtitxt {
    color: var(--muted);
    text-align: center;
    padding: 8px 8% 90px;
    width: 100%;
    font-size: 13px;
    line-height: 1.5;
}

/* ===== KATEGORİLER ===== */
.gruplar {
    display: block;
    width: 100%;
    padding: 18px 16px 20px;
}
.gruplar ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.gruplar li {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    background: var(--card);
    box-shadow: 0 8px 22px rgba(59,37,22,.08);
    height: 148px;
}
.gruplar li img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #d7cdc3;
}
.gruplar li .cat-ph {
    width: 100%;
    height: 148px;
    background: linear-gradient(160deg, #4a3426 0%, #2c1c14 100%);
    position: relative;
}
.gruplar li .cat-ph span { display: none; }
.gruplar li h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.2;
    text-align: left;
    padding: 12px 12px 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(20,12,8,.72));
    letter-spacing: .02em;
}

.grpadi {
    position: sticky;
    top: 56px;
    z-index: 2;
}
.grupbaslik {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    color: var(--ink);
    width: auto;
    margin: 0 18px;
    padding: 18px 0 10px;
    background: var(--paper);
    font-weight: 600;
}

.urunler {
    display: block;
    width: 100%;
    padding: 4px 16px 90px;
}
.urunler ul { list-style: none; }

.urunler li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px 8px 12px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.urunler li.has-photo img {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    background: #d7cdc3;
}
.urunler li.no-photo img { display: none; }
.urunler li .item-body { flex: 1; min-width: 0; }
.urunler li h2 {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    padding: 0;
    color: var(--ink);
}
.urunler li h2 p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.urunler li h5.udetay {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.35;
    margin: 3px 0 0;
    font-weight: 400;
}
.divlalerjen { margin-top: 4px; }
.divlalerjen span {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: var(--backbtncolor);
    white-space: nowrap;
}
.urunler li i.arr {
    position: static;
    opacity: .22;
    font-size: 20px;
    font-style: normal;
    flex: 0 0 auto;
}

.detay {
    display: block;
    width: auto;
    padding: 12px 20px 8px;
}
.detay img {
    width: 100%;
    margin: 8px 0 16px;
    border-radius: 18px;
    object-fit: cover;
    max-height: 280px;
}
.detay.noimg img { display: none; }
.detay.noimg h1 { margin-top: 16px; }
.detay h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 28px;
    color: var(--ink);
    line-height: 1.15;
}
.detay p { font-size: 14px; color: var(--muted); line-height: 1.45; }

.fiyatlar {
    width: auto;
    border-top: 1px solid var(--line);
    padding: 16px 20px;
    margin: 0 0 70px;
    float: none;
}
.fiyatlar ul { list-style: none; }
.fiyatlar.onerow li {
    color: #fff;
    width: 100%;
    padding: 14px 18px;
    background: var(--backbtncolor);
    margin: 0 0 10px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fiyatlar li .portion-main-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 15px;
}
.fiyatlar li .portion-price { font-size: 18px; }

.mb50 { margin-bottom: 50px !important; }

.orient {
    position: fixed;
    inset: 0;
    background: var(--backbtncolor);
    z-index: 9999;
    display: none;
}
.orient div {
    height: 100vh;
    display: flex;
    color: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 16px;
    padding: 20px;
    text-align: center;
}
.orient h4 { font-size: 28px; margin-bottom: 20px; font-weight: 600; }
.orient span { opacity: .85; line-height: 1.5; }

@media (orientation: landscape) and (max-height: 500px) {
    .orient { display: block; }
}
