/*
Theme Name: Tranche Steak House QR Menü
Author: Ece Uzel
Description: Tranche için iki dilli, panelden yönetilen restoran menüsü.
Version: 1.0.3
Text Domain: tranche-steakhouse
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{--paper:#f7f3eb;--white:#fffdf8;--ink:#2f2823;--muted:#81746b;--red:#a53a2a;--red-dark:#7c281d;--line:#ded6cb;--admin-offset:0px}
*{box-sizing:border-box}body{margin:0;background:#e9e3d9;color:var(--ink);font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--red);outline-offset:4px}a{color:inherit}img{display:block;max-width:100%}[hidden]{display:none!important}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.app{width:min(100%,1040px);min-height:100vh;margin:auto;background:var(--paper);box-shadow:0 0 70px #33251a0b}.masthead{display:flex;align-items:center;justify-content:space-between;min-height:112px;padding:22px 38px;border-bottom:1px solid var(--line)}.brand{text-decoration:none;display:flex;flex-direction:column}.wordmark{font-family:Georgia,'Times New Roman',serif;font-size:46px;line-height:.94;letter-spacing:-2px;font-weight:500}.brand-dot{color:var(--red)}.brand-caption{margin-top:9px;font-size:8px;font-weight:700;letter-spacing:2.2px}.brand-logo{max-width:190px;max-height:75px;width:auto;height:auto;object-fit:contain}.language{display:flex;align-items:center;gap:6px;font-size:10px;color:#998a7e}.language button{border:0;background:transparent;min-width:30px;min-height:36px;padding:6px;color:var(--muted);font-size:11px}.language button.active{font-weight:800;color:var(--red)}
.hero{position:relative;min-height:440px;margin:24px 28px 0;background:#251d18;overflow:hidden;color:var(--white);border-radius:3px}.hero-photo{position:absolute;inset:0 0 0 auto;width:65%;height:100%;object-fit:cover;object-position:center 65%}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#251d18 5%,#251d18ef 30%,#251d1870 61%,#251d1800)}.hero-copy{position:relative;width:62%;padding:53px 36px 40px}.eyebrow{display:block;font-size:9px;letter-spacing:2.3px;font-weight:700;line-height:1.6;color:#ded1b7;margin:0 0 17px}.eyebrow.dark{color:var(--red)}h1,h2,h3,p{margin-top:0}.hero h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(40px,5.5vw,62px);line-height:1.05;letter-spacing:-1.8px;margin-bottom:20px;max-width:410px}.hero-copy>p{font-size:12px;color:#ddd0c0;line-height:1.8;max-width:260px;margin:0 0 28px}.hero-link{display:flex;align-items:center;gap:23px;background:transparent;color:#fff5df;border:0;border-bottom:1px solid #c4af8c;padding:0 0 9px;font-size:11px;min-height:40px}.hero-link svg{width:16px;height:16px}.hero-side{position:absolute;bottom:22px;right:19px;writing-mode:vertical-rl;font-size:8px;letter-spacing:3px;color:#fff7e8b0}
.menu-directory{padding:42px 38px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:23px}.section-heading .eyebrow{margin-bottom:8px;font-size:8px;letter-spacing:1.8px}.section-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:34px;line-height:1.1;font-weight:400;letter-spacing:-.8px;margin:0}.edition{font-size:8px;color:var(--muted);letter-spacing:1px;white-space:nowrap;margin-bottom:3px}.group-tabs{display:flex;gap:25px;margin:22px 0;border-bottom:1px solid var(--line)}.group-tabs button{padding:0 0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:11px;font-weight:600;min-height:36px}.group-tabs button.active{color:var(--red);border-color:var(--red)}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-card{display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:6px;min-height:147px;padding:16px 17px;text-align:left;border:1px solid var(--line);border-radius:3px;background:var(--white);transition:border-color .2s,transform .2s,background .2s}.category-card:hover{transform:translateY(-3px);border-color:var(--red);background:#fffaf1}.category-top{display:flex;align-items:flex-start;justify-content:space-between;height:45px}.category-number{font-size:9px;letter-spacing:.8px;color:#9b8c7b}.category-photo{width:46px;height:46px;border-radius:50%;object-fit:cover;filter:saturate(.8)}.category-rule{display:block;width:30px;height:1px;background:var(--line);margin-top:8px}.category-title{display:block;font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.2;font-weight:400;overflow-wrap:anywhere;margin:8px 0 0}.category-bottom{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted)}.category-arrow{font-size:21px;color:var(--red);font-family:Arial,sans-serif}.all-menu{display:flex;justify-content:space-between;align-items:center;border:0;border-bottom:1px solid var(--line);padding:18px 0;width:100%;background:transparent;font-size:11px;color:var(--red);font-weight:700}.all-menu>span:last-child{font-size:23px}

.menu-nav{position:sticky;top:var(--admin-offset);z-index:30;background:var(--paper);box-shadow:0 6px 20px #281d1310}.nav-top{display:flex;justify-content:space-between;align-items:center;padding:10px 30px;min-height:58px;border-bottom:1px solid var(--line)}.back-button{display:flex;align-items:center;gap:9px;padding:5px 0;min-height:36px;border:0;background:transparent;font-size:11px;color:var(--red)}.back-button svg{width:17px}.nav-brand{font-family:Georgia,serif;font-size:23px;letter-spacing:-1px}.nav-brand>span{color:var(--red)}.category-tabs{display:flex;gap:18px;padding:0 30px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;border-bottom:1px solid var(--line)}.category-tabs::-webkit-scrollbar{display:none}.category-tab{flex:0 0 auto;min-height:48px;border:0;border-bottom:2px solid transparent;background:transparent;font-size:11px;color:var(--muted);padding:12px 0;white-space:nowrap}.category-tab.active{color:var(--red);border-bottom-color:var(--red);font-weight:700}
.products-content{padding:28px 38px 50px}.product-heading .eyebrow{margin-bottom:7px;font-size:8px}.product-heading h1{font-family:Georgia,serif;font-weight:400;font-size:42px;letter-spacing:-1px;line-height:1.1;margin-bottom:18px}.product-heading>p{font-size:11px;line-height:1.5;color:var(--muted)}.result-count{font-size:9px;letter-spacing:.5px;color:var(--muted);margin:18px 0 3px}.product-row{display:grid;grid-template-columns:110px 1fr auto;align-items:center;gap:22px;width:100%;padding:22px 0;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);transition:background .15s}.product-row:hover{background:#eee7da80}.product-photo{width:110px;height:118px;object-fit:cover;border-radius:3px}.product-copy{display:block;min-width:0}.product-title{display:block;font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}.product-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;font-size:11px;color:var(--muted);margin-top:9px;max-width:440px}.product-prices{font-size:16px;color:var(--red);text-align:right;align-self:center;max-width:180px;white-space:nowrap}.single-price{font-weight:600}.price-option{display:flex;gap:8px;justify-content:space-between;align-items:baseline;font-size:11px;padding:3px 0;white-space:normal}.price-option>span{color:var(--muted)}.price-option>strong{white-space:nowrap;font-weight:600}.product-row.no-image{grid-template-columns:1fr auto;min-height:105px}.product-badges{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}.badge,.veggie-badge,.out-badge{font-size:8px;font-family:Arial,sans-serif;letter-spacing:.3px}.badge{color:var(--red)}.veggie-badge{color:#4f6041}.out-badge{color:#81746b}.empty-state{text-align:center;padding:70px 0}.empty-state h2{font-family:Georgia,serif;font-size:28px;font-weight:400}.empty-state p{font-size:12px;color:var(--muted)}
.footer{display:flex;flex-direction:column;align-items:center;text-align:center;border-top:1px solid var(--line);padding:32px 24px 27px}.footer-brand{font-size:30px;font-family:Georgia,serif;letter-spacing:-1px}.footer-brand>span{color:var(--red)}.footer p{font-size:10px;max-width:420px;line-height:1.8;color:var(--muted);margin:12px auto 16px}.footer small{font-size:7px;letter-spacing:2px;color:#9c8b78}
.modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:24px;background:#1d1713b8;backdrop-filter:blur(5px)}.modal-panel{position:relative;width:min(100%,560px);max-height:90vh;max-height:90dvh;overflow:auto;overscroll-behavior:contain;background:var(--paper);border-radius:6px;box-shadow:0 24px 80px #0004}.modal-controls{position:sticky;top:0;z-index:4;height:62px;margin-bottom:-62px;display:flex;justify-content:flex-end;align-items:center;padding:10px 12px;pointer-events:none}.modal-close{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border:1px solid var(--line);border-radius:50%;background:var(--white);color:var(--red);box-shadow:0 2px 12px #0002;pointer-events:auto}.modal-close svg{width:21px;stroke-width:2}.modal-image{height:300px;width:100%;object-fit:cover}.modal-copy{padding:28px}.modal-panel.no-image .modal-copy{padding-top:70px}.modal-copy>.eyebrow{margin-bottom:10px;font-size:9px}.modal-copy h2{font-size:36px;line-height:1.1;font-family:Georgia,serif;font-weight:400;margin-bottom:17px;letter-spacing:-.7px}.modal-description{font-size:13px;color:var(--muted);line-height:1.85;white-space:pre-line}.modal-prices{color:var(--red);font-size:24px;margin:22px 0}.detail-prices .price-option{font-size:16px;padding:8px 0;border-bottom:1px solid var(--line)}.vegetarian{display:inline-block;padding:6px 9px;font-size:10px;color:#4f6041;border:1px solid #4f604155;margin:0 0 20px}.soldout-note{font-size:12px;color:var(--red)}.nutrition{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding-top:20px;margin-top:10px;border-top:1px solid var(--line)}.nutrition span{display:block;font-size:9px;color:var(--muted);letter-spacing:.6px;margin-bottom:8px}.nutrition strong{font-size:12px;font-weight:400;line-height:1.6;overflow-wrap:anywhere}body.modal-open{overflow:hidden}#wpadminbar{position:fixed!important}
@media(max-width:680px){.masthead{padding:21px 22px;min-height:99px}.wordmark{font-size:39px}.brand-caption{font-size:7px;letter-spacing:1.8px}.hero{min-height:362px;margin:0;border-radius:0}.hero-photo{width:76%;object-position:center 68%}.hero-shade{background:linear-gradient(90deg,#251d18f5 0%,#251d18d9 30%,#251d1833 100%)}.hero-copy{padding:38px 24px 34px;width:77%}.hero h1{font-size:43px;max-width:250px;letter-spacing:-1.5px;line-height:1.06}.hero-copy>p{font-size:10px;max-width:190px;margin-bottom:21px}.hero .eyebrow{font-size:7px;letter-spacing:1.8px;margin-bottom:16px}.hero-link{font-size:10px;gap:22px}.hero-side{font-size:6px;right:12px;bottom:20px}.menu-directory{padding:29px 22px 0}.section-heading h2{font-size:29px}.section-heading .eyebrow{font-size:7px;letter-spacing:1.2px}.edition{font-size:7px}.group-tabs{margin:19px 0 17px;gap:25px}.group-tabs button{font-size:10px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-card{min-height:128px;padding:13px 14px}.category-top{height:37px}.category-photo{width:39px;height:39px}.category-title{font-size:21px;margin-top:4px}.category-bottom{font-size:8px}.category-number{font-size:8px}.nav-top{padding:8px 20px}.category-tabs{padding:0 20px;gap:20px}.products-content{padding:23px 22px 32px}.product-heading h1{font-size:36px}.product-row{grid-template-columns:82px 1fr auto;gap:12px;padding:18px 0}.product-photo{width:82px;height:92px}.product-title{font-size:19px}.product-desc{font-size:10px;line-height:1.6;margin-top:7px}.product-prices{font-size:13px;max-width:110px}.price-option{font-size:9px;gap:5px}.product-badges{margin-bottom:5px}.product-row.no-image{min-height:94px}.footer{padding:28px 22px}.modal{padding:0;align-items:flex-end}.modal-panel{border-radius:14px 14px 0 0;max-height:92vh;max-height:92dvh}.modal-image{height:265px}.modal-copy{padding:25px 23px max(28px,env(safe-area-inset-bottom))}.modal-copy h2{font-size:32px}}
@media(max-width:360px){.hero-copy{width:84%}.hero h1{font-size:39px}.category-title{font-size:19px}.menu-directory,.products-content{padding-left:17px;padding-right:17px}.product-row{grid-template-columns:65px 1fr auto;gap:9px}.product-photo{width:65px;height:80px}.product-title{font-size:17px}.product-prices{font-size:12px}.category-photo{width:34px;height:34px}.category-card{padding:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Oklar yazı karakteri değil, tüm cihazlarda aynı çizilen SVG ikonlardır. */
.category-arrow{display:block;flex:0 0 18px;width:18px;height:18px;color:var(--red);stroke-width:1.5}
.all-menu>svg{width:20px;height:20px;stroke-width:1.5}
.nav-spacer{display:block;width:38px;flex:0 0 38px}
.menu-directory{padding-bottom:30px}
.group-tabs{margin-top:20px}

.directory-empty{padding:30px 0;margin:0;font-family:Georgia,serif;font-size:22px;color:var(--muted)}
