/* Vitrin — panel özelliklerinin iki temada ortak görünümü (ödeme ek alanları, sözleşme penceresi, sözleşme sayfaları,
   hediye kartı, kişiselleştirme, iade talebi, dil seçici, filtreler). Tailwind derlemesinden bağımsız sf- sınıfları. */
:root {
    --sf-line: #e5e7eb;
    --sf-bg: #fff;
    --sf-soft: #f9fafb;
    --sf-text: #111827;
    --sf-muted: #6b7280;
    --sf-accent: #4f46e5;
    --sf-accent-soft: #eef2ff;
    --sf-danger: #dc2626;
    --sf-ok: #059669;
}
.dark {
    --sf-line: #374151;
    --sf-bg: #1f2937;
    --sf-soft: #111827;
    --sf-text: #f9fafb;
    --sf-muted: #9ca3af;
    --sf-accent: #818cf8;
    --sf-accent-soft: rgba(79, 70, 229, .18);
}

/* ---------------------------------------------------------------- Ödeme sayfası ek alanları */
.sf-co-extras { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 16px; }
.sf-co-extras[data-sf-step="address"] { padding: 0 20px; }
@media (min-width: 640px) { .sf-co-extras[data-sf-step="address"] { padding: 0 24px; } }
.sf-co-extras:empty { display: none; }
.sf-co-block { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--sf-line); border-radius: 10px; background: var(--sf-bg); }
.sf-co-title { margin: 0; font-size: 14px; font-weight: 600; color: var(--sf-text); }
.sf-co-seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--sf-soft); border: 1px solid var(--sf-line); align-self: flex-start; }
.sf-co-seg label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--sf-muted); cursor: pointer; }
.sf-co-seg input { position: absolute; opacity: 0; pointer-events: none; }
.sf-co-seg label:has(input:checked) { background: var(--sf-bg); color: var(--sf-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.sf-co-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .sf-co-grid { grid-template-columns: 1fr 1fr; } .sf-co-span2 { grid-column: span 2; } }
.sf-co-grid[hidden], .sf-co-field[hidden], [data-sf-billing][hidden], [data-sf-corporate][hidden] { display: none; }
.sf-co-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--sf-text); }
.sf-co-field > span { font-weight: 500; }
.sf-co-input { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid var(--sf-line); border-radius: 8px; background: var(--sf-bg); color: var(--sf-text); font: inherit; font-size: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.sf-co-input:focus { border-color: var(--sf-accent); box-shadow: 0 0 0 3px var(--sf-accent-soft); }
textarea.sf-co-input { resize: vertical; min-height: 64px; }
.sf-co-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--sf-text); cursor: pointer; }
.sf-co-check input { width: 16px; height: 16px; margin-top: 1px; flex-shrink: 0; accent-color: var(--sf-accent); }
.sf-co-contract a { color: var(--sf-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sf-co-sumrow { display: flex; justify-content: space-between; font-size: 14px; color: var(--sf-muted); margin: 6px 0; }
.sf-co-sumrow[hidden] { display: none; }
.sf-co-couponlink { background: none; border: 0; padding: 0; margin: 0 0 16px; font: inherit; font-size: 13px; font-weight: 600; color: var(--sf-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Ödeme yöntemleri: panel sırası, fark etiketi, tutar limiti */
.sf-pay-group { display: flex !important; flex-direction: column; }
.sf-pay-fee { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 999px; font-size: 11px; font-weight: 600; background: #fef3c7; color: #92400e; vertical-align: middle; }
.sf-pay-fee.is-discount { background: #d1fae5; color: #065f46; }
.sf-pay-off { opacity: .5; cursor: not-allowed !important; }
.sf-pay-limit { display: block; font-size: 11px; color: var(--sf-danger); margin-top: 2px; }
.sf-pay-limit:empty { display: none; }

/* ---------------------------------------------------------------- Pencere */
.sf-modal { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sf-modal__mask { position: absolute; inset: 0; background: rgba(17, 24, 39, .55); animation: sfFade .15s ease; }
.sf-modal__box { position: relative; width: 100%; max-width: 760px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; background: var(--sf-bg); color: var(--sf-text); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); animation: sfPop .18s ease; }
.sf-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--sf-line); }
.sf-modal__head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.sf-modal__x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--sf-soft); color: var(--sf-muted); font-size: 20px; line-height: 1; cursor: pointer; }
.sf-modal__body { padding: 18px 20px; overflow: auto; font-size: 14px; line-height: 1.6; }
@keyframes sfFade { from { opacity: 0; } }
@keyframes sfPop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------------------------------------------------------------- Sözleşme / politika metni */
.sf-prose { font-size: 15px; line-height: 1.7; color: var(--sf-text); }
.sf-prose h2, .sf-prose h3, .sf-prose h4 { margin: 1.4em 0 .5em; font-weight: 700; line-height: 1.3; }
.sf-prose h2 { font-size: 1.35em; } .sf-prose h3 { font-size: 1.15em; } .sf-prose h4 { font-size: 1em; }
.sf-prose p { margin: 0 0 .9em; }
.sf-prose ul, .sf-prose ol { margin: 0 0 .9em 1.3em; padding: 0; }
.sf-prose ul { list-style: disc; } .sf-prose ol { list-style: decimal; }
.sf-prose a { color: var(--sf-accent); text-decoration: underline; }
.sf-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: .92em; }
.sf-prose th, .sf-prose td { border: 1px solid var(--sf-line); padding: 6px 8px; text-align: left; }
.sf-prose blockquote { margin: 0 0 1em; padding: 8px 14px; border-left: 3px solid var(--sf-line); color: var(--sf-muted); }
.sf-page { max-width: 880px; margin: 0 auto; padding: 32px 16px 56px; }
.sf-page__title { margin: 0 0 6px; font-size: 26px; font-weight: 800; color: var(--sf-text); }
.sf-page__meta { margin: 0 0 22px; font-size: 13px; color: var(--sf-muted); }
.sf-page__nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.sf-page__nav a { padding: 6px 12px; border: 1px solid var(--sf-line); border-radius: 999px; font-size: 13px; color: var(--sf-muted); text-decoration: none; }
.sf-page__nav a.is-active, .sf-page__nav a:hover { border-color: var(--sf-accent); color: var(--sf-accent); background: var(--sf-accent-soft); }

/* ---------------------------------------------------------------- Genel form / kart */
.sf-card { border: 1px solid var(--sf-line); border-radius: 12px; background: var(--sf-bg); padding: 16px; color: var(--sf-text); }
.sf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: filter .15s, background .15s; }
.sf-btn--primary { background: var(--sf-accent); color: #fff; }
.sf-btn--primary:hover { filter: brightness(1.08); }
.sf-btn--ghost { background: var(--sf-bg); border-color: var(--sf-line); color: var(--sf-text); }
.sf-btn:disabled { opacity: .55; cursor: not-allowed; }
.sf-msg { font-size: 13px; margin-top: 6px; }
.sf-msg.is-ok { color: var(--sf-ok); } .sf-msg.is-err { color: var(--sf-danger); }
.sf-row { display: flex; gap: 8px; align-items: stretch; }
.sf-row > .sf-co-input { flex: 1; min-width: 0; }

/* ---------------------------------------------------------------- Hızlı üyelik (sipariş sonrası) */
.sf-qs { display: flex; flex-direction: column; gap: 14px; }
.sf-qs__head { display: flex; gap: 12px; align-items: flex-start; }
.sf-qs__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--sf-accent-soft); color: var(--sf-accent); font-size: 18px; }
.sf-qs__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--sf-text); }
.sf-qs__text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--sf-muted); }
.sf-qs__form { display: grid; grid-template-columns: 1fr; gap: 10px; align-items: end; }
.sf-qs__form[hidden] { display: none; }
@media (min-width: 640px) { .sf-qs__form { grid-template-columns: 1fr 1fr auto; } }
.sf-captcha { margin: 4px 0 12px; min-height: 78px; }

/* ---------------------------------------------------------------- Hediye kartı (ödeme) */
.sf-gc-applied { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--sf-accent-soft); font-size: 13px; color: var(--sf-text); }
.sf-gc-applied[hidden], .sf-row[hidden] { display: none; }
.sf-gc-remove { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--sf-danger); cursor: pointer; }
.sf-co-sumrow--neg span:last-child { color: var(--sf-ok); }
.sf-msg[hidden] { display: none; }

/* ---------------------------------------------------------------- Ürün sayfası: grup, birim fiyat, kişiselleştirme */
.sf-pdp { display: flex; flex-direction: column; gap: 14px; margin: 0 0 16px; }
.sf-pdp__unit { margin: 0; font-size: 13px; color: var(--sf-muted); }
.sf-pdp__unit strong { color: var(--sf-text); font-weight: 600; }
.sf-pdp__label { margin: 0 0 8px; font-size: 13px; color: var(--sf-muted); }
.sf-pdp__label strong { color: var(--sf-text); }
.sf-pdp__group-items { display: flex; flex-wrap: wrap; gap: 8px; }
.sf-pdp__gitem { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--sf-line); border-radius: 10px; background: var(--sf-bg); color: var(--sf-text); text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sf-pdp__gitem:hover { border-color: var(--sf-muted); }
.sf-pdp__gitem.is-current { border-color: var(--sf-accent); box-shadow: 0 0 0 2px var(--sf-accent-soft); }
.sf-pdp__group-items--image .sf-pdp__gitem { width: 56px; height: 56px; }
.sf-pdp__gitem img { width: 100%; height: 100%; object-fit: cover; }
.sf-pdp__group-items--swatch .sf-pdp__gitem { width: 36px; height: 36px; border-radius: 999px; padding: 3px; }
.sf-pdp__swatch { display: block; width: 100%; height: 100%; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .08); }
.sf-pdp__gtext { padding: 7px 12px; font-size: 13px; font-weight: 500; }
.sf-po { display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid var(--sf-line); border-radius: 12px; background: var(--sf-soft); }
.sf-po__field { display: flex; flex-direction: column; gap: 6px; }
.sf-po__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--sf-text); }
.sf-po__req { color: var(--sf-danger); }
.sf-po__fee { font-weight: 500; color: var(--sf-muted); }
.sf-po__help { margin: 0; font-size: 12px; color: var(--sf-muted); }
.sf-po__err { margin: 0; font-size: 12px; color: var(--sf-danger); }
.sf-po__err[hidden], .sf-po__total[hidden] { display: none; }
.sf-po__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-po__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--sf-line); border-radius: 999px; background: var(--sf-bg); font-size: 13px; cursor: pointer; }
.sf-po__chip:has(input:checked) { border-color: var(--sf-accent); background: var(--sf-accent-soft); }
.sf-po__chip input { accent-color: var(--sf-accent); }
.sf-po__color { width: 48px; height: 36px; padding: 2px; border: 1px solid var(--sf-line); border-radius: 8px; background: var(--sf-bg); cursor: pointer; }
.sf-po__file { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.sf-po__file-state { color: var(--sf-muted); }
.sf-po__total { margin: 0; font-size: 13px; color: var(--sf-muted); }
.sf-po__total strong { color: var(--sf-text); }
.sf-line-opts { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--sf-muted); }

/* ---------------------------------------------------------------- Ürün özellikleri */
.sf-specs { margin: 0 0 24px; }
.sf-specs__title { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: var(--sf-text); }
.sf-specs__list { margin: 0; border: 1px solid var(--sf-line); border-radius: 12px; overflow: hidden; }
.sf-specs__row { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; font-size: 14px; }
.sf-specs__row + .sf-specs__row { border-top: 1px solid var(--sf-line); }
.sf-specs__row dt { padding: 10px 14px; background: var(--sf-soft); color: var(--sf-muted); font-weight: 500; }
.sf-specs__row dd { margin: 0; padding: 10px 14px; color: var(--sf-text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sf-specs__swatch { width: 16px; height: 16px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .1); }

/* ---------------------------------------------------------------- Kampanya teklifleri */
.sf-offers { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.sf-offer { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px dashed var(--sf-accent); border-radius: 12px; background: var(--sf-accent-soft); }
.sf-offer__img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--sf-bg); display: block; }
.sf-offer__img img { width: 100%; height: 100%; object-fit: cover; }
.sf-offer__body { min-width: 0; }
.sf-offer__title { margin: 0; font-size: 14px; font-weight: 700; color: var(--sf-text); }
.sf-offer__badge { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--sf-accent); color: #fff; font-size: 11px; font-weight: 700; vertical-align: middle; }
.sf-offer__desc { margin: 2px 0 0; font-size: 12px; color: var(--sf-muted); }
.sf-offer__name { margin: 4px 0 0; font-size: 13px; color: var(--sf-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-offer__price { margin: 2px 0 0; font-size: 14px; color: var(--sf-text); }
.sf-offer__price s { color: var(--sf-muted); font-size: 12px; }
.sf-offer__timer { margin: 2px 0 0; font-size: 12px; color: var(--sf-danger); }
@media (max-width: 480px) { .sf-offer { grid-template-columns: 56px 1fr; } .sf-offer__img { width: 56px; height: 56px; } .sf-offer__cta { grid-column: 1 / -1; } .sf-offer__cta .sf-btn { width: 100%; } }

/* ---------------------------------------------------------------- Panel ürün filtreleri */
.sf-pf { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 12px; }
.sf-pf__group { border-bottom: 1px solid var(--sf-line); padding: 6px 0; }
.sf-pf__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--sf-text); cursor: pointer; list-style: none; }
.sf-pf__head::-webkit-details-marker { display: none; }
.sf-pf__head::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--sf-muted); border-bottom: 2px solid var(--sf-muted); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.sf-pf__group[open] > .sf-pf__head::after { transform: rotate(-135deg); }
.sf-pf__count { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--sf-accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.sf-pf__body { padding: 4px 0 8px; }
.sf-pf__values { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow: auto; }
.sf-pf__values--box, .sf-pf__values--swatch { flex-direction: row; flex-wrap: wrap; }
.sf-pf__opt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--sf-text); cursor: pointer; }
.sf-pf__opt input { width: 16px; height: 16px; accent-color: var(--sf-accent); flex-shrink: 0; }
.sf-pf__label { flex: 1; min-width: 0; }
.sf-pf__num { font-size: 12px; color: var(--sf-muted); }
.sf-pf__values--box .sf-pf__opt { padding: 6px 10px; border: 1px solid var(--sf-line); border-radius: 8px; }
.sf-pf__values--box .sf-pf__opt.is-on { border-color: var(--sf-accent); background: var(--sf-accent-soft); }
.sf-pf__values--box input, .sf-pf__values--swatch input { position: absolute; opacity: 0; pointer-events: none; }
.sf-pf__values--swatch .sf-pf__opt { padding: 2px; border: 2px solid transparent; border-radius: 999px; }
.sf-pf__values--swatch .sf-pf__opt.is-on { border-color: var(--sf-accent); }
.sf-pf__swatch { display: block; width: 26px; height: 26px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .12); }
.sf-pf__range { display: flex; align-items: center; gap: 8px; }
.sf-pf__range .sf-co-input { padding: 7px 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- Müşteri özel alanları (kayıt / Hesabım) */
.sf-cattr { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 14px; text-align: left; }
.sf-cattr__field { display: flex; flex-direction: column; gap: 6px; }
.sf-cattr__label { margin: 0; font-size: 13px; font-weight: 600; color: var(--sf-text); }

/* ---------------------------------------------------------------- İade talebi (Hesabım) */
.sf-ret { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--sf-line); }
.sf-ret__item { padding: 10px 12px; border: 1px solid var(--sf-line); border-radius: 10px; background: var(--sf-soft); font-size: 13px; color: var(--sf-text); }
.sf-ret__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sf-ret__badge { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.sf-ret__badge--amber { background: #fef3c7; color: #92400e; } .sf-ret__badge--blue { background: #dbeafe; color: #1e40af; }
.sf-ret__badge--purple { background: #ede9fe; color: #5b21b6; } .sf-ret__badge--green { background: #d1fae5; color: #065f46; }
.sf-ret__badge--red { background: #fee2e2; color: #991b1b; } .sf-ret__badge--gray { background: #f3f4f6; color: #4b5563; }
.sf-ret__meta { margin: 4px 0 0; font-size: 12px; color: var(--sf-muted); }
.sf-ret__note { margin: 6px 0 0; padding: 6px 8px; border-radius: 6px; background: var(--sf-bg); font-size: 12px; }
.sf-ret__link { margin-top: 6px; background: none; border: 0; padding: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--sf-danger); cursor: pointer; }
.sf-ret__open { align-self: flex-start; }
.sf-ret__form { display: flex; flex-direction: column; gap: 12px; }
.sf-ret__line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sf-line); font-size: 13px; }
.sf-ret__line span { display: block; font-size: 12px; color: var(--sf-muted); }
.sf-ret__line label { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.sf-ret__line select { width: 72px; }
.sf-ret__policy { padding: 10px 12px; border-radius: 8px; background: var(--sf-soft); font-size: 12px; color: var(--sf-muted); max-height: 140px; overflow: auto; }

/* ---------------------------------------------------------------- Gelen kutusu formları */
.sf-inbox-wrap { max-width: 720px; margin: 32px auto 0; }
.sf-inbox { margin: 16px 0; border: 1px solid var(--sf-line); border-radius: 12px; background: var(--sf-bg); }
.sf-inbox__head { padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--sf-text); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sf-inbox__head::-webkit-details-marker { display: none; }
.sf-inbox__head::after { content: '+'; font-size: 18px; color: var(--sf-muted); }
.sf-inbox[open] > .sf-inbox__head::after { content: '–'; }
.sf-inbox__form { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 16px; }
.sf-inbox__form .sf-btn { align-self: flex-start; }
.sf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------------------------------------------------------------- Bölge seçici */
.sf-region { display: inline-block; margin: 0 0 10px; }
.sf-region select { padding: 6px 28px 6px 10px; border: 1px solid var(--sf-line); border-radius: 8px; background: var(--sf-bg); color: var(--sf-text); font: inherit; font-size: 13px; }

/* ---------------------------------------------------------------- Alt bilgi: firma yasal bilgileri */
.sf-footer-company { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sf-footer-company__info { display: block; margin: 0; font-size: 12px; line-height: 1.5; opacity: .75; overflow-wrap: anywhere; }
.sf-footer-company__secure { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; opacity: .75; }
.sf-footer-company__secure .ui-icon { width: 12px; height: 12px; font-size: 12px; }
p .sf-footer-company__info, p .sf-footer-company__secure { margin-top: 4px; }

/* Alt satır: kabul edilen kart logoları (iki tema) */
.sf-paylogos { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; flex-shrink: 0; }
.sf-paylogos__item { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 34px; padding: 0 8px; border: 1px solid #e5e7eb; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); box-sizing: border-box; }
.sf-paylogos__item img { display: block; width: auto; height: auto; max-width: 100%; max-height: 18px; }
@media (min-width: 768px) { .sf-paylogos { justify-content: flex-end; } }
/* Gömülü gri logolar resmi tek renkli sürümlerine: Visa lacivert (#1A1F71), Troy koyu (Tema Editörü ile yüklenen logolar hariç) */
.sf-paylogos__item img[alt="Visa"]:not([data-custom]) { filter: brightness(0) saturate(100%) invert(10%) sepia(59%) saturate(4264%) hue-rotate(234deg) brightness(88%) contrast(106%); }
.sf-paylogos__item img[alt="Troy"]:not([data-custom]) { filter: brightness(0) saturate(100%) invert(14%) sepia(10%) saturate(1200%) hue-rotate(180deg) brightness(95%); }
/* Geniş logolar (iyzico logo bandı vb.): kart kutusu olmadan, orantılı */
.sf-paylogos__item--wide { width: auto; height: auto; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; max-width: 100%; }
.sf-paylogos__item--wide img { height: 28px; width: auto; max-width: 100%; max-height: none; }
@media (max-width: 480px) { .sf-paylogos__item--wide img { height: 22px; } }

/* ---------- Çerez onayı (bant + tercihler penceresi) ---------- */
.sf-cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 12px; pointer-events: none; opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
.sf-cc.is-visible { opacity: 1; transform: none; }
.sf-cc[hidden], .sf-ccm[hidden] { display: none !important; }
.sf-cc__box { pointer-events: auto; max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #fff; color: #111827; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 18px 50px -12px rgba(15, 23, 42, .28); box-sizing: border-box; }
.sf-cc__icon { display: none; flex: none; width: 42px; height: 42px; border-radius: 12px; background: #f3f4f6; color: #111827; align-items: center; justify-content: center; }
.sf-cc__icon .ui-icon { width: 22px; height: 22px; }
.sf-cc__body { min-width: 0; }
.sf-cc__title { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.sf-cc__text { margin: 0; font-size: 13px; line-height: 1.55; color: #4b5563; }
.sf-cc__link { color: #111827; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sf-cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* Kabul ve ret eşit boyutta yan yana; tercihler altta */
.sf-cc__actions .sf-cc__btn--ghost { grid-column: 1 / -1; order: 3; }
.sf-cc__btn { min-height: 44px; padding: 0 16px; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease; font-family: inherit; }
.sf-cc__btn--primary { background: #111827; color: #fff; }
.sf-cc__btn--primary:hover { background: #1f2937; }
.sf-cc__btn--outline { background: #fff; color: #111827; border-color: #d1d5db; }
.sf-cc__btn--outline:hover { border-color: #111827; }
.sf-cc__btn--ghost { background: transparent; color: #374151; text-decoration: underline; text-underline-offset: 3px; }
.sf-cc__btn--ghost:hover { color: #111827; }
.sf-cc__btn:focus-visible, .sf-ccm__close:focus-visible, .sf-ccm__switch input:focus-visible + .sf-ccm__slider { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (min-width: 900px) {
    .sf-cc { padding: 16px 20px 20px; }
    .sf-cc__box { flex-direction: row; align-items: center; gap: 18px; padding: 18px 22px; }
    .sf-cc__icon { display: inline-flex; }
    .sf-cc__body { flex: 1; }
    .sf-cc__actions { display: flex; flex-shrink: 0; }
    .sf-cc__actions .sf-cc__btn--ghost { order: 0; }
}

.sf-ccm { position: fixed; inset: 0; z-index: 9995; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .22s ease; }
.sf-ccm.is-visible { opacity: 1; }
.sf-ccm__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.sf-ccm__panel { position: relative; width: 100%; max-height: 90vh; display: flex; flex-direction: column; background: #fff; color: #111827; border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(15, 23, 42, .25); transform: translateY(24px); transition: transform .25s ease; outline: none; box-sizing: border-box; }
.sf-ccm.is-visible .sf-ccm__panel { transform: none; }
.sf-ccm__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid #f1f5f9; }
.sf-ccm__title { margin: 0; font-size: 18px; font-weight: 800; }
.sf-ccm__close { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e5e7eb; background: #fff; color: #111827; cursor: pointer; }
.sf-ccm__body { padding: 14px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.sf-ccm__intro { margin: 0 0 12px; font-size: 13px; line-height: 1.55; color: #4b5563; }
.sf-ccm__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sf-ccm__cat { padding: 14px; border: 1px solid #e5e7eb; border-radius: 12px; }
.sf-ccm__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sf-ccm__cat-title { font-size: 14px; font-weight: 700; }
.sf-ccm__always { font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sf-ccm__cat-desc { margin: 8px 0 0; font-size: 13px; line-height: 1.55; color: #4b5563; }
.sf-ccm__cat-basis { margin: 6px 0 0; font-size: 12px; color: #6b7280; }
.sf-ccm__switch { position: relative; display: inline-flex; width: 46px; height: 26px; flex: none; cursor: pointer; }
.sf-ccm__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.sf-ccm__slider { position: absolute; inset: 0; border-radius: 999px; background: #d1d5db; transition: background-color .2s ease; }
.sf-ccm__slider::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.sf-ccm__switch input:checked + .sf-ccm__slider { background: #111827; }
.sf-ccm__switch input:checked + .sf-ccm__slider::after { transform: translateX(20px); }
.sf-ccm__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid #f1f5f9; }
.sf-ccm__foot .sf-cc__btn[data-cc="save"] { grid-column: 1 / -1; order: 3; }
html.sf-ccm-open { overflow: hidden; }
@media (min-width: 640px) {
    .sf-ccm { align-items: center; padding: 20px; }
    .sf-ccm__panel { max-width: 620px; border-radius: 18px; transform: translateY(12px) scale(.98); }
    .sf-ccm__foot { display: flex; justify-content: flex-end; }
    .sf-ccm__foot .sf-cc__btn[data-cc="save"] { order: 0; }
}
.sf-footer-cookie-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.sf-footer-cookie-btn:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .sf-cc, .sf-ccm, .sf-ccm__panel { transition: none; } }

/* Footer alt satırı: telif, unvan ve yasal bilgiler (iki tema) */
.sf-footer-company { gap: 6px; }
.sf-footer-company__info { display: flex !important; flex-wrap: wrap; align-items: baseline; column-gap: 0; row-gap: 2px; font-size: 12px; line-height: 1.6; opacity: 1 !important; color: #6b7280; }
.sf-footer-company__name { font-weight: 700; color: #374151; margin-right: 10px; }
.sf-footer-company__item { white-space: nowrap; }
.sf-footer-company__item + .sf-footer-company__item::before, .sf-footer-company__name + .sf-footer-company__item::before { content: '·'; margin: 0 8px 0 0; color: #d1d5db; }
.sf-footer-company__name + .sf-footer-company__item::before { content: none; }
.sf-footer-company__label { color: #9ca3af; }
.sf-footer-company__secure { color: #6b7280; opacity: 1 !important; }
.sf-footer-company__secure .ui-icon { color: #16a34a; }
.fs-footer__copy { color: #6b7280 !important; }
@media (max-width: 767px) {
    .sf-footer-company, .sf-footer-company__info { justify-content: center; text-align: center; }
    .sf-footer-company__name { flex-basis: 100%; margin-right: 0; }
    .sf-footer-company__item { white-space: normal; }
}
.fs-footer__contact-text { min-width: 0; overflow-wrap: anywhere; }
.fs-footer__contact-link--static { cursor: default; }
.dark .sf-footer-company__name { color: #e5e7eb; }

/* ---------- Ödeme adımı: açılır pencerede ödeme (assets/js/sf-payment-popup.js) ---------- */
html.sfpp-open, html.sfpp-open body { overflow: hidden; }
html.sfpp-open body { position: fixed; left: 0; right: 0; width: 100%; }
.sfpp { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 24px; }
.sfpp[hidden] { display: none; }
.sfpp__mask { position: absolute; inset: 0; background: rgb(15 23 42 / .55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .2s ease; }
.sfpp__box { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); height: min(760px, calc(100vh - 48px)); height: min(760px, calc(100dvh - 48px)); border-radius: 16px; background: #fff; box-shadow: 0 30px 80px -20px rgb(0 0 0 / .45); overflow: hidden; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1); }
.sfpp.is-in .sfpp__mask { opacity: 1; }
.sfpp.is-in .sfpp__box { opacity: 1; transform: none; }
.sfpp__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #eef0f3; }
.sfpp__lock { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #ecfdf3; color: #039855; }
.sfpp__lock svg { width: 18px; height: 18px; }
.sfpp__titles { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sfpp__titles strong { font-size: 15px; font-weight: 700; color: #101828; line-height: 20px; }
.sfpp__sub { font-size: 12px; line-height: 16px; color: #667085; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sfpp__x { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #f2f4f7; color: #344054; cursor: pointer; transition: background .15s; }
.sfpp__x:hover, .sfpp__x:focus-visible { background: #e4e7ec; outline: none; }
.sfpp__x svg { width: 18px; height: 18px; }
.sfpp__body { position: relative; flex: 1; min-height: 0; background: #fff; }
.sfpp__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.sfpp__loader { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 24px; background: #fff; text-align: center; color: #475467; font-size: 14px; }
.sfpp__loader[hidden] { display: none; }
.sfpp__loader p { margin: 0; }
.sfpp__slow { font-size: 13px; color: #667085; max-width: 320px; }
.sfpp__spin { width: 34px; height: 34px; margin-bottom: 8px; border-radius: 50%; border: 3px solid #e4e7ec; border-top-color: #111827; animation: sfpp-spin .8s linear infinite; }
@keyframes sfpp-spin { to { transform: rotate(360deg); } }
.sfpp__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid #eef0f3; background: #fcfcfd; font-size: 12px; line-height: 16px; color: #667085; }
.sfpp__alt { color: #344054; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.sfpp__alt.is-hint { color: #fff; background: #111827; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
@media (max-width: 640px) {
    .sfpp { padding: 0; align-items: stretch; }
    .sfpp__box { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; }
    .sfpp__head { padding: 10px 12px; padding-top: calc(10px + env(safe-area-inset-top)); }
    .sfpp__foot { padding-bottom: calc(10px + env(safe-area-inset-bottom)); justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .sfpp__box, .sfpp__mask { transition: none; } .sfpp__spin { animation-duration: 2s; } }

/* ---------- Abonelik tercihleri (/abonelikten-cik — app/views/pages/unsubscribe.php, tüm temalar) ---------- */
.sf-unsub { --u-accent: var(--th-primary, #111827); --u-accent-text: var(--th-primary-text, #fff); display: flex; justify-content: center; padding: clamp(32px, 7vw, 80px) 16px clamp(48px, 8vw, 96px); min-height: 56vh; box-sizing: border-box; }
.sf-unsub *, .sf-unsub *::before, .sf-unsub *::after { box-sizing: border-box; }
.sf-unsub__card { width: 100%; max-width: 520px; padding: clamp(24px, 5vw, 40px); border: 1px solid #eaecf0; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgb(16 24 40 / .04), 0 16px 40px -18px rgb(16 24 40 / .18); text-align: center; color: #101828; animation: sf-unsub-in .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sf-unsub-in { from { opacity: 0; transform: translateY(8px); } }
.sf-unsub__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; background: #fef3f2; color: #d92d20; }
.sf-unsub__icon svg { width: 30px; height: 30px; }
.sf-unsub__icon--ok { background: #ecfdf3; color: #079455; }
.sf-unsub__icon--muted { background: #f2f4f7; color: #667085; }
.sf-unsub h1 { margin: 0 0 10px; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: #101828; }
.sf-unsub p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: #475467; }
.sf-unsub p strong { color: #101828; font-weight: 700; word-break: break-all; }
.sf-unsub__muted { font-size: 14px; color: #667085; }
.sf-unsub__perks { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; gap: 10px; text-align: left; }
.sf-unsub__perks li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #f9fafb; border: 1px solid #f2f4f7; }
.sf-unsub__perks li > span { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: #fff; border: 1px solid #eaecf0; color: var(--u-accent); }
.sf-unsub__perks li > span svg { width: 18px; height: 18px; }
.sf-unsub__perks strong { display: block; font-size: 14px; line-height: 20px; color: #101828; }
.sf-unsub__perks small { display: block; font-size: 13px; line-height: 18px; color: #667085; }
.sf-unsub__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.sf-unsub__form { margin: 0; }
.sf-unsub__btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter .15s, background-color .15s, box-shadow .15s, transform .1s; }
.sf-unsub__btn:active { transform: scale(.99); }
.sf-unsub__btn:focus-visible { outline: 2px solid var(--u-accent); outline-offset: 2px; }
.sf-unsub__btn--primary { background: var(--u-accent); color: var(--u-accent-text); }
.sf-unsub__btn--primary:hover { filter: brightness(1.12); color: var(--u-accent-text); }
.sf-unsub__btn--ghost { background: transparent; color: #475467; box-shadow: inset 0 0 0 1px #d0d5dd; }
.sf-unsub__btn--ghost:hover { background: #f9fafb; color: #101828; }
.sf-unsub__note { margin: 18px 0 0 !important; font-size: 12.5px !important; line-height: 1.5 !important; color: #98a2b3 !important; }
.sf-unsub__back { display: flex; flex-direction: column; gap: 4px; margin-top: 20px; padding: 16px; border-radius: 14px; background: #f9fafb; border: 1px dashed #d0d5dd; }
.sf-unsub__back strong { font-size: 15px; color: #101828; }
.sf-unsub__back span { font-size: 13.5px; color: #667085; }
.sf-unsub__back form { margin: 10px 0 0; }
.sf-unsub__alert { padding: 10px 12px; border-radius: 10px; background: #fffaeb; color: #b54708 !important; font-size: 13.5px !important; }
.sf-unsub__brand { margin: 22px 0 0 !important; font-size: 12px !important; letter-spacing: .08em; text-transform: uppercase; color: #98a2b3 !important; }
@media (min-width: 560px) {
    .sf-unsub__actions { flex-direction: row-reverse; }
    .sf-unsub__actions > * { flex: 1 1 0; }
}
@media (prefers-reduced-motion: reduce) { .sf-unsub__card { animation: none; } }

/* ---------- Ödeme adımı › misafir bilgileri bu cihazdan yüklendi (app/views/partials/checkout_guest_memory.php) ---------- */
.sf-guestmem { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #abefc6; border-radius: 12px; background: #ecfdf3; color: #054f31; animation: sf-guestmem-in .3s ease both; }
@keyframes sf-guestmem-in { from { opacity: 0; transform: translateY(-4px); } }
.sf-guestmem__ico { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #079455; color: #fff; }
.sf-guestmem__ico svg { width: 15px; height: 15px; }
.sf-guestmem__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sf-guestmem__txt strong { font-size: 13.5px; line-height: 18px; font-weight: 700; }
.sf-guestmem__txt small { font-size: 12px; line-height: 16px; color: #067647; }
.sf-guestmem__clear { flex: none; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: #054f31; font: inherit; font-size: 12.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.sf-guestmem__clear:hover { background: rgb(7 148 85 / .1); }
.sf-guestmem.is-cleared { border-color: #eaecf0; background: #f9fafb; color: #344054; }
.sf-guestmem.is-cleared small { color: #667085; }
html.dark .sf-guestmem { border-color: rgb(7 148 85 / .4); background: rgb(7 148 85 / .12); color: #a6f4c5; }
html.dark .sf-guestmem__txt small, html.dark .sf-guestmem__clear { color: #75e0a7; }
@media (max-width: 480px) { .sf-guestmem { flex-wrap: wrap; } .sf-guestmem__clear { margin-left: 40px; padding-left: 0; } }
@media (prefers-reduced-motion: reduce) { .sf-guestmem { animation: none; } }
