:root{
  --bg:#f8f3ed;--card:#fffdf9;--ink:#251d18;--muted:#76685f;
  --gold:#c79543;--line:#e8ddd0;--shadow:0 16px 36px rgba(58,36,22,.11);
  --nav-h:76px
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{background:#ddd5cb;scroll-behavior:smooth}
html,body{margin:0;min-height:100%;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;color:var(--ink)}
body{background:#ddd5cb}
button,input{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
#app{width:100%;max-width:430px;min-height:100vh;min-height:100dvh;margin:0 auto;background:var(--bg);box-shadow:0 0 70px rgba(0,0,0,.18);overflow-x:hidden}
.screen{min-height:100vh;min-height:100dvh;padding-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom));background:var(--bg)}

/* Ana sayfa */
.cover{height:430px;position:relative;background:url("assets/hero.jpg") center 58%/cover no-repeat;border-radius:0 0 38px 38px;overflow:hidden}
.cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06),rgba(0,0,0,.10) 46%,rgba(25,15,9,.68) 100%)}
.cover-top{position:absolute;z-index:3;left:16px;right:16px;top:calc(16px + env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between}
.mini-logo{width:54px;height:54px;border-radius:50%;object-fit:cover;border:3px solid rgba(255,255,255,.94);box-shadow:0 9px 22px rgba(0,0,0,.18)}
.cover-copy{position:absolute;z-index:3;left:22px;right:22px;bottom:26px;color:#fff}
.cover-copy h1{font:700 34px/1.05 Georgia,serif;letter-spacing:.1em;margin:0}
.cover-copy p{margin:11px 0 0;color:#ffe8bb;font-size:15px;font-weight:700;line-height:1.35}
.home-content{padding:16px 16px 28px}
.search-box{height:52px;background:#fff;border:1px solid var(--line);border-radius:17px;display:flex;align-items:center;gap:10px;padding:0 15px;box-shadow:0 9px 24px rgba(60,38,23,.08);margin-bottom:16px}
.search-box input{min-width:0;border:0;outline:0;flex:1;background:transparent;font-size:16px;color:var(--ink)}
.category-list{display:grid;gap:13px}
.category-card{position:relative;width:100%;min-height:146px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(105deg,#fffdfa 0%,#fff8ef 58%,#ead1aa 100%);overflow:hidden;padding:16px;display:grid;grid-template-columns:58px 1fr 122px;gap:12px;align-items:center;text-align:left;color:var(--ink);box-shadow:var(--shadow)}
.category-card::after{content:"";position:absolute;right:-24px;top:-28px;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle,#fff9,#d9a65e 70%,#b97724);opacity:.65}
.category-icon{position:relative;z-index:2;width:56px;height:56px;border-radius:50%;background:#f7eee2;display:grid;place-items:center;overflow:hidden}
.category-icon img{width:48px;height:48px;object-fit:cover}
.category-copy{position:relative;z-index:2;min-width:0}
.category-copy h2{font-size:20px;margin:0 0 8px}
.category-copy p{font-size:13px;line-height:1.35;color:var(--muted);margin:0}
.category-photo{position:relative;z-index:2;width:122px;height:112px;display:grid;place-items:center;overflow:hidden}
.category-photo img{width:112px;height:112px;object-fit:cover;border-radius:22px;filter:drop-shadow(0 10px 12px rgba(70,42,22,.16))}
.arrow{position:absolute;right:12px;bottom:12px;z-index:4;width:38px;height:38px;border-radius:50%;background:var(--gold);color:#fff;display:grid;place-items:center;font-size:25px}

/* Ortak kontroller */
.lang-switch{display:flex;align-items:center;gap:5px;background:rgba(255,255,255,.92);border:1px solid rgba(60,40,25,.12);border-radius:999px;padding:5px 7px;box-shadow:0 7px 18px rgba(0,0,0,.08);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.lang-switch button{border:0;background:transparent;color:#76685f;font-size:12px;font-weight:850;padding:5px 8px;border-radius:999px}
.lang-switch button.active{background:var(--gold);color:#fff}
.lang-switch span{font-size:11px;color:#b8aa9d}
.back-button{position:absolute;z-index:5;top:calc(12px + env(safe-area-inset-top));left:16px;border:1px solid rgba(255,255,255,.35);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.92);color:#2c211b;font-size:27px;line-height:1;box-shadow:0 8px 20px rgba(0,0,0,.16);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.back-button:active{transform:scale(.96)}
.back-button.dark{position:static;flex:0 0 auto}
.header-lang{position:absolute;z-index:5;top:calc(12px + env(safe-area-inset-top));right:16px}

/* Kategori */
.category-header{height:204px;position:relative;background-size:cover;background-position:center;border-radius:0 0 30px 30px;overflow:hidden}
.category-header::after,.detail-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.70))}
.category-header>div:last-child{position:absolute;z-index:3;left:18px;right:18px;bottom:20px;color:#fff}
.category-header h1{font-size:29px;margin:0}
.category-header p{margin:6px 0 0;color:#ffe8bb}
.products{padding:14px 14px 28px;display:grid;gap:11px;align-content:start}
.product-card{width:100%;display:grid;grid-template-columns:78px minmax(0,1fr) auto;gap:11px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:9px;box-shadow:0 11px 27px rgba(58,36,22,.08);cursor:pointer}
.product-card img{width:78px;height:78px;border-radius:16px;object-fit:cover;background:#f4eadc}
.product-card h3{font-size:15px;margin:0 0 5px;line-height:1.2}
.product-card p{font-size:11.5px;line-height:1.35;color:var(--muted);margin:0}
.product-right{display:grid;justify-items:end;gap:9px}
.product-right strong{color:#875817;font-size:16px;white-space:nowrap}
.product-right span{width:30px;height:30px;border-radius:10px;background:#f2e6d5;color:#8a5b1a;display:grid;place-items:center;font-size:21px}

/* Ürün detayı */
.detail-hero{height:360px;position:relative;background-size:cover;background-position:center;overflow:hidden}
.detail-card{position:relative;z-index:3;margin-top:-30px;background:#fff;border-radius:30px 30px 0 0;padding:24px 18px 30px;min-height:360px}
.detail-card h1{margin:0;font-size:29px}
.detail-category{margin-top:8px;color:#b77c27;font-size:13px;font-weight:850}
.ingredients{margin:18px 0 0;color:#5e5148;font-size:16px;line-height:1.5}
.detail-note{margin:13px 0 0;color:var(--muted);line-height:1.5}
.detail-price{margin-top:24px;color:#875817;font-size:29px;font-weight:900}

/* Bilgi / iletişim */
.simple-header{min-height:calc(72px + env(safe-area-inset-top));padding:calc(14px + env(safe-area-inset-top)) 16px 14px;display:flex;align-items:center;justify-content:space-between;background:#fbf7f2;border-bottom:1px solid var(--line)}
.simple-page{padding:26px 18px 30px}
.simple-page h1{margin-top:0}
.info-logo{width:136px;height:136px;object-fit:cover;border-radius:50%;display:block;margin:10px auto 22px;box-shadow:0 16px 35px rgba(0,0,0,.14)}
.simple-page p{color:var(--muted);line-height:1.55}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;margin-top:12px;box-shadow:0 8px 22px rgba(0,0,0,.07)}
.contact-card a{color:#8a5b1a;font-weight:700;text-decoration:none}

/* Alt navigasyon */
.bottom-nav{position:fixed;left:50%;transform:translateX(-50%);bottom:0;z-index:30;width:min(430px,100%);display:grid;grid-template-columns:repeat(4,1fr);padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:rgba(251,248,244,.95);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-top:1px solid rgba(0,0,0,.06)}
.bottom-nav button{min-height:48px;border:0;background:transparent;color:#817267;font-size:10.5px;display:grid;place-items:center;gap:3px}
.bottom-nav b{font-size:20px}
.bottom-nav .active{color:#b57a28}

/* Açılış */
html.nomos-splash-lock,html.nomos-splash-lock body{overflow:hidden}
.nomos-splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#130e0b;opacity:1;visibility:visible;transition:opacity .58s ease,visibility .58s ease}
.nomos-splash-out{opacity:0;visibility:hidden}
.nomos-splash-bg{position:absolute;inset:0;background:linear-gradient(rgba(16,10,7,.64),rgba(16,10,7,.82)),url("assets/hero.jpg") center 58%/cover no-repeat;filter:blur(1.5px);transform:scale(1.035)}
.nomos-splash-bg::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 42%,rgba(211,161,79,.20),transparent 38%)}
.nomos-splash-panel{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;color:#fff;padding:24px;animation:nomosPanelIn .82s cubic-bezier(.16,1,.3,1) both}
.nomos-logo-ring{width:190px;height:190px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(220,172,94,.65);box-shadow:0 0 0 8px rgba(255,255,255,.035),0 22px 60px rgba(0,0,0,.45);animation:nomosRingIn 1s cubic-bezier(.16,1,.3,1) both}
.nomos-splash-logo{width:164px;height:164px;border-radius:50%;object-fit:cover;border:4px solid rgba(255,255,255,.96);animation:nomosLogoIn .95s cubic-bezier(.16,1,.3,1) both}
.nomos-splash-title{margin-top:22px;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:700;letter-spacing:.15em;text-shadow:0 8px 24px rgba(0,0,0,.35)}
.nomos-splash-divider{width:0;height:2px;margin:14px 0 11px;border-radius:99px;background:linear-gradient(90deg,transparent,#d3a14f,transparent);animation:nomosLineIn .7s .35s ease forwards}
.nomos-splash-tagline{font-size:14px;font-weight:650;color:#f0ddbd;opacity:0;transform:translateY(7px);animation:nomosTextIn .6s .5s ease forwards}
@keyframes nomosPanelIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes nomosRingIn{from{opacity:0;transform:scale(.82) rotate(-5deg)}to{opacity:1;transform:scale(1)}}
@keyframes nomosLogoIn{from{opacity:0;transform:scale(.78);filter:blur(5px)}to{opacity:1;transform:scale(1);filter:blur(0)}}
@keyframes nomosLineIn{to{width:78px}}
@keyframes nomosTextIn{to{opacity:1;transform:none}}

@media(max-width:360px){
  .category-card{grid-template-columns:54px 1fr 96px}
  .category-photo{width:96px}.category-photo img{width:92px;height:92px}
  .product-card{grid-template-columns:68px minmax(0,1fr) auto}.product-card img{width:68px;height:68px}
}
@media(prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important}
  .nomos-splash-panel,.nomos-logo-ring,.nomos-splash-logo,.nomos-splash-divider,.nomos-splash-tagline{animation:none!important}
  .nomos-splash-divider{width:78px}.nomos-splash-tagline{opacity:1;transform:none}
}

/* Nomos marka entegrasyonu */
.mini-logo,.info-logo,.nomos-splash-logo{object-position:center;background:#fff}
.cover-copy{display:grid;gap:8px}
.cover-copy::before{content:"";width:118px;height:46px;background:url("assets/nomos-logo.png") center/contain no-repeat;filter:drop-shadow(0 5px 12px rgba(0,0,0,.25))}
.cover-copy h1{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display",Arial,sans-serif;font-size:14px;letter-spacing:.24em;opacity:.94}
.contact-link{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;text-decoration:none;color:var(--ink)}
.contact-icon{width:44px;height:44px;border-radius:14px;background:#f4eadc;display:grid;place-items:center;font-size:25px;color:#9d681f}
.contact-link span:nth-child(2){display:grid;gap:3px}.contact-link small{color:var(--muted)}.contact-link b{font-size:27px;color:#a36d23}
@media (display-mode:standalone){.screen{padding-top:0}}
