/* =========================================================
   Sepet, sipariş, ödeme ve giriş/kayıt sayfaları
   ========================================================= */
.shop-area { --shop-border: #E7E9F2; --shop-muted: #6B7280; --shop-radius: 12px; }
.shop-area .shop-card {
    background: #fff;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    padding: 28px;
    box-shadow: 0 8px 30px rgba(11, 13, 44, .04);
}
.shop-area .shop-card + .shop-card { margin-top: 24px; }
.shop-area .shop-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-secondary, #0b0d2c);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.shop-area .shop-card__title i { color: var(--color-primary, #2d65f2); }
.shop-area .text-muted, .shop-muted { color: var(--shop-muted, #6B7280) !important; }

/* Form öğeleri */
.shop-area .shop-input,
.shop-area select.shop-input,
.shop-area textarea.shop-input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    background: #fff;
    padding: 0 14px;
    font-size: 15px;
    color: var(--color-secondary, #0b0d2c);
    transition: border-color .2s;
}
.shop-area textarea.shop-input { height: auto; min-height: 96px; padding: 10px 14px; line-height: 1.5; }
.shop-area .shop-input:focus { border-color: var(--color-primary, #2d65f2); outline: none; box-shadow: 0 0 0 3px rgba(45, 101, 242, .12); }
.shop-area .shop-input.is-invalid { border-color: #dc2626; }
.shop-area .shop-label { display: block; font-size: 14px; font-weight: 600; color: var(--color-secondary, #0b0d2c); margin-bottom: 6px; }
.shop-area .shop-label .req { color: #dc2626; }
.shop-area .input-group-flex { display: flex; gap: 10px; }
.shop-area .input-group-flex > .shop-input:first-child { flex: 1; }
.shop-area .input-group-flex select.shop-input { max-width: 150px; }

/* Template'in gizli checkbox/radio stilini koru ama yazıyı büyüt */
.shop-area .shop-check { position: relative; margin-bottom: 10px; }
.shop-area .shop-check input ~ label { font-size: 14px; line-height: 22px; color: #4C5671; }
.shop-area .shop-check input ~ label::before { top: 3px; background: #fff; border: 1px solid #9CA3AF; }
.shop-area .shop-check input:checked ~ label::before { background: var(--color-primary, #2d65f2); border-color: var(--color-primary, #2d65f2); }
.shop-area .shop-check input ~ label::after { top: 7px; left: 3px; width: 9px; height: 5px; }
.shop-area .shop-check a { text-decoration: underline; color: var(--color-primary, #2d65f2); }

.shop-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100% !important;
    background: var(--color-primary, #2d65f2);
    color: #fff !important;
    border: 0;
}
.shop-btn.w-100 { width: 100%; }
.shop-btn--light { background: #EEF2FF; color: var(--color-primary, #2d65f2) !important; }
.shop-btn--light:hover { background: var(--color-primary, #2d65f2); color: #fff !important; }
.shop-btn--success { background: #16a34a; }
.shop-btn--lg { padding: 18px 40px; font-size: 18px; }
.shop-link-btn { background: none; border: 0; padding: 0; color: #dc2626; font-size: 14px; cursor: pointer; }
.shop-link-btn:hover { text-decoration: underline; }

/* Sepet tablosu */
.shop-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.shop-table th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--shop-muted, #6B7280);
    font-weight: 600;
    padding: 0 12px 12px;
    border-bottom: 1px solid #E7E9F2;
    white-space: nowrap;
}
.shop-table td { padding: 18px 12px; border-bottom: 1px solid #F0F1F6; vertical-align: middle; font-size: 15px; }
.shop-table tr:last-child td { border-bottom: 0; }
.shop-table .item-name { font-weight: 700; color: var(--color-secondary, #0b0d2c); font-size: 16px; }
.shop-table .item-desc { font-size: 13px; color: #6B7280; margin-top: 2px; }
.shop-table .item-icon {
    width: 44px; height: 44px; border-radius: 10px; flex: 0 0 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #EEF2FF; color: var(--color-primary, #2d65f2); font-size: 18px;
}
.shop-table .item-icon--domain { background: #ECFDF5; color: #16a34a; }
.shop-table .money { white-space: nowrap; }
.shop-table .total-col { font-weight: 700; color: var(--color-secondary, #0b0d2c); }
.shop-table select.shop-input, .shop-table input.shop-input { height: 38px; font-size: 14px; }
.shop-table .discount { color: #16a34a; }

@media (max-width: 767px) {
    .shop-table thead { display: none; }
    .shop-table, .shop-table tbody, .shop-table tr, .shop-table td { display: block; width: 100%; }
    .shop-table tr { border: 1px solid #E7E9F2; border-radius: 10px; margin-bottom: 14px; padding: 8px 4px; }
    .shop-table td { border: 0; padding: 6px 12px; display: flex; justify-content: space-between; gap: 12px; }
    .shop-table td[data-label]::before { content: attr(data-label); font-weight: 600; color: #6B7280; font-size: 13px; }
}

/* Özet */
.shop-summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: #4C5671; }
.shop-summary__row strong { color: var(--color-secondary, #0b0d2c); }
.shop-summary__row.discount strong { color: #16a34a; }
.shop-summary__total {
    display: flex; justify-content: space-between; align-items: baseline;
    border-top: 1px dashed #D5D9E6; margin-top: 10px; padding-top: 16px;
    font-size: 18px; font-weight: 700; color: var(--color-secondary, #0b0d2c);
}
.shop-summary__total span:last-child { font-size: 26px; color: var(--color-primary, #2d65f2); }
.shop-coupon-badge {
    display: inline-flex; align-items: center; gap: 6px; background: #ECFDF5; color: #15803d;
    border-radius: 20px; padding: 4px 12px; font-size: 13px; font-weight: 600;
}
.shop-sticky { position: sticky; top: 110px; }

/* Boş sepet */
.shop-empty { text-align: center; padding: 60px 20px; }
.shop-empty__icon {
    width: 110px; height: 110px; margin: 0 auto 24px; border-radius: 50%;
    background: #EEF2FF; color: var(--color-primary, #2d65f2); font-size: 44px;
    display: flex; align-items: center; justify-content: center;
}
.shop-empty h3 { font-size: 28px; margin-bottom: 10px; }
.shop-empty p { color: #6B7280; max-width: 460px; margin: 0 auto 28px; }
.shop-empty .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Döngü seçimi (kart radio) */
.cycle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cycle-option { position: relative; }
.cycle-option input { position: absolute; opacity: 0; }
.cycle-option label {
    display: block !important; padding: 18px 16px !important; border: 2px solid #E7E9F2; border-radius: 12px;
    cursor: pointer; transition: .2s; background: #fff; height: 100%; font-size: 14px !important; line-height: 1.4 !important;
}
.cycle-option label::before, .cycle-option label::after { display: none !important; }
.cycle-option input:checked + label { border-color: var(--color-primary, #2d65f2); background: #F5F8FF; box-shadow: 0 6px 20px rgba(45, 101, 242, .12); }
.cycle-option .cycle-name { font-weight: 700; color: var(--color-secondary, #0b0d2c); font-size: 16px; display: block; }
.cycle-option .cycle-price { font-size: 20px; font-weight: 700; color: var(--color-primary, #2d65f2); display: block; margin-top: 6px; }
.cycle-option .cycle-month { font-size: 13px; color: #6B7280; display: block; }
.cycle-option .cycle-save {
    position: absolute; top: -10px; right: 12px; background: #16a34a; color: #fff;
    font-size: 12px; font-weight: 700; border-radius: 20px; padding: 2px 10px;
}

/* Alan adı seçenek sekmeleri */
.domain-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.domain-tabs .domain-tab { position: relative; }
.domain-tabs .domain-tab input { position: absolute; opacity: 0; }
.domain-tabs .domain-tab label {
    display: inline-flex !important; align-items: center; gap: 8px; padding: 10px 18px !important;
    border: 1px solid #E7E9F2; border-radius: 30px; cursor: pointer; font-size: 14px !important; font-weight: 600;
    color: #4C5671 !important; background: #fff; transition: .2s; line-height: 1.4 !important;
}
.domain-tabs .domain-tab label::before, .domain-tabs .domain-tab label::after { display: none !important; }
.domain-tabs .domain-tab input:checked + label { background: var(--color-primary, #2d65f2); border-color: var(--color-primary, #2d65f2); color: #fff !important; }
.domain-panel { display: none; }
.domain-panel.is-active { display: block; }
.domain-result { margin-top: 12px; border-radius: 8px; padding: 12px 14px; font-size: 14px; display: none; }
.domain-result.is-ok { display: block; background: #ECFDF5; color: #15803d; }
.domain-result.is-bad { display: block; background: #FEF2F2; color: #b91c1c; }
.domain-result.is-info { display: block; background: #F3F4F6; color: #4b5563; }

.product-summary__features { list-style: none; padding: 0; margin: 16px 0 0; }
.product-summary__features li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 14px; color: #4C5671; }
.product-summary__features li i { color: #16a34a; margin-top: 4px; }
.product-summary__features li.is-excluded { color: #9CA3AF; text-decoration: line-through; }
.product-summary__features li.is-excluded i { color: #9CA3AF; }

/* Ödeme yöntemi */
.gateway-option { position: relative; margin-bottom: 12px; }
.gateway-option input { position: absolute; opacity: 0; }
.gateway-option label {
    display: flex !important; align-items: center; gap: 14px; padding: 16px 18px !important; border: 2px solid #E7E9F2;
    border-radius: 12px; cursor: pointer; font-size: 15px !important; font-weight: 600; color: var(--color-secondary, #0b0d2c) !important;
    line-height: 1.4 !important; background: #fff; transition: .2s;
}
.gateway-option label::before, .gateway-option label::after { display: none !important; }
.gateway-option label i { font-size: 22px; color: var(--color-primary, #2d65f2); width: 28px; text-align: center; }
.gateway-option input:checked + label { border-color: var(--color-primary, #2d65f2); background: #F5F8FF; }

/* Sipariş tamamlandı / ödeme sonucu */
.shop-result { text-align: center; }
.shop-result__icon {
    width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; font-size: 44px;
    display: flex; align-items: center; justify-content: center; background: #ECFDF5; color: #16a34a;
}
.shop-result__icon.is-fail { background: #FEF2F2; color: #dc2626; }
.shop-result__icon.is-wait { background: #FFFBEB; color: #d97706; }
.shop-result h2 { font-size: 32px; margin-bottom: 10px; }
.shop-result p { color: #6B7280; }
.shop-order-no { display: inline-block; background: #F3F4F6; border-radius: 8px; padding: 6px 14px; font-weight: 700; color: var(--color-secondary, #0b0d2c); }

/* Banka hesapları */
.bank-account { border: 1px solid #E7E9F2; border-radius: 12px; padding: 18px 20px; margin-bottom: 14px; }
.bank-account__bank { font-weight: 700; font-size: 17px; color: var(--color-secondary, #0b0d2c); }
.bank-account__iban {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px;
    background: #F8F9FB; border-radius: 8px; padding: 10px 12px; font-family: monospace; font-size: 15px; letter-spacing: .03em;
    word-break: break-all;
}
.copy-btn { background: #fff; border: 1px solid #E7E9F2; border-radius: 6px; padding: 4px 10px; font-size: 13px; cursor: pointer; white-space: nowrap; font-family: inherit; }
.copy-btn.is-copied { background: #16a34a; color: #fff; border-color: #16a34a; }

.shop-alert { border-radius: 10px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; }
.shop-alert--info { background: #EFF6FF; color: #1e40af; }
.shop-alert--warning { background: #FFFBEB; color: #92400e; }
.shop-alert--danger { background: #FEF2F2; color: #b91c1c; }
.shop-alert--success { background: #ECFDF5; color: #166534; }

/* Giriş / kayıt (şablonun rts-sign-up-section düzeni) */
.rts-sign-up-section.auth-page { height: auto; min-height: 100vh; padding: 40px 15px; }
.rts-sign-up-section.auth-page .section-inner { padding: 50px 24px; }
.rts-sign-up-section.auth-page .section-inner form { max-width: 360px; }
.rts-sign-up-section.auth-page.auth-page--wide { max-width: 760px; }
.rts-sign-up-section.auth-page.auth-page--wide .section-inner form { max-width: 520px; }
.rts-sign-up-section.auth-page .single-wrapper input { width: 100%; padding: 0 15px; }
.rts-sign-up-section.auth-page .single-wrapper.has-error input { border-color: #dc2626 !important; }
.rts-sign-up-section.auth-page .field-error { color: #dc2626; font-size: 13px; text-align: left; margin: -10px 0 12px; }
.rts-sign-up-section.auth-page .form-desc { color: #4C5671; font-size: 15px; margin: -16px 0 24px; }
.rts-sign-up-section.auth-page .auth-alert { border-radius: 6px; padding: 10px 12px; font-size: 14px; margin-bottom: 18px; text-align: left; }
.rts-sign-up-section.auth-page .auth-alert--error { background: #FEF2F2; color: #b91c1c; }
.rts-sign-up-section.auth-page .auth-alert--success { background: #ECFDF5; color: #166534; }
.rts-sign-up-section.auth-page .check { align-items: center; margin-bottom: 22px; }
.rts-sign-up-section.auth-page .check label { margin-bottom: 0 !important; }
.rts-sign-up-section.auth-page .form-btn button { width: 100%; }
.rts-sign-up-section.auth-page .back-home { display: inline-block; margin-top: 14px; font-size: 14px; color: #4C5671; }
