:root { --bg:#faf6ef; --ink:#14253d; --muted:#5b6b82; --accent:#174a85; --card:#fffdf9; --line:#dbe5f1; }
  * { box-sizing: border-box; }
  body { margin:0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background:var(--bg); color:var(--ink); }
  header { position:sticky; top:0; background:#fffdf9; border-bottom:1px solid var(--line); z-index:10; }
  .wrap { max-width:1100px; margin:0 auto; padding:0 16px; }
  .bar { display:flex; align-items:center; justify-content:space-between; height:64px; gap:12px; }
  .logo { font-weight:700; font-size:1.3rem; color:var(--accent); text-decoration:none; }
  nav a { color:var(--ink); text-decoration:none; margin-left:16px; font-size:.95rem; }
  header nav { display:flex; align-items:center; flex-wrap:nowrap; }
  header .logo-r { margin-left:12px; flex-shrink:0; }
  .logo-r img { height:36px; }
  @media (max-width:480px){ .bar img[alt="Halil Çiçek"]{ height:34px !important; } .logo-r img{ height:30px !important; } header nav a{ margin-left:8px; } header nav a[href="#urunler"], header nav .wa, header nav #cart-open{ display:none; } .logo-r{ margin-left:8px; } }
  .wa { background:#25d366; color:#fff !important; padding:8px 12px; border-radius:8px; }
  .hero { background:linear-gradient(135deg,#dbe9fa,#faf6ef); padding:56px 16px; text-align:center; }
  .hero h1 { margin:0 0 8px; font-size:2rem; }
  .hero p { margin:0 0 20px; color:var(--muted); }
  .btn { display:inline-block; background:var(--accent); color:#fff; padding:12px 20px; border-radius:10px; text-decoration:none; font-weight:600; }
  .badge { display:inline-block; color:#8a6a2a !important; border-color:#c9a45c !important; background:#fffdf9; border:1px solid var(--line); padding:6px 12px; border-radius:999px; font-size:.85rem; margin-top:14px; color:var(--muted); }
  section { padding:32px 0; }
  h2 { font-size:1.4rem; margin:0 0 16px; }
  .cats { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; }
  .cat { background:var(--card); border:1px solid var(--line); border-radius:14px; padding:16px; text-decoration:none; color:var(--ink); }
  .cat strong { display:block; margin-bottom:4px; }
  .cat small { color:var(--muted); }
  .grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; }
  .card { box-shadow:0 4px 16px rgba(23,74,133,.07); background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
  .img { aspect-ratio:1/1; background:repeating-linear-gradient(45deg,#e4eefa,#e4eefa 10px,#f5f9fe 10px,#f5f9fe 20px); display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:.8rem; }
  .info { padding:12px; display:flex; flex-direction:column; gap:8px; flex:1; }
  .name { font-size:.95rem; font-weight:600; margin:0; }
  .price { color:var(--accent); font-weight:700; }
  .add { margin-top:auto; background:none; border:1px solid var(--accent); color:var(--accent); border-radius:8px; padding:8px; cursor:pointer; font-weight:600; }
  footer { border-top:1px solid var(--line); padding:24px 0; color:var(--muted); font-size:.9rem; background:#fffdf9; }

  /* Mobil öncelikli düzen */
  html { -webkit-text-size-adjust:100%; }
  body { padding-bottom:72px; }
  .grid { grid-template-columns:repeat(2,1fr); gap:10px; }
  .card { border-radius:12px; }
  .info { padding:10px; }
  .name { font-size:.9rem; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; min-height:2.6em; }
  .price { font-size:1rem; }
  .add { padding:10px; font-size:.9rem; min-height:44px; }
  .btn { min-height:48px; display:inline-flex; align-items:center; justify-content:center; }
  .hero { padding:36px 16px; }
  .hero h1 { font-size:1.6rem; }
  .bar { height:56px; }
  nav a { margin-left:10px; font-size:.85rem; min-height:44px; display:inline-flex; align-items:center; }
  .wa { padding:10px 12px; }
  .bottom { position:fixed; left:0; right:0; bottom:0; background:#fffdf9; border-top:1px solid var(--line); display:flex; gap:8px; padding:10px 12px; z-index:20; }
  .bottom a { flex:1; text-align:center; text-decoration:none; padding:12px 8px; border-radius:10px; font-weight:600; font-size:.95rem; min-height:44px; }
  .bottom .b-wa { background:#25d366; color:#fff; }
  .bottom .b-cart { border:1px solid var(--accent); color:var(--accent); }
  @media (min-width: 720px) {
    .grid { grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:16px; }
    body { padding-bottom:0; }
    .bottom { display:none; }
  }
  @media (max-width: 380px) {
    header nav a:not(.wa):not(.logo-r) { display:none; }
  }

  .promo { margin:16px auto 0; max-width:1100px; padding:16px 18px; border-radius:14px; background:#f7e9e6; border:1px solid #ebd3cd; }
  .promo strong { display:block; color:#174a85; font-size:1.1rem; margin-bottom:4px; }
  .promo span { color:var(--muted); font-size:.95rem; }

  .catbar { background:#fffdf9; border-bottom:1px solid var(--line); }
  .catbar .wrap { display:flex; flex-wrap:wrap; gap:6px; overflow:visible; padding-top:8px; padding-bottom:8px; }
  .catbar .wrap::-webkit-scrollbar { display:none; }
  .catbar a:hover { border-color:#c9a45c; }
  .catbar a { flex:0 0 auto; white-space:nowrap; text-decoration:none; color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:6px 10px; font-size:.8rem; min-height:34px; display:inline-flex; align-items:center; }
  .catbar a.on { background:var(--accent); border-color:var(--accent); color:#fff; font-weight:600; }

  .hero-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:24px; align-items:center; text-align:left; }
  .hero-img img { width:100%; max-width:420px; aspect-ratio:1/1; object-fit:cover; border-radius:20px; border:6px solid #fffdf9; box-shadow:0 12px 34px rgba(23,74,133,.18); display:block; margin:0 auto; }
  .hero-text h1 { font-size:2.2rem; line-height:1.15; }
  @media (min-width: 720px) { .hero-inner { grid-template-columns:1.1fr 1fr; } .hero-text h1 { font-size:2.8rem; } }

  .hero-text { position:relative; isolation:isolate; }
  .hero-text::before { content:""; position:absolute; left:-10px; right:-10px; top:-30px; bottom:-30px; background:url(/assets/logo-mat.svg) center/contain no-repeat; opacity:.14; z-index:-1; pointer-events:none; }

  .hero-text h1 { font-family:"Playfair Display", Georgia, "Times New Roman", serif; font-weight:700; letter-spacing:.2px; }
  .brand-line { display:block; color:#174a85; font-weight:500; font-style:italic; margin-top:6px; }

  .add { cursor:pointer; }
  .add:hover { background:#174a85; color:#fff; }
  .add.done { background:#174a85; color:#fff; border-color:#174a85; }
  .overlay { position:fixed; inset:0; background:rgba(20,37,61,.45); display:none; z-index:50; }
  .overlay.open { display:block; }
  .panel { position:fixed; top:0; right:0; height:100%; width:min(420px,100%); background:#fffdf9; z-index:51; transform:translateX(100%); transition:transform .25s ease; display:flex; flex-direction:column; box-shadow:-10px 0 30px rgba(20,37,61,.2); }
  .panel.open { transform:translateX(0); }
  .panel-head { display:flex; justify-content:space-between; align-items:center; padding:16px; border-bottom:1px solid var(--line); }
  .panel-head h3 { margin:0; font-size:1.15rem; }
  .x { background:none; border:0; font-size:1.6rem; cursor:pointer; color:var(--ink); min-width:44px; min-height:44px; }
  .panel-body { flex:1; overflow:auto; padding:12px 16px; }
  .panel-foot { border-top:1px solid var(--line); padding:14px 16px; }
  .line { display:grid; grid-template-columns:56px 1fr auto; gap:10px; align-items:center; padding:10px 0; border-bottom:1px dashed var(--line); }
  .line img { width:56px; height:56px; object-fit:cover; border-radius:10px; }
  .line .t { font-size:.9rem; line-height:1.3; }
  .line .pr { color:var(--accent); font-weight:700; font-size:.9rem; }
  .qty { display:inline-flex; align-items:center; gap:6px; margin-top:4px; }
  .qty button { width:32px; height:32px; border-radius:8px; border:1px solid var(--line); background:#fff; cursor:pointer; font-size:1rem; }
  .rm { background:none; border:0; color:var(--muted); cursor:pointer; text-decoration:underline; font-size:.8rem; margin-top:4px; }
  .total { display:flex; justify-content:space-between; font-weight:700; margin-bottom:10px; font-size:1.05rem; }
  .cta { width:100%; background:var(--accent); color:#fff; border:0; border-radius:12px; padding:14px; font-size:1rem; font-weight:700; cursor:pointer; min-height:48px; }
  .cta[disabled] { background:#b9c7d9; cursor:not-allowed; }
  .empty { color:var(--muted); text-align:center; padding:40px 10px; }
  .modal { position:fixed; inset:0; z-index:60; display:none; align-items:flex-start; justify-content:center; overflow:auto; padding:24px 12px; }
  .modal.open { display:flex; }
  .sheet { background:#fffdf9; width:min(560px,100%); border-radius:16px; padding:20px; box-shadow:0 20px 50px rgba(20,37,61,.3); }
  .sheet h3 { margin:0 0 12px; font-size:1.2rem; }
  .sheet form { display:grid; gap:12px; }
  .sheet label { display:grid; gap:4px; font-size:.9rem; color:var(--ink); }
  .sheet input, .sheet textarea, .sheet select { font:inherit; padding:11px 12px; border:1px solid var(--line); border-radius:10px; background:#fff; min-height:44px; }
  .sheet textarea { min-height:70px; resize:vertical; }
  .row2 { display:grid; grid-template-columns:1fr; gap:12px; }
  @media (min-width:560px){ .row2 { grid-template-columns:1fr 1fr; } }
  .pay { display:grid; gap:8px; }
  .pay label { display:flex; align-items:flex-start; gap:10px; border:1px solid var(--line); border-radius:10px; padding:10px; background:#fff; cursor:pointer; }
  .pay label.dis { opacity:.55; cursor:not-allowed; }
  .pay small { color:var(--muted); display:block; }
  .err { color:#b3261e; font-size:.85rem; min-height:1em; }
  .ok { background:#e8f1fc; border:1px solid #c9dcf3; border-radius:12px; padding:14px; color:var(--ink); }
  .sheet .btns { display:flex; gap:10px; }
  .sheet .btns .ghost { flex:1; background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px; cursor:pointer; min-height:48px; }
  .sheet .btns .cta { flex:2; }

  .btns2 { display:grid; grid-template-columns:1fr; gap:6px; margin-top:auto; }
  .btns2 .add { margin-top:0; }
  .wa-mini { display:flex; align-items:center; justify-content:center; background:#25d366; color:#fff; border-radius:8px; padding:8px; font-weight:600; font-size:.9rem; text-decoration:none; min-height:44px; }
  @media (min-width:720px) { .btns2 { grid-template-columns:1fr 1fr; } }

  .sortbar { margin:0 0 12px; font-size:.9rem; }
  .sortbar select { font:inherit; padding:8px 10px; border:1px solid var(--line); border-radius:10px; background:#fffdf9; min-height:40px; }
  .legal-links a { color:var(--accent); }
  .footer-in { display:grid; gap:10px; }
  .legal-mini { font-size:.7rem; margin-top:6px; }
  .legal-mini a { color:var(--muted); }
  .wa-cta { background:#25d366 !important; }
  .pay-note { margin:0; font-size:.9rem; color:var(--muted); background:#fff; border:1px solid var(--line); border-radius:10px; padding:10px; }
  .consent { display:flex; gap:10px; align-items:flex-start; font-size:.9rem; }
  .consent input { margin-top:4px; }

  .subbar { display:flex; gap:8px; flex-wrap:wrap; }
  .subbar button { border:1px solid var(--line); background:#fffdf9; border-radius:999px; padding:8px 14px; font:inherit; font-size:.85rem; cursor:pointer; min-height:40px; }
  .subbar button.on { background:var(--accent); border-color:var(--accent); color:#fff; }

  .desc { font-size:.8rem; color:var(--muted); margin:0; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .size-note { color:var(--muted); font-size:.9rem; margin:-8px 0 14px; }
  .chips { display:flex; flex-wrap:wrap; gap:6px; align-items:center; margin:0 0 8px; }
  .chips span { font-size:.85rem; color:var(--muted); margin-right:2px; }
  .chip { border:1px solid var(--line); background:#fffdf9; color:var(--ink); border-radius:999px; padding:6px 10px; font:inherit; font-size:.8rem; cursor:pointer; min-height:34px; }
  .chip:hover { border-color:#c9a45c; }
  .hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
