/* site.css belirteçleri ve value-in / icon-drop hareketleri kullanılır. */
.fis { min-width: 0; color: var(--ink); font-size: calc(16 * var(--u)); font-variant-numeric: tabular-nums; }
.fis__card { padding: calc(24 * var(--u)); border: calc(1 * var(--u)) solid var(--line-mid); border-radius: calc(14 * var(--u)); background: var(--ground); }
.fis__title { margin: 0 0 calc(18 * var(--u)); font-size: calc(23 * var(--u)); }
.fis__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(6 * var(--u)); margin: 0 0 calc(22 * var(--u)); padding: 0; list-style: none; font-size: max(12px, calc(13 * var(--u))); line-height: 1.3; color: var(--ink-3); }
.fis__steps li { min-width: 0; padding-top: calc(8 * var(--u)); border-top: max(2px, calc(2 * var(--u))) solid var(--line-soft); overflow-wrap: anywhere; }
.fis__steps li > span:first-child { display: block; }
.fis__steps .is-done { border-top-color: var(--ink); color: var(--ink); font-weight: 600; }
.fis__icon { display: inline-block; width: max(14px, calc(18 * var(--u))); height: max(14px, calc(18 * var(--u))); vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fis__steps .fis__icon { display: none; margin-left: max(6px, calc(6 * var(--u))); }
.fis__steps .is-done .fis__icon { display: inline-block; }
.fis__steps .is-added .fis__icon { animation: icon-drop .5s var(--ease-out); }
.fis__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: calc(12 * var(--u)); margin-bottom: calc(22 * var(--u)); }
.fis__field:first-child { grid-column: 1 / -1; }
.fis__field { min-width: 0; font-size: calc(15 * var(--u)); }
.fis__field > span { position: relative; display: block; margin-top: calc(4 * var(--u)); }
.fis__field select { appearance: none; width: 100%; min-height: 44px; height: calc(46 * var(--u)); padding: 0 calc(32 * var(--u)) 0 calc(12 * var(--u)); border: calc(1.5 * var(--u)) solid var(--line); border-radius: calc(8 * var(--u)); background: var(--ground); }
.fis__field .fis__icon { position: absolute; right: calc(10 * var(--u)); top: 50%; transform: translateY(-50%); pointer-events: none; }
.fis__rows { margin: 0; }
.fis__rows > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: calc(12 * var(--u)); padding: calc(16 * var(--u)) 0; border-top: calc(1 * var(--u)) solid var(--line-soft); }
.fis__rows dt, .fis__rows dd { margin: 0; min-width: 0; }
.fis__rows dt small { display: block; margin-top: calc(4 * var(--u)); color: var(--ink-3); font-size: calc(13 * var(--u)); overflow-wrap: anywhere; }
.fis__rows dd { text-align: right; }
.fis__amount { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: calc(4 * var(--u)); }
.fis__amount b { display: inline-block; white-space: nowrap; font-weight: 600; }
.fis__amount small { color: var(--ink-3); font-size: calc(13 * var(--u)); }
.fis__amount .is-updating { animation: value-in .42s var(--ease-out); }
.fis__rows > .fis__total { grid-template-columns: minmax(0, 1fr); gap: calc(4 * var(--u)); align-items: baseline; border-color: var(--line-mid); font-size: calc(20 * var(--u)); font-weight: 600; }
.fis__cta { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 44px; padding: calc(16 * var(--u)); border: 0; border-radius: calc(8 * var(--u)); background: var(--crimson); color: var(--ground); font-weight: 700; cursor: pointer; }
.fis__cta:hover { background: var(--crimson-deep); }
.fis-bar { display: none; }
.fis__live { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1199.98px) {
  .fis { font-size: 15px; }
  .fis__card { padding: 18px; border-width: 1px; border-radius: 14px; }
  .fis__title { margin-bottom: 16px; font-size: 22px; }
  .fis__steps { gap: 8px; margin-bottom: 20px; font-size: 13px; }
  .fis__steps li { padding-top: 8px; }
  .fis__steps .fis__icon { margin-left: 6px; }
  .fis__icon { width: 18px; height: 18px; }
  .fis__fields { gap: 12px; margin-bottom: 20px; }
  .fis__field { font-size: 14px; }
  .fis__field > span { margin-top: 4px; }
  .fis__field select { height: 46px; padding: 0 32px 0 12px; border-width: 1.5px; border-radius: 8px; font-size: 16px; }
  .fis__field .fis__icon { right: 10px; }
  .fis__rows > div { gap: 12px; padding: 14px 0; border-width: 1px; }
  .fis__rows dt small { margin-top: 4px; font-size: 13px; }
  .fis__amount { gap: 4px; }
  .fis__amount small { font-size: 13px; }
  .fis__rows > .fis__total { font-size: 18px; }
  .fis__cta { padding: 16px; border-radius: 8px; }
}
@media (max-width: 767.98px) {
  body.fis-alt-bosluk { --fis-alt-yukseklik: calc(88px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--fis-alt-yukseklik); }
  .fis { position: fixed; inset: auto 0 0; z-index: 30; width: 100%; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ground); border-top: 1px solid var(--line-mid); }
  .fis-bar { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 88px; padding: 12px; font-size: 14px; }
  .fis-bar > span { display: flex; flex-direction: column; min-width: 0; }
  .fis-bar .fis__amount { justify-content: flex-start; }
  .fis-bar b { font-size: 20px; }
  .fis-bar button { display: flex; align-items: center; gap: 8px; min-height: 44px; min-width: 72px; padding: 8px 12px; border: 1px solid var(--line-mid); border-radius: 8px; background: var(--ground); cursor: pointer; }
  .fis-bar > span { flex: 1; }
  .fis-bar button { flex-shrink: 0; }
  .fis-bar__wa { display: flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-mid); border-radius: 8px; color: var(--ink); background: var(--ground); }
  .fis-bar__wa .fis__icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
  .fis-bar button.fis-bar__ekle { justify-content: center; min-width: 108px; padding: 8px; color: var(--ground); background: var(--crimson); border-color: var(--crimson); font-size: 13px; font-weight: 700; white-space: nowrap; }
  .fis-bar button.fis-bar__ekle:hover { background: var(--crimson-deep); }
  .fis-bar [hidden] { display: none; }
  .fis--urun-eylem .fis-bar { font-size: 12px; }
  .fis--urun-eylem .fis-bar b { font-size: 16px; }
  .fis--urun-eylem [data-fis-toggle] { justify-content: center; min-width: 44px; width: 44px; padding: 8px 4px; }
  .fis--urun-eylem [data-fis-toggle] .fis__icon { display: none; }
  .fis--urun-eylem .fis__cta, .fis--urun-eylem .fis__cta:hover { color: var(--ink); background: var(--ground); border: 1px solid var(--line-mid); }
  .fis .fis__card { display: none; max-height: min(65dvh, calc(100dvh - 100px - env(safe-area-inset-bottom, 0px))); overflow-y: auto; overscroll-behavior: contain; border: 0; border-top: 1px solid var(--line-soft); border-radius: 0; }
  .fis--acik .fis__card { display: block; }
  .fis--acik [data-fis-toggle] .fis__icon { transform: rotate(180deg); }
  [data-fis-toggle] .fis__icon { transition: transform .2s var(--ease-out); }
  .fis--aciliyor .fis__card { animation: fis-yaprak .26s var(--ease-out); }
}
@keyframes fis-yaprak { from { opacity: 0; translate: 0 12px; } }
@media (prefers-reduced-motion: reduce) {
  .fis *, .fis *::before, .fis *::after, .fis-bar * { animation: none !important; transition: none !important; }
}
