:root {
  --bg: #0d0d0d; --bg2: #161616; --card: rgba(28, 28, 28, .78); --line: rgba(255, 255, 255, .09);
  --red: #e11d1d; --red2: #ff2a2a; --txt: #f4f4f4; --muted: #a3a3a3; --ok: #22c55e; --warn: #f59e0b;
  --brown: #7a3b17; --r: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* arka planda inek */
.bg-cow { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 70% 20%, rgba(225, 29, 29, .16), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(122, 59, 23, .22), transparent 50%), var(--bg); }
.bg-cow::after { content: ""; position: absolute; right: -6vw; top: 50%; width: min(78vw, 760px); aspect-ratio: 220/232; transform: translateY(-46%) rotate(-8deg);
  background: var(--cow, url(inek.png)) center/contain no-repeat; opacity: .10; filter: saturate(1.2); animation: float 14s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-50%) rotate(-5deg); } }

/* üst çubuk */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(13, 13, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand img { height: 40px; display: block; border-radius: 6px; }
.links { display: flex; gap: 22px; margin-right: auto; }
.links a { color: var(--muted); font-weight: 500; transition: color .2s; }
.links a:hover, .links a.on { color: #fff; }
.acct { display: flex; align-items: center; gap: 10px; }
.dd { position: relative; }
.ddbox { position: absolute; right: 0; top: calc(100% + 10px); width: 320px; padding: 18px; border-radius: var(--r); background: #1a1a1a; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6); animation: pop .18s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.ddbox h3 { margin: 0 0 12px; font-size: 17px; }

/* düğmeler ve formlar */
.btn { border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; color: #fff; background: #262626; transition: transform .12s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.red { background: linear-gradient(135deg, var(--red2), #b91c1c); box-shadow: 0 6px 20px rgba(225, 29, 29, .35); }
.btn.red:hover { box-shadow: 0 8px 28px rgba(225, 29, 29, .5); }
.btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .22); }
.btn.ghost:hover { border-color: #fff; }
.btn.big { padding: 13px 24px; font-size: 17px; }
.btn.sm { padding: 6px 10px; font-size: 14px; }
.btn.full { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, select { width: 100%; padding: 11px 12px; border-radius: 10px; border: 1px solid #333; background: #0f0f0f; color: #fff; font: inherit; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 29, 29, .2); }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.chk { display: flex; align-items: center; gap: 8px; color: var(--txt); font-size: 14px; margin: 8px 0; }
.chk input { width: auto; }
.err { color: #f87171; font-size: 14px; min-height: 20px; margin-top: 8px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.linkish { background: none; border: 0; color: var(--red2); cursor: pointer; font: inherit; padding: 0; }

/* vitrin */
.hero { min-height: calc(100vh - 66px); display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(20px, 7vw, 110px); position: relative; }
.hero-in { max-width: 680px; animation: rise .8s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.eyebrow { color: var(--red2); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.02em; }
.hero h1 span { color: var(--red2); }
.lead { font-size: 19px; color: #cfcfcf; max-width: 560px; }
.cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; transform: translateX(-50%); }
.scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }
.sec { padding: 90px clamp(20px, 7vw, 110px); }
.sec h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 32px; }
.sec h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 10px; border-radius: 2px; background: var(--red); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(6px); transition: transform .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); border-color: rgba(225, 29, 29, .5); }
.card .ic { font-size: 34px; }
.card h3 { margin: 10px 0 6px; }
.card p { margin: 0; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.feat { padding: 22px; border-left: 3px solid var(--red); background: var(--card); border-radius: 0 var(--r) var(--r) 0; }
.feat b { display: block; font-size: 19px; margin-bottom: 4px; }
.feat span { color: var(--muted); }
.contact { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); max-width: 640px; }
.foot { text-align: center; color: #6b6b6b; padding: 40px 20px; border-top: 1px solid var(--line); }
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* modal ve bildirim */
.ov { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); }
.modal { width: min(440px, 100%); padding: 26px; border-radius: 20px; background: #181818; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0, 0, 0, .7); animation: pop .2s ease-out; }
.modal h3 { margin: 0 0 6px; font-size: 22px; }
.mbtns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 12px 16px; border-radius: 12px; background: #1f1f1f; border-left: 4px solid var(--ok); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: pop .2s ease-out; max-width: 360px; }
.toast.err { border-left-color: var(--red); }
.toast.info { border-left-color: var(--warn); }

/* panel */
.pan { padding: 26px clamp(14px, 4vw, 48px) 60px; max-width: 1280px; margin: 0 auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { padding: 9px 16px; border-radius: 999px; background: #1c1c1c; border: 1px solid var(--line); color: var(--muted); cursor: pointer; font: inherit; font-weight: 600; position: relative; }
.tab.on { background: var(--red); border-color: var(--red); color: #fff; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--warn); color: #000; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.who { display: flex; align-items: center; gap: 10px; }
.who .nm { font-weight: 600; }
.bell { position: relative; background: #1c1c1c; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 38px; cursor: pointer; font-size: 18px; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stat small { color: var(--muted); display: block; }
.stat b { font-size: 26px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.box { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.box h3 { margin: 0 0 12px; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; }
td.r, th.r { text-align: right; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.p-satis { background: rgba(34, 197, 94, .15); color: #4ade80; }
.p-iade { background: rgba(225, 29, 29, .18); color: #f87171; }
.p-stok { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.p-gun { background: rgba(147, 197, 253, .15); color: #93c5fd; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #666; margin-right: 6px; }
.dot.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.req { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; padding: 14px; border-radius: 12px; background: #121212; border: 1px solid rgba(245, 158, 11, .35); margin-bottom: 10px; }
.req .info { flex: 1 1 180px; }
.req .info b { display: block; }
.req input { width: 160px; }
.key { font-family: Consolas, monospace; padding: 12px; background: #0f0f0f; border-radius: 10px; border: 1px dashed #444; word-break: break-all; margin: 10px 0; }

@media (max-width: 860px) {
  .links { display: none; }
  .acct { margin-left: auto; }
  .grid2 { grid-template-columns: 1fr; }
  .ddbox { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; }
  .brand img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }

/* dükkanımız: tabela fotoğrafı üstte, bilgi kartı ve harita altta */
.shop { padding-top: 70px; }
.shop-sign { position: relative; margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #05070d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(225, 29, 29, .10); }
.shop-sign img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 1800 / 466; object-fit: cover; }
.shop-sign::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0) 55%, rgba(13, 13, 13, .92) 100%); }
.shop-sign figcaption { position: absolute; left: 24px; bottom: 16px; z-index: 1; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #e8e8e8; }
.shop-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 22px; margin-top: -26px; position: relative; padding: 0 18px; }
.shop-copy { padding: 30px 30px 26px; border-radius: 18px; background: rgba(22, 22, 22, .92); border: 1px solid var(--line); backdrop-filter: blur(10px); min-width: 0; }
.shop-copy .eyebrow { margin-bottom: 8px; }
.shop-copy h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; text-wrap: balance; }
.shop-copy h2::after { display: none; }
.about { font-size: 16.5px; color: #cfcfcf; margin: 0 0 22px; max-width: 62ch; }
.facts { display: grid; gap: 14px; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline; }
.facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; color: #ececec; }
.phone { font-size: 28px; font-weight: 800; color: #fff; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.phone:hover { color: var(--red2); }
.map { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: #111; margin-top: 26px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05) brightness(.95); }
.map-open { position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 10px; background: rgba(13, 13, 13, .85); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #fff; }
.map-open:hover { border-color: var(--red); }
.foot a { color: inherit; }
/* panel: sol üst menü (≡) */
.pbar { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.burger { width: 46px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: #1c1c1c; color: #fff; font-size: 22px; cursor: pointer; position: relative; }
.burger:hover { border-color: var(--red); }
.burger .badge { top: -7px; right: -7px; }
.pbar h2 { margin: 0; font-size: 24px; }
.drawer-ov { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .5); backdrop-filter: blur(2px); }
.drawer { position: fixed; left: 0; top: 0; bottom: 0; z-index: 41; width: 280px; padding: 18px 14px; background: #141414; border-right: 1px solid var(--line);
  box-shadow: 20px 0 60px rgba(0, 0, 0, .6); display: flex; flex-direction: column; gap: 6px; animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(-100%); } }
.drawer .dlogo { height: 40px; align-self: flex-start; border-radius: 6px; margin: 2px 6px 14px; }
.drawer button { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 0; background: transparent; color: #cfcfcf; font: inherit; font-weight: 600; cursor: pointer; position: relative; }
.drawer button:hover { background: #1f1f1f; color: #fff; }
.drawer button.on { background: var(--red); color: #fff; }
.drawer button .ic { width: 22px; text-align: center; }
.drawer button .badge { position: static; margin-left: auto; }
.drawer .sep { height: 1px; background: var(--line); margin: 8px 6px; }

/* muhasebe grafiği */
.seg2 { display: inline-flex; background: #111; border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 3px; }
.seg2 button { border: 0; background: transparent; color: var(--muted); padding: 7px 14px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }
.seg2 button.on { background: var(--red); color: #fff; }
.chart { display: grid; grid-template-columns: minmax(110px, 200px) 1fr; column-gap: 14px; row-gap: 12px; align-items: center; margin-top: 8px; }
.chart .lbl { text-align: right; font-weight: 600; color: #e5e5e5; font-size: 14px; }
.chart .track { position: relative; height: 30px; border-left: 2px solid #555; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(20% - 1px), rgba(255,255,255,.07) calc(20% - 1px), rgba(255,255,255,.07) 20%); }
.chart .bar { position: absolute; left: 0; top: 3px; bottom: 3px; border-radius: 0 8px 8px 0; background: linear-gradient(90deg, var(--red), var(--red2)); box-shadow: 0 4px 14px rgba(225, 29, 29, .3); animation: grow .7s ease-out both; }
@keyframes grow { from { width: 0 !important; } }
.chart .val { position: absolute; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 700; white-space: nowrap; padding-left: 8px; }
.chart .axis { grid-column: 2; position: relative; height: 22px; border-top: 2px solid #555; font-size: 12px; color: var(--muted); }
.chart .axis span { position: absolute; top: 4px; transform: translateX(-50%); }
.chart .axt { grid-column: 2; text-align: center; color: var(--muted); font-size: 12px; margin-top: -4px; }
.pill.p-wait { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.pill.p-off { background: rgba(148, 163, 184, .15); color: #94a3b8; text-decoration: line-through; }
tr.off td { opacity: .55; }

@media (max-width: 860px) {
  .shop-body { grid-template-columns: 1fr; margin-top: -16px; padding: 0 8px; }
  .shop-sign img { aspect-ratio: 16 / 7; }
  .shop-sign figcaption { left: 14px; bottom: 10px; font-size: 10.5px; }
  .shop-copy { padding: 22px 18px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .phone { font-size: 24px; }
  .map { margin-top: 0; min-height: 300px; }
  .chart { grid-template-columns: 90px 1fr; }
}