[hidden]{display:none!important}
:root{--bg:#f6f4ef;--card:#fff;--ink:#171717;--muted:#777;--line:#e5e0d7;--green:#25d366;--orange:#e85d04;--shadow:0 8px 24px rgba(0,0,0,.09)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink)}
button,input,textarea,select{font:inherit}.app{max-width:1100px;margin:auto;min-height:100vh}
header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:10px;padding:12px;background:#111;color:#fff;box-shadow:0 4px 18px rgba(0,0,0,.25)}
.brand{flex:1;border:0;background:none;color:#fff;text-align:left;padding:0;cursor:pointer;position:relative;z-index:70;pointer-events:auto;display:flex;align-items:center;gap:12px;min-width:0}.brandMain{display:flex;flex-direction:column;min-width:0}.brand b{display:block;font-size:19px;line-height:1.1}.brand small{opacity:.7}.headerHours{flex:0 0 auto;padding:6px 9px;border-left:1px solid rgba(255,255,255,.28);font-size:12px;line-height:1.15;color:#fff;white-space:nowrap}.headerHours strong{display:block;font-size:13px}
.cartTop{border:0;background:#fff;color:#111;border-radius:999px;padding:10px 14px;font-weight:900;cursor:pointer}
.view{display:none}.view.active{display:block}.home{padding:14px 10px 110px}.home h1{font-size:24px;margin:4px 0 12px}
.homeSearch{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;margin-bottom:12px}
.categoryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.category{position:relative;aspect-ratio:1/1;border:0;border-radius:19px;overflow:hidden;padding:0;background:#222;box-shadow:var(--shadow);cursor:pointer;text-align:left}
.category img{width:100%;height:100%;object-fit:cover;display:block}.category:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.88),rgba(0,0,0,.02) 65%)}
.categoryText{position:absolute;z-index:2;left:12px;right:10px;bottom:12px;color:#fff}.categoryText b{display:block;font-size:20px}.categoryText small{display:block;margin-top:5px;opacity:.85}
.productsHead{position:sticky;top:66px;z-index:40;background:rgba(246,244,239,.97);padding:10px;border-bottom:1px solid var(--line)}
.backRow{display:flex;align-items:center;gap:9px;margin-bottom:9px}.back{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 12px;font-weight:900}.categoryName{font-size:18px;font-weight:900}
.search{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:#fff}
.productGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 8px 120px}
.product{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.05);display:flex;flex-direction:column}
.productImg{aspect-ratio:1.22/1;overflow:hidden;background:#ddd}.productImg img{width:100%;height:100%;object-fit:cover;display:block}
.productBody{padding:9px;display:flex;flex-direction:column;flex:1}.product h3{font-size:17px;line-height:1.2;margin:0 0 6px}.desc{font-size:11px;line-height:1.35;color:var(--muted);min-height:43px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.price{font-size:17px;font-weight:900;color:var(--orange);margin:8px 0}.productNote{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;padding:7px;font-size:11px;resize:vertical}
.add{width:100%;border:0;background:#111;color:#fff;border-radius:10px;padding:10px 6px;font-weight:900;margin-top:8px;cursor:pointer}
.cardQty{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:8px}.cardQty button{width:36px;height:36px;border:0;border-radius:10px;background:#111;color:#fff;font-size:21px;font-weight:900}.cardQty span{min-width:28px;text-align:center;font-size:18px;font-weight:900}
.floating{display:none;position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:55;width:min(94%,700px);border:0;border-radius:16px;background:#111;color:#fff;padding:14px 17px;font-weight:900;justify-content:space-between;box-shadow:0 14px 35px rgba(0,0,0,.3)}
.drawer{display:none;position:fixed;inset:0;z-index:100}.drawer.open{display:block}.overlay{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.panel{position:absolute;right:0;top:0;width:min(520px,100%);height:100%;background:#fff;overflow:auto;padding:17px;box-shadow:-20px 0 50px rgba(0,0,0,.25)}
.panelHead{display:flex;align-items:center}.panelHead h2{flex:1;margin:0}.close{border:0;width:40px;height:40px;border-radius:50%;background:#eee;font-size:24px}
.cartItem{padding:13px 0;border-bottom:1px solid var(--line)}.cartLine{display:grid;grid-template-columns:1fr auto;gap:8px}.cartItem small{display:block;color:var(--muted);margin-top:4px}
.qty{display:flex;align-items:center;gap:7px}.qty button{width:33px;height:33px;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:900}
.cartNote{width:100%;min-height:42px;margin-top:8px;border:1px solid var(--line);border-radius:9px;padding:8px;font-size:12px;resize:vertical}
.total{display:flex;justify-content:space-between;margin:15px 0;padding:13px;border-radius:12px;background:#f4f3ef;font-size:18px;font-weight:900}
.minimum{margin:-5px 0 14px;padding:11px;border-radius:11px;background:#fff2df;color:#874600;text-align:center;font-size:13px;font-weight:900}.minimum.ready{background:#e9f8ee;color:#176b3a}
.form{display:grid;gap:9px}.form input,.form textarea,.form select{width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:11px}.form textarea{min-height:76px;resize:vertical}
.whatsapp{border:0;border-radius:12px;padding:14px;background:var(--green);color:#073419;font-size:16px;font-weight:900}.whatsapp:disabled{opacity:.45}
.clear{border:1px solid #e9b5b0;background:#fff4f3;color:#9b2118;border-radius:11px;padding:11px;font-weight:900}.empty{text-align:center;color:var(--muted);padding:38px}
@media(max-width:850px){.productGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.brand small{display:none}.brand{gap:8px}.headerHours{padding:4px 7px;font-size:10px}.headerHours strong{font-size:11px}.productGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product h3{font-size:17px}.desc{font-size:10px}.productBody{padding:8px}}

.homeResultsTitle{margin:4px 0 10px;font-size:17px;font-weight:900}
.homeResults{padding:0 0 110px}

/* MOBİL ANA SAYFA BOŞLUK DÜZELTMESİ */
.home{padding:12px 10px 100px}
.home h1{margin:4px 0 10px}
.homeSearch{margin-bottom:10px}
.categoryGrid{margin-top:0;padding-top:0}
.homeResults{padding:0 0 100px!important}
@media(max-width:560px){
  .home{padding:10px 8px 95px}
  .home h1{font-size:22px;margin:2px 0 8px}
  .homeSearch{margin-bottom:8px;padding:12px 13px}
  .categoryGrid{gap:8px}
  .category{aspect-ratio:1/1;border-radius:16px}
  .categoryText{left:10px;bottom:10px}
  .categoryText b{font-size:18px}
}


/* TESLİMAT BÖLGESİ SEÇİMİ */
.deliveryBox{margin:2px 0 14px;padding:14px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.05)}
.deliveryTitle{font-size:18px;font-weight:900;margin-bottom:5px}.deliveryText{font-size:12px;line-height:1.4;color:var(--muted);margin-bottom:10px}
.deliverySelect{width:100%;padding:13px 14px;border:2px solid #111;border-radius:12px;background:#fff;font-weight:900;color:#111}
.regionInfo{margin-top:9px;padding:10px 11px;border-radius:11px;background:#fff2df;color:#874600;font-size:13px;font-weight:900;line-height:1.35}
.regionInfo.ready{background:#e9f8ee;color:#176b3a}.cartRegion{margin:12px 0 4px;padding:11px;border-radius:11px;background:#f4f3ef;font-size:13px;font-weight:900;line-height:1.4}
@media(max-width:560px){.deliveryBox{padding:12px;margin-bottom:12px}.deliveryTitle{font-size:17px}.deliverySelect{padding:12px}}



/* GELİŞMİŞ TESLİMAT, ONAY VE YÖNETİM */
.deliveryActions{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.secondaryBtn{border:1px solid var(--line);background:#fff;color:#111;border-radius:11px;padding:11px 13px;font-weight:900;cursor:pointer}
.storeStatus{margin-top:9px;padding:10px 11px;border-radius:11px;font-size:13px;font-weight:900;line-height:1.4;background:#e9f8ee;color:#176b3a}
.storeStatus.closed{background:#fff0ef;color:#9b2118}
.freeDelivery{display:inline-block;margin-top:5px;font-size:12px;font-weight:900}
.progressWrap{margin-top:9px}.progressTrack{height:9px;border-radius:999px;background:#ece8df;overflow:hidden}.progressFill{height:100%;width:0;background:#111;transition:width .25s ease}.progressText{margin-top:5px;font-size:12px;font-weight:900;color:var(--muted)}
.cartRegionHead{display:flex;align-items:center;gap:8px}.cartRegionHead .cartRegion{flex:1}
.formSection{padding-top:5px;border-top:1px solid var(--line);margin-top:3px}.formSectionTitle{font-size:14px;font-weight:900;margin:4px 0 8px}
.formGrid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.formGrid4{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}
.checkLine{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid var(--line);border-radius:11px;background:#faf9f6;font-size:12px;font-weight:700;line-height:1.35}.checkLine input{width:auto;margin-top:2px}
.fieldHint{font-size:11px;color:var(--muted);margin-top:-4px}
.adminOpen{position:fixed;left:12px;bottom:12px;z-index:54;border:1px solid #d8d3ca;background:#fff;color:#555;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:900;box-shadow:0 5px 18px rgba(0,0,0,.12);cursor:pointer}
.modal{display:none;position:fixed;inset:0;z-index:300}.modal.open{display:block}.modalShade{position:absolute;inset:0;background:rgba(0,0,0,.62)}.modalCard{position:relative;width:min(760px,94%);max-height:92vh;overflow:auto;margin:4vh auto;background:#fff;border-radius:18px;padding:17px;box-shadow:0 25px 70px rgba(0,0,0,.35)}
.modalHead{display:flex;align-items:center;gap:10px;margin-bottom:13px}.modalHead h2{flex:1;margin:0;font-size:21px}.modalClose{border:0;width:39px;height:39px;border-radius:50%;background:#eee;font-size:22px;cursor:pointer}
.confirmContent{background:#f6f4ef;border-radius:13px;padding:13px;font-size:13px;line-height:1.55}.confirmActions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.confirmSend{border:0;border-radius:12px;padding:13px;background:var(--green);font-weight:900}.confirmCancel{border:1px solid var(--line);border-radius:12px;padding:13px;background:#fff;font-weight:900}
.adminNote{font-size:12px;line-height:1.45;color:#8a4d00;background:#fff2df;padding:10px;border-radius:10px;margin-bottom:12px}.adminSection{border:1px solid var(--line);border-radius:14px;padding:12px;margin:10px 0}.adminSection h3{margin:0 0 10px;font-size:16px}.adminToolbar{display:flex;gap:8px;flex-wrap:wrap}.adminToolbar button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 11px;font-weight:900}.adminSave{width:100%;border:0;border-radius:12px;padding:14px;background:#111;color:#fff;font-weight:900;margin-top:11px}
.adminRegionRow{display:grid;grid-template-columns:minmax(130px,1.5fr) 90px 100px 70px;gap:7px;align-items:center;padding:7px 0;border-bottom:1px solid #eee;font-size:12px}.adminRegionRow input{width:100%;padding:8px;border:1px solid var(--line);border-radius:8px}.adminRegionRow label{display:flex;align-items:center;gap:5px;justify-content:center}
.adminProductSearch{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;margin-bottom:8px}.adminProducts{max-height:330px;overflow:auto}.adminProductRow{display:flex;align-items:center;gap:8px;padding:7px 2px;border-bottom:1px solid #eee;font-size:12px}.adminProductRow span{flex:1}.stockBadge{display:inline-block;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:900;background:#e9f8ee;color:#176b3a}.stockBadge.off{background:#fff0ef;color:#9b2118}
.statsGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.statBox{background:#f6f4ef;border-radius:11px;padding:10px;text-align:center}.statBox b{display:block;font-size:18px}.statBox small{font-size:10px;color:var(--muted)}.orderHistory{font-size:11px;line-height:1.4;max-height:240px;overflow:auto}.orderHistoryItem{padding:8px 0;border-bottom:1px solid #eee}
.productSoldOut{opacity:.64}.soldOutBtn{width:100%;border:0;background:#b9b9b9;color:#fff;border-radius:10px;padding:10px 6px;font-weight:900;margin-top:8px}.soldOutLabel{display:inline-block;margin:4px 0 1px;padding:4px 7px;border-radius:999px;background:#fff0ef;color:#9b2118;font-size:10px;font-weight:900}
@media(max-width:560px){.deliveryActions{grid-template-columns:1fr}.formGrid4{grid-template-columns:1fr 1fr}.adminRegionRow{grid-template-columns:1fr 75px 90px 58px}.statsGrid{grid-template-columns:1fr 1fr}.modalCard{margin:2vh auto;max-height:96vh}.adminOpen{bottom:8px;left:8px}.confirmActions{grid-template-columns:1fr}}



/* SADE ANA SAYFA: yalnızca çalışma saatleri ve bölge seçimi */
.simpleDeliveryBox{padding:12px 14px;margin:2px 0 12px;box-shadow:none}
.simpleStoreHours{font-size:13px;line-height:1.3;margin-bottom:10px;color:#444}
.simpleDeliveryBox .deliveryTitle{display:block;font-size:15px;margin:0 0 7px}
.simpleDeliveryBox .deliveryActions{display:block}
.simpleDeliveryBox .deliverySelect{padding:11px 12px;border-width:1px}
.simpleDeliveryBox .deliveryText,
.simpleDeliveryBox #changeRegionHome,
.simpleDeliveryBox #regionInfo,
.simpleDeliveryBox #storeStatus,
.simpleDeliveryBox .progressWrap{display:none!important}
@media(max-width:560px){
  .simpleDeliveryBox{padding:10px 11px;margin-bottom:10px}
  .simpleStoreHours{font-size:12px;margin-bottom:8px}
  .simpleDeliveryBox .deliveryTitle{font-size:14px;margin-bottom:6px}
  .simpleDeliveryBox .deliverySelect{padding:10px 11px}
}

.cashPaymentBox{display:grid;gap:9px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#faf9f6}
.cashPaymentBox[hidden]{display:none!important}
.cashOrderTotal{padding:11px 12px;border-radius:10px;background:#111;color:#fff;font-size:16px;font-weight:800;display:flex;justify-content:space-between;align-items:center;gap:10px}
.cashOrderTotal strong{font-size:19px;white-space:nowrap}
.cashPaymentRow{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:center}
.cashPaymentRow .secondaryBtn{white-space:nowrap;padding:12px 16px;font-weight:900}.cashChangeInfo{padding:9px 10px;border-radius:9px;background:#f1f0ec;color:#555;font-size:13px;font-weight:700}
.cashChangeInfo.ready{background:#e9f8ee;color:#176b3a}.cashChangeInfo.error{background:#fff1ef;color:#9b2118}
.orderConsent{display:grid;grid-template-columns:26px minmax(0,1fr);gap:11px;align-items:flex-start;padding:14px;border:3px solid #e09519;border-radius:12px;background:#fff4d8;color:#5f3600;font-size:15px;line-height:1.45;font-weight:900;cursor:pointer;box-shadow:0 4px 14px rgba(224,149,25,.18)}
.orderConsent span,.orderConsent b{font-weight:900}
.form .orderConsent input{width:23px;height:23px;margin:1px 0 0;padding:0;accent-color:#25d366;cursor:pointer}
.orderConsent:has(input:checked){border-color:#38a65c;background:#e4f8ea;color:#105e2c}
@media(max-width:430px){.cashPaymentRow{grid-template-columns:1fr}.cashPaymentRow .secondaryBtn{width:100%;order:2}.cashOrderTotal{font-size:15px}.cashOrderTotal strong{font-size:18px}.orderConsent{font-size:14px;padding:13px}}

/* ÜRÜN DETAY PENCERESİ */
.productImg,.product h3{cursor:pointer}.productImg{position:relative}.productImg:after{content:"Detay";position:absolute;right:7px;bottom:7px;background:rgba(0,0,0,.72);color:#fff;padding:4px 7px;border-radius:999px;font-size:10px;font-weight:900}
.productDetailCard{padding:0;overflow:hidden;width:min(560px,94%)}.productDetailImg{width:100%;aspect-ratio:1.35/1;background:#eee}.productDetailImg img{width:100%;height:100%;object-fit:cover;display:block}.productDetailBody{padding:17px}.productDetailBody h2{margin:0 45px 7px 0;font-size:25px;line-height:1.15}.productDetailDesc{font-size:15px;line-height:1.55;color:#555;white-space:pre-wrap}.productDetailPrice{font-size:24px;font-weight:900;color:var(--orange);margin:13px 0}.productDetailNote{width:100%;min-height:70px;border:1px solid var(--line);border-radius:11px;padding:10px;resize:vertical}.productDetailActions{margin-top:11px}.productDetailActions .add{padding:13px}.productDetailActions .cardQty button{width:44px;height:44px}.productDetailActions .cardQty span{font-size:21px}
@media(max-width:560px){.productDetailCard{margin:3vh auto;max-height:94vh}.productDetailBody{padding:14px}.productDetailBody h2{font-size:22px}.productDetailDesc{font-size:14px}.productDetailPrice{font-size:22px}}

/* 10 ANA KATEGORİ: masaüstü 5 sütun, mobil 2 sütun */
@media (min-width:901px){.categoryGrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}}
@media (min-width:601px) and (max-width:900px){.categoryGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}}
@media (max-width:600px){.categoryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}
