/* Mağaza ve admin panelinin ortak stilleri */
:root {
  --bg: #060504;
  --panel: #0e0c09;
  --panel-2: #15120d;
  --line: #231e16;
  --line-2: #352d20;
  --text: #f4efe6;
  --muted: #8f8676;
  --green: #ffc21a;
  --green-hi: #ffd659;
  --green-dim: rgba(255, 194, 26, .12);
  --red: #e5534b;
  --amber: #ffb000;
  --cut: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Saira', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 1.75; flex-shrink: 0; }

.label {
  font-family: 'Saira Condensed', sans-serif; font-weight: 600; font-size: 12px;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
}
.label.g { color: var(--green); }
.rule { display: inline-block; width: 48px; height: 1px; background: var(--green); vertical-align: middle; margin-left: 12px; }
.heading { font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
.heading em { font-style: italic; color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 22px; border: 0; cursor: pointer; white-space: nowrap;
  font: 600 13px 'Saira Condensed', sans-serif; letter-spacing: .2em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .15s, color .15s, opacity .15s;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-g { background: var(--green); color: #140d00; }
.btn-g:hover:not(:disabled) { background: var(--green-hi); }
.btn-o { background: var(--line); color: var(--text); }
.btn-o:hover:not(:disabled) { background: var(--line-2); }
.btn-r { background: rgba(229, 83, 75, .14); color: var(--red); }
.btn-r:hover:not(:disabled) { background: rgba(229, 83, 75, .24); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 12px; }
.btn-icon { width: 36px; padding: 0; }

/* Form */
.field { display: grid; gap: 8px; }
.field > span { font: 600 11px 'Saira Condensed', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.input, select.input, textarea.input {
  width: 100%; background: #0a0806; border: 1px solid var(--line-2); color: var(--text);
  font: 500 15px 'Saira', sans-serif; padding: 0 14px; height: 44px; outline: 0; border-radius: 0;
  transition: border-color .15s;
}
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--green); }
.input::placeholder { color: #5c5446; }
.hint { font-size: 12px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; font-size: 14px; }
.check input { appearance: none; width: 38px; height: 22px; background: var(--line-2); position: relative; cursor: pointer; transition: background .15s; flex-shrink: 0; }
.check input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; background: var(--text); transition: transform .15s; }
.check input:checked { background: var(--green); }
.check input:checked::after { transform: translateX(16px); background: #140d00; }

/* Toast */
.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: grid; gap: 10px; }
.toast {
  background: var(--panel-2); border: 1px solid var(--line-2); border-left: 3px solid var(--green);
  padding: 12px 16px; font-size: 14px; display: flex; gap: 10px; align-items: center; min-width: 240px;
  animation: toastIn .2s ease-out;
}
.toast.err { border-left-color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* Skeleton */
.skel { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { to { background-position: -200% 0; } }
