/* ─── Reset & layout ─────────────────────────────────────── */
#order-standard_cart .cart-body { width: 100% !important; float: none !important; padding: 0 !important; }
#order-standard_cart .cart-sidebar { display: none !important; }
#order-standard_cart .row { margin: 0; }
#scrollingPanelContainer { display: none !important; }

/* ─── Sayfa ──────────────────────────────────────────────── */
.vc-page {
    min-height: 100vh;
    background: #f0f4ff;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(99,102,241,.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(14,165,233,.07) 0%, transparent 60%);
    padding: 120px 20px 120px;
}
.vc-wrap { width: 100%; max-width: 960px; margin: 0 auto; }

/* ─── Hero ───────────────────────────────────────────────── */
.vc-hero { text-align: center; margin-bottom: 44px; }
.vc-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(99,102,241,.08); border: 1px solid rgba(99,102,241,.18);
    border-radius: 100px; padding: 5px 14px; margin-bottom: 22px;
    font-size: 12px; font-weight: 600; color: #6366f1; letter-spacing: .03em;
}
.vc-hero-badge span {
    width: 6px; height: 6px; border-radius: 50%;
    background: #6366f1; display: inline-block;
    animation: vc-pulse 2s ease-in-out infinite;
}
@keyframes vc-pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.4; transform:scale(.75); }
}
.vc-hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 900; line-height: 1.05; letter-spacing: -1.2px;
    color: var(--yn-text, #0f1c3f);
    font-optical-sizing: none; font-variation-settings: 'opsz' 9;
    margin: 0 0 12px;
}
.vc-hero-title em { font-style: italic; font-weight: 300; color: var(--yn-text-faint, #94a3b8); }
.vc-hero-sub { font-size: 16px; color: #64748b; line-height: 1.6; max-width: 480px; margin: 0 auto; }

/* ─── Kart ───────────────────────────────────────────────── */
.vc-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 30px;
    margin-bottom: 18px;
    box-shadow: 0 0 0 1px rgba(15,23,42,.06), 0 4px 6px -1px rgba(15,23,42,.04),
                0 18px 36px -12px rgba(99,102,241,.1);
}
.vc-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.vc-card-icon {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1, #818cf8); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; box-shadow: 0 4px 12px rgba(99,102,241,.3);
}
.vc-card-title { font-size: 17px; font-weight: 700; color: #0f172a; margin: 0; }
.vc-card-desc  { font-size: 13px; color: #94a3b8; margin: 2px 0 0; }

/* ─── Sepet öğeleri ──────────────────────────────────────── */
.vc-items { display: flex; flex-direction: column; gap: 0; }
.vc-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.vc-item:last-child { border-bottom: none; padding-bottom: 0; }
.vc-item:first-child { padding-top: 0; }

.vc-item-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: #eef2ff; border: 1.5px solid #e0e7ff; color: #6366f1;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.vc-item-body { flex: 1; min-width: 0; }
.vc-item-name { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vc-item-name a {
    font-size: 12px; font-weight: 600; color: #6366f1; text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 2px 8px; border-radius: 6px; border: 1px solid #e0e7ff; background: #f8f7ff; transition: all .12s;
}
.vc-item-name a:hover { background: #eef2ff; border-color: #c7d2fe; }
.vc-item-group { font-size: 12px; color: #94a3b8; font-weight: 500; }
.vc-item-domain { font-size: 12px; color: #6366f1; font-weight: 600; margin-top: 2px; }
.vc-item-opts { font-size: 12px; color: #64748b; margin-top: 4px; line-height: 1.7; }
.vc-item-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.vc-item-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }

/* Fiyat sütunu */
.vc-item-price { text-align: right; flex-shrink: 0; min-width: 120px; }
.vc-item-price .price-main { font-size: 16px; font-weight: 800; color: #0f172a; display: block; }
.vc-item-price .price-cycle { font-size: 11px; color: #94a3b8; font-weight: 500; display: block; margin-top: 2px; }
.vc-item-price .price-renew { font-size: 11px; color: #64748b; display: block; margin-top: 3px; }
.vc-item-price .price-setup { font-size: 11px; color: #f59e0b; font-weight: 600; display: block; margin-top: 2px; }
.vc-item-price .price-prorata { font-size: 11px; color: #94a3b8; display: block; }

/* Miktar */
.vc-item-qty { display: flex; flex-direction: column; align-items: center; gap: 4px; flex-shrink: 0; }
.vc-item-qty .form-control { width: 64px; height: 36px; border-radius: 8px; border: 1.5px solid #e2e8f0; background: #f8faff; text-align: center; font-size: 13px; font-weight: 600; color: #0f172a; }
.vc-item-qty .btn-update { font-size: 11px; padding: 3px 10px; border-radius: 6px; border: 1px solid #e0e7ff; background: #f8f7ff; color: #6366f1; font-weight: 600; cursor: pointer; }

/* Sil butonu */
.vc-item-remove {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px;
    border: 1.5px solid #fee2e2; background: #fff5f5; color: #ef4444;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; cursor: pointer; transition: all .12s; margin-top: 4px;
}
.vc-item-remove:hover { background: #fef2f2; border-color: #fca5a5; }

/* Boş sepet */
.vc-empty { text-align: center; padding: 48px 20px; color: #94a3b8; font-size: 15px; }
.vc-empty i { font-size: 40px; display: block; margin-bottom: 12px; opacity: .4; }

/* Sepeti temizle */
.vc-empty-cart-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
    border-radius: 8px; border: 1.5px solid #fee2e2; background: #fff5f5; color: #ef4444;
    font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 16px; transition: all .12s;
}
.vc-empty-cart-btn:hover { background: #fef2f2; }

/* ─── Promo + vergi kartı ─────────────────────────────────── */
.vc-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1.5px solid #f1f5f9; padding-bottom: 0; }
.vc-tab-btn {
    padding: 8px 16px; border: none; background: transparent;
    font-size: 13px; font-weight: 600; color: #94a3b8; cursor: pointer;
    border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; transition: all .15s; border-radius: 0;
}
.vc-tab-btn.active { color: #6366f1; border-bottom-color: #6366f1; }
.vc-tab-panel { display: none; padding-top: 16px; }
.vc-tab-panel.active { display: block; }

/* Promo mevcut */
.vc-promo-active {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px; border-radius: 10px; background: #f0fdf4; border: 1.5px solid #a7f3d0;
    font-size: 13px; font-weight: 600; color: #065f46; margin-bottom: 10px;
}
.vc-promo-active a { font-size: 12px; color: #ef4444; font-weight: 600; text-decoration: none; }

/* Promo input satırı */
.vc-promo-row { display: flex; gap: 10px; }
.vc-promo-row .form-control {
    flex: 1; height: 44px; border-radius: 10px; border: 1.5px solid #e2e8f0;
    background: #f8faff; padding: 0 14px; font-size: 14px; color: #0f172a;
    transition: border-color .15s, box-shadow .15s;
}
.vc-promo-row .form-control:focus { border-color: #6366f1; background: #fff; box-shadow: 0 0 0 3px rgba(99,102,241,.1); outline: none; }
.vc-promo-row .btn-promo {
    height: 44px; padding: 0 20px; border-radius: 10px; border: none;
    background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff;
    font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99,102,241,.3); transition: box-shadow .15s;
}
.vc-promo-row .btn-promo:hover { box-shadow: 0 6px 20px rgba(99,102,241,.45); }

/* Vergi formu */
.vc-tax-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
@media (max-width: 600px) { .vc-tax-grid { grid-template-columns: 1fr; } }
.vc-tax-grid label { font-size: 12px; font-weight: 600; color: #334155; margin-bottom: 5px; display: block; }
.vc-tax-grid .form-control { width: 100%; height: 42px; border-radius: 9px; border: 1.5px solid #e2e8f0; background: #f8faff; padding: 0 12px; font-size: 13px; color: #0f172a; }
.btn-update-totals {
    height: 40px; padding: 0 20px; border-radius: 9px; border: 1.5px solid #e0e7ff;
    background: #f8f7ff; color: #6366f1; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .12s;
}
.btn-update-totals:hover { background: #eef2ff; }

/* Express checkout */
.vc-express { margin-bottom: 0; }
.vc-express .separator { text-align: center; font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: .06em; margin: 10px 0; }

/* Hata / uyarı */
.vc-alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 18px; font-size: 13.5px; font-weight: 500; }
.vc-alert-danger  { border: 1.5px solid #fecaca; background: #fff5f5; color: #991b1b; }
.vc-alert-warning { border: 1.5px solid #fde68a; background: #fffbeb; color: #92400e; }
.vc-alert-success { border: 1.5px solid #a7f3d0; background: #f0fdf4; color: #065f46; }
.vc-alert-info    { border: 1.5px solid #bae6fd; background: #f0f9ff; color: #075985; }
.vc-alert ul { margin: 6px 0 0; padding-left: 20px; }

/* ─── Fixed bottom bar ───────────────────────────────────── */
.vc-page { padding-bottom: 120px; }
#vc-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: #ffffff; border-top: 3px solid #6366f1; box-shadow: 0 -4px 32px rgba(99,102,241,.14);
}
.vc-bar-inner { display: flex; align-items: center; gap: 16px; max-width: 960px; margin: 0 auto; padding: 0 28px; height: 78px; box-sizing: border-box; }

#orderSummaryLoader { color: #6366f1; font-size: 14px; flex-shrink: 0; }
.vc-bar-sep { width: 1px; height: 32px; background: #e0e7ff; flex-shrink: 0; }

.vc-bar-details { flex: 1; position: relative; min-width: 0; }
.vc-bar-details > summary {
    list-style: none !important; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: #6366f1; user-select: none;
    padding: 7px 12px; border-radius: 8px; border: 1.5px solid #e0e7ff; background: #f8f7ff; transition: all .12s;
}
.vc-bar-details > summary::-webkit-details-marker { display: none; }
.vc-bar-details > summary:hover { background: #eef2ff; border-color: #c7d2fe; }
.vc-bar-details > summary .vc-chevron { font-size: 17px; transition: transform .18s; color: #a5b4fc; }
.vc-bar-details[open] > summary .vc-chevron { transform: rotate(180deg); }

.vc-bar-popup {
    position: absolute; bottom: calc(100% + 14px); left: 0; min-width: 300px;
    background: #fff; border: 1.5px solid #e0e7ff; border-radius: 16px; padding: 20px 22px 16px;
    box-shadow: 0 -4px 6px rgba(15,23,42,.03), 0 24px 48px rgba(99,102,241,.16);
    animation: vc-popup-in .15s ease; z-index: 10;
}
@keyframes vc-popup-in {
    from { opacity:0; transform: translateY(8px); }
    to   { opacity:1; transform: none; }
}
.vc-popup-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; margin-bottom: 14px; }

/* Özet satırları */
.vc-summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: #475569; }
.vc-summary-row:last-child { border-bottom: none; }
.vc-summary-row strong { color: #0f172a; font-weight: 700; }
.vc-summary-row.vc-total {
    padding-top: 12px; font-size: 15px; font-weight: 800; color: #4338ca;
    border-top: 2px solid #e0e7ff; border-bottom: none; margin-top: 4px;
}
.vc-recurring-list { text-align: right; font-size: 12px; color: #64748b; line-height: 1.8; }
.vc-recurring-list .cost { font-weight: 700; color: #334155; }

/* Toplam bugün (bar'da) */
.vc-bar-total { display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0; }
.vc-bar-total-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #94a3b8; }
.vc-bar-total-amount { font-size: 22px; font-weight: 800; color: #4338ca; letter-spacing: -.03em; line-height: 1.1; }

/* Checkout butonu */
#vc-btn-checkout {
    height: 48px; padding: 0 28px; font-size: 14px; font-weight: 700; border-radius: 12px; border: none;
    background: linear-gradient(135deg, #10b981, #059669); color: #fff;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 16px rgba(16,185,129,.35);
    transition: box-shadow .15s, transform .1s, opacity .15s; white-space: nowrap; text-decoration: none; cursor: pointer;
}
#vc-btn-checkout:hover { box-shadow: 0 6px 24px rgba(16,185,129,.5); transform: translateY(-1px); color: #fff; text-decoration: none; }
#vc-btn-checkout:active { transform: none; }
#vc-btn-checkout.disabled { opacity: .5; pointer-events: none; }

/* ─── Modallar ───────────────────────────────────────────── */
.vc-modal-backdrop {
    display: none; position: fixed; inset: 0; z-index: 9998;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
}
.vc-modal-backdrop.open { display: flex; animation: vcModalFadeIn .18s ease; }
@keyframes vcModalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.vc-modal {
    background: #fff; border-radius: 20px; width: 100%; max-width: 400px; margin: 20px;
    box-shadow: 0 8px 40px rgba(15,23,42,.18), 0 0 0 1px rgba(15,23,42,.06);
    animation: vcModalSlideIn .2s cubic-bezier(.34,1.56,.64,1); overflow: hidden;
}
@keyframes vcModalSlideIn {
    from { opacity: 0; transform: scale(.94) translateY(12px); }
    to   { opacity: 1; transform: scale(1)  translateY(0); }
}

.vc-modal-icon-wrap { display: flex; justify-content: center; padding: 32px 28px 0; }
.vc-modal-icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.vc-modal-icon.danger  { background: #fef2f2; color: #ef4444; }
.vc-modal-icon.warning { background: #fffbeb; color: #f59e0b; }

.vc-modal-body { padding: 20px 28px 8px; text-align: center; }
.vc-modal-body h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 8px; letter-spacing: -.02em; }
.vc-modal-body p { font-size: 14px; color: #64748b; margin: 0; line-height: 1.6; }

.vc-modal-footer { display: flex; gap: 10px; padding: 20px 28px 28px; }
.vc-modal-btn { flex: 1; height: 44px; border-radius: 12px; border: none; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .12s; }
.vc-modal-btn.cancel { background: #f1f5f9; color: #475569; }
.vc-modal-btn.cancel:hover { background: #e2e8f0; }
.vc-modal-btn.confirm-danger { background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff; box-shadow: 0 4px 12px rgba(239,68,68,.3); }
.vc-modal-btn.confirm-danger:hover { box-shadow: 0 6px 18px rgba(239,68,68,.45); transform: translateY(-1px); }
.vc-modal-btn.confirm-warning { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; box-shadow: 0 4px 12px rgba(245,158,11,.3); }
.vc-modal-btn.confirm-warning:hover { box-shadow: 0 6px 18px rgba(245,158,11,.45); transform: translateY(-1px); }
