:root{
  --deniz-koyu:#0B3D42; --deniz-orta:#146C7A; --su-acik:#EAF5F5;
  --vurgu:#FF7A3D; --vurgu-koyu:#E5652A; --ink:#0A2530;
  --kart-border:#D3E7E8; --bg:var(--su-acik); --text:var(--ink); --panel:#ffffff;
  --yeni:#E5652A; --hazir:#C9962E; --yolda:#146C7A; --teslim:#2E9E5B;
}
*{box-sizing:border-box;}
body{ margin:0; background:var(--bg); color:var(--text); min-height:100vh;
  font-family:'Inter',system-ui,sans-serif; -webkit-font-smoothing:antialiased; padding-bottom:96px; }
h1,h2,.price{ font-family:'Space Grotesk',system-ui,sans-serif; }

header{ position:sticky; top:0; z-index:20; background:var(--deniz-koyu); color:#fff; padding:14px 20px; }
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; max-width:960px; margin:0 auto; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ width:30px; height:30px; }
.brand-name{ font-family:'Space Grotesk'; font-weight:700; font-size:18px; }
.teslimat{ font-size:12px; color:#BFE3E6; text-align:right; max-width:960px; margin:8px auto 0; }
.teslimat b{ color:#fff; }

main{ max-width:960px; margin:0 auto; padding:22px 20px 20px; }
.intro h1{ font-size:24px; margin:0 0 4px; font-weight:700; }
.intro p{ margin:0 0 18px; opacity:.72; font-size:14px; }

.scroll-wrap{ margin:0 -20px; padding:0 20px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.grid{ display:flex; gap:10px; padding-bottom:6px; width:max-content; }
.card{ background:var(--panel); border:1px solid var(--kart-border); border-radius:14px; padding:10px;
  display:flex; flex-direction:column; gap:6px; width:132px; flex:0 0 auto; }
.photo{ width:100%; height:78px; border-radius:9px; background:linear-gradient(180deg,#DCF0F1,#C7E6E8);
  display:flex; align-items:center; justify-content:center; padding:5px; }
.pack{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:center; gap:1px; width:100%; height:100%; }
.pack-12 svg{ width:12.5px; } .pack-6 svg{ width:18px; } .pack-4 svg{ width:22px; } .pack-1 svg{ width:44px; }
.koli{ font-size:9.5px; color:var(--deniz-orta); font-weight:700; }
.vol{ font-size:19px; font-weight:700; line-height:1.1; }
.price{ font-size:15px; font-weight:700; margin-top:2px; }
.stepper{ display:flex; align-items:center; justify-content:space-between; gap:4px; margin-top:2px; }
.stepper button{ width:28px; height:28px; border-radius:8px; border:1px solid var(--kart-border);
  background:transparent; color:var(--text); font-size:16px; cursor:pointer; }
.qty{ min-width:18px; text-align:center; font-weight:600; font-size:14px; }

.cartbar{ position:fixed; left:0; right:0; bottom:0; z-index:30; background:var(--deniz-koyu); color:#fff;
  padding:12px 20px; display:flex; align-items:center; justify-content:space-between; gap:14px;
  transform:translateY(120%); transition:transform .25s ease; }
.cartbar.show{ transform:translateY(0); }
.cartbar .total{ font-family:'Space Grotesk'; font-weight:700; font-size:18px; }
.cartbar button{ background:var(--vurgu); color:#fff; border:none; border-radius:9px; padding:11px 18px;
  font-weight:600; font-size:14.5px; cursor:pointer; }

.sheet-bg{ position:fixed; inset:0; background:rgba(0,0,0,.45); z-index:40; display:none; }
.sheet-bg.open{ display:block; }
.sheet{ position:fixed; left:0; right:0; bottom:0; z-index:41; background:var(--panel);
  border-radius:18px 18px 0 0; max-width:520px; margin:0 auto; max-height:88vh; overflow-y:auto; padding:20px; }
.sheet h2{ font-size:20px; margin:0 0 14px; }
.field{ margin-bottom:12px; }
.field label{ display:block; font-size:12.5px; opacity:.7; margin-bottom:5px; }
.field input, .field select{ width:100%; padding:11px 12px; border-radius:9px; border:1px solid var(--kart-border);
  font-size:15px; background:var(--bg); color:var(--text); font-family:inherit; }
.radio-row{ display:flex; gap:8px; }
.radio-row label{ flex:1; border:1px solid var(--kart-border); border-radius:9px; padding:10px; text-align:center;
  font-size:13.5px; cursor:pointer; opacity:.75; }
.radio-row input{ display:none; }
.radio-row label:has(input:checked){ border-color:var(--vurgu); background:rgba(255,122,61,.1); opacity:1; font-weight:700; }
.summary-line{ display:flex; justify-content:space-between; font-size:13.5px; padding:5px 0; opacity:.8; }
.summary-line.total{ font-weight:700; font-size:16px; opacity:1; border-top:1px solid var(--kart-border); margin-top:6px; padding-top:10px; }
.confirm-btn{ width:100%; margin-top:14px; background:var(--vurgu); color:#fff; border:none;
  border-radius:10px; padding:14px; font-weight:700; font-size:15.5px; cursor:pointer; }
.close-x{ position:absolute; top:14px; right:16px; background:none; border:none; font-size:20px; opacity:.5; cursor:pointer; }
.ok-view{ text-align:center; padding:10px 0; }
.ok-view .tick{ font-size:44px; }
footer{ max-width:960px; margin:20px auto 0; padding:0 20px; font-size:12px; opacity:.55; }
.error-msg{ color:var(--vurgu-koyu); font-size:13px; margin-top:8px; }

/* kurye ekranı */
.login-wrap{ max-width:340px; margin:60px auto; padding:0 20px; text-align:center; }
.login-wrap h1{ font-size:20px; margin-bottom:16px; }
#kuryeApp{ max-width:720px; margin:0 auto; padding:18px 16px 40px; }
.ftabs{ display:flex; gap:6px; overflow-x:auto; margin-bottom:14px; }
.ftabs button{ background:var(--panel); border:1px solid var(--kart-border); color:var(--text);
  border-radius:20px; padding:7px 13px; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; opacity:.7; }
.ftabs button.active{ opacity:1; border-color:var(--deniz-orta); background:rgba(20,108,122,.1); }
.empty{ text-align:center; opacity:.55; padding:40px 0; font-size:14px; }
.order{ background:var(--panel); border:1px solid var(--kart-border); border-radius:14px; padding:14px; margin-bottom:10px; }
.order-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:8px; }
.order-ad{ font-weight:700; font-size:15.5px; }
.order-saat{ font-size:11.5px; opacity:.55; }
.badge{ font-size:11px; font-weight:700; color:#fff; padding:3px 9px; border-radius:20px; white-space:nowrap; }
.order-adres{ font-size:13.5px; margin-top:4px; opacity:.85; }
.order-tel{ font-size:13px; color:var(--deniz-orta); font-weight:600; text-decoration:none; }
.order-items{ font-size:12.5px; opacity:.7; margin-top:6px; }
.order-bottom{ display:flex; justify-content:space-between; align-items:center; margin-top:10px; gap:8px; }
.order-toplam{ font-weight:700; font-size:15px; }
.order-odeme{ font-size:11.5px; opacity:.6; }
.adv-btn{ background:var(--deniz-orta); color:#fff; border:none; border-radius:9px; padding:9px 13px;
  font-size:13px; font-weight:600; cursor:pointer; }
.adv-btn.done{ background:var(--teslim); }
.logout-btn{ background:none; border:1px solid rgba(255,255,255,.3); color:#fff; border-radius:8px;
  padding:6px 11px; font-size:12px; cursor:pointer; }

/* Kardağ ürün fotoğrafları ve marka görünümü */
:root{--deniz-koyu:#075da3;--deniz-orta:#0673b8;--su-acik:#f3f8fc;--kart-border:#dce8f1;--ink:#142d43;}
header{background:#fff;color:var(--ink);border-bottom:1px solid var(--kart-border);padding:12px 20px;}
.brand-logo{width:112px;height:auto;display:block;}
.brand-name{font-family:inherit;font-size:12px;font-weight:500;color:#567083;}
.teslimat{color:#567083;font-size:11px;}.teslimat b{color:#075da3;}
.courier-link{font-size:12px;color:#075da3;text-decoration:none;white-space:nowrap;border:1px solid #dce8f1;border-radius:20px;padding:9px 12px;}
.hero-photo{overflow:hidden;border-radius:20px;margin:0 0 24px;background:#eaf4fc;}
.hero-photo img{display:block;width:100%;height:auto;}
.intro h1{font-size:28px;letter-spacing:-.6px;}
.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:12px;}
.card{width:auto;padding:12px;border-radius:16px;gap:9px;box-shadow:0 4px 14px #0a406005;}
.photo{height:170px;background:#fff;padding:0;overflow:hidden;}
.photo img{width:100%;height:100%;object-fit:cover;}
.koli{font-size:10px;}.vol{font-size:22px;}.price{font-size:18px;}
.stepper button{width:38px;height:38px;background:#f3f8fc;font-size:22px;}.qty{font-size:16px;}
.logout-btn{color:#075da3;border-color:#dce8f1;}
@media(max-width:600px){
 .brand-name{display:none;}.brand-logo{width:94px;}
 .teslimat{text-align:left;font-size:10px;line-height:1.5;}
 main{padding-top:16px;}.hero-photo{margin-bottom:20px;border-radius:14px;}
 .intro h1{font-size:24px;}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .photo{height:150px;}.card{padding:12px;}.scroll-wrap{overflow-x:visible;}
}

/* Hızlı dokunmada çift dokunma yakınlaştırmasını önle. */
html{touch-action:manipulation;}
body,button,a,.card,.stepper{touch-action:manipulation;}
.stepper{min-height:48px;gap:4px;}
.stepper button{min-width:44px;min-height:44px;width:44px;height:44px;flex-shrink:0;user-select:none;-webkit-user-select:none;}
@media(max-width:600px){.field input,.field select{font-size:16px;}}
