/* ─────────────────────────────────────────────────────────────
   Pinguru — sepet, ödeme, sipariş ödeme ve sipariş tamamlandı
   Yuvarlak gradyan çerçeveli kart dili (tasarım: KOD_AKTARIM 57).
   ───────────────────────────────────────────────────────────── */

.woo-page { padding-block: 2rem; }
@media (width >= 40rem) { .woo-page { padding-block: 3rem; } }
.woo-page__title { margin: 1rem 0 2rem; }
.woo-page--flow { max-width: 100rem; padding-block: 36px 56px; }
.woo-page__head { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woo-page__title-row { display: flex; align-items: center; gap: 14px; }
.woo-page__h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.woo-page__count { padding: 5px 12px; border-radius: 999px; border: 1px solid rgb(167 139 250 / .35); background: rgb(124 58 237 / .18); font-size: 13px; font-weight: 700; color: var(--lilac); }
.woo-page__back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-light); transition: color .2s; }
.woo-page__back:hover { color: var(--ink); }
.woo-page__back .icon { width: 16px; height: 16px; }
.woo-page__secure { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgb(34 197 94 / .35); background: rgb(34 197 94 / .1); font-size: 13px; font-weight: 600; color: var(--success-pale); }
.woo-page__secure .icon { width: 14px; height: 14px; }
.woo-page--received { padding-block: 2.5rem; }
@media (width >= 40rem) { .woo-page--received { padding-block: 4rem; } }

/* Adım göstergesi: Sepet → Ödeme → Kodların hazır */
.co-steps { margin: 22px 0 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.co-steps__item { display: flex; align-items: center; gap: 10px; }
.co-steps__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--dim); }
.co-steps__dot .icon { width: 16px; height: 16px; }
.co-steps__label { font-size: 14px; font-weight: 600; color: var(--dim); }
.co-steps__item.is-current .co-steps__dot { background: linear-gradient(135deg, #8b5cf6, var(--brand-hover)); box-shadow: 0 0 22px rgb(139 92 246 / .6); color: #fff; }
.co-steps__item.is-current .co-steps__label { font-weight: 700; color: var(--ink); }
.co-steps__item.is-done .co-steps__dot { background: linear-gradient(135deg, var(--success-icon), #15803d); box-shadow: 0 0 14px rgb(34 197 94 / .35); color: #fff; }
.co-steps__item.is-done .co-steps__label { color: var(--ink); }
.co-steps__line { flex: 0 0 clamp(20px, 6vw, 72px); height: 2px; border-radius: 2px; background: var(--line); }
.co-steps__line.is-on { background: linear-gradient(90deg, var(--success-icon), #8b5cf6); }
@media (width < 30rem) {
  .co-steps { gap: 6px; }
  .co-steps__item { gap: 6px; }
  .co-steps__dot { width: 28px; height: 28px; }
  .co-steps__dot .icon { width: 13px; height: 13px; }
  .co-steps__label { font-size: 12px; }
  .co-steps__line { flex-basis: 14px; }
}

/* Ortak kart: tek öğede gradyan kenarlık (border-box gradyan + padding-box dolgu) */
.co-card {
  border: 1px solid transparent; border-radius: 18px; padding: 22px;
  background: linear-gradient(180deg, var(--panel-2), var(--deep)) padding-box, var(--frame-grad) border-box;
}
.co-card--summary { border-radius: 20px; padding: 24px; box-shadow: var(--shadow-card); }
.co-card__title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }

/* Düzen: solda içerik, sağda yapışkan özet */
.cart-layout, .checkout-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.cart-main, .checkout-steps { flex: 999 1 560px; min-width: 0; }
/* WooCommerce'in özet güncellemesinde formun başına bastığı bildirimler tam satır kaplar. */
.checkout-layout > .woocommerce-NoticeGroup { flex: 1 1 100%; }
.checkout-steps { display: flex; flex-direction: column; gap: 16px; }
.cart-aside, .checkout-aside { flex: 1 1 340px; max-width: 420px; }
/* Dar ekranda (<960 px) sipariş özeti tam genişlik. */
@media (width < 60rem) { .cart-aside, .checkout-aside { flex-basis: 100%; max-width: none; } }

/* Dar ekranda tutar + "Ödemeye geç" şeridi (özet ekrandayken gizli; checkout.js). Bildirimler şeridin üstünde açılır. */
.co-dock { display: none; }
@media (width < 60rem) {
  body:has(.co-dock:not([hidden])) { --tabbar-h: calc(72px + env(safe-area-inset-bottom)); }
  .co-dock:not([hidden]) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid rgb(167 139 250 / .35);
    background: rgb(11 17 36 / .96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 -16px 40px -16px rgb(0 0 0 / .9);
  }
}
.co-dock__info { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.co-dock__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.co-dock__total { font-size: 20px; line-height: 1.15; font-weight: 800; }
.co-dock__go { display: inline-flex; height: 48px; align-items: center; gap: 6px; padding-inline: 20px; border-radius: 12px; background: var(--brand-grad); box-shadow: 0 10px 24px -10px rgb(124 58 237 / .9); font-size: 14px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.co-dock__go .icon { width: 18px; height: 18px; }

/* Özet satırları */
.co-sum { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.co-sum > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-sum > div[hidden] { display: none; }
.co-sum dt { color: var(--mute); }
.co-sum dd { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-sum .is-gold dd { color: var(--gold-hover); }
.co-sum .is-azure dd { color: var(--azure-light); }
.co-free { display: inline-block; padding: 2px 10px; border-radius: 999px; background: rgb(34 197 94 / .14); font-size: 12px; font-weight: 700; color: var(--success); }
.co-total { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.co-total span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.co-total strong { font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.co-total__label { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.co-total .co-total__save { padding: 2px 8px; border-radius: 999px; background: linear-gradient(180deg, #fbbf24, #f59e0b); font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--gold-ink); }
.co-cashback { margin-top: 16px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgb(96 165 250 / .3); background: linear-gradient(90deg, rgb(59 130 246 / .2), rgb(59 130 246 / .04)); font-size: 13px; line-height: 1.45; color: #dbeafe; }
.co-cashback__img { width: 38px; height: 38px; flex-shrink: 0; object-fit: contain; }
.co-cashback strong { font-size: 15px; color: var(--azure-pale); }
/* Pinguru Bakiye kullanılan siparişte cashback yok: altın bilgi kutusu. */
.co-cashback.is-off { border-color: rgb(245 158 11 / .38); background: rgb(245 158 11 / .08); color: #fde68a; }
.co-cashback.is-off .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.co-cashback.is-off strong { font-size: 13px; color: var(--gold-hover); }
/* Ödül satırları: cashback, ikinci sipariş bonusu, Hoş Geldin Kasası ve hatırlatmalar. */
.co-rewards { margin-top: 16px; display: grid; gap: 8px; }
.co-rewards .co-cashback { margin-top: 0; }
.co-cashback--gift, .co-cashback--kasa { padding-left: 16px; }
.co-cashback--gift .icon, .co-cashback--kasa .icon { width: 22px; height: 22px; flex-shrink: 0; margin-right: 6px; }
.co-cashback--gift { border-color: rgb(167 139 250 / .35); background: linear-gradient(90deg, rgb(139 92 246 / .22), rgb(139 92 246 / .04)); color: var(--brand-pale); }
.co-cashback--gift .icon, .co-cashback--gift strong { color: var(--brand-light); }
.co-cashback--kasa { border-color: rgb(245 158 11 / .35); background: linear-gradient(90deg, rgb(245 158 11 / .18), rgb(245 158 11 / .04)); color: var(--gold-pale); }
.co-cashback--kasa .icon, .co-cashback--kasa strong { color: var(--gold-hover); }
.co-cashback--kasa em { font-style: normal; font-weight: 700; color: var(--gold-hover); }
.co-reward-hint { display: flex; align-items: center; gap: 10px; padding: 2px 4px; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
.co-reward-hint .icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--brand-light); }
.co-reward-hint strong { color: #fff; }
.co-reward-note { font-size: 11.5px; line-height: 1.4; color: var(--dim); text-align: center; }
.co-pay {
  margin-top: 20px; display: flex; width: 100%; height: 58px; align-items: center; justify-content: center; gap: 10px; border-radius: 14px;
  background: var(--brand-grad); box-shadow: var(--shadow-btn), inset 0 1px 0 rgb(255 255 255 / .18);
  font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; transition: filter .2s;
}
.co-pay:hover { filter: brightness(1.1); color: #fff; }
.co-pay:disabled { cursor: not-allowed; opacity: .6; }
.co-pay .icon { width: 18px; height: 18px; }
.co-hint { margin-top: 10px; text-align: center; font-size: 12px; color: var(--mute); }
.co-trust { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.co-trust li { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--soft); }
.co-trust__img { width: 18px; height: 18px; object-fit: contain; }

/* ── Sepet ─────────────────────────────────────────────────── */
.cart-head { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.cart-head__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.cart-head__clear { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mute); transition: color .2s; }
.cart-head__clear:hover { color: var(--danger); }
.cart-head__clear .icon { width: 15px; height: 15px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px; border: 1px solid transparent; border-radius: 16px;
  background: linear-gradient(180deg, var(--panel-2), var(--deep)) padding-box, var(--frame-grad) border-box;
}
.cart-item__media { display: block; width: 132px; flex-shrink: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; box-shadow: 0 12px 26px -14px rgb(0 0 0 / .9); }
.cart-item__cover { width: 100%; height: 100%; }
.cart-item__info { min-width: 0; flex: 1 1 220px; }
.cart-item__name { font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--ink); transition: color .2s; }
.cart-item__name:hover { color: var(--lilac); }
.cart-item__chips { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip-pack, .chip-del, .chip-save { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.chip-pack { background: rgb(124 58 237 / .16); font-weight: 700; color: var(--lilac); }
.chip-del { background: rgb(59 130 246 / .12); font-weight: 600; color: var(--azure-pale); }
.chip-del .icon { width: 12px; height: 12px; }
.chip-save { background: rgb(245 158 11 / .14); font-weight: 700; color: var(--gold-hover); }
.chip-save[hidden] { display: none; }
.cart-item__side { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cqty { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--deep); }
.cqty button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); transition: background-color .2s; }
.cqty button:hover:not(:disabled) { background: var(--line); }
.cqty button:disabled { opacity: .35; }
.cqty .icon { width: 15px; height: 15px; }
.cqty input { width: 28px; border: 0; background: transparent; text-align: center; font-size: 15px; font-weight: 700; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.cqty input::-webkit-inner-spin-button, .cqty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item__single { padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--line-strong); font-size: 12px; color: var(--mute); }
.cart-item__price { min-width: 104px; text-align: right; }
.cart-item__total { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.cart-item__price s { font-size: 12px; color: var(--dim); }
.cart-item__remove { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--mute); transition: border-color .2s, background-color .2s, color .2s; }
.cart-item__remove:hover { border-color: rgb(248 113 113 / .5); background: rgb(248 113 113 / .1); color: var(--danger); }
.cart-item__remove .icon { width: 15px; height: 15px; }
@media (width < 40rem) { .cart-item__media { width: 104px; } .cart-item__side { width: 100%; justify-content: space-between; } }
.cart-update { margin-top: 1rem; }
/* "Bunları da sevebilirsin": özet ekrana yapışmaz (kullanıcı kararı); bant kapsayıcıdan taşıp ekranın iki kenarına uzanır. */
.cart-more { margin-top: 56px; }
.cart-more__band { width: 100vw; margin-left: calc(50% - 50vw); }


/* ── Ödeme ─────────────────────────────────────────────────── */
.co-head { margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.co-num { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #8b5cf6, var(--brand-hover)); box-shadow: 0 0 18px rgb(139 92 246 / .5); font-size: 14px; font-weight: 800; color: #fff; }
.co-head__title { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.co-head__sub { margin-top: 2px; font-size: 13px; color: var(--mute); }
.co-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgb(15 23 42 / .7); font-size: 14px; color: var(--soft); }
.co-mail__text { flex: 1; min-width: 200px; }
.co-mail strong { color: var(--ink); }
.co-mail a { color: var(--brand-light); }
.co-mail__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgb(124 58 237 / .18); color: var(--lilac); }
.co-mail__ico .icon { width: 17px; height: 17px; }
.co-mail a.co-mail__edit { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(167 139 250 / .45); background: rgb(124 58 237 / .14); font-size: 13px; font-weight: 700; white-space: nowrap; color: #ede9fe; transition: background-color .2s, color .2s; }
.co-mail a.co-mail__edit:hover { background: rgb(124 58 237 / .3); color: #fff; }
.co-topups { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.co-topup { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; border: 1px solid rgb(96 165 250 / .3); background: rgb(59 130 246 / .08); font-size: 14px; }
.co-topup .icon { width: 16px; height: 16px; color: var(--azure-light); }
.co-topup__pack { color: var(--mute); }
.co-topup__id { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: var(--deep); font-weight: 700; letter-spacing: .04em; }
.co-warn { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--gold-hover); }
.co-warn .icon { margin-top: 1px; width: 14px; height: 14px; flex-shrink: 0; }
/* Açılır "Fatura bilgileri" satırı (KOD_AKTARIM 111): kapalıyken ikon + başlık + özet; açılınca Bireysel / Kurumsal. */
.co-billing { margin-top: 10px; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: rgb(15 23 42 / .7); transition: border-color .2s; }
.co-billing[open] { border-color: rgb(167 139 250 / .45); }
.co-billing__head { display: flex; cursor: pointer; list-style: none; align-items: center; gap: 12px; padding: 12px 14px; }
.co-billing__head::-webkit-details-marker { display: none; }
.co-billing__head:focus-visible { outline: 2px solid var(--brand-light); outline-offset: -2px; border-radius: 12px; }
.co-billing__ico { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: rgb(124 58 237 / .18); color: var(--lilac); }
.co-billing__ico .icon { width: 17px; height: 17px; }
.co-billing__body { min-width: 0; flex: 1; }
.co-billing__title { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.co-billing__sum { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--mute); }
.co-billing__chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--mute); transition: transform .2s; }
.co-billing[open] .co-billing__chev { transform: rotate(180deg); }
.co-billing__panel { padding: 2px 14px 14px; }
.co-bill { display: flex; flex-direction: column; gap: 12px; }
.co-bill__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.co-bill__grid .co-bill__wide { grid-column: 1 / -1; }
/* Adres: il ve ilçe yan yana, açık adres tam satır (boş sütun kalmaz). */
@media (width >= 36rem) { .co-bill__addr.co-bill__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co-bill .form-row { margin: 0; display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.co-bill label { font-size: 12px; font-weight: 700; color: var(--soft); }
.co-bill label .required { display: none; }
.co-bill label .optional { font-weight: 500; color: var(--dim); }
.co-bill .woocommerce-input-wrapper { display: block; }
.co-bill .pg-input, .co-bill #billing_state.pg-input { height: 46px; width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--deep); padding: 0 14px; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.co-bill .pg-input:focus, .co-bill #billing_state.pg-input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgb(139 92 246 / .25); outline: none; }
.co-bill #pg_inv_tckn, .co-bill #pg_inv_vkn { letter-spacing: .04em; }
.co-bill .woocommerce-invalid label { color: var(--danger); }
.co-bill .woocommerce-invalid .pg-input { border-color: var(--danger); }
/* Bireysel / Kurumsal: iki düğmeli segment (radyo düğmeleri Pinguru Fatura eklentisinden). */
.co-bill .pg-inv-type { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--deep); }
.co-bill .pg-inv-type__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.co-bill .pg-inv-type__opt span { height: 34px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font-size: 13px; font-weight: 700; color: var(--mute); }
.co-bill .pg-inv-type__opt:hover span { color: var(--ink); }
.co-bill .pg-inv-type__opt input:checked + span { border: 0; background: linear-gradient(90deg, #8b5cf6, #6d28d9); box-shadow: none; color: #fff; }
.co-bill__note { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--mute); }
.co-bill__note .icon { width: 13px; height: 13px; flex-shrink: 0; color: var(--brand-light); }
/* Kayıtlı adresler: varsayılan adres seçili gelir; seçim alanları doldurur (Pinguru Fatura → addresses.js). */
.co-addr { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.co-addr__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-addr__label { font-size: 12px; font-weight: 700; color: var(--soft); }
.co-addr__manage { font-size: 12px; font-weight: 700; color: var(--brand-light); }
.co-addr__manage:hover { color: #fff; }
.co-addr__list { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (width >= 36rem) { .co-addr__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co-bill .co-addr__opt { position: relative; display: block; min-width: 0; cursor: pointer; font-size: inherit; font-weight: inherit; color: inherit; }
.co-addr__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.co-addr__box { display: flex; height: 100%; flex-direction: column; gap: 3px; padding: 10px 12px 10px 38px; border: 1px solid var(--line); border-radius: 12px; background: var(--deep); transition: border-color .2s, background-color .2s; }
.co-addr__box::before { content: ""; position: absolute; left: 13px; top: 13px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); transition: border-color .2s, box-shadow .2s; }
.co-addr__opt:hover .co-addr__box { border-color: var(--line-strong); }
.co-addr__opt input:checked + .co-addr__box { border-color: rgb(167 139 250 / .9); background: linear-gradient(135deg, rgb(124 58 237 / .22), rgb(124 58 237 / .05)); }
.co-addr__opt input:checked + .co-addr__box::before { border-color: #a78bfa; box-shadow: inset 0 0 0 3px var(--deep), inset 0 0 0 8px #8b5cf6; }
.co-addr__opt input:focus-visible + .co-addr__box { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.co-addr__title { display: flex; min-width: 0; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.co-addr__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-addr__def { flex-shrink: 0; padding: 1px 7px; border-radius: 999px; background: rgb(34 197 94 / .14); font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--success); }
.co-addr__plus { display: grid; place-items: center; width: 16px; height: 16px; flex-shrink: 0; border-radius: 5px; background: rgb(124 58 237 / .22); font-size: 13px; line-height: 1; color: var(--lilac); }
.co-addr__line { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; color: var(--mute); }
.co-bill .co-addr__save { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--soft); }
.co-addr[hidden], .co-addr__save[hidden], .co-addr__note[hidden] { display: none; }
.co-addr__save input { width: 16px; height: 16px; accent-color: #8b5cf6; }
.co-addr__note { font-size: 12px; color: var(--mute); }

/* Ödeme yöntemleri: görselli seçim kutuları, seçilenin alanları altta */
.pay-methods { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (width >= 40rem) { .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay-methods > li { display: contents; }
.pay-method {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; cursor: pointer;
  border: 1px solid var(--line); background: rgb(15 23 42 / .6); transition: border-color .2s, box-shadow .2s;
}
.pay-method:hover { border-color: rgb(167 139 250 / .7); }
input:checked + .pay-method { border-color: rgb(167 139 250 / .9); background: linear-gradient(135deg, rgb(124 58 237 / .22), rgb(124 58 237 / .06)); box-shadow: 0 0 0 1px rgb(124 58 237 / .35), 0 12px 30px -16px rgb(124 58 237 / .9); }
input:focus-visible + .pay-method { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.pay-method__img { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
/* Siparişi öde sayfası (form-pay): simge kutusu; tek yöntem varsa tam genişlik (24 Kas 2026). */
.pay-methods:has(> li:only-child) { grid-template-columns: 1fr; }
.pay-method { min-height: 76px; }
.pay-method__tile { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: linear-gradient(145deg, rgb(139 92 246 / .32), rgb(34 211 238 / .12)); color: #ddd6fe; box-shadow: inset 0 0 0 1px rgb(196 181 253 / .3), 0 0 22px -8px rgb(139 92 246 / .9); }
.pay-method__tile .icon { width: 22px; height: 22px; }
.pay-method__body { min-width: 0; flex: 1; }
.pay-method__title { display: block; font-size: 15px; font-weight: 700; }
.pay-method__text { display: block; margin-top: 2px; font-size: 12px; color: var(--mute); }
.pay-method__dot { position: relative; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line-strong); }
input:checked + .pay-method .pay-method__dot { border-color: var(--brand-light); background: rgb(124 58 237 / .25); }
input:checked + .pay-method .pay-method__dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); }
.payment_box { grid-column: 1 / -1; order: 10; margin-top: 8px; }
/* Yöntem açıklaması kutunun içinde zaten yazıyor; form üstünde tekrar gösterilmez. */
.payment_box > p:not([class]) { display: none; }
.pg-test-notice { margin-bottom: 14px; display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgb(245 158 11 / .1); font-size: 13px; color: var(--gold-hover); }
.pay-methods__empty, .pay-methods__free { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgb(96 165 250 / .3); background: linear-gradient(90deg, rgb(59 130 246 / .18), rgb(59 130 246 / .04)); font-size: 14px; color: #dbeafe; }
.pay-methods__free .icon { width: 20px; height: 20px; color: var(--azure-light); }
.pay-methods__topup { display: none; margin-top: 12px; font-size: 12px; color: var(--mute); }
.pay-methods:has(#payment_method_pinguru_wallet:checked) + .pay-methods__topup { display: block; }
.pay-methods__topup a { font-weight: 700; color: var(--brand-light); }

/* Kart formu ve canlı önizleme (Esnekpos) */
.pg-card-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.pg-card-preview {
  position: relative; overflow: hidden; flex: 1 1 260px; max-width: 340px; margin-inline: auto; aspect-ratio: 1.586; border-radius: 18px; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(120% 90% at 100% 0%, rgb(196 181 253 / .35), transparent 55%), linear-gradient(135deg, var(--brand), #3b1d8f 55%, #111a3a);
  box-shadow: 0 26px 50px -22px rgb(124 58 237 / .9), inset 0 1px 0 rgb(255 255 255 / .25); color: #fff;
}
.pg-card-preview__ring { position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgb(255 255 255 / .06); }
.pg-card-preview__top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.pg-card-preview__chip { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, var(--gold-pale), #d4a32a 55%, #8a6414); }
.pg-card-preview__brand { font-size: 16px; font-weight: 800; font-style: italic; letter-spacing: .04em; text-transform: uppercase; }
.pg-card-preview__number { position: relative; font-size: clamp(16px, 2vw, 20px); font-weight: 700; letter-spacing: .14em; white-space: nowrap; text-shadow: 0 2px 8px rgb(0 0 0 / .35); font-variant-numeric: tabular-nums; }
.pg-card-preview__bottom { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.pg-card-preview__holder { min-width: 0; }
.pg-card-preview__exp { text-align: right; }
.pg-card-preview small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgb(255 255 255 / .65); }
.pg-card-preview__bottom span > span { display: block; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pg-card-form { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pg-card-form .pg-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.pg-card-form .pg-field__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pg-card-form .pg-field__label, .co-field__label { font-size: 13px; font-weight: 600; color: var(--soft); }
.pg-card-form .pg-input, .co-input { height: 50px; width: 100%; border-radius: 12px; border: 1px solid var(--line); background: var(--deep); padding-inline: 16px; font-size: 16px; color: var(--ink); clip-path: none; transition: border-color .2s, box-shadow .2s; }
.pg-card-form .pg-input:focus, .co-input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgb(139 92 246 / .25); outline: none; }
.pg-card-form .pg-input--num { letter-spacing: .06em; }
.pg-card-form .pg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pg-card-brand { font-size: 12px; font-weight: 800; font-style: italic; color: var(--brand-light); }
.pg-wallet-box { margin-top: 8px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.pg-wallet-box__stat { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgb(15 23 42 / .7); }
.pg-wallet-box__stat > span { display: block; font-size: 12px; color: var(--mute); }
.pg-wallet-box__stat > strong { margin-top: 4px; display: block; font-size: 22px; font-weight: 800; }
.pg-wallet-box__error { grid-column: 1 / -1; font-size: 14px; color: var(--danger); }
.pg-wallet-box__error a { font-weight: 700; }

/* İndirimler */
.coupon-box { display: flex; flex-direction: column; gap: 10px; }
.co-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.coupon-box__row { display: flex; gap: 8px; }
.coupon-box__row .co-input { text-transform: uppercase; letter-spacing: .06em; }
.coupon-box__apply { height: 50px; flex-shrink: 0; padding-inline: 20px; border-radius: 12px; border: 1px solid rgb(167 139 250 / .55); background: rgb(124 58 237 / .16); font-size: 14px; font-weight: 700; color: #e9e5ff; transition: background-color .2s, border-color .2s; }
.coupon-box__apply:hover { border-color: var(--brand-light); background: rgb(124 58 237 / .28); }
.coupon-box[hidden] { display: none; }
.coupon-locked { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 16px; border-radius: 14px; border: 1px dashed rgb(245 158 11 / .45); background: rgb(245 158 11 / .07); }
.coupon-locked[hidden] { display: none; }
.coupon-locked__ico { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: rgb(245 158 11 / .16); color: var(--gold); }
.coupon-locked__ico .icon { width: 17px; height: 17px; }
.coupon-locked__text { flex: 1 1 220px; font-size: 13px; line-height: 1.5; color: #fde68a; }
.coupon-locked__btn { height: 38px; padding-inline: 14px; border-radius: 10px; border: 1px solid rgb(167 139 250 / .5); background: rgb(124 58 237 / .14); font-size: 13px; font-weight: 700; color: var(--lilac); transition: background-color .2s, border-color .2s; }
.coupon-locked__btn:hover { border-color: var(--brand-light); background: rgb(124 58 237 / .26); color: #fff; }
.co-field__error { font-size: 13px; color: var(--danger); }
.co-field__hint { margin-top: 8px; display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.45; color: var(--mute); }
.co-field__hint[hidden] { display: none; }
.co-field__hint .icon { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; color: var(--brand-light); }
/* Pinguru Bakiye açıkken kupon alanı kapalı */
.coupon-box .co-input:disabled, .coupon-box__apply:disabled, .coupon-wallet__chip:disabled { opacity: .5; cursor: not-allowed; }
.coupon-applied { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px dashed rgb(245 158 11 / .5); background: rgb(245 158 11 / .08); }
.coupon-applied__img { width: 36px; height: 36px; flex-shrink: 0; object-fit: contain; }
.coupon-applied p { flex: 1; font-size: 14px; }
.coupon-applied strong { letter-spacing: .06em; }
.coupon-applied p span { color: var(--mute); }
.coupon-applied__remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--mute); transition: background-color .2s, color .2s; }
.coupon-applied__remove:hover { background: var(--line); color: var(--ink); }
.coupon-applied__remove .icon { width: 16px; height: 16px; }
.coupon-wallet { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.coupon-wallet__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; border: 1px dashed rgb(245 158 11 / .45); background: rgb(245 158 11 / .07); font-size: 12px; font-weight: 700; color: #fcd34d; transition: border-color .2s, background-color .2s; }
.coupon-wallet__chip:hover { border-color: var(--gold-hover); background: rgb(245 158 11 / .15); }
.coupon-wallet__chip .icon { width: 13px; height: 13px; }
/* Ödeme yöntemi adımı (KOD_AKTARIM 108, 111): iki bakiye satırı, "Doğrudan kredi kartı ile öde", altta kural kutusu. */
.co-head--pay { flex-wrap: wrap; margin-bottom: 16px; }
.co-head__text { min-width: 0; flex: 1 1 220px; }
.co-cardonly { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(167 139 250 / .4); background: rgb(124 58 237 / .1); font-size: 13px; font-weight: 700; white-space: nowrap; color: #ddd6fe; transition: border-color .2s, background-color .2s, color .2s; }
.co-cardonly:hover { border-color: var(--brand-light); color: #fff; }
.co-cardonly .icon { width: 15px; height: 15px; }
.co-cardonly.is-on { border-color: rgb(167 139 250 / .75); background: rgb(124 58 237 / .26); color: #fff; }
.co-cardonly.is-loading { pointer-events: none; opacity: .7; }
.co-wallets { display: flex; flex-direction: column; gap: 10px; }
.co-wallet {
  --tone: var(--brand-light); --sw: var(--brand);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; width: 100%; padding: 16px 18px; border-radius: 16px; cursor: pointer;
  border: 1px solid var(--line); background: rgb(7 12 26 / .55); transition: border-color .2s, background .2s, box-shadow .2s;
}
.co-wallet.is-pinguru { --tone: var(--azure-light); --sw: var(--azure); }
.co-wallet:hover { border-color: rgb(167 139 250 / .55); }
.co-wallet.is-on { border-color: color-mix(in oklab, var(--tone) 70%, transparent); background: linear-gradient(90deg, color-mix(in oklab, var(--tone) 14%, transparent), rgb(11 17 36 / .6)); box-shadow: 0 0 26px -12px var(--tone); }
.co-wallet.is-empty { cursor: not-allowed; opacity: .55; }
.co-wallet.is-empty:hover { border-color: var(--line); }
.co-wallet:has(input:focus-visible) { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.co-wallet__tile { display: grid; place-items: center; width: 52px; height: 52px; flex-shrink: 0; border-radius: 16px; background: color-mix(in oklab, var(--tone) 18%, transparent); color: var(--tone); box-shadow: 0 0 20px -8px var(--tone); }
.co-wallet__tile .icon { width: 24px; height: 24px; }
.co-wallet__body { min-width: 0; flex: 1 1 220px; }
/* Dar ekranda ikon ve başlık aynı satırda kalır; tutar ve anahtar alt satıra iner. */
@media (width < 30rem) { .co-wallet__body { flex-basis: 150px; } }
.co-wallet__title { display: block; font-size: 16px; font-weight: 800; }
.co-wallet__meta { margin-top: 3px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--mute); }
.co-wallet__link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: var(--brand-light); transition: color .2s; }
.co-wallet__link:hover { color: #fff; }
.co-wallet__link .icon { width: 14px; height: 14px; }
.co-wallet__pills { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.co-wallet__used, .co-wallet__note { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.co-wallet__used .icon, .co-wallet__note .icon { width: 12px; height: 12px; flex-shrink: 0; }
.co-wallet__used { background: rgb(148 163 184 / .1); color: var(--mute); }
.co-wallet__used.is-active { background: color-mix(in oklab, var(--tone) 16%, transparent); color: var(--tone); }
.co-wallet__note { gap: 6px; border: 1px solid rgb(148 163 184 / .18); background: rgb(148 163 184 / .08); font-weight: 700; color: var(--mute); }
.co-wallet__note.is-warn { border-color: rgb(245 158 11 / .35); background: rgb(245 158 11 / .1); color: #fcd34d; }
.co-wallet__side { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.co-wallet__avail { text-align: right; }
.co-wallet__k { display: block; font-size: 12px; color: var(--mute); }
.co-wallet__amount { display: block; margin-top: 2px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.co-wallet__switch { position: relative; width: 52px; height: 30px; flex-shrink: 0; border-radius: 999px; background: var(--line-strong); transition: background .2s, box-shadow .2s; }
.co-wallet__switch::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .4); transition: transform .2s; }
.co-wallet input:checked + .co-wallet__switch { background: linear-gradient(90deg, var(--sw), var(--tone)); box-shadow: 0 0 16px -4px var(--tone); }
.co-wallet input:checked + .co-wallet__switch::after { transform: translateX(22px); }
@media (prefers-reduced-motion: reduce) { .co-wallet, .co-wallet__switch, .co-wallet__switch::after, .co-billing__chev { transition: none; } }
.co-info { margin-top: 12px; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgb(96 165 250 / .3); background: rgb(59 130 246 / .08); }
.co-info .icon { margin-top: 1px; width: 18px; height: 18px; flex-shrink: 0; color: var(--brand-light); }
.co-info p { font-size: 13px; line-height: 1.55; color: var(--soft); }
.co-info strong { display: block; color: var(--azure-pale); }
.co-payoff { margin-top: 10px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgb(245 158 11 / .45); background: rgb(245 158 11 / .1); font-size: 13px; line-height: 1.5; color: #fcd34d; }
.co-payoff .icon { margin-top: 1px; width: 16px; height: 16px; flex-shrink: 0; }
.co-wallet-note { margin: 10px 2px 0; font-size: 12px; color: var(--mute); }
.co-wallet-note a { font-weight: 700; color: var(--lilac); transition: color .2s; }
.co-wallet-note a:hover { color: #fff; }
.co-gateway__fields { margin-top: 12px; }
/* Sol sütun altı güven satırı. */
.co-trustrow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding: 6px 8px; font-size: 13px; color: var(--mute); }
.co-trustrow li { display: flex; align-items: center; gap: 8px; }
.co-trustrow .icon { width: 17px; height: 17px; flex-shrink: 0; color: var(--success); }
.co-trustrow li:nth-child(3) .icon { color: var(--brand-light); }
/* Sipariş özeti: bakiye kullanımı ve kartla ödenecek tutar. */
.review .co-sum { margin-top: 16px; gap: 10px; }
.co-used { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-used__title { margin-bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.co-used__rows { display: flex; flex-direction: column; gap: 10px; }
.co-used__rows > li { --tone: var(--brand-light); display: flex; align-items: center; gap: 12px; }
.co-used__rows > .is-pinguru { --tone: var(--azure-light); }
.co-used__tile { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: color-mix(in oklab, var(--tone) 18%, transparent); color: var(--tone); }
.co-used__tile .icon { width: 16px; height: 16px; }
.co-used__label { flex: 1; font-size: 14px; color: var(--soft); }
.co-used__value { font-size: 16px; font-weight: 800; white-space: nowrap; color: var(--success); }
.review .co-total { margin-top: 14px; padding-top: 14px; }
.review .co-total__label { font-size: 15px; font-weight: 800; letter-spacing: 0; text-transform: none; color: var(--ink); }
.review .co-total .co-total__save { background: linear-gradient(90deg, #fde68a, #f59e0b); color: #1a1206; }
.co-total.is-zero strong { color: var(--success); }
/* Ödeme butonu ve GPay rozeti (beyaz rozet; butonda 34 px). */
.checkout-aside .co-pay { margin-top: 18px; }
.co-pay .co-pay__arrow { margin-left: 8px; width: 20px; height: 20px; }
/* Yazı tek satırda kalır; özet sütunu dar olduğunda (340 px) süs okunu gizleyip yer açar. */
.checkout-aside .co-pay { white-space: nowrap; }
.checkout-aside { container: co-aside / inline-size; }
@container co-aside (width < 360px) { .co-pay { gap: 8px; } .co-pay .co-pay__arrow { display: none; } }
.co-pay.is-off, .co-pay:disabled { background: var(--line); box-shadow: none; opacity: .6; cursor: not-allowed; filter: none; }
.pay-badge { display: inline-flex; align-items: center; flex-shrink: 0; height: 34px; padding: 0 10px; border-radius: 9px; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / .25); }
.pay-badge__img { display: block; width: auto; height: 22px; }
.co-pay__sep { opacity: .55; }
.co-hint--pay { display: flex; align-items: center; justify-content: center; gap: 6px; }
.co-hint--pay[hidden] { display: none; }
.co-hint--pay .icon { width: 13px; height: 13px; flex-shrink: 0; color: var(--success); }
.co-hint--pay.is-warn { color: #fcd34d; }
.co-hint--pay.is-warn .icon { color: var(--gold-hover); }
/* Maskotlu cashback kartı: Pinguru Bakiyesi kullanılmıyorsa mor ışık + renkli maskot, kullanılıyorsa gri + soluk maskot. */
.co-cb { position: relative; isolation: isolate; overflow: hidden; margin-top: 16px; min-height: 132px; padding: 18px 150px 18px 18px; border-radius: 18px; border: 1px solid rgb(167 139 250 / .45); background: radial-gradient(80% 120% at 100% 100%, rgb(124 58 237 / .35), transparent 70%), linear-gradient(180deg, #141d3c, var(--deep)); }
.co-cb__art { position: absolute; right: -8px; bottom: -14px; z-index: -1; width: auto; height: 150px; pointer-events: none; filter: drop-shadow(0 10px 18px rgb(0 0 0 / .5)); }
.co-cb__kicker { font-size: 13px; color: var(--soft); }
.co-cb__title { margin-top: 4px; font-size: 20px; line-height: 1.15; font-weight: 800; color: var(--lilac); }
.co-cb__text { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--mute); }
.co-cb.is-off { border-color: var(--line); background: rgb(7 12 26 / .55); }
.co-cb.is-off .co-cb__art { filter: grayscale(1) brightness(.6); }
.co-cb.is-off .co-cb__title { color: var(--soft); }
.co-cbwrap .co-rewards:not(:has(> :not([hidden]))) { display: none; }

/* Özet: ürünler ve sözleşme onayı */
.co-terms { margin-top: 16px; display: flex; cursor: pointer; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgb(7 12 26 / .45); font-size: 13px; line-height: 1.5; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.co-terms__box { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: rgb(7 12 26 / .6); color: transparent; transition: background .2s, border-color .2s, color .2s; }
.co-terms__box .icon { width: 13px; height: 13px; stroke-width: 3; }
.co-terms__text { color: var(--mute); }
.co-terms a { font-weight: 600; color: var(--ink); }
.co-terms:has(input:checked) { border-color: rgb(167 139 250 / .7); background: rgb(124 58 237 / .12); }
.co-terms:has(input:checked) .co-terms__box { border-color: transparent; background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 0 10px -2px rgb(139 92 246 / .8); }
.co-terms:has(input:focus-visible) { outline: 2px solid var(--brand-light); outline-offset: 2px; }
/* İşaretlenmeden ödemeye basıldı. */
.co-terms.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgb(248 113 113 / .15); }
.review__items { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.review__item { display: flex; align-items: center; gap: 12px; }
.review__media { position: relative; flex-shrink: 0; }
.review__cover { display: block; width: 64px; height: 42px; overflow: hidden; border-radius: 10px; }
.review__qty { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 0 2px #0f1730; font-size: 10px; font-weight: 800; color: #fff; }
.review__tags { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px; }
.review__variant { font-size: 12px; color: var(--mute); }
.review__pack, .review__srv { padding: 1px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1.5; }
.review__pack { background: rgb(124 58 237 / .22); color: var(--lilac); }
.review__srv { background: rgb(59 130 246 / .16); color: var(--azure-light); }
.review__info { min-width: 0; flex: 1; }
.review__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; }
.review__price { font-size: 14px; font-weight: 700; }
.blockUI.blockOverlay { background: color-mix(in oklab, var(--night) 60%, transparent) !important; }
.woocommerce-NoticeGroup { flex: 1 1 100%; }

/* Eski özet kutusu (sipariş ödeme sayfası) */
.summary { --frame-r: 20px; background: var(--panel); padding: 1.25rem; }
@media (width >= 40rem) { .summary { padding: 1.5rem; } }
.summary__list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; }
.summary__list > div { display: flex; justify-content: space-between; gap: 1rem; }
.summary__total { align-items: flex-end; border-top: 1px solid var(--line); padding-top: 1rem; }
.summary__total dd { font-size: 1.5rem; font-weight: 600; }
.summary__cta { margin-top: 1.5rem; }
.summary__hint { margin-top: .75rem; text-align: center; font-size: .75rem; color: var(--mute); }
.summary__terms { margin-top: 1.25rem; }

/* Sepet: kupon eşiği + Bonus Kasa ilerlemesi (yarı saydam cam kart; KOD_AKTARIM 84) */
.cart-boost { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; padding: 14px; border-radius: 20px; border: 1px solid rgb(255 255 255 / .08); background: rgb(11 17 36 / .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cart-boost__box { display: flex; min-width: 0; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgb(167 139 250 / .25); background: rgb(124 58 237 / .06); }
.cart-boost__box--promo { border-color: rgb(245 158 11 / .45); background: linear-gradient(90deg, rgb(245 158 11 / .12), rgb(245 158 11 / .03)); }
.cart-boost__box--case.has-keys { border-color: rgb(245 158 11 / .45); }
.cart-boost__img { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.cart-boost__body { min-width: 0; flex: 1; }
.cart-boost__text { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.cart-boost__box--promo .cart-boost__text { color: #fde68a; }
.cart-boost__text a { font-weight: 700; color: var(--brand-light); }
.cart-boost__bar { margin-top: 8px; display: block; height: 6px; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / .08); }
.cart-boost__bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 0 10px -2px rgb(245 158 11 / .8); transition: width .4s var(--ease-out); }
.cart-boost__steps { margin-top: 8px; display: flex; gap: 4px; }
.cart-boost__steps span { height: 6px; flex: 1; border-radius: 999px; background: rgb(255 255 255 / .08); }
.cart-boost__steps span.is-on { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

/* Sepet: "Sepetine yakışır" (KOD_AKTARIM 85) */
.cart-upsell { margin-top: 14px; padding: 18px; border-radius: 18px; border: 1px solid rgb(255 255 255 / .08); background: rgb(11 17 36 / .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.cart-upsell__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 16px; }
.cart-upsell__title { margin-top: 4px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.cart-upsell__sub { font-size: 12px; color: var(--mute); }
.cart-upsell__list { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cup { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; border: 1px solid rgb(255 255 255 / .06); background: rgb(7 12 26 / .5); transition: border-color .2s; }
.cup:hover { border-color: rgb(167 139 250 / .3); }
.cup__media { display: block; width: 84px; height: 52px; flex-shrink: 0; overflow: hidden; border-radius: 10px; }
.cup__cover { width: 100%; height: 100%; }
.cup__info { min-width: 0; flex: 1; }
.cup__name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 700; color: var(--ink); }
.cup__name:hover { color: var(--brand-light); }
.cup__meta { margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12px; }
.cup__pack { padding: 1px 8px; border-radius: 6px; background: rgb(124 58 237 / .22); font-weight: 700; color: var(--lilac); }
.cup__off { padding: 1px 7px; border-radius: 6px; background: rgb(245 158 11 / .16); font-weight: 700; color: var(--gold); }
.cup__del { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-light); }
.cup__del .icon { width: 12px; height: 12px; }
.cup__price { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.cup__price strong { font-size: 15px; font-weight: 800; }
.cup__price s { font-size: 11px; color: var(--dim); }
.cup__btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 6px; min-width: 78px; height: 36px; padding-inline: 12px; border-radius: 10px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 8px 18px -8px rgb(124 58 237 / .9); font-size: 13px; font-weight: 700; color: #fff; transition: filter .2s, background .2s; }
.cup__btn:hover { filter: brightness(1.1); color: #fff; }
.cup__btn .icon { width: 14px; height: 14px; }
.cup__btn-add, .cup__btn-done { display: inline-flex; align-items: center; gap: 6px; }
.cup__btn-done { display: none; }
.cup__btn.is-loading { pointer-events: none; opacity: .7; }
/* "Eklendi": ürün o an sepette. */
.cup__btn.is-added { cursor: default; background: rgb(34 197 94 / .14); box-shadow: inset 0 0 0 1px rgb(34 197 94 / .45); color: var(--success); filter: none; }
.cup__btn.is-added .cup__btn-add { display: none; }
.cup__btn.is-added .cup__btn-done { display: inline-flex; }
.cup__btn--id { background: rgb(124 58 237 / .14); box-shadow: inset 0 0 0 1px rgb(167 139 250 / .45); color: var(--lilac); }
.cup__btn--id:hover { color: #fff; }
@media (width < 40rem) {
  .cup { flex-wrap: wrap; }
  .cup__info { flex-basis: calc(100% - 96px); }
  .cup__price { margin-left: 96px; flex-direction: row-reverse; align-items: baseline; gap: 6px; }
  .cup__btn { margin-left: auto; }
}

/* ── Sipariş tamamlandı ────────────────────────────────────── */
.woo-page--received { padding-block: 48px; }
.done { margin-inline: auto; max-width: 48rem; }
.done > .co-steps { justify-content: center; }
/* isolation yok: maskot görseli (lighten) sayfa zeminiyle karışsın, siyah kare görünmesin */
.done__head { position: relative; padding: 8px 0 4px; text-align: center; }
.done__head > :not(.done__glow) { position: relative; }
.done__glow { position: absolute; left: 50%; top: -40px; width: min(720px, 100%); height: 360px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 40%, rgb(124 58 237 / .34), transparent 70%), radial-gradient(30% 30% at 30% 60%, rgb(34 197 94 / .14), transparent 70%); pointer-events: none; }
.done__art { display: block; margin-inline: auto; width: 192px; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); animation: rise .6s var(--ease-out) both; }
.done__chip-row { margin-top: 10px; display: flex; justify-content: center; }
.done__chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgb(34 197 94 / .35); background: rgb(34 197 94 / .12); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #86efac; }
.done__chip .icon { width: 15px; height: 15px; }
.done__title { margin-top: 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.done__text { margin: 12px auto 0; max-width: 36rem; line-height: 1.6; color: var(--mute); text-wrap: pretty; }
.done__text strong { color: var(--ink); }
.done__spinner { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.done__spinner .icon { width: 22px; height: 22px; color: var(--brand-icon); }
.done__items { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
.done__items:empty { display: none; }

/* ID yüklemesi */
.done__topup { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid transparent; border-radius: 16px; background: radial-gradient(60% 120% at 0% 50%, rgb(59 130 246 / .2), transparent 70%) padding-box, linear-gradient(var(--deep), var(--deep)) padding-box, linear-gradient(160deg, rgb(96 165 250 / .5), rgb(30 42 71 / .85) 50%) border-box; }
.done__topup-art { width: 76px; height: 76px; flex-shrink: 0; object-fit: contain; }
.done__topup-body { min-width: 0; flex: 1; }
.done__topup-name { font-size: 18px; font-weight: 700; }
.done__topup-text { margin-top: 4px; font-size: 14px; color: var(--mute); }
.done__topup-id { padding: 2px 8px; border-radius: 999px; background: rgb(7 12 26 / .8); font-weight: 700; color: var(--ink); }
.done__state { display: inline-flex; height: 26px; flex-shrink: 0; align-items: center; gap: 6px; padding-inline: 10px; border-radius: 999px; border: 1px solid rgb(245 158 11 / .45); background: rgb(120 53 15 / .45); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fcd34d; }
.done__state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.done__topup.is-done .done__state { border-color: rgb(74 222 128 / .45); background: rgb(22 101 52 / .55); color: #86efac; }
@media (width < 30rem) {
  .done__topup { flex-wrap: wrap; }
  .done__topup-art { width: 56px; height: 56px; }
}

/* Kazanımlar */
.done__rewards { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.done__reward { position: relative; overflow: hidden; padding: 20px; border: 1px solid transparent; border-radius: 18px; }
.done__reward--cash { background: radial-gradient(70% 120% at 100% 0%, rgb(59 130 246 / .26), transparent 70%) padding-box, linear-gradient(var(--deep), var(--deep)) padding-box, linear-gradient(160deg, rgb(96 165 250 / .55), rgb(30 42 71 / .85) 50%) border-box; }
.done__reward--case { background: radial-gradient(70% 120% at 100% 0%, rgb(245 158 11 / .16), transparent 70%) padding-box, linear-gradient(var(--deep), var(--deep)) padding-box, linear-gradient(160deg, rgb(245 158 11 / .45), rgb(30 42 71 / .85) 50%) border-box; }
.done__reward--case.is-key { background: radial-gradient(70% 120% at 100% 0%, rgb(245 158 11 / .3), transparent 70%) padding-box, linear-gradient(var(--deep), var(--deep)) padding-box, linear-gradient(160deg, var(--gold-hover), rgb(245 158 11 / .25) 60%) border-box; }
.done__reward-art { position: absolute; right: 14px; top: 14px; width: 64px; height: 64px; object-fit: contain; }
.done__reward-chest { position: absolute; right: 6px; top: 6px; width: 96px; height: auto; }
.done__reward-label { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #93c5fd; }
.done__reward--case .done__reward-label { color: #fcd34d; }
.done__reward-value { position: relative; margin-top: 10px; font-size: 36px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.done__reward--cash .done__reward-value { color: var(--azure-light); }
.done__reward-value span { font-size: 20px; color: var(--dim); }
.done__reward-note { position: relative; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgb(7 12 26 / .7); font-size: 12px; color: var(--soft); }
.done__reward-note strong { color: var(--ink); }
.done__reward-small { position: relative; margin-top: 8px; font-size: 12px; color: var(--soft); }
.done__key { position: relative; margin-top: 10px; padding-right: 88px; font-size: 24px; line-height: 1.1; font-weight: 800; text-transform: uppercase; color: var(--gold-hover); }
.done__key + .done__reward-small { margin-top: 4px; }
.done__open { margin-top: 12px; display: inline-flex; height: 38px; align-items: center; gap: 8px; padding-inline: 16px; border-radius: 10px; background: linear-gradient(90deg, var(--gold-hover), var(--gold)); box-shadow: 0 10px 24px -10px rgb(245 158 11 / .8); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-ink); transition: filter .2s; }
.done__open:hover { filter: brightness(1.08); }
.done__open .icon { width: 15px; height: 15px; }
.done__slots { position: relative; margin-top: 12px; max-width: 220px; gap: 5px; }
.done__slots span { height: 8px; border-radius: 4px; background: var(--line); clip-path: none; }
.done__slots span.is-on { background: linear-gradient(90deg, var(--gold-hover), var(--gold)); }
.done__league { position: relative; margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid rgb(255 255 255 / .08); padding-top: 12px; font-size: 12px; color: var(--mute); }
.done__league .league-chip { gap: 6px; }
.done__league .league-badge { width: 26px; height: 26px; object-fit: contain; }

/* Özet */
.done__summary-card { margin-top: 24px; padding: 6px; border: 1px solid transparent; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--deep)) padding-box, var(--frame-grad) border-box; box-shadow: 0 24px 50px -32px rgb(0 0 0 / .95); }
.done__summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; font-size: 14px; }
.done__summary > div { padding: 12px 14px; border-radius: 12px; background: rgb(15 23 42 / .7); }
.done__summary dt { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.done__summary dt .icon { width: 13px; height: 13px; }
.done__summary dd { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.done__summary dd.is-gold { color: var(--gold-hover); }
.done__summary dd.is-brand { color: var(--brand-light); }

/* Butonlar */
/* Ödeme yönteminin teşekkür sayfası çıktısı (ör. Esnekpos bilgilendirmesi, havale talimatı) */
.done__gateway { margin: 24px auto 0; max-width: 48rem; }
.done__gateway > * + * { margin-top: 12px; }
.done__gateway h2, .done__gateway h3 { font-size: 18px; font-weight: 800; text-transform: uppercase; }
.done__gateway ul, .done__gateway table { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--deep); color: var(--soft); }
.done__actions { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.done__btn { display: inline-flex; height: 48px; align-items: center; justify-content: center; gap: 10px; padding-inline: 24px; border-radius: 14px; background: linear-gradient(90deg, var(--brand-icon), var(--brand-hover)); box-shadow: 0 16px 34px -14px rgb(124 58 237 / .95), inset 0 1px 0 rgb(255 255 255 / .18); font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #fff; transition: filter .2s, border-color .2s, color .2s; }
.done__btn:hover { filter: brightness(1.1); color: #fff; }
.done__btn--lg { height: 56px; }
.done__btn .icon { width: 19px; height: 19px; }
.done__btn--ghost { border: 1px solid var(--line-strong); background: none; box-shadow: none; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.done__btn--ghost:hover { border-color: var(--brand-light); filter: none; }
.done__btn--ghost .icon { width: 18px; height: 18px; }
@media (width < 30rem) { .done__actions .done__btn { flex: 1 1 100%; } }

/* Bulunamadı / ödeme alınamadı kutusu */
.done__box { display: flex; flex-direction: column; align-items: center; padding: 48px 24px; border: 1px solid transparent; border-radius: 24px; text-align: center; background: linear-gradient(180deg, var(--panel-2), var(--deep)) padding-box, var(--frame-grad) border-box; box-shadow: 0 24px 50px -32px rgb(0 0 0 / .95); }
.done__box-art { width: 180px; height: auto; }
.done__box-title { margin-top: 10px; font-size: 22px; font-weight: 800; text-transform: uppercase; }
.done__box-text { margin-top: 8px; max-width: 28rem; color: var(--mute); }
.done__box .done__actions { margin-top: 22px; }

/* Sipariş ödeme (bakiye yükleme siparişi) */
#order_review.woocommerce-checkout-review-order, .woocommerce-order-pay #order_review { max-width: 48rem; margin-inline: auto; }
.woocommerce-order-pay .shop_table { width: 100%; margin-bottom: 1.5rem; font-size: .875rem; }
.woocommerce-order-pay .shop_table th, .woocommerce-order-pay .shop_table td { border-bottom: 1px solid var(--line); padding: .75rem 0; text-align: left; }
.woocommerce-order-pay #payment { margin-top: 1rem; }
.woocommerce-order-pay #place_order { margin-top: 1.5rem; width: 100%; }
.woocommerce-order-pay .form-row.place-order { margin-top: 1rem; }
.paypage { margin-inline: auto; max-width: 48rem; }
.paypage__title { margin: .75rem 0 1.5rem; }
.paypage__form { display: flex; flex-direction: column; gap: 1.25rem; }
.paypage__form .summary { position: static; }
.paypage__payment .form-row { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
/* Uzun yasal buton metni dar ekranda alt satıra iner (kesilmez). */
.paypage #place_order { margin-top: .25rem; height: auto; min-height: 3.5rem; padding-block: .875rem; line-height: 1.35; text-align: center; white-space: normal; text-wrap: balance; }
.woocommerce-terms-and-conditions-wrapper { font-size: .875rem; color: var(--mute); }
.woocommerce-terms-and-conditions-wrapper a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ── Ödeme tamamlanmadı ────────────────────────────────────── */
.payfail { position: relative; isolation: isolate; }
.payfail__glow { pointer-events: none; position: absolute; inset: 0 0 auto; z-index: -1; height: 620px; background: radial-gradient(50rem 24rem at 30% -10%, rgb(248 113 113 / .16), transparent 70%), radial-gradient(44rem 22rem at 85% 0%, rgb(124 58 237 / .2), transparent 70%); }
.payfail__wrap { max-width: 67.5rem; margin-inline: auto; padding: 40px clamp(16px, 4vw, 48px) 72px; }
.payfail__hero { margin-top: 22px; padding: 1px; border-radius: 26px; background: linear-gradient(150deg, rgb(248 113 113 / .6), rgb(30 42 71 / .9) 40%, rgb(124 58 237 / .45)); box-shadow: 0 40px 80px -40px rgb(0 0 0 / .95); }
.payfail__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); overflow: hidden; border-radius: 25px; background: linear-gradient(180deg, #121b38, var(--deep)); }
.payfail__art { position: relative; isolation: isolate; display: flex; min-height: 340px; flex-direction: column; align-items: center; justify-content: center; padding: 32px; background: radial-gradient(60% 55% at 50% 45%, rgb(248 113 113 / .22), transparent 70%), var(--deep); }
.payfail__ring, .payfail__halo { position: absolute; left: 50%; top: 46%; z-index: -1; border-radius: 50%; transform: translate(-50%, -50%); }
.payfail__ring { width: 260px; height: 260px; border: 1px dashed rgb(248 113 113 / .35); }
.payfail__halo { width: 190px; height: 190px; background: radial-gradient(circle, rgb(248 113 113 / .18), transparent 70%); }
.payfail__img { width: 240px; height: auto; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .6)); }
.payfail__tag { margin-top: -6px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgb(248 113 113 / .45); background: rgb(7 12 26 / .85); box-shadow: 0 14px 30px -14px rgb(248 113 113 / .7); }
.payfail__tag-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(248 113 113 / .16); color: var(--danger); }
.payfail__tag-ico .icon { width: 18px; height: 18px; }
.payfail__tag > span:last-child { display: flex; flex-direction: column; }
.payfail__tag strong { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--danger-pale); }
.payfail__tag > span:last-child > span { font-size: 12px; color: var(--mute); }
.payfail__body { padding: clamp(24px, 3vw, 40px); }
.payfail__chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding-inline: 12px; border-radius: 999px; border: 1px solid rgb(248 113 113 / .45); background: rgb(248 113 113 / .12); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--danger-pale); }
.payfail__chip .icon { width: 14px; height: 14px; }
.payfail__title { margin-top: 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.payfail__text { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--soft); text-wrap: pretty; }
.payfail__ok { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.payfail__ok:empty { display: none; }
.payfail__ok p { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgb(34 197 94 / .35); background: rgb(34 197 94 / .08); font-size: 13px; font-weight: 700; color: #dcfce7; }
.payfail__ok .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--success); }
.payfail__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.payfail__retry, .payfail__other { display: flex; height: 54px; align-items: center; justify-content: center; gap: 10px; border-radius: 14px; }
.payfail__retry { flex: 1 1 200px; background: var(--brand-grad); box-shadow: var(--shadow-btn), inset 0 1px 0 rgb(255 255 255 / .18); font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; transition: filter .2s; }
.payfail__retry:hover { filter: brightness(1.1); color: #fff; }
.payfail__other { flex: 1 1 170px; border: 1px solid var(--line-strong); font-size: 14px; font-weight: 700; color: var(--ink-2); transition: border-color .2s, color .2s; }
.payfail__other:hover { border-color: var(--brand-light); color: #fff; }
.payfail__retry .icon { width: 18px; height: 18px; }
.payfail__other .icon { width: 17px; height: 17px; }
.payfail__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; gap: 16px; }
.payfail__grid .co-card { border-radius: 20px; }
.payfail__causes-card { background: linear-gradient(180deg, var(--panel-2), var(--deep)) padding-box, linear-gradient(160deg, rgb(245 158 11 / .42), rgb(30 42 71 / .85) 42%, rgb(30 42 71 / .55)) border-box; }
.payfail__h2 { margin-bottom: 14px; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.payfail__h2--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.payfail__count { font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--mute); }
.payfail__alts { display: flex; flex-direction: column; gap: 8px; }
.payfail__alts a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgb(7 12 26 / .55); color: var(--ink); transition: border-color .2s; }
.payfail__alts a:hover { border-color: rgb(167 139 250 / .6); color: var(--ink); }
.payfail__alts a > .icon { width: 16px; height: 16px; color: var(--dim); }
.payfail__alt-ico { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; background: color-mix(in oklab, var(--tile) 16%, transparent); color: var(--tile); }
.payfail__alt-ico .icon { width: 18px; height: 18px; }
.payfail__alt-text { min-width: 0; flex: 1; }
.payfail__alt-text strong { display: block; font-size: 14px; font-weight: 700; }
.payfail__alt-text span { display: block; font-size: 12px; color: var(--mute); }
.payfail__causes { display: flex; flex-direction: column; gap: 10px; }
.payfail__causes li { display: flex; gap: 12px; }
.payfail__cause-ico { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; background: rgb(245 158 11 / .12); color: var(--gold-hover); }
.payfail__cause-ico .icon { width: 14px; height: 14px; }
.payfail__causes li.is-on .payfail__cause-ico { background: rgb(248 113 113 / .18); color: var(--danger); }
.payfail__causes strong { display: block; font-size: 14px; font-weight: 700; }
.payfail__causes li.is-on strong { color: #fecaca; }
.payfail__causes li span > span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--mute); }
.payfail__lines { display: flex; flex-direction: column; gap: 10px; }
.payfail__lines li { display: flex; align-items: center; gap: 12px; }
.payfail__cover { width: 58px; height: 38px; flex-shrink: 0; overflow: hidden; border-radius: 8px; }
.payfail__line-text { min-width: 0; flex: 1; }
.payfail__line-text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.payfail__line-text span { display: block; font-size: 12px; color: var(--mute); }
.payfail__line-total { font-size: 13px; font-weight: 700; }
.payfail__total { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.payfail__total span { font-size: 13px; color: var(--mute); }
.payfail__total strong { font-size: 22px; font-weight: 800; }
.payfail__empty { font-size: 13px; color: var(--mute); }
.payfail__empty a { font-weight: 600; color: var(--brand-light); }
.payfail__support { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line-strong); font-size: 13px; font-weight: 600; color: var(--soft); transition: border-color .2s, color .2s; }
.payfail__support:hover { border-color: var(--brand-light); color: #fff; }
.payfail__support .icon { width: 18px; height: 18px; color: var(--brand-light); }

/* Onay kutuları: pazarlama izni (isteğe bağlı) ve KVKK bağlantısı */
.co-terms--opt { margin-top: 10px; }
.co-terms__opt { font-size: 12px; opacity: .8; }
.co-kvkk { margin-top: 10px; font-size: 12px; line-height: 1.5; color: var(--mute); }
.co-kvkk a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

/* Siparişe özel belgeler penceresi */
.co-docs { width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); margin: auto; padding: 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--panel-2); color: var(--ink); box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9); }
.co-docs[open] { display: flex; flex-direction: column; }
.co-docs::backdrop { background: rgb(4 6 16 / .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.co-docs__head, .co-docs__tabs, .co-docs__foot { flex-shrink: 0; }
.co-docs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.co-docs__title { font-size: 18px; font-weight: 800; }
.co-docs__close { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); }
.co-docs__close .icon { width: 16px; height: 16px; }
.co-docs__tabs { display: flex; gap: 6px; padding: 0 20px 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.co-docs__tab { flex-shrink: 0; height: 36px; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 13px; font-weight: 700; color: var(--mute); }
.co-docs__tab.is-active { border-color: rgb(167 139 250 / .6); background: rgb(124 58 237 / .16); color: var(--ink); }
.co-docs__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 20px; }
.co-docs__doc:not(.is-active) { display: none; }
.co-docs__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }
.co-docs__ok .icon { width: 16px; height: 16px; }
.co-docs__later { height: 44px; padding-inline: 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; font-size: 14px; font-weight: 700; color: var(--ink-2); }
