/* Kayıtlı kartlar alanı (checkout tarafı) */
.hedefsp-saved-cards {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #e0f2fe;
    border: 1px solid #bfdbfe;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
}

.hedefsp-saved-cards-title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
}

.hedefsp-saved-cards ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hedefsp-saved-cards li {
    margin: 3px 0;
}

.hedefsp-saved-cards label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hedefsp-saved-card-meta {
    font-size: 11px;
    color: #475569;
}

/* ÜRÜN SAYFASI – TAKSİT TABLOSU */
.hedefsp-installment-table {
    margin-top: 16px;
    margin-bottom: 20px;
    padding: 14px 16px 12px;
    border-radius: 14px;
    background: #0f172a;
    color: #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.45);
    position: relative;
    overflow: hidden;
}

.hedefsp-installment-block {
    display: block !important;
}

.hedefsp-installment-table::before {
    content: "";
    position: absolute;
    inset: -40%;
    pointer-events: none;
    opacity: 0.18;
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.7), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.7), transparent 55%);
}
p.form-row.form-row-wide {
    padding-left: 0px !important;
}
/* Header */
.hedefsp-installment-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 10px;
    flex-wrap: wrap;
}
.hedefsp-installment-block {
    margin-top: 30px;
}

.hedefsp-installment-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hedefsp-installment-header-right {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
}

/* Banka chip / logo */
.hedefsp-bank-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(104, 104, 104, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.8);
    backdrop-filter: blur(6px);
}

.hedefsp-bank-logo {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8);
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
}

/* Eğer gerçek logo kullanırsan (img) */
.hedefsp-bank-logo-image {
    padding: 0;
    background: none;
    width: auto;
    height: 20px;
    border-radius: 0;
    box-shadow: none;
}

.hedefsp-bank-logo-image img {
    width: auto;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 0;
}

/* Banka adına özel renk vermek istersen (opsiyonel örnekler) */
.hedefsp-bank-logo-akbank_json {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}
.hedefsp-bank-logo-fake {
    background: linear-gradient(135deg, #64748b, #0f172a);
}

.hedefsp-bank-name {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e5e7eb;
}

/* Başlık / alt başlık */
.hedefsp-installment-title {
    font-weight: 600;
    font-size: 14px;
}

.hedefsp-installment-subtitle {
    opacity: 0.85;
    font-size: 12px;
}

/* Tablo */
.hedefsp-installment-table table {
    position: relative;
    z-index: 1;
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 12px;
}

.hedefsp-installment-table th,
.hedefsp-installment-table td {
    padding: 7px 4px;
    text-align: right;
}

.hedefsp-installment-table th:first-child,
.hedefsp-installment-table td:first-child {
    text-align: left;
}

.hedefsp-installment-table thead th {
    border-bottom: 1px solid rgba(148, 163, 184, 0.6);
    font-weight: 500;
    color: #cbd5f5;
}

/* Satırlar */
.hedefsp-installment-table tbody tr {
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.hedefsp-installment-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.72);
}

.hedefsp-installment-table tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, 0.4);
}

.hedefsp-installment-table tbody tr:hover {
    background: rgba(148, 163, 184, 0.28);
    transform: translateY(-1px);
}

/* Açık tema varyasyonu */
.hedefsp-installment-table.hedefsp-theme-light {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.hedefsp-installment-table.hedefsp-theme-light::before {
    opacity: 0.14;
    background:
        radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(14, 165, 233, 0.18), transparent 55%);
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-bank-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.hedefsp-installment-table.hedefsp-theme-light {
    color: #0f172a;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.65);
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-bank-logo-image {
    background: #f8fafc;
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-bank-name {
    color: #0f172a;
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-installment-header-right {
    color: #0f172a;
}

.hedefsp-installment-table.hedefsp-theme-light thead th {
    border-color: #e2e8f0;
    color: #0f172a;
}

.hedefsp-installment-table.hedefsp-theme-light tbody tr:nth-child(even) {
    background: #f8fafc;
}

.hedefsp-installment-table.hedefsp-theme-light tbody tr:nth-child(odd) {
    background: #ffffff;
}

.hedefsp-installment-table.hedefsp-theme-light tbody tr:hover {
    background: #e2e8f0;
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-row-cash {
    background: rgba(34, 197, 94, 0.15);
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-row-highlight {
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.16),
        rgba(226, 232, 240, 0.85)
    );
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.hedefsp-installment-table.hedefsp-theme-light .hedefsp-installment-note {
    color: #475569;
    opacity: 1;
}

/* Hesabım > Kayıtlı Kartlarım menü ikonu */
.woocommerce-MyAccount-navigation-link--hedefsp-cards a {
    display: inline-flex;
    align-items: center;
}

.woocommerce-MyAccount-navigation-link--hedefsp-cards a::before {
    content: "";
    width: var(--hedefsp-cards-icon-size, 24px);
    height: var(--hedefsp-cards-icon-size, 24px);
    color: var(--hedefsp-cards-icon-color, currentColor);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%0A%3Crect%20x%3D%273.5%27%20y%3D%276.5%27%20width%3D%2717%27%20height%3D%2711%27%20rx%3D%272.5%27%20stroke%3D%27currentColor%27%20stroke-width%3D%271.8%27/%3E%0A%3Cpath%20d%3D%27M5.5%2011.5h13%27%20stroke%3D%27currentColor%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27/%3E%0A%3Cpath%20d%3D%27M7%2014.5h4.8%27%20stroke%3D%27currentColor%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27/%3E%0A%3Cpath%20d%3D%27M13%2014.5h4%27%20stroke%3D%27currentColor%27%20stroke-width%3D%271.6%27%20stroke-linecap%3D%27round%27/%3E%0A%3C/svg%3E");
    opacity: 0.9;
    flex-shrink: 0;
}

/* Elementor - POS Benefits Widget */
.hedefsp-pos-benefits {
    border-radius: 18px;
    padding: 18px 20px;
    background: #0f172a;
    color: #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
    position: relative;
    overflow: hidden;
}

.hedefsp-pos-benefits::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 55%);
    pointer-events: none;
}

.hedefsp-pos-header {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
}

.hedefsp-pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #14b8a6);
    color: #0f172a;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hedefsp-pos-badge-icon {
    font-size: 12px;
}

.hedefsp-pos-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 4px;
}

.hedefsp-pos-subtitle {
    margin: 0 0 4px;
    font-size: 13px;
    opacity: .9;
}

.hedefsp-pos-dynamic-line {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #22c55e;
}

.hedefsp-pos-benefits-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px 12px;
    margin-top: 10px;
}

.hedefsp-pos-benefit {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.hedefsp-pos-benefit-icon {
    font-size: 13px;
    margin-top: 2px;
    color: #22c55e;
}

.hedefsp-pos-benefit-title {
    font-size: 13px;
    font-weight: 600;
}

.hedefsp-pos-benefit-desc {
    font-size: 12px;
    opacity: .9;
}

/* Peşin satırı */
.hedefsp-installment-table .hedefsp-row-cash {
    font-weight: 600;
    background: rgba(34, 197, 94, 0.18);
}

/* En iyi taksit (en düşük toplam tutar, peşin hariç) */
.hedefsp-installment-table .hedefsp-row-highlight {
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.8);
    background: linear-gradient(
        90deg,
        rgba(59, 130, 246, 0.35),
        rgba(15, 23, 42, 0.9)
    );
}

/* Not */
.hedefsp-installment-note {
    position: relative;
    z-index: 1;
    margin: 8px 0 0;
    font-size: 11px;
    opacity: 0.78;
}

/* Küçük ekran uyumu */
@media (max-width: 480px) {
    .hedefsp-installment-header {
        align-items: flex-start;
    }
    .hedefsp-installment-header-right {
        width: 100%;
        justify-content: flex-start;
    }
}

/* HESABIM > KAYITLI KARTLAR */
.hedefsp-cards-page {
    max-width: 800px;
}

.hedefsp-saved-cards-desc {
    font-size: 13px;
    color: #4b5563;
    margin-top: 4px;
    margin-bottom: 10px;
}

.hedefsp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.hedefsp-card-item {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #e5e7eb;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.35);
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.hedefsp-card-item::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .18;
        background:
            radial-gradient(circle at 0 0, rgba(59, 130, 246, .7), transparent 55%),
            radial-gradient(circle at 100% 100%, rgba(45, 212, 191, .7), transparent 55%);
        pointer-events: none;
}

.hedefsp-card-header,
.hedefsp-card-number,
.hedefsp-card-meta,
.hedefsp-card-actions {
    position: relative;
    z-index: 1;
}

.hedefsp-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.hedefsp-card-brand {
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 12px;
}

.hedefsp-card-badge {
    background: #22c55e;
    color: #022c22;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.hedefsp-card-number {
    font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 14px;
    letter-spacing: 0.18em;
    margin: 8px 0;
}

.hedefsp-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    opacity: 0.85;
    margin-bottom: 10px;
    gap: 6px;
    flex-wrap: wrap;
}

.hedefsp-card-actions .button {
    margin-right: 6px;
    margin-bottom: 4px;
}

.hedefsp-card-delete {
    background: #ef4444;
    border-color: #b91c1c;
    color: #fff;
}

.hedefsp-card-delete:hover {
    background: #b91c1c;
}
body[data-color=default] .checkout-wrapper .order-review-wrapper #order_review .woocommerce-checkout-payment .wc_payment_methods li label::before { display:none;
}
@media (max-width: 600px) {
    .hedefsp-card-number {
        letter-spacing: 0.12em;
        font-size: 13px;
    }
}

/* CHECKOUT > KAYITLI KART SEÇİMİ */
.hedefsp-checkout-wrapper h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 600;
}

.hedefsp-saved-cards-list {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.hedefsp-saved-card {
    margin-bottom: 4px;
}

.hedefsp-saved-card label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hedefsp-saved-card input[type="radio"] {
    appearance: auto;
    -webkit-appearance: auto;
    position: static !important;
    display: inline-block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.hedefsp-saved-card-main {
    display: flex;
    flex-direction: column;
}

.hedefsp-saved-card-pan {
    font-weight: 600;
}

.hedefsp-saved-card-meta {
    font-size: 11px;
    opacity: .8;
}

.hedefsp-saved-card-new {
    margin-top: 6px;
}

/* CHECKOUT > KART FORMU */
.hedefsp-new-card-block {
    margin-top: 10px;
    margin-bottom: 10px;
}

.hedefsp-card-form--collapsed {
    display: none;
}

.hedefsp-card-shell {
    position: relative;
    background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.08), transparent 30%),
        #0f172a;
    color: #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 8px 15px rgba(15, 23, 42, 0.35);
    overflow: hidden;
}

.hedefsp-card-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 80% 60%, rgba(59, 130, 246, 0.12), transparent 45%);
}

.hedefsp-card-shell.hedefsp-theme-light {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.hedefsp-card-shell.hedefsp-theme-light::after {
    background: radial-gradient(circle at 80% 60%, rgba(14, 165, 233, 0.16), transparent 50%);
}

.hedefsp-card-shell__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hedefsp-card-shell__title h4 {
    color: #fff;
    margin: 15px 0 2px;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-shell__title h4 {
    color: #0f172a;
}

.hedefsp-card-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 999px;
    font-size: 11px;
    color: #bfdbfe;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-eyebrow {
    background: #e0f2fe;
    border-color: #bae6fd;
    color: #0f172a;
}

.hedefsp-card-subtitle {
    margin: 0;
    font-size: 12px;
    color: #cbd5e1;
    opacity: 0.9;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-subtitle {
    color: #334155;
}

.hedefsp-card-brands {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.hedefsp-card-brand {
    padding: 6px 10px;
    border-radius: 17px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #0f172a;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.hedefsp-card-brand--visa {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #f8fafc;
}

.hedefsp-card-brand--mc {
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #fff7ed;
}

.hedefsp-card-brand--troy {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ecfdf3;
}

.hedefsp-card-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:1fr;
    gap: 16px;
    align-items: stretch;
}

.hedefsp-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hedefsp-card-visual__inner {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    padding: 13px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 0 18px 28px rgba(0, 0, 0, 0.25);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-visual__inner {
    background: linear-gradient(135deg, #dbeafe, #60a5fa);
    color: #0f172a;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06), 0 12px 24px rgba(15, 23, 42, 0.12);
}

.hedefsp-card-visual__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 35%);
    pointer-events: none;
}

.hedefsp-card-visual__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.hedefsp-card-visual__chip {
    width: 42px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.hedefsp-card-visual__brand {
    font-weight: 800;
    letter-spacing: 0.12em;
    font-size: 12px;
}

.hedefsp-card-visual__number {
    font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 17px;
    letter-spacing: 0.24em;
    margin: 6px 0 8px;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-visual__number {
    color: #0f172a;
}

.hedefsp-card-visual__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.hedefsp-card-visual__label {
    display: block;
    font-size: 11px;
    opacity: 0.7;
    letter-spacing: 0.06em;
}

.hedefsp-card-visual__holder,
.hedefsp-card-visual__exp {
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 13px;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-visual__holder,
.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-visual__exp {
    color: #0f172a;
}

.hedefsp-card-fields {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 14px;
    padding-left: 8px;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-card-fields {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.hedefsp-field {
    margin-bottom: 12px !important;
    padding-left: 0px !important;
}

.hedefsp-field label {
    color: #e2e8f0;
    font-weight: 600;
    padding-left: 0px !important;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-field label {
    color: #0f172a;
}
.checkout-wrapper .order-review-wrapper #order_review .woocommerce-checkout-payment .wc_payment_methods li label {
    padding-left: 20px;
    font-size: 0.812rem !important;
}
.hedefsp-field input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    color: #fff;
    padding: 12px 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-field input {
    background: #ffffff;
    border-color: #cbd5e1;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hedefsp-field input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
    outline: none;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-field input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.hedefsp-field-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

.hedefsp-field--compact input {
    padding-right: 10px;
}

.hedefsp-helper-text {
    display: block;
    font-size: 11px;
    color: #cbd5e1;
    opacity: 0.8;
    margin-top: 6px;
}

.hedefsp-card-shell.hedefsp-theme-light .hedefsp-helper-text {
    color: #475569;
}

.hedefsp-card-save-row {
    margin-top: 2px;
}

.hedefsp-card-shell .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.hedefsp-card-shell .woocommerce-form__input-checkbox {
    width: 18px;
    height: 18px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1.5px solid #94a3b8;
    border-radius: 6px;
    background: rgba(148, 163, 184, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    flex-shrink: 0;
    background-image: none;
    color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hedefsp-card-shell.hedefsp-theme-light .woocommerce-form__input-checkbox {
    border-color: #cbd5e1;
    background: #fff;
}

.hedefsp-card-shell .woocommerce-form__input-checkbox::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    border: solid transparent;
    border-width: 0 2px 2px 0;
    transform: translate(-1px, -1px) rotate(45deg) scale(0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.hedefsp-card-shell .woocommerce-form__input-checkbox:checked {
    background: #38bdf8;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
    z-index: 2;
}

.hedefsp-card-shell.hedefsp-theme-light .woocommerce-form__input-checkbox:checked {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    z-index: 2;
}

.hedefsp-card-shell .woocommerce-form__input-checkbox:checked::after {
    border-color: #ffffff;
    opacity: 1;
    z-index: -1;
    transform: translate(-1px, -1px) rotate(45deg) scale(1);
}

/* 3D Secure modal */
.hedefsp-3d-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 99998;
    display: none;
}

.hedefsp-3d-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    width: 520px;
    max-width: 90vw;
    height: 720px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 99999;
    display: none;
}

.hedefsp-3d-modal.is-open,
.hedefsp-3d-overlay.is-open {
    display: block;
}

.hedefsp-3d-modal.is-open {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.hedefsp-3d-overlay.is-open {
    opacity: 1;
}

.hedefsp-3d-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(15, 23, 42, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    color: #0f172a;
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 1;
}

.hedefsp-3d-close:hover,
.hedefsp-3d-close:focus {
    background: rgba(37, 99, 235, 0.15);
    outline: none;
    transform: scale(1.05);
}

.hedefsp-3d-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

body.hedefsp-3d-open {
    overflow: hidden;
}
/* TR Smart POS kart alanındaki seçim yuvarlağını kaldır */
.hedefsp-card-fields .form-row label:before,
.hedefsp-card-fields .form-row label::before {
    content: none !important;
    display: none !important;
}
@media (max-width: 900px) {
    .hedefsp-card-layout {
        grid-template-columns: 1fr;
    }

    .hedefsp-card-visual__inner {
        height: auto;
        min-height: 180px;
    }
}

@media (max-width: 600px) {
    .hedefsp-card-visual__number {
        letter-spacing: 0.18em;
        font-size: 16px;
    }

    .hedefsp-field-row {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
}
