/* ==========================================================================
   Bileşenler: buton, rozet, kart, paket kartı, form, uyarı, tablo, modal…
   ========================================================================== */

/* ---------------------------------------------------------------- butonlar
   Kesik köşe (chamfer) ::before katmanında çizilir; böylece drop-shadow
   parlaması da kesik köşeyi takip eder. */

.btn {
  --cut: 11px;
  --btn-fill: var(--surface-3);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: transform .25s var(--ease-out), filter .3s var(--ease), color .2s var(--ease);
}
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: opacity .25s var(--ease), background-color .25s var(--ease);
}
.btn::before { background: var(--btn-fill); }
.btn::after { opacity: 0; }
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn:focus-visible { outline-offset: 4px; }
.btn[disabled],
.btn.is-disabled { opacity: .5; pointer-events: none; }

/* Metalik gold — ana eylem */
.btn--gold {
  color: var(--on-gold);
  filter: drop-shadow(0 8px 22px rgba(var(--gold-rgb), calc(.28 * var(--glow))));
}
.btn--gold::before { background: var(--metal-gold-btn); }
/* Üzerine gelince parlak ışık geçişi */
.btn--gold::after {
  opacity: 1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 46%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 130% 0;
  transition: background-position .8s var(--ease-out);
  pointer-events: none;
}
.btn--gold:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 28px rgba(var(--gold-rgb), calc(.5 * var(--glow))));
}
.btn--gold:hover::after { background-position: -30% 0; }
/* Hero ana butonu: aralıklı kendiliğinden geçen ışık */
.btn--shine::after { animation: btn-shine 6.5s var(--ease) 2.2s infinite; }
.btn--shine:hover::after { animation: none; }
@keyframes btn-shine {
  0%, 72% { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}

/* Gold çerçeveli cam buton */
.btn--ghost { color: var(--text); }
.btn--ghost::before { background: linear-gradient(135deg, rgba(var(--gold-rgb), .85), rgba(var(--gold-rgb), .2) 45%, rgba(var(--gold-rgb), .7)); }
.btn--ghost::after {
  inset: 1px;
  opacity: 1;
  background: var(--bg-2);
  clip-path: polygon(calc(var(--cut) - .4px) 0, 100% 0, 100% calc(100% - var(--cut) + .4px), calc(100% - var(--cut) + .4px) 100%, 0 100%, 0 calc(var(--cut) - .4px));
}
.btn--ghost:hover { color: var(--gold-text); transform: translateY(-2px); }
.btn--ghost:hover::after { background: color-mix(in srgb, var(--bg-2) 88%, var(--gold)); }

.btn--plain::before { background: var(--surface-3); }
.btn--plain:hover::before { background: color-mix(in srgb, var(--surface-3) 85%, var(--gold)); }

.btn--danger { color: #fff; }
.btn--danger::before { background: linear-gradient(170deg, #FF7A6E, #D8382B); }
.btn--danger:hover { transform: translateY(-1px); filter: drop-shadow(0 8px 20px rgba(216, 56, 43, .35)); }

.btn--sm { --cut: 8px; min-height: 38px; padding: 0 15px; font-size: 13.5px; gap: 8px; }
.btn--sm .icon { width: 16px; height: 16px; }
.btn--lg { --cut: 14px; min-height: 56px; padding: 0 30px; font-size: 16.5px; }
.btn--block { width: 100%; }

.link {
  color: var(--gold-text);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-underline-offset: 4px;
}
.link:hover { text-decoration: underline; }
.link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease-out); }
.link:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- çipler ve rozetler */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}
.chip .icon { color: var(--gold-text); width: 17px; height: 17px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
  white-space: nowrap;
  background: var(--surface-3);
  color: var(--text-2);
}
.badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--gold { background: rgba(var(--gold-rgb), .13); color: var(--gold-text); }
.badge--plain::before { display: none; }

/* ---------------------------------------------------------------- kartlar */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.4vw, 28px);
}
.card--glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 18px;
}

/* Hareketli gold kenarlık (popüler paket ve hover) */
@property --border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.gold-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--border-angle), rgba(var(--gold-rgb), .08) 0deg, rgba(var(--gold-rgb), .08) 200deg, var(--gold-bright) 260deg, var(--gold) 300deg, rgba(var(--gold-rgb), .08) 340deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
  animation: border-spin 7s linear infinite;
  animation-play-state: paused;
}
.gold-border:hover::before,
.gold-border.is-lit::before { opacity: 1; animation-play-state: running; }
@keyframes border-spin { to { --border-angle: 360deg; } }

/* ---------------------------------------------------------------- paket kartı */

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(var(--gold-rgb), .07), transparent 55%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .3s var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow), 0 0 40px -18px rgba(var(--gold-rgb), calc(.7 * var(--glow)));
}
.plan--popular {
  border-color: transparent;
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(var(--gold-rgb), .16), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 0 50px -24px rgba(var(--gold-rgb), calc(.8 * var(--glow)));
}

.plan__ribbon {
  --cut: 7px;
  position: absolute;
  top: -13px;
  right: 22px;
  padding: 6px 12px 7px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--on-gold);
  background: var(--metal-gold-btn);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  filter: drop-shadow(0 4px 12px rgba(var(--gold-rgb), .35));
}

.plan__head { margin-bottom: 18px; padding-right: 8px; }
.plan__name { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.plan__name a:hover { color: var(--gold-text); }
.plan__desc { margin: 0; font-size: 14px; color: var(--muted); min-height: 2.8em; }

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 6px;
  padding: 16px 0 18px;
  margin-bottom: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan__old {
  width: 100%;
  font-size: 14px;
  color: var(--muted);
}
.plan__old del { text-decoration-color: var(--danger); }
.plan__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -.02em;
  background: var(--metal-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.plan__amount sup {
  font-size: .45em;
  vertical-align: .9em;
  margin-left: 1px;
  letter-spacing: 0;
}
.plan__per { font-size: 14px; color: var(--muted); }
.plan__tax { font-size: 12px; color: var(--muted); margin-left: auto; }

.plan__specs { list-style: none; display: grid; gap: 2px; margin-bottom: 16px; }
.plan__specs li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.plan__specs li:last-child { border-bottom: 0; }
.plan__specs .icon { color: var(--gold-text); width: 18px; height: 18px; }
.plan__specs strong { font-weight: 600; color: var(--text); }
.plan__specs span { font-size: 12.5px; color: var(--muted); }

.plan__features { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text-2);
}
.plan__features .icon { color: var(--gold-text); width: 16px; height: 16px; margin-top: 3px; }

.plan__foot { margin-top: auto; display: grid; gap: 12px; }
.plan__more {
  justify-self: center;
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.plan__more:hover { color: var(--gold-text); }
.plan__stock { font-size: 12.5px; color: var(--warning); text-align: center; margin: 0; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding-top: 10px;
}

/* ---------------------------------------------------------------- form */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; align-content: start; }
.field > label,
.field__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}
.field__label small,
.field > label small { font-weight: 400; color: var(--muted); }
.field__help { font-size: 12.5px; color: var(--muted); margin: 0; }
.field__error { font-size: 12.5px; color: var(--danger); margin: 0; }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.input::placeholder,
.textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.input:hover, .select:hover, .textarea:hover { border-color: color-mix(in srgb, var(--line-strong) 50%, var(--gold)); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(var(--gold-rgb), .16);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.input--sm, .select--sm { min-height: 40px; padding-block: 8px; font-size: 14px; }
input[type="color"].input { padding: 4px; height: 48px; cursor: pointer; }

.input-group { position: relative; }
.input-group .input { padding-right: 48px; }
.input-group__btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
}
.input-group__btn:hover { color: var(--gold-text); }

.check {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}
.check input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.check input::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid var(--on-gold);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .2s var(--ease-out);
}
.check input:checked { background: var(--gold); border-color: var(--gold); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }

/* Aç/kapa anahtarı */
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative;
  flex: none;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--surface-3);
  border: 1px solid var(--line-strong);
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .3s var(--ease-out), background-color .25s var(--ease);
}
.switch input:checked + .switch__track { background: rgba(var(--gold-rgb), .25); border-color: var(--gold); }
.switch input:checked + .switch__track::after { transform: translateX(20px); background: var(--gold-bright); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* Ödeme yöntemi seçim kartları */
.choice-list { display: grid; gap: 12px; }
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.choice input { position: absolute; opacity: 0; }
.choice__dot {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
}
.choice__dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform .25s var(--ease-out);
}
.choice strong { display: block; font-size: 15px; }
.choice span { font-size: 13.5px; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(var(--gold-rgb), .07); }
.choice input:checked ~ .choice__dot { border-color: var(--gold); }
.choice input:checked ~ .choice__dot::after { transform: scale(1); }
.choice input:focus-visible ~ .choice__dot { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* Adet seçici */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  overflow: hidden;
}
.qty button {
  width: 38px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  display: grid;
  place-items: center;
}
.qty button:hover { color: var(--gold-text); background: rgba(var(--gold-rgb), .08); }
.qty input {
  width: 42px;
  height: 40px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

/* ---------------------------------------------------------------- uyarılar ve bildirimler */

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 14.5px;
  color: var(--text-2);
}
.alert .icon { flex: none; margin-top: 2px; }
.alert--success { border-color: color-mix(in srgb, var(--success) 35%, transparent); background: var(--success-bg); }
.alert--success .icon { color: var(--success); }
.alert--error { border-color: color-mix(in srgb, var(--danger) 35%, transparent); background: var(--danger-bg); }
.alert--error .icon { color: var(--danger); }
.alert--warning { border-color: color-mix(in srgb, var(--warning) 35%, transparent); background: var(--warning-bg); }
.alert--warning .icon { color: var(--warning); }
.alert--info { border-color: rgba(var(--gold-rgb), .3); background: rgba(var(--gold-rgb), .07); }
.alert--info .icon { color: var(--gold-text); }
.alert p:last-child { margin-bottom: 0; }

.toasts {
  position: fixed;
  top: calc(var(--header-h) + 28px);
  right: 16px;
  z-index: 120;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: var(--radius);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow);
  font-size: 14.5px;
  animation: toast-in .45s var(--ease-out) both;
}
.toast--error { border-left-color: var(--danger); }
.toast--warning { border-left-color: var(--warning); }
.toast--success { border-left-color: var(--success); }
.toast .icon { flex: none; margin-top: 2px; color: var(--gold-text); }
.toast--error .icon { color: var(--danger); }
.toast--success .icon { color: var(--success); }
.toast--warning .icon { color: var(--warning); }
.toast__text { flex: 1; margin: 0; }
.toast__close {
  flex: none;
  border: 0;
  background: none;
  color: var(--muted);
  padding: 2px;
  display: grid;
  place-items: center;
}
.toast__close:hover { color: var(--text); }
.toast.is-leaving { animation: toast-out .35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(24px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(24px); } }

/* ---------------------------------------------------------------- tablolar */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.table { font-size: 14.5px; }
.table th,
.table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.table th {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
  background: var(--surface-2);
  white-space: nowrap;
}
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background-color .15s var(--ease); }
.table tbody tr:hover { background: rgba(var(--gold-rgb), .035); }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table a:not(.btn) { color: var(--text); font-weight: 600; }
.table a:not(.btn):hover { color: var(--gold-text); }

/* ---------------------------------------------------------------- akordeon (SSS) */

.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.faq-item[open] { border-color: rgba(var(--gold-rgb), .35); background: color-mix(in srgb, var(--surface) 92%, var(--gold)); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-item__icon {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.6px;
  background: var(--gold-text);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__body { padding: 0 20px 20px; color: var(--text-2); font-size: 15px; }
.faq-item__body p:last-child { margin: 0; }
.faq-item[open] .faq-item__body { animation: faq-open .35s var(--ease-out); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------------------------------------------------------------- modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 16px;
}
.modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  animation: modal-in .35s var(--ease-out);
}
.modal__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--danger-bg);
  color: var(--danger);
  margin-bottom: 16px;
}
.modal__icon .icon { width: 22px; height: 22px; }
.modal h2 { font-size: 21px; margin-bottom: 8px; }
.modal p { color: var(--text-2); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ---------------------------------------------------------------- diğer */

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 24px;
  list-style: none;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-2);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold-text); }
.pagination .is-current { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }

.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(36px, 5vw, 64px) 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(var(--gold-rgb), .1);
  color: var(--gold-text);
}
.empty__icon .icon { width: 28px; height: 28px; }
.empty h2, .empty h3 { font-size: 20px; }
.empty p { margin: 0; max-width: 46ch; color: var(--muted); }

.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.steps li { display: inline-flex; align-items: center; gap: 9px; }
.steps li + li::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--line-strong);
  margin-right: 1px;
}
.steps b {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  border: 1px solid var(--line-strong);
}
.steps .is-done b { background: rgba(var(--gold-rgb), .15); border-color: rgba(var(--gold-rgb), .4); color: var(--gold-text); }
.steps .is-current { color: var(--text); font-weight: 600; }
.steps .is-current b { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

.copy-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .03em;
  word-break: break-all;
}

.kv { display: grid; gap: 0; }
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 500; }

.summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: 6px;
  border-top: 1px solid var(--line-strong);
}
.summary-total span { font-weight: 600; }
.summary-total strong {
  font-family: var(--font-display);
  font-size: 28px;
  background: var(--metal-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.prose { color: var(--text-2); font-size: 16.5px; line-height: 1.75; max-width: 72ch; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; color: var(--text); }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; color: var(--text); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--gold-text); }
.prose strong { color: var(--text); }
.prose a { color: var(--gold-text); text-decoration: underline; text-underline-offset: 3px; }
