/*
Theme Name: Green Hill Restaurant Menu
Theme URI: https://example.com/
Author: Webliyum
Description: Green Hill Restaurant için yönetilebilir dijital menü teması.
Version: 1.0.9
Text Domain: greenhill-menu
*/
:root{--gh-green:#315c43;--gh-dark:#183c2b;--gh-ink:#242923;--gh-muted:#737a72;--gh-bg:#f7f6f1;--gh-line:#e9e8e0}
*{box-sizing:border-box}body{margin:0;background:var(--gh-bg);color:var(--gh-ink);font-family:Arial,Helvetica,sans-serif}
.gh-header{background:var(--gh-dark);color:#fff;padding:30px 18px 24px;text-align:center}
.gh-brand{font-size:12px;letter-spacing:4px;text-transform:uppercase;color:#d7e2d7}
.gh-header h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(30px,6vw,48px);margin:10px 0 6px;color:#fff}
.gh-header p{margin:0;color:#d9e2d9;font-size:14px}
.gh-sticky{position:sticky;top:0;z-index:20;background:rgba(247,246,241,.97);border-bottom:1px solid var(--gh-line);padding:12px}
.gh-filters{display:flex;gap:8px;overflow-x:auto;max-width:1180px;margin:auto;padding-bottom:2px}
.gh-filter{border:1px solid #d8ded6;background:#fff;color:#435348;border-radius:30px;padding:9px 14px;white-space:nowrap;font-size:12px;cursor:pointer}
.gh-filter.active,.gh-filter:hover{background:var(--gh-green);color:#fff;border-color:var(--gh-green)}
.gh-main{max-width:1180px;margin:28px auto 60px;padding:0 16px}
.gh-category{margin:0 0 38px;scroll-margin-top:90px}
.gh-category h2{font-family:Georgia,serif;font-weight:500;font-size:27px;margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid #d9ded6;color:#254b35;text-align:center}
.gh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.gh-card{background:#fff;border:1px solid #eeede7;border-radius:13px;overflow:hidden;min-width:0;box-shadow:0 3px 14px rgba(28,48,34,.045);display:flex;flex-direction:column}
.gh-photo{aspect-ratio:1.28/1;background:#e7e8df;overflow:hidden;flex:0 0 auto}
.gh-photo img{width:100%;height:100%;object-fit:cover;display:block}
.gh-details{padding:14px 14px 0;display:flex;flex-direction:column;flex:1;min-width:0;min-height:190px;text-align:center;align-items:center}
.gh-title{font-size:15px;line-height:1.25;margin:0 0 4px;font-weight:700;width:100%}
.gh-subtitle{font-family:Georgia,serif;font-style:italic;color:var(--gh-green);font-size:13px;margin:0 0 8px;width:100%}
.gh-description{font-size:12px;line-height:1.5;color:var(--gh-muted);margin:0;width:100%}
.gh-price{display:flex;flex:0 0 48px;min-height:48px;align-items:center;justify-content:center;font-weight:700;color:var(--gh-green);font-size:14px;margin:auto 0 0;padding:10px 0 0;width:100%;border-top:1px solid #e5e8e1}
.gh-footer{text-align:center;padding:25px 15px;color:#768076;font-size:12px;border-top:1px solid var(--gh-line)}
@media(min-width:760px){.gh-main{padding:0 24px}.gh-grid{gap:20px}.gh-card{display:grid;grid-template-columns:42% 1fr;min-height:190px}.gh-photo{height:100%;aspect-ratio:auto;min-height:190px}.gh-details{padding:18px 18px 0}.gh-title{font-size:17px}.gh-description{font-size:13px}}
@media(max-width:700px){.gh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gh-photo{aspect-ratio:1.1/1}.gh-details{padding:11px 9px 0;min-height:175px}.gh-title{font-size:13px}.gh-subtitle{font-size:11px}.gh-description{font-size:11px}.gh-price{font-size:13px;flex-basis:45px;min-height:45px}}
.gh-language{display:flex;justify-content:center;gap:8px;align-items:center;margin:0 auto 10px;font-size:12px;flex-wrap:wrap}
.gh-language .gh-lang-link{display:inline-flex;align-items:center;border:1px solid #d8ded6;background:#fff;color:#254b35;border-radius:22px;padding:9px 13px;font-size:13px;text-decoration:none;white-space:nowrap}
.gh-language .gh-lang-link.is-current{background:#254b35;color:#fff;border-color:#254b35}
.gh-language .gh-lang-link:focus{outline:2px solid #8cae91;outline-offset:2px}

/* Language selector layout fix */
.gh-sticky{padding:10px 12px 9px}
.gh-language{display:flex;justify-content:center;align-items:center;gap:7px;max-width:1180px;margin:0 auto 10px;padding:2px 1px 5px;flex-wrap:wrap}
.gh-language .gh-lang-link{flex:0 0 auto;min-height:36px;padding:8px 12px;line-height:1.15;font-size:12px}
.gh-language .gh-lang-link:hover{background:#edf3ed;border-color:#9aaf9b}
.gh-language .gh-lang-link.is-current:hover{background:#254b35;color:#fff}
.gh-filters{scrollbar-width:thin;overscroll-behavior-x:contain}
@media(max-width:700px){
 .gh-sticky{padding:8px 8px 7px}
 .gh-language{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;max-width:100%;margin:0 0 8px;padding:2px 2px 7px;gap:6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .gh-language::-webkit-scrollbar{display:none}
 .gh-language .gh-lang-link{font-size:12px;padding:8px 11px;min-height:35px}
 .gh-filters{gap:6px;padding-bottom:3px}
 .gh-filter{padding:8px 11px;font-size:11px}
}

/* Compact dropdown language selector (restored selectable style) */
.gh-language{display:flex;justify-content:center;align-items:center;margin:0 auto 10px;padding:2px 0;max-width:1180px}
.gh-language-select{appearance:auto;-webkit-appearance:menulist;display:block;min-width:180px;max-width:100%;height:42px;padding:8px 38px 8px 13px;border:1px solid #d8ded6;border-radius:24px;background:#fff;color:#254b35;font:600 13px Arial,Helvetica,sans-serif;cursor:pointer;box-shadow:0 2px 7px rgba(28,48,34,.06)}
.gh-language-select:focus{outline:2px solid #8cae91;outline-offset:2px}
@media(max-width:700px){.gh-language{justify-content:center;margin:0 auto 8px}.gh-language-select{min-width:170px;height:40px;font-size:13px}}

/* Gluten Free product badge */
.gh-gluten-free{display:inline-flex;align-items:center;justify-content:center;margin:5px 0 8px;padding:5px 11px;border:1px solid #315c43;border-radius:6px;background:#315c43;color:#fff;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:.03em}

/* Webliyum footer credit */
.gh-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center}
.gh-footer-restaurant{display:block}
.gh-footer .gh-footer-credit{display:block;color:var(--gh-green);font-weight:700;text-decoration:none;letter-spacing:.06em}
.gh-footer .gh-footer-credit:hover,.gh-footer .gh-footer-credit:focus{text-decoration:underline}
