/* ==========================================================================
   Paketler — /paketler ve /paket/{adres}
   app/Views/shop/bundles.php, app/Views/shop/bundle.php, assets/js/bundle.js
   ========================================================================== */

.bnd { --bnd-card: var(--surface); --bnd-line: var(--line-card); }
.bnd-flip { transform: scaleX(-1); }

.bnd__preview {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 16px; padding: 10px 14px; border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--warn) 60%, transparent);
  background: color-mix(in srgb, var(--warn) 10%, transparent);
  font-size: 13.5px; font-weight: 700; color: var(--text-2);
}

/* Ortak kart kabuğu */
.bndtop, .bndstrip, .bndpanel, .bndsum {
  border: 1px solid var(--bnd-line);
  background: var(--bnd-card);
  border-radius: 22px;
}

/* --- 1. Başlık + adımlar --- */
.bndtop {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap;
  margin: 6px 0 14px;
  padding: clamp(20px, 3.2vw, 32px);
  overflow: hidden;
  background:
    radial-gradient(90% 160% at 0% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 55%),
    radial-gradient(70% 140% at 100% 0%, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 60%),
    var(--bnd-card);
}
.bndtop__text { min-width: 0; flex: 1 1 420px; }
.bndtop__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.bndtop__no {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 20px; padding: 0 6px;
  border-radius: 7px; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 10.5px; letter-spacing: 0;
}
.bndtop__title { margin: 10px 0 0; font-size: clamp(28px, 4.6vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: var(--text-strong); }
.bndtop__lead { margin: 10px 0 0; max-width: 640px; font-size: 14.5px; line-height: 1.6; color: var(--text-3); }

.bndsteps { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bndsteps__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap;
}
.bndsteps__item + .bndsteps__item::before {
  content: ""; width: 6px; height: 6px; margin: 0 6px 0 2px;
  border-top: 1.5px solid var(--line-strong); border-right: 1.5px solid var(--line-strong); transform: rotate(45deg);
}
.bndsteps__no {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 8px;
  border: 1px solid var(--line-mid); background: var(--surface-3); font-size: 12px; font-weight: 800; color: var(--text-3);
  transition: background-color .2s, color .2s, border-color .2s;
}
.bndsteps__item.is-current { color: var(--text-strong); }
.bndsteps__item.is-current .bndsteps__no { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--text-strong); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.bndsteps__item.is-done { color: var(--text-2); }
.bndsteps__item.is-done .bndsteps__no { border-color: transparent; background: var(--grad-accent); color: var(--on-accent); }

/* --- 2. Bilgi şeridi --- */
.bndstrip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px;
  margin-bottom: 16px; padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, var(--bnd-card)), var(--bnd-card) 60%);
}
.bndstrip__lead { display: flex; align-items: center; gap: 8px; margin: 0; margin-right: auto; font-size: 13px; color: var(--text-3); }
.bndstrip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.bndstrip__label { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-right: 6px; }
.bndstrip__lead strong { font-size: 16px; font-weight: 800; color: var(--text-strong); }
.bndstrip__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bndstrip__btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 12px;
  border: 1px solid var(--line-mid); background: var(--surface-3); font: inherit; font-size: 13px; font-weight: 700; color: var(--text-2);
  cursor: pointer; transition: border-color .2s, color .2s;
}
.bndstrip__btn[hidden] { display: none; }
a.bndstrip__btn:hover, .bndstrip__btn:hover { border-color: var(--accent); color: var(--text-strong); }
.bndstrip__btn > .icon, .bndstrip__i {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent);
}
.bndstrip__btn > .icon { padding: 4px; box-sizing: border-box; }
.bndstrip__i { font-size: 12px; font-weight: 800; font-style: normal; }
.bndstrip__note { flex: 1 1 260px; margin: 0; font-size: 13px; font-weight: 600; color: var(--text-3); text-align: right; }

/* --- Yerleşim --- */
.bnd__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }

/* --- 3. Ürün paneli --- */
.bndpanel { padding: 18px; min-width: 0; }
.bndpanel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.bndpanel__title { margin: 0; font-size: 18px; font-weight: 800; color: var(--text-strong); }
.bndpanel__sub { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }

.bndsearch {
  display: flex; align-items: center; gap: 8px; width: min(280px, 100%); height: 42px; padding: 0 14px;
  border-radius: 13px; border: 1px solid var(--line-mid); background: var(--surface-3); color: var(--icon-muted);
  transition: border-color .2s, box-shadow .2s;
}
.bndsearch[hidden] { display: none; }
.bndsearch:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.bndsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 14px; color: var(--text-strong); }
.bndsearch input::placeholder { color: var(--muted); }

.bndchips { display: flex; gap: 6px; overflow-x: auto; margin: -4px 0 14px; padding-bottom: 2px; scrollbar-width: thin; }
.bndchips[hidden] { display: none; }
.bndchip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: var(--surface-2); font: inherit; font-size: 13px; font-weight: 700;
  color: var(--text-2); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.bndchip span { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bndchip:hover { border-color: var(--accent); }
.bndchip.is-active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text-strong); }
.bndchip:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

.bnd__error {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--text-strong); font-size: 13.5px; font-weight: 700;
}
.bnd__error .icon { color: var(--danger); }

/* Kaydırma alanı: masaüstünde panel kendi içinde kayar (özet yanında kalır) */
.bndpanel__scroll { margin: 0 -6px; padding: 4px 6px 6px; }
@media (min-width: 1024px) {
  .bndpanel__scroll {
    max-height: max(560px, calc(100vh - 150px));
    overflow-y: auto; overscroll-behavior: contain;
    scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--accent) 55%, transparent) transparent;
  }
  .bndpanel__scroll::-webkit-scrollbar { width: 6px; }
  .bndpanel__scroll::-webkit-scrollbar-thumb { border-radius: 99px; background: color-mix(in srgb, var(--accent) 55%, transparent); }
}

/* --- Ürün kartları (afiş) --- */
.bndgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bndcard {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface-2);
  overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s, opacity .2s;
}
.bndcard[hidden] { display: none; }
.bndcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-soft)); transform: translateY(-2px); }
.bndcard__check, .bndcard > .bndcard__num { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.bndcard__media { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--surface-4); cursor: pointer; overflow: hidden; }
.bndcard__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .2s; }
.bndcard:hover .bndcard__media img { transform: scale(1.04); }
.bndcard__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent); pointer-events: none; }

.bndcard__tick {
  position: absolute; top: 8px; right: 8px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .75); background: rgba(10, 10, 14, .35); color: transparent;
  backdrop-filter: blur(4px); transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.bndcard__flag {
  position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 3px 8px; border-radius: 999px;
  background: rgba(10, 10, 14, .78); font-size: 11px; font-weight: 800; color: #fff;
}

.bndcard__body { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 10px 10px 10px; }
.bndcard__name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em; font-size: 13px; font-weight: 800; line-height: 1.3; color: var(--text-strong);
}
.bndcard__brand { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bndcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.bndcard__price { font-size: 13.5px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }

.bndcard__pick {
  display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line-mid); background: var(--surface-4);
  font-size: 12px; font-weight: 800; color: var(--text-2); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bndcard__pick > span { display: inline-flex; align-items: center; gap: 5px; }
.bndcard__pick-off { display: none !important; }
.bndcard__pick:hover { border-color: var(--accent); color: var(--text-strong); }

/* Seçili */
.bndcard.is-picked, .bndcard:has(.bndcard__check:checked) {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 30px -18px color-mix(in srgb, var(--accent) 80%, transparent);
  background: color-mix(in srgb, var(--accent) 9%, var(--surface-2));
}
.bndcard__check:checked ~ .bndcard__media .bndcard__tick,
.bndcard.is-picked .bndcard__tick { border-color: transparent; background: var(--grad-accent); color: var(--on-accent); transform: scale(1.08); }
.bndcard__check:checked ~ .bndcard__body .bndcard__pick { border-color: transparent; background: var(--grad-accent); color: var(--on-accent); }
.bndcard__check:checked ~ .bndcard__body .bndcard__pick-on { display: none !important; }
.bndcard__check:checked ~ .bndcard__body .bndcard__pick-off { display: inline-flex !important; }

/* Klavye odağı: gizli kutu odaklanınca kart halkası */
.bndcard:has(.bndcard__check:focus-visible) { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

/* Kilitli (hedefe ulaşıldı) ve stokta yok */
.bndcard.is-locked, .bndcard.is-out { opacity: .45; }
.bndcard.is-locked:hover, .bndcard.is-out:hover { transform: none; border-color: var(--line-soft); }
.bndcard.is-locked .bndcard__media, .bndcard.is-out .bndcard__media, .bndcard.is-locked .bndcard__pick, .bndcard.is-out .bndcard__pick { cursor: not-allowed; }
.bndcard.is-out .bndcard__media img { filter: grayscale(1); }
.bndcard.is-out .bndcard__pick { visibility: hidden; }

/* Tekrar açık: kartta -/+ */
.bndcard__qty { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 10px; border: 1px solid var(--line-mid); background: var(--surface-4); }
.bndcard__qty .bndcard__num {
  width: 26px; height: 26px; border: 0; background: none; text-align: center; padding: 0;
  font: inherit; font-size: 13px; font-weight: 800; color: var(--text-strong);
  -moz-appearance: textfield; appearance: textfield;
}
.bndcard__qty .bndcard__num::-webkit-inner-spin-button, .bndcard__qty .bndcard__num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bndcard__step {
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px;
  border: 0; background: transparent; color: var(--text-2); cursor: pointer; transition: background-color .15s, color .15s;
}
.bndcard__step:hover:not(:disabled) { background: var(--accent); color: var(--on-accent); }
.bndcard__step:disabled { opacity: .35; cursor: not-allowed; }
.bndcard__step:focus-visible, .bndcard__qty .bndcard__num:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent); }

.bnd__empty { padding: 30px 10px; text-align: center; color: var(--muted); }

/* --- 4. Özet --- */
.bndsum { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.bndsum__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bndsum__name { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--text-strong); scroll-margin-top: 16px; outline: 0; }
.bndsum__pricebox { display: flex; flex-direction: column; align-items: flex-end; flex: 0 0 auto; text-align: right; }
.bndsum__eyebrow { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bndsum__price { font-size: 26px; font-weight: 800; line-height: 1.15; color: var(--text-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }

.bndsum__sel { padding-top: 14px; border-top: 1px solid var(--line-soft); }
.bndsum__selhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.bndsum__h3 { margin: 2px 0 0; font-size: 16px; font-weight: 800; color: var(--text-strong); }
.bndsum__badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line-mid); font-size: 12.5px; font-weight: 800; color: var(--text-2); font-variant-numeric: tabular-nums;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bndsum__badge.is-done { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--text-strong); }
.bndsum__bar { height: 4px; margin: 12px 0; border-radius: 999px; background: var(--surface-4); overflow: hidden; }
.bndsum__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--grad-accent); transition: width .35s ease; }

.bndslots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 8px; list-style: none; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface-2); }
.bndslot { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 12px; }
.bndslot__ph {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; border-radius: 12px;
  border: 1.5px dashed var(--line-mid); font-size: 18px; font-weight: 800; color: var(--muted);
}
.bndslot.is-filled { border: 1px solid var(--line-mid); background: var(--surface-3); overflow: hidden; animation: bnd-in .22s ease-out; }
.bndslot.is-filled img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: cover; background: var(--surface-4); }
.bndslot__name { padding: 6px 6px 7px; font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bndslot__remove {
  position: absolute; top: 5px; right: 5px;
  display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%;
  border: 0; background: rgba(10, 10, 14, .78); color: #fff; cursor: pointer; transition: background-color .15s;
}
.bndslot__remove:hover { background: var(--danger); }
.bndslot__remove:focus-visible { outline: none; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
@keyframes bnd-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.bndfields { display: flex; flex-direction: column; gap: 10px; }
.bndfields:not(:has(.bndfields__set:not([hidden]))) { display: none; }
.bndfields__set { margin: 0; padding: 12px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface-2); }
.bndfields__set[hidden] { display: none; }
.bndfields__set legend { padding: 0 4px; font-size: 12.5px; font-weight: 800; color: var(--text-2); }
.bndfield { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.bndfield label { font-size: 12.5px; font-weight: 700; color: var(--text-3); }
.bndfield input {
  height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-mid); background: var(--surface-3);
  font: inherit; font-size: 14px; color: var(--text-strong); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.bndfield input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.bndfield.is-error input { border-color: var(--danger); }
.bndfield__error { margin: 0; font-size: 12px; color: var(--danger); }

/* Değer / avantaj / ödenecek */
.bndcalc { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 12px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface-2); }
.bndcalc__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px; }
.bndcalc__row[hidden] { display: none; }
.bndcalc dt { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; font-size: 13.5px; font-weight: 700; color: var(--text-3); }
.bndcalc dd { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--text-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bndcalc__row--save {
  padding: 10px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent);
  background: color-mix(in srgb, var(--ok) 9%, transparent);
}
.bndcalc__row--save dt { color: var(--text-strong); }
.bndcalc__row--save dd { color: var(--mb-live-ink, var(--ok)); }
.bndcalc__pct {
  display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 12%, transparent);
  font-size: 11px; font-weight: 800; color: var(--mb-live-ink, var(--ok));
}
.bndcalc__row--total { padding-top: 10px; border-top: 1px solid var(--line-soft); }
.bndcalc__row--total dt { font-size: 14px; color: var(--text-2); }
.bndcalc__row--total dd {
  font-size: 26px; line-height: 1.1;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.bndsum__state {
  margin: 0; padding: 9px 12px; border-radius: 12px; text-align: center;
  border: 1px solid var(--line-soft); background: var(--surface-2);
  font-size: 12.5px; font-weight: 800; color: var(--text-3);
  transition: background-color .2s, color .2s, border-color .2s;
}
.bndsum__state.is-done { border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--mb-live-ink, var(--ok)); }
.bndsum__state.is-warn { border-color: color-mix(in srgb, var(--danger) 45%, transparent); background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--text-strong); }

.bndbuy { display: flex; align-items: stretch; gap: 10px; padding: 10px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface-2); }
.bndqty { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 3px; border-radius: 13px; border: 1px solid var(--line-mid); background: var(--surface-3); }
.bndqty__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 40px; border-radius: 10px;
  border: 0; background: transparent; color: var(--text-2); cursor: pointer;
}
.bndqty__btn:hover { background: var(--surface-5); color: var(--text-strong); }
.bndqty__input {
  width: 34px; height: 40px; border: 0; background: none; padding: 0; text-align: center;
  font: inherit; font-size: 15px; font-weight: 800; color: var(--text-strong); -moz-appearance: textfield; appearance: textfield;
}
.bndqty__input::-webkit-inner-spin-button, .bndqty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bndqty__btn:focus-visible, .bndqty__input:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent); }

.bndsum__btn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 1; min-width: 0;
  height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-mid);
  background: var(--surface-4); font: inherit; font-size: 14.5px; font-weight: 800; color: var(--text-2);
  cursor: pointer; transition: transform .2s, filter .2s, background-color .2s, color .2s, box-shadow .2s;
}
.bndsum__btn.is-ready, a.bndsum__btn.is-ready:hover {
  border-color: transparent; background: var(--grad-accent); color: var(--on-accent);
  box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--accent) 90%, transparent);
}
.bndsum__btn.is-ready:hover { transform: translateY(-1px); filter: brightness(1.08); }
.bndsum__btn.is-busy { opacity: .75; pointer-events: none; }
.bndsum__btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }


/* --- Paket bilgisi penceresi --- */
.bnddlg {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 22px; overflow-y: auto;
  border: 1px solid var(--line-mid); border-radius: 22px; background: var(--bg-elev); color: var(--text);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.bnddlg::backdrop { background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.bnddlg[open] { animation: bnd-dlg .2s ease-out; }
@keyframes bnd-dlg { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.bnddlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bnddlg__title { margin: 0; font-size: 20px; font-weight: 800; color: var(--text-strong); }
.bnddlg__close {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px;
  border: 1px solid var(--line-mid); background: var(--surface-3); color: var(--text-2); cursor: pointer;
}
.bnddlg__close:hover { border-color: var(--accent); color: var(--text-strong); }
.bnddlg__close:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg-elev), 0 0 0 4px var(--accent); }
.bnddlg__lead { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-3); }
.bnddlg__facts { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.bnddlg__facts li { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.bnddlg__facts .icon { flex: 0 0 auto; margin-top: 2px; color: var(--accent); }
.bnddlg__facts strong { color: var(--text-strong); }
.bnddlg__desc { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.7; color: var(--text-3); }

/* Mobil alt çubuk */
.bndbar { display: none; }

/* --- Liste sayfası --- */
.bndbadge {
  box-sizing: border-box;
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px 0 10px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  /* Açık temada koyulaşır, koyu temada açılır: iki temada da okunur */
  color: color-mix(in srgb, var(--accent) 72%, var(--text-strong));
}
.bndlisthead { margin: 6px 0 20px; }
.bndlisthead__title { margin: 12px 0 0; font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; color: var(--text-strong); }
.bndlisthead__lead { margin: 8px 0 0; max-width: 620px; font-size: 14.5px; line-height: 1.6; color: var(--text-3); }


.bndnone {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  max-width: 640px; margin: 8px auto clamp(32px, 5vw, 64px); padding: clamp(32px, 6vw, 56px) clamp(18px, 5vw, 48px);
  border-radius: 24px; border: 1px solid var(--line-card); background: var(--surface);
  text-align: center;
}
.bndnone__glow {
  position: absolute; inset: -40% -20% auto; height: 80%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
  filter: blur(30px);
}
.bndnone__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 24px;
  background: var(--grad-accent); color: var(--on-accent);
  box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--accent) 80%, transparent);
}
.bndnone__ring {
  position: absolute; inset: -8px; border-radius: 30px; border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent);
  animation: bndnone-spin 18s linear infinite;
}
@keyframes bndnone-spin { to { transform: rotate(360deg); } }
.bndnone__title { position: relative; margin: 22px 0 0; font-size: clamp(20px, 3vw, 24px); font-weight: 800; color: var(--text-strong); text-wrap: balance; }
.bndnone__text { position: relative; max-width: 420px; margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-3); text-wrap: pretty; }
.bndnone__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.bndnone__btn {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 170px; height: 46px; padding: 0 18px; border-radius: 14px;
  border: 1px solid var(--line-mid); background: var(--surface-3);
  font-size: 14px; font-weight: 800; color: var(--text-2);
  transition: transform .2s, border-color .2s, color .2s, filter .2s;
}
a.bndnone__btn:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--text-strong); }
.bndnone__btn--primary, a.bndnone__btn--primary:hover { border-color: transparent; background: var(--grad-accent); color: var(--on-accent); }
a.bndnone__btn--primary:hover { filter: brightness(1.08); }
.bndnone__btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
@media (max-width: 480px) {
  .bndnone__actions { flex-direction: column; align-self: stretch; }
  .bndnone__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bndnone__ring { animation: none; }
  .bndnone__btn { transition: none; }
}

/* --- Tablet --- */
@media (max-width: 1180px) {
  .bnd__layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .bndgrid { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
}

/* --- Tek sütun --- */
@media (max-width: 899px) {
  .bnd__layout { grid-template-columns: minmax(0, 1fr); }
  .bndsum { position: static; }
  .bndstrip__note { text-align: left; }
  .bndsteps { width: 100%; }

  /* Özet ekranda değilken altta sabit çubuk (mobil menünün üstünde) */
  .bnd.is-enhanced .bndbar {
    position: fixed; left: 12px; right: 12px; z-index: 44;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 8px 8px 8px 16px; border-radius: 18px; border: 1px solid var(--line-mid);
    background: var(--overlay-bg, var(--bg-elev)); backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
    transition: opacity .2s, transform .2s;
  }
  .bnd.is-enhanced.is-summary-visible .bndbar { opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; }
  .bndbar[hidden] { display: none !important; }
  .bndbar__info { display: flex; align-items: baseline; gap: 10px; color: var(--text-strong); }
  .bndbar__count { font-size: 13px; font-weight: 800; color: var(--text-3); font-variant-numeric: tabular-nums; }
  .bndbar__info strong { font-size: 17px; }
  .bndbar__btn { height: 42px; padding: 0 16px; border-radius: 13px; border: 0; background: var(--grad-accent); color: var(--on-accent); font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
  .bndbar__btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
  .bnd.is-enhanced { padding-bottom: 170px; }

}
/* 720–899: mobil menü yok ama canlı destek düğmesi sağ altta; çubuk onun üstünde (96px) kalır */

/* --- Telefon --- */
@media (max-width: 560px) {
  .bndtop { border-radius: 20px; }
  .bndsteps { justify-content: space-between; gap: 2px; }
  .bndsteps__item { font-size: 12px; gap: 5px; }
  .bndsteps__item + .bndsteps__item::before { margin: 0 3px 0 0; }
  .bndstrip { border-radius: 16px; }
  .bndstrip__actions { width: 100%; }
  .bndstrip__btn { flex: 1; justify-content: center; }
  .bndpanel, .bndsum { padding: 14px; border-radius: 18px; }
  .bndsearch { width: 100%; }
  .bndgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bndsum__price { font-size: 22px; }
  .bndcalc__row--total dd { font-size: 22px; }
}
@media (max-width: 359px) {
  .bndcard__foot { flex-direction: column; align-items: stretch; }
  .bndcard__pick { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .bndcard, .bndcard__media img, .bndsum__bar span, .bndslot.is-filled, .bndbar, .bnddlg[open] { transition: none; animation: none; }
  .bndcard:hover, .bndcard:hover .bndcard__media img { transform: none; }
}
