/* ================================================
   Çiçekçi Modern — CC Widgets CSS
   hantema.com
   ================================================ */

/* ── Global Reset ── */
.cc-cart-wrap,
.cc-checkout-wrap,
.cc-account-wrap,
.cc-auth-wrap {
    font-family: -apple-system, 'Inter', 'Segoe UI', sans-serif;
    color: #111;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding: 24px;
    min-height: 200px;
}

/* ================================================
   SEPET WİDGETI
   ================================================ */

.cc-cart-page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #111;
}

.cc-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    align-items: start;
}

/* Ürün kartları */
.cc-cart-left { display: flex; flex-direction: column; gap: 12px; }

.cc-cart-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow .15s;
}
.cc-cart-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }

.cc-cart-item-img {
    width: 90px; height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
}
.cc-cart-item-img img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.cc-cart-item-info { flex: 1; min-width: 0; }

.cc-cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.cc-cart-item-name {
    font-size: 15px; font-weight: 600; color: #111;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cc-cart-item-variant { font-size: 12px; color: #9ca3af; margin-bottom: 4px; }
.cc-cart-item-price { font-size: 14px; color: #6b7280; }

.cc-cart-item-remove {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #9ca3af;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; line-height: 1;
    text-decoration: none;
    transition: all .15s;
    border: none; cursor: pointer;
}
.cc-cart-item-remove:hover { background: #fee2e2; color: #ef4444; }

.cc-cart-item-bottom {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cc-qty-wrap {
    display: flex; align-items: center; gap: 0;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px; overflow: hidden;
}
.cc-qty-btn {
    width: 32px; height: 32px;
    background: #f9fafb; border: none;
    cursor: pointer; font-size: 16px; color: #374151;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    font-family: inherit;
}
.cc-qty-btn:hover { background: #e5e7eb; }
.cc-qty-num {
    min-width: 36px; text-align: center;
    font-size: 14px; font-weight: 600; color: #111;
    padding: 0 4px;
}

.cc-cart-item-subtotal {
    font-size: 16px; font-weight: 700; color: #111;
}

/* Sipariş özeti kutusu */
.cc-order-summary {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 22px;
    position: sticky;
    top: 20px;
}

.cc-summary-title {
    font-size: 16px; font-weight: 700; color: #111;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.cc-summary-rows { display: flex; flex-direction: column; gap: 10px; }

.cc-summary-row {
    display: flex; justify-content: space-between;
    font-size: 14px; color: #6b7280;
}
.cc-summary-discount { color: #10b981 !important; }
.cc-summary-discount span:last-child { font-weight: 700; }

.cc-summary-total-row {
    display: flex; justify-content: space-between;
    font-size: 17px; font-weight: 700; color: #111;
    margin-top: 14px; padding-top: 14px;
    border-top: 1px solid #f3f4f6;
}

/* Kupon */
.cc-coupon-wrap { margin: 18px 0; }
.cc-coupon-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.cc-coupon-row { display: flex; gap: 8px; }
.cc-coupon-input {
    flex: 1; height: 40px;
    border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 0 12px; font-size: 14px; color: #111;
    font-family: inherit;
    transition: border-color .2s;
}
.cc-coupon-input:focus { border-color: #111; outline: none; }
.cc-coupon-input::placeholder { color: #d1d5db; }
.cc-coupon-btn {
    height: 40px; padding: 0 16px;
    background: #f3f4f6; border: 1.5px solid #e5e7eb;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    color: #374151; cursor: pointer; font-family: inherit;
    transition: all .15s;
    white-space: nowrap;
}
.cc-coupon-btn:hover { background: #e5e7eb; }
.cc-coupon-msg { font-size: 12px; margin-top: 6px; }
.cc-coupon-msg.success { color: #10b981; }
.cc-coupon-msg.error { color: #ef4444; }

/* Checkout / Devam butonları */
.cc-cart-checkout-btn {
    display: block; width: 100%;
    padding: 14px 20px; margin-top: 18px;
    background: #111; color: #fff !important;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    text-align: center; text-decoration: none !important;
    cursor: pointer; transition: all .2s;
    font-family: inherit;
}
.cc-cart-checkout-btn:hover { background: #374151; transform: translateY(-1px); }

.cc-cart-continue-link,
.cc-cart-continue-btn {
    display: block; width: 100%;
    padding: 12px; margin-top: 10px;
    background: transparent; color: #6b7280 !important;
    border: none; font-size: 14px; font-weight: 500;
    text-align: center; text-decoration: none !important;
    cursor: pointer; transition: color .15s; font-family: inherit;
}
.cc-cart-continue-link:hover,
.cc-cart-continue-btn:hover { color: #111 !important; }

/* Boş sepet */
.cc-cart-empty {
    text-align: center; padding: 60px 20px;
    background: #fff; border-radius: 12px; border: 1px solid #e5e7eb;
}
.cc-cart-empty-icon { font-size: 48px; margin-bottom: 16px; }
.cc-cart-empty p { font-size: 15px; color: #6b7280; margin-bottom: 20px; }

/* ================================================
   ÖDEME WİDGETI
   ================================================ */

.cc-co-page-title {
    font-size: 22px; font-weight: 700; color: #111;
    margin: 0 0 22px;
}

/* Adım göstergesi */
.cc-co-steps {
    display: flex; align-items: center;
    margin-bottom: 24px; max-width: 280px;
}
.cc-co-step {
    display: flex; align-items: center; gap: 8px;
}
.cc-co-step-num {
    width: 32px; height: 32px; border-radius: 50%;
    background: #e5e7eb; border: 2px solid #e5e7eb;
    color: #9ca3af; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.cc-co-step.active .cc-co-step-num {
    background: #111; border-color: #111; color: #fff;
}
.cc-co-step-label {
    font-size: 13px; font-weight: 500; color: #9ca3af;
    transition: color .2s;
}
.cc-co-step.active .cc-co-step-label { color: #111; }
.cc-co-step-line {
    flex: 1; height: 1.5px; background: #e5e7eb;
    min-width: 40px; margin: 0 8px 0 8px;
}

/* Ana layout */
.cc-co-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}

/* Bölüm kartları */
.cc-co-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.cc-co-section-header {
    display: flex; align-items: center; gap: 10px;
    padding: 15px 20px;
    background: #fafafa;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px; font-weight: 600; color: #374151;
}
.cc-co-section-icon {
    width: 30px; height: 30px;
    background: #111; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 13px;
    flex-shrink: 0;
}

.cc-same-as-shipping {
    margin-left: auto !important;
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: #6b7280;
    cursor: pointer;
}
.cc-same-as-shipping input { width: auto !important; height: auto !important; cursor: pointer; accent-color: #111; }

.cc-co-fields { padding: 18px 20px; }

/* Form fields */
.cc-field-row { display: flex; gap: 12px; margin-bottom: 14px; }
.cc-field-row:last-child { margin-bottom: 0; }
.cc-field-half .cc-field { flex: 1; }
.cc-field-third .cc-field { flex: 1; }
.cc-field-row:not(.cc-field-half):not(.cc-field-third) .cc-field { flex: 1; }

.cc-field { display: flex; flex-direction: column; gap: 5px; }
.cc-field label {
    font-size: 12px; font-weight: 600; color: #6b7280;
    letter-spacing: .3px; text-transform: uppercase;
}
.cc-field .req { color: #ef4444; }

.cc-field input[type="text"],
.cc-field input[type="email"],
.cc-field input[type="tel"],
.cc-field textarea,
.cc-field select {
    width: 100% !important;
    height: 42px !important;
    padding: 0 13px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important; color: #111 !important;
    background: #fff !important;
    font-family: inherit !important;
    transition: border-color .2s !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
}
.cc-field textarea { height: auto !important; padding: 10px 13px !important; resize: vertical !important; }
.cc-field input:focus, .cc-field textarea:focus, .cc-field select:focus {
    border-color: #111 !important; outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.06) !important;
}
.cc-field input::placeholder { color: #d1d5db !important; }

/* Ödeme yöntemleri */
.cc-payment-methods { padding: 12px 20px; display: flex; flex-direction: column; gap: 8px; }

.cc-payment-method {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    border: 1.5px solid #e5e7eb; border-radius: 10px;
    cursor: pointer; transition: all .15s; position: relative;
    background: #fff;
}
.cc-payment-method:hover { border-color: #111; }
.cc-payment-method.selected,
.cc-payment-method:has(input:checked) { border-color: #111; background: #f9fafb; }

.cc-payment-method input[type="radio"] {
    width: 16px !important; height: 16px !important;
    accent-color: #111; cursor: pointer; flex-shrink: 0;
}
.cc-pm-icon { color: #6b7280; font-size: 16px; }
.cc-pm-title { font-size: 14px; font-weight: 500; flex: 1; }
.cc-pm-icons img { height: 24px; object-fit: contain; }

.cc-pm-fields { padding: 12px 20px; background: #f9fafb; border-top: 1px solid #f3f4f6; }

.cc-no-payment { padding: 16px; color: #9ca3af; font-size: 14px; }

/* Terms */
.cc-terms {
    padding: 0 0 14px;
    font-size: 13px; color: #6b7280;
}
.cc-terms label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.cc-terms input { width: auto !important; height: auto !important; accent-color: #111; }
.cc-terms a { color: #111; text-decoration: underline; }

/* Aksiyon butonları */
.cc-co-actions {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-top: 4px;
}
.cc-co-back-btn {
    font-size: 14px; font-weight: 500; color: #6b7280;
    background: none; border: none; cursor: pointer;
    text-decoration: none; font-family: inherit;
    transition: color .15s; padding: 12px 0;
}
.cc-co-back-btn:hover { color: #111; }

.cc-co-next-btn {
    padding: 13px 28px;
    background: #111; color: #fff;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all .2s; display: flex; align-items: center; gap: 8px;
}
.cc-co-next-btn:hover { background: #374151; transform: translateY(-1px); }
.cc-co-next-btn:disabled { opacity: .6; cursor: wait; }

/* Sipariş özeti (sağ) */
.cc-co-summary {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
    position: sticky; top: 20px;
}

.cc-co-sum-item {
    display: flex; justify-content: space-between;
    gap: 12px; padding: 8px 0;
    font-size: 14px; color: #374151;
    border-bottom: 1px solid #f9fafb;
}
.cc-co-sum-item:last-of-type { border-bottom: none; }
.cc-co-sum-name { flex: 1; line-height: 1.4; }
.cc-co-sum-name em { color: #9ca3af; font-style: normal; }
.cc-co-sum-price { font-weight: 600; white-space: nowrap; }

.cc-co-sum-divider { height: 1px; background: #f3f4f6; margin: 12px 0; }

.cc-co-sum-row {
    display: flex; justify-content: space-between;
    font-size: 14px; color: #6b7280; padding: 5px 0;
}

.cc-co-sum-total {
    display: flex; justify-content: space-between;
    font-size: 17px; font-weight: 700; color: #111;
    padding: 10px 0;
}

.cc-co-trust {
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    display: flex; flex-direction: column; gap: 7px;
}
.cc-co-trust-item {
    font-size: 13px; color: #6b7280;
    display: flex; align-items: center; gap: 6px;
}

/* ================================================
   HESABIM WİDGETI
   ================================================ */

.cc-account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
}

/* Navigasyon */
.cc-acc-nav {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    position: sticky; top: 20px;
    padding: 8px 0;
}

.cc-acc-nav-item a {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 16px;
    color: #6b7280 !important;
    text-decoration: none !important;
    font-size: 14px; font-weight: 500;
    transition: all .15s;
    border-left: 3px solid transparent;
}
.cc-acc-nav-item a:hover { color: #111 !important; background: #f9fafb; }
.cc-acc-nav-item.active a {
    color: #111 !important;
    background: #f9fafb;
    font-weight: 700;
    border-left-color: #111;
}

.cc-acc-nav-item a i {
    font-size: 14px; color: #9ca3af;
    width: 16px; text-align: center; flex-shrink: 0;
}
.cc-acc-nav-item.active a i { color: inherit; }

.cc-acc-nav-divider { height: 1px; background: #f3f4f6; margin: 6px 0; }

.cc-acc-logout a { color: #ef4444 !important; }
.cc-acc-logout a:hover { background: #fef2f2 !important; color: #ef4444 !important; }
.cc-acc-logout a i { color: #ef4444 !important; }

/* İçerik alanı */
.cc-acc-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 26px;
}

.cc-acc-section { display: none; }
.cc-acc-section.active { display: block; }

.cc-acc-hello {
    font-size: 20px; font-weight: 700; color: #111;
    margin: 0 0 8px;
    display: flex; align-items: center; gap: 8px;
}
.cc-acc-intro {
    font-size: 14px; color: #6b7280; margin: 0 0 22px;
    line-height: 1.6;
}

/* İstatistik kartları */
.cc-acc-stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 12px; margin-bottom: 24px;
}
.cc-acc-stat {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 16px; text-align: center;
    transition: box-shadow .15s;
}
.cc-acc-stat:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }

.cc-stat-icon {
    font-size: 22px; color: #9ca3af;
    display: block; margin-bottom: 10px;
}
.cc-stat-num {
    font-size: 26px; font-weight: 700; color: #111;
    margin-bottom: 4px; line-height: 1;
}
.cc-stat-label { font-size: 12px; color: #9ca3af; }

/* Son siparişler */
.cc-acc-section-title {
    font-size: 14px; font-weight: 700; color: #111;
    margin-bottom: 14px; padding-bottom: 10px;
    border-bottom: 1px solid #f3f4f6;
}

.cc-recent-list { display: flex; flex-direction: column; }

.cc-recent-order {
    display: flex; justify-content: space-between;
    align-items: center; padding: 14px 0;
    border-bottom: 1px solid #f9fafb;
    gap: 12px;
}
.cc-recent-order:last-child { border-bottom: none; }

.cc-recent-order-num a {
    font-size: 14px; font-weight: 600; color: #111;
    text-decoration: none;
}
.cc-recent-order-num a:hover { text-decoration: underline; }
.cc-recent-order-date { font-size: 12px; color: #9ca3af; margin-top: 2px; }

.cc-recent-order-right {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 4px;
}

/* Sipariş durum badge */
.cc-order-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .3px;
    text-transform: capitalize;
}
.cc-status-completed   { background: #111; color: #fff; }
.cc-status-processing  { background: #f3f4f6; color: #374151; }
.cc-status-on-hold     { background: #fef3c7; color: #92400e; }
.cc-status-cancelled   { background: #fee2e2; color: #991b1b; }
.cc-status-pending     { background: #e0f2fe; color: #075985; }
.cc-status-refunded    { background: #d1fae5; color: #065f46; }

.cc-recent-order-total { font-size: 14px; font-weight: 600; color: #111; }

.cc-acc-view-all {
    display: block; text-align: center;
    margin-top: 16px; padding: 11px;
    border: 1.5px solid #111; border-radius: 8px;
    font-size: 14px; font-weight: 600; color: #111 !important;
    text-decoration: none !important;
    transition: all .15s;
}
.cc-acc-view-all:hover { background: #111; color: #fff !important; }

/* WooCommerce konuk durumu */
.cc-account-guest { display: flex; align-items: center; justify-content: center; min-height: 300px; }
.cc-account-guest-msg { text-align: center; max-width: 320px; }
.cc-account-guest-icon { font-size: 48px; margin-bottom: 16px; }
.cc-account-guest-msg h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.cc-account-guest-msg p  { font-size: 14px; color: #6b7280; margin: 0 0 20px; }
.cc-acc-login-btn {
    display: inline-block; padding: 12px 28px;
    background: #111; color: #fff !important;
    border-radius: 8px; font-weight: 600; font-size: 15px;
    text-decoration: none !important; transition: all .2s;
}
.cc-acc-login-btn:hover { background: #374151; }

/* WooCommerce içerik (siparişler sayfası) */
.cc-acc-woo-content table { width: 100%; border-collapse: collapse; }
.cc-acc-woo-content th {
    font-size: 11px; font-weight: 700; color: #9ca3af;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 12px 10px; border-bottom: 1px solid #f3f4f6;
    text-align: left;
}
.cc-acc-woo-content td {
    padding: 12px 10px; border-bottom: 1px solid #f9fafb;
    font-size: 14px; color: #374151;
}

/* ================================================
   GİRİŞ / KAYIT WİDGETI
   ================================================ */

.cc-auth-wrap {
    display: flex; align-items: flex-start; justify-content: center;
}

.cc-auth-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 32px;
    width: 100%; max-width: 420px;
}

.cc-auth-hidden { display: none !important; }
.cc-auth-active { display: block; }

/* Kart header */
.cc-auth-header { text-align: center; margin-bottom: 26px; }
.cc-auth-title {
    font-size: 24px; font-weight: 700; color: #111;
    margin: 0 0 6px;
}
.cc-auth-subtitle {
    font-size: 14px; color: #6b7280; margin: 0;
}

/* Form alanları */
.cc-auth-form { display: flex; flex-direction: column; gap: 16px; }

.cc-auth-field { display: flex; flex-direction: column; gap: 6px; }
.cc-auth-field label {
    font-size: 13px; font-weight: 600; color: #374151;
}

.cc-auth-field-row { display: flex; gap: 12px; }
.cc-auth-field-row .cc-auth-field { flex: 1; }

.cc-auth-input {
    width: 100% !important; height: 44px !important;
    padding: 0 14px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important; color: #111 !important;
    background: #f9fafb !important;
    font-family: inherit !important;
    transition: all .2s !important;
    box-sizing: border-box !important;
}
.cc-auth-input:focus {
    border-color: #111 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.06) !important;
}
.cc-auth-input::placeholder { color: #d1d5db !important; }

/* Şifre input wrap */
.cc-auth-input-wrap { position: relative; }
.cc-auth-input-wrap .cc-auth-input { padding-right: 42px !important; }
.cc-pwd-toggle {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    color: #9ca3af; cursor: pointer; font-size: 16px;
    padding: 0; display: flex; align-items: center;
    transition: color .15s;
}
.cc-pwd-toggle:hover { color: #374151; }

/* Hatırla / Şifremi unuttum */
.cc-auth-row-between {
    display: flex; align-items: center; justify-content: space-between;
}
.cc-auth-remember {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; color: #374151; cursor: pointer;
}
.cc-auth-remember input { accent-color: #111; cursor: pointer; width: auto !important; height: auto !important; }
.cc-auth-forgot { font-size: 13px; color: #6b7280; text-decoration: none; }
.cc-auth-forgot:hover { color: #111; text-decoration: underline; }

/* Şifre gücü göstergesi */
.cc-pwd-strength {
    height: 4px; border-radius: 2px;
    margin-top: 6px; transition: all .3s;
    background: #f3f4f6;
}
.cc-pwd-strength.weak   { background: #ef4444; width: 33%; }
.cc-pwd-strength.medium { background: #f59e0b; width: 66%; }
.cc-pwd-strength.strong { background: #10b981; width: 100%; }

/* Mesaj alanı */
.cc-auth-msg { font-size: 13px; border-radius: 8px; }
.cc-auth-msg.error   { color: #ef4444; background: #fef2f2; padding: 10px 14px; }
.cc-auth-msg.success { color: #10b981; background: #f0fdf4; padding: 10px 14px; }

/* Submit butonu */
.cc-auth-submit-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 14px;
    background: #111; color: #fff;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    transition: all .2s; text-decoration: none !important;
    margin-top: 4px;
}
.cc-auth-submit-btn:hover { background: #374151; transform: translateY(-1px); }
.cc-auth-submit-btn:disabled { opacity: .6; cursor: wait; }

/* Terms */
.cc-auth-terms-label {
    display: flex !important; align-items: flex-start !important; gap: 8px;
    font-size: 13px; color: #374151; cursor: pointer;
}
.cc-auth-terms-label input { margin-top: 2px; width: auto !important; height: auto !important; accent-color: #111; }
.cc-auth-terms-label a { color: #111; text-decoration: underline; }

/* Geçiş linki */
.cc-auth-switch {
    text-align: center; margin: 18px 0 0;
    font-size: 14px; color: #6b7280;
}
.cc-auth-switch a { color: #111; font-weight: 600; text-decoration: none; }
.cc-auth-switch a:hover { text-decoration: underline; }

/* Alt not */
.cc-auth-terms-note {
    text-align: center; margin: 14px 0 0;
    font-size: 11px; color: #9ca3af; line-height: 1.5;
}
.cc-auth-terms-note a { color: inherit; text-decoration: underline; }

/* Giriş yapmış durum */
.cc-auth-logged {
    text-align: center;
    display: flex !important; flex-direction: column;
    align-items: center; gap: 8px;
}
.cc-auth-logged-avatar img { border-radius: 50%; width: 64px !important; height: 64px !important; }
.cc-auth-logged h3 { font-size: 18px; font-weight: 700; margin: 8px 0 2px; }
.cc-auth-logged p { color: #6b7280; font-size: 14px; margin: 0 0 12px; }
.cc-auth-logout-link { font-size: 13px; color: #ef4444; text-decoration: none; margin-top: 8px; }
.cc-auth-logout-link:hover { text-decoration: underline; }

/* ================================================
   MOBILE RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
    .cc-cart-wrap,
    .cc-checkout-wrap,
    .cc-account-wrap,
    .cc-auth-wrap { padding: 16px; }

    /* Sepet */
    .cc-cart-layout { grid-template-columns: 1fr; }
    .cc-order-summary { position: static; }

    /* Ödeme */
    .cc-co-layout { grid-template-columns: 1fr; }
    .cc-co-summary { position: static; }
    .cc-co-next-btn { padding: 12px 20px; }
    .cc-field-row { flex-direction: column; }
    .cc-field-third { flex-direction: column; }

    /* Hesabım */
    .cc-account-layout { grid-template-columns: 1fr; }
    .cc-acc-nav { position: static; }
    .cc-acc-stats { grid-template-columns: repeat(3, 1fr); }

    /* Auth */
    .cc-auth-field-row { flex-direction: column; }
    .cc-auth-card { padding: 22px; }
}

@media (max-width: 480px) {
    .cc-cart-item { gap: 12px; }
    .cc-cart-item-img { width: 70px; height: 70px; }
    .cc-acc-stats { grid-template-columns: 1fr 1fr; }
    .cc-acc-stats .cc-acc-stat:last-child { grid-column: 1 / -1; }
    .cc-co-steps { display: none; }
}

/* ================================================
   KARGO TAKİP WİDGETI
   ================================================ */

.cc-tracking-wrap { padding: 24px; }

.cc-tracking-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 36px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cc-track-icon {
    font-size: 48px; color: #111;
    margin-bottom: 16px; line-height: 1;
}

.cc-track-title {
    font-size: 22px; font-weight: 700; color: #111;
    margin: 0 0 8px;
}

.cc-track-subtitle {
    font-size: 14px; color: #6b7280;
    margin: 0 0 28px; line-height: 1.6;
}

.cc-track-fields {
    display: flex; flex-direction: column; gap: 14px;
    margin-bottom: 16px; text-align: left;
}

.cc-track-field label {
    display: block; font-size: 12px; font-weight: 600;
    color: #6b7280; letter-spacing: .4px; text-transform: uppercase;
    margin-bottom: 6px;
}
.cc-track-field label i { margin-right: 5px; color: #9ca3af; }

.cc-track-input {
    width: 100% !important; height: 44px !important;
    padding: 0 14px !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 8px !important;
    font-size: 14px !important; color: #111 !important;
    background: #f9fafb !important; font-family: inherit !important;
    box-sizing: border-box !important;
    transition: border-color .2s !important;
}
.cc-track-input:focus {
    border-color: #111 !important; outline: none !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0,0,0,.05) !important;
}
.cc-track-input::placeholder { color: #d1d5db !important; }

.cc-track-btn {
    width: 100%; padding: 14px 24px;
    background: #111; color: #fff;
    border: none; border-radius: 8px;
    font-size: 15px; font-weight: 600;
    cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: all .2s; margin-top: 4px;
}
.cc-track-btn:hover { background: #374151; transform: translateY(-1px); }
.cc-track-btn:disabled { opacity: .6; cursor: wait; }

.cc-track-quick {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin-top: 18px; padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    font-size: 13px; color: #9ca3af;
}
.cc-track-quick a {
    font-size: 13px; font-weight: 600; color: #374151;
    text-decoration: none; display: flex; align-items: center; gap: 5px;
}
.cc-track-quick a:hover { color: #111; text-decoration: underline; }

/* ── Sonuç kartı ── */
.cc-track-result-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    max-width: 640px;
    margin: 16px auto 0;
}

.cc-tracking-result .cc-track-error {
    max-width: 640px; margin: 16px auto 0;
    background: #fef2f2; border: 1px solid #fecaca;
    border-radius: 10px; padding: 14px 18px;
    color: #ef4444; font-size: 14px; text-align: center;
}

.cc-track-result-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 20px 24px;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}

.cc-track-result-title {
    font-size: 16px; font-weight: 700; color: #111;
    display: flex; align-items: center; gap: 8px;
}
.cc-track-result-title i { color: #6b7280; }

.cc-track-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 700;
    letter-spacing: .3px; background: #111; color: #fff;
}
.cc-track-st-processing { background: #1d4ed8; }
.cc-track-st-completed  { background: #059669; }
.cc-track-st-cancelled  { background: #ef4444; }
.cc-track-st-on-hold    { background: #d97706; }
.cc-track-st-refunded   { background: #7c3aed; }
.cc-track-st-pending    { background: #6b7280; }

/* Meta row */
.cc-track-meta-row {
    display: flex; align-items: center; gap: 20px;
    padding: 14px 24px; background: #fafafa;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
}
.cc-track-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: #6b7280;
}
.cc-track-meta i { color: #9ca3af; }
.cc-track-meta strong { color: #111; }

/* Zaman çizelgesi */
.cc-track-timeline {
    display: flex; align-items: flex-start;
    padding: 28px 24px;
    gap: 0;
    overflow-x: auto;
}

.cc-track-step {
    display: flex; flex-direction: column; align-items: center;
    flex: 1; min-width: 80px;
}

.cc-track-step-icon-wrap {
    display: flex; align-items: center; width: 100%;
    justify-content: center;
    position: relative;
}

.cc-track-step-dot {
    width: 40px; height: 40px; border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: #f9fafb; color: #9ca3af;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
    z-index: 1; flex-shrink: 0;
    transition: all .3s;
}

.cc-track-step.completed .cc-track-step-dot {
    background: #111; border-color: #111; color: #fff;
}
.cc-track-step.active .cc-track-step-dot {
    background: #111; border-color: #111; color: #fff;
    box-shadow: 0 0 0 4px rgba(17,17,17,.1);
}

.cc-track-step-line {
    flex: 1; height: 2px;
    background: #e5e7eb;
    margin: 0 -4px; margin-top: 19px;
    align-self: flex-start;
    transition: background .3s;
}
.cc-track-step.completed + .cc-track-step .cc-track-step-line,
.cc-track-step.completed .cc-track-step-line { background: #111; }

.cc-track-step-label {
    font-size: 11px; font-weight: 600;
    color: #9ca3af; margin-top: 10px;
    text-align: center; line-height: 1.3;
    letter-spacing: .2px;
}
.cc-track-step.active    .cc-track-step-label { color: #111; font-weight: 700; }
.cc-track-step.completed .cc-track-step-label { color: #374151; }

/* İptal durumu */
.cc-track-cancelled {
    display: flex; align-items: flex-start; gap: 14px;
    margin: 20px 24px;
    padding: 16px;
    background: #fef2f2;
    border-radius: 10px;
    border: 1px solid #fecaca;
}
.cc-track-cancelled i { font-size: 20px; color: #ef4444; flex-shrink: 0; margin-top: 2px; }
.cc-track-cancelled strong { font-size: 15px; color: #111; display: block; margin-bottom: 4px; }
.cc-track-cancelled p { font-size: 13px; color: #6b7280; margin: 0; }

/* Adres */
.cc-track-address {
    padding: 16px 24px;
    border-top: 1px solid #f3f4f6;
}
.cc-track-address-label {
    font-size: 11px; font-weight: 700;
    color: #9ca3af; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 6px;
    display: flex; align-items: center; gap: 5px;
}
.cc-track-address-val { font-size: 14px; color: #374151; }

/* Ürünler */
.cc-track-items {
    padding: 16px 24px;
    border-top: 1px solid #f3f4f6;
}
.cc-track-items-title {
    font-size: 11px; font-weight: 700;
    color: #9ca3af; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 12px;
}
.cc-track-order-item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid #f9fafb;
}
.cc-track-order-item:last-child { border-bottom: none; }
.cc-track-order-item img {
    width: 44px !important; height: 44px !important;
    object-fit: cover !important; border-radius: 6px !important;
    flex-shrink: 0 !important; border: 1px solid #f3f4f6 !important;
}
.cc-track-item-name { font-size: 14px; font-weight: 500; color: #111; }
.cc-track-item-qty  { font-size: 12px; color: #9ca3af; margin-top: 2px; }

/* Footer */
.cc-track-footer {
    padding: 16px 24px;
    background: #fafafa;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}
.cc-track-detail-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 22px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    color: #374151 !important; text-decoration: none !important;
    transition: all .15s;
    background: #fff;
}
.cc-track-detail-btn:hover {
    border-color: #111; color: #111 !important; background: #f9fafb;
}

/* ── Sepet adet input düzeltme (input yerine span yerine input) ── */
.cc-qty-wrap input.cc-qty-num {
    width: 48px !important;
    height: 32px !important;
    text-align: center !important;
    border: none !important;
    border-left: 1.5px solid #e5e7eb !important;
    border-right: 1.5px solid #e5e7eb !important;
    border-radius: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    color: #111 !important;
    background: #fff !important;
    padding: 0 4px !important;
    box-sizing: border-box !important;
    -moz-appearance: textfield !important;
    outline: none !important;
    box-shadow: none !important;
}
.cc-qty-wrap input.cc-qty-num::-webkit-inner-spin-button,
.cc-qty-wrap input.cc-qty-num::-webkit-outer-spin-button { -webkit-appearance: none; }
/* updating state */
.cc-cart-item.cc-updating { opacity: .6; pointer-events: none; transition: opacity .2s; }
.cc-cart-item.cc-removing { opacity: 0; transform: translateX(20px); transition: all .3s; }

/* Account guest inline form */
.cc-account-guest-wrap { max-width: 500px; margin: 0 auto; }
.cc-account-guest-wrap .cc-auth-card { max-width: 100%; }

/* ── Mobile tracking ── */
@media (max-width: 600px) {
    .cc-tracking-card { padding: 22px 16px; }
    .cc-track-result-header { flex-direction: column; align-items: flex-start; }
    .cc-track-meta-row { gap: 10px; }
    .cc-track-timeline { padding: 20px 12px; }
    .cc-track-step-dot { width: 32px; height: 32px; font-size: 12px; }
    .cc-track-step-label { font-size: 10px; }
    .cc-track-result-card { margin: 12px 0 0; }
    .cc-tracking-wrap { padding: 12px; }
}
