/* ─── 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;
}

.cfg-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 88px;
}

.cfg-wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

/* ─── Hero ────────────────────────────────────────────────── */
.cfg-hero {
    text-align: center;
    margin-bottom: 44px;
}

.cfg-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: rgb(41 61 117);
    letter-spacing: .03em;
}

.cfg-hero-badge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(41 61 117);
    display: inline-block;
    animation: cfg-pulse 2s ease-in-out infinite;
}

@keyframes cfg-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(.75);
    }
}

.cfg-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;
}

.cfg-hero-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--yn-text-faint, #94a3b8);
}

.cfg-hero-sub {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* ─── Kart ────────────────────────────────────────────────── */
.cfg-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);
}

.cfg-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.cfg-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.cfg-card-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 2px 0 0;
}

/* ─── Ürün başlık kartı ───────────────────────────────────── */
.cfg-product-info {
    margin-bottom: 4px;
}

.cfg-product-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.cfg-product-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ─── Pill tabs (billing cycle) ───────────────────────────── */
.cfg-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: #f1f5f9;
    border-radius: 14px;
    padding: 6px;
}

.cfg-pill {
    flex: 1 1 auto;
    min-width: 120px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: all .15s;
    position: relative;
}

.cfg-pill:hover {
    color: #4338ca;
}

.cfg-pill.active {
    background: #fff;
    color: #4338ca;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.cfg-pill .cfg-pill-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

.cfg-pill-badge {
    position: absolute;
    top: -8px;
    right: 8px;
    background: #10b981;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    letter-spacing: .03em;
}

/* ─── Form alanları ───────────────────────────────────────── */
.cfg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cfg-grid .cfg-col-full {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .cfg-grid {
        grid-template-columns: 1fr;
    }
}

.cfg-field label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.cfg-field .form-control,
.cfg-field select.form-control {
    width: 100%;
    height: 46px;
    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, background .15s;
}

.cfg-field .form-control:focus {
    border-color: rgb(41 61 117);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .1);
    outline: none;
}

.cfg-field .field-help-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 5px;
    display: block;
}

/* Radio / checkbox seçenekleri */
.cfg-choice {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cfg-choice label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8faff;
    font-weight: 500;
    font-size: 14px;
    color: #334155;
    margin: 0;
    transition: all .12s;
}

.cfg-choice label:hover {
    border-color: #c7d2fe;
    background: #eef2ff;
}

.cfg-choice input[type="radio"]:checked + span,
.cfg-choice input[type="checkbox"]:checked + span {
    color: #4338ca;
    font-weight: 600;
}

/* ─── Addon kartları ──────────────────────────────────────── */
.cfg-addons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .cfg-addons {
        grid-template-columns: 1fr;
    }
}

.cfg-addons .panel-addon {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #f8faff !important;
    box-shadow: none !important;
    transition: all .15s;
    overflow: hidden;
}

.cfg-addons .panel-addon:hover {
    border-color: #c7d2fe !important;
    background: #eef2ff !important;
}

.cfg-addons .panel-addon-selected {
    border-color: #a5b4fc !important;
    background: #eef2ff !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .12) !important;
}

.cfg-addons .panel-body {
    padding: 16px !important;
}

/* ─── Sipariş özeti — fixed bottom bar ───────────────────── */
#scrollingPanelContainer {
    display: none !important;
}

#orderSummary {
    margin-top: 0 !important;
}

#orderSummary.cfg-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    border-top: 3px solid rgb(41 61 117) !important;
    box-shadow: 0 -4px 32px rgba(99, 102, 241, .14) !important;
    margin: 0 !important;
    padding: 0 !important;
}

#orderSummary.cfg-bar .cfg-bar-inner {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 0 28px !important;
    height: 78px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

#orderSummaryLoader {
    color: rgb(41 61 117);
    font-size: 14px;
    flex-shrink: 0;
}

.cfg-bar-name {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    flex-shrink: 0;
    letter-spacing: -.02em;
}

.cfg-bar-sep {
    width: 1px;
    height: 32px;
    background: #e0e7ff;
    flex-shrink: 0;
}

.cfg-bar-details {
    flex: 1;
    position: relative;
    min-width: 0;
}

.cfg-bar-details > summary {
    list-style: none !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: rgb(41 61 117);
    user-select: none;
    padding: 7px 12px;
    border-radius: 8px;
    border: 1.5px solid #e0e7ff;
    background: #f8f7ff;
    transition: all .12s;
}

.cfg-bar-details > summary::-webkit-details-marker {
    display: none;
}

.cfg-bar-details > summary:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.cfg-bar-details > summary .cfg-bar-chevron {
    font-size: 17px;
    transition: transform .18s;
    color: #a5b4fc;
}

.cfg-bar-details[open] > summary .cfg-bar-chevron {
    transform: rotate(180deg);
}

.cfg-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: cfg-popup-in .15s ease;
    z-index: 10;
}

@keyframes cfg-popup-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.cfg-bar-popup-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

/* ─── Order Summary (os-*) ──────────────────────────────── */
#producttotal {
    font-size: 13px;
    color: #334155;
}

/* Ürün başlığı */
.os-product-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.os-product-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    flex: 1;
}

.os-product-price {
    font-size: 13px;
    font-weight: 600;
    color: rgb(41 61 117);
    white-space: nowrap;
}

.os-qty {
    font-size: 11px;
    font-weight: 700;
    background: rgb(41 61 117);
rgb(41 61 117)    border-radius: 5px;
    padding: 1px 5px;
}

.os-product-group {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 10px;
}

/* Satırlar */
.os-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f1f5f9;
}

.os-line:last-child {
    border-bottom: none;
}

.os-line-label {
    font-size: 12px;
    color: #64748b;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.os-line-label i {
    font-size: 13px;
    color: #94a3b8;
    flex-shrink: 0;
}

.os-line-label strong {
    color: #334155;
    font-weight: 600;
}

.os-line-value {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    text-align: right;
}

.os-line-sub {
    padding: 4px 0 4px 4px;
}

.os-setup {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}

/* Ara toplamlar */
.os-totals {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1.5px dashed #e2e8f0;
}

.os-totals .os-line {
    padding: 4px 0;
}

/* Toplam */
.os-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-radius: 10px;
    gap: 8px;
}

.os-total-label {
    font-size: 11.5px;
    font-weight: 600;
    color: rgb(41 61 117);
}

.os-total-amount {
    font-size: 18px;
    font-weight: 800;
    color: rgb(41 61 117);
    letter-spacing: -.02em;
}

/* Yenileme satırları */
.os-section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 10px 0 6px;
}

.os-renewal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.os-renewal-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}

.os-renewal-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
}

.os-renewal-domain {
    font-size: 11px;
    color: #94a3b8;
}

.os-renewal-period {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
}

.os-renewal-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}

.os-renewal-cycle {
    font-size: 10.5px;
    color: #94a3b8;
}

.os-renewal-price {
    font-size: 12.5px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.os-remove {
    color: #cbd5e1;
    font-size: 11px;
    transition: color .12s;
    text-decoration: none;
}

.os-remove:hover {
    color: #ef4444;
}


.cfg-bar-action {
    flex-shrink: 0;
}

#btnCompleteProductConfig {
    height: 48px !important;
    padding: 0 28px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    border: none !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 16px rgba(99, 102, 241, .4) !important;
    transition: box-shadow .15s, transform .1s !important;
    white-space: nowrap !important;
}

#btnCompleteProductConfig:hover {
    box-shadow: 0 6px 24px rgba(99, 102, 241, .55) !important;
    transform: translateY(-1px) !important;
}

#btnCompleteProductConfig:active {
    transform: none !important;
}

/* ─── Metrik & yardım ─────────────────────────────────────── */
.cfg-metrics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cfg-metrics-list li {
    padding: 12px 16px;
    background: #f8faff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
}

.cfg-help {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(99, 102, 241, .06);
    border: 1px solid rgba(99, 102, 241, .15);
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: rgb(41 61 117);
    margin-top: 18px;
}

.cfg-help i {
    font-size: 17px;
    color: rgb(41 61 117);
}

.cfg-help a {
    color: rgb(41 61 117);
    font-weight: 700;
    text-decoration: underline;
}

#containerProductValidationErrors {
    border-radius: 12px;
    border: 1.5px solid #fecaca;
    background: #fff5f5;
    color: #991b1b;
}

/* ─── SmarterMail plan kartları ─────────────────────────── */
.sm-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.sm-plan-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    background: #f8faff;
    padding: 16px 12px 14px;
    text-align: center;
    transition: border-color .12s, background .12s, box-shadow .12s;
}

.sm-plan-card.active {
    border-color: rgb(41 61 117);
    background: #eef2ff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, .12);
}

.sm-plan-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.sm-plan-price {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 10px;
    letter-spacing: -.01em;
}

.sm-plan-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.sm-step-btn {
    width: 36px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 22px;
    font-weight: 300;
    color: #4338ca;
    cursor: pointer;
    transition: background .1s;
    line-height: 1;
    flex-shrink: 0;
}

.sm-step-btn:hover {
    background: #eef2ff;
}

.sm-step-btn:disabled {
    color: #cbd5e1;
    cursor: default;
    background: transparent;
}

.sm-step-num {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    border-left: 1.5px solid #e2e8f0;
    border-right: 1.5px solid #e2e8f0;
    padding: 8px 2px;
    user-select: none;
    min-width: 40px;
}