/* ==========================================================
   Gül ve Lavanta — Sepet / Ödeme / Sipariş Sonucu
   cart.php, checkout.php, order-complete.php, iyzico-pay.php, iyzico-callback.php
   theme.css'in üzerine yüklenir ($extra_css = ['pages/checkout.css']).
   ========================================================== */

.co-page { padding: 34px 0 56px; }
.co-hero { padding: 26px 0 24px; }
.co-hero h1 { margin-bottom: 0; }

/* ---------- 3 adımlı ilerleme ---------- */
.co-steps {
    list-style: none; margin: 18px 0 0; padding: 0;
    display: flex; align-items: center; gap: 0; max-width: 560px;
}
.co-hero.center .co-steps { margin-left: auto; margin-right: auto; }
.co-step {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap;
}
.co-step a { color: inherit; display: flex; align-items: center; gap: 10px; }
.co-step a:hover { color: var(--brand); }
.co-step .dot {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 600;
    background: #fff; border: 1px solid var(--border); color: var(--text-muted);
}
.co-step.is-done { color: var(--ink); }
.co-step.is-done .dot { background: var(--rose-soft); border-color: var(--rose-soft); color: var(--brand); }
.co-step.is-current { color: var(--ink); font-weight: 600; }
.co-step.is-current .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 4px rgba(184,51,106,.12); }
.co-step-line { flex: 1; height: 2px; min-width: 18px; margin: 0 12px; background: var(--border); border-radius: 2px; }
.co-step-line.is-done { background: var(--brand-light); }

/* ---------- Ortak kutu başlıkları ---------- */
.co-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.co-section { padding: 26px 28px; }
.co-section + .co-section { margin-top: 18px; }
.co-section-title {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: var(--ink);
    margin: 0 0 20px;
}
.co-section-title .num {
    width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
}
.co-section-title small { margin-left: auto; font-size: 12.5px; font-weight: 400; color: var(--text-muted); }
.co-section-title small a { color: var(--brand); }
.co-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.co-req { color: var(--brand); }

/* ---------- Sepet satırları ---------- */
.co-lines { overflow: hidden; }
.co-lines-head {
    display: grid; grid-template-columns: 88px 1fr 132px 120px 40px; gap: 18px;
    padding: 14px 22px; border-bottom: 1px solid var(--border);
    font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted);
}
.co-lines-head .h-product { grid-column: 1 / 3; }
.co-lines-head .h-qty { text-align: center; }
.co-lines-head .h-total { text-align: right; }
.co-line {
    display: grid; grid-template-columns: 88px 1fr 132px 120px 40px; gap: 18px;
    grid-template-areas: "img info qty total rm";
    align-items: center; padding: 18px 22px;
}
.co-line + .co-line { border-top: 1px solid var(--border); }
.co-line-img {
    grid-area: img; display: block; width: 88px; height: 88px; border-radius: 14px; overflow: hidden;
    background: var(--cream); border: 1px solid var(--border);
}
.co-line-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-line-info { grid-area: info; min-width: 0; }
.co-line-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    color: var(--ink); font-weight: 500; font-size: 15px; line-height: 1.4;
}
.co-line-name:hover { color: var(--brand); }
.co-line-unit { margin-top: 4px; font-size: 13px; color: var(--text-muted); }
.co-line-unit del { margin-right: 6px; }
.co-line-unit .now { color: var(--ink); font-weight: 500; }
.co-line-qty { grid-area: qty; display: flex; justify-content: center; }
.co-line-total { grid-area: total; text-align: right; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.co-line-rm { grid-area: rm; display: flex; justify-content: flex-end; }
.co-rm-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid transparent;
    background: none; color: var(--text-muted);
    display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
    transition: background .2s, color .2s;
}
.co-rm-btn:hover, .co-rm-btn:focus-visible { background: var(--rose-soft); color: var(--brand); }

/* Adet seçici */
.qty-stepper {
    display: inline-flex; align-items: center;
    border: 1px solid var(--border); border-radius: 999px; background: #fff; overflow: hidden;
}
.qty-stepper button {
    width: 36px; height: 38px; border: 0; background: none; color: var(--ink);
    font-size: 12px; display: inline-flex; align-items: center; justify-content: center;
}
.qty-stepper button:hover:not(:disabled) { background: var(--rose-soft); color: var(--brand); }
.qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper input {
    width: 44px; height: 38px; border: 0; text-align: center; font-weight: 600; color: var(--ink);
    font-size: 14.5px; background: transparent; padding: 0; -moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper input:focus { outline: none; background: var(--cream); }
.qty-stepper:focus-within { border-color: var(--brand-light); box-shadow: 0 0 0 3px rgba(184,51,106,.08); }

.co-lines-foot {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    padding: 14px 22px; border-top: 1px solid var(--border); background: #fffcfa;
}
.co-link-btn {
    background: none; border: 0; padding: 6px 0; font-size: 13.5px; font-weight: 500; color: var(--ink);
    display: inline-flex; align-items: center; gap: 8px;
}
.co-link-btn:hover { color: var(--brand); }
.co-link-btn.muted { color: var(--text-muted); }
.co-link-btn.muted:hover { color: var(--brand); }
.co-update-note { font-size: 12.5px; color: var(--text-muted); }
.co-lines.is-updating { opacity: .6; pointer-events: none; transition: opacity .2s; }

/* ---------- Sipariş özeti ---------- */
.co-summary { padding: 24px; }
@media (min-width: 992px) {
    .co-sticky { position: sticky; top: 165px; }
}
.co-summary-title { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: var(--ink); margin: 0 0 16px; }
.co-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.co-row span:first-child { color: var(--text-muted); }
.co-row span:last-child { color: var(--ink); font-weight: 500; }
.co-row .free { color: #2e8b57 !important; font-weight: 600 !important; }
.co-row.total { border-top: 1px dashed var(--border); margin-top: 10px; padding-top: 16px; }
.co-row.total span:first-child { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.co-row.total span:last-child { font-family: 'Playfair Display', serif; font-size: 25px; font-weight: 700; color: var(--ink); }
.co-vat { display: block; text-align: right; font-size: 11.5px; color: var(--text-muted); margin-top: -4px; }

/* Ücretsiz kargo çubuğu */
.co-ship {
    background: var(--lav-soft); border-radius: 14px; padding: 13px 14px 14px; margin: 10px 0 4px;
    font-size: 13px; color: var(--ink);
}
.co-ship.is-free { background: #eaf6ef; }
.co-ship i { color: var(--lavender); margin-right: 6px; }
.co-ship.is-free i { color: #2e8b57; }
.co-ship strong { color: var(--brand); }
.co-ship.is-free strong { color: #2e8b57; }
.co-ship-bar { height: 6px; border-radius: 999px; background: rgba(123,94,167,.16); overflow: hidden; margin-top: 10px; }
.co-ship-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--lavender), var(--brand)); }
.co-ship.is-free .co-ship-bar span { background: #2e8b57; }

.co-cta { width: 100%; margin-top: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.co-cta .fa-arrow-right { font-size: 13px; }
.co-continue { display: block; text-align: center; margin-top: 12px; font-size: 13.5px; color: var(--text-muted); }
.co-continue:hover { color: var(--brand); }

.co-trust { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.co-trust-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.co-trust-list i { width: 18px; color: var(--lavender); margin-right: 6px; text-align: center; }
.co-cards { display: flex; align-items: center; gap: 10px; font-size: 27px; color: #9a93a6; }
.co-cards .iyz { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-muted); border: 1px solid var(--border); border-radius: 6px; padding: 3px 8px; }

/* Ödeme sayfasındaki ürün listesi */
.co-items { max-height: 290px; overflow-y: auto; margin: 0 -6px 12px; padding: 0 6px; }
.co-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.co-item + .co-item { border-top: 1px solid #f4ede9; }
.co-item-img { position: relative; width: 56px; height: 56px; flex-shrink: 0; }
.co-item-img img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid var(--border); background: var(--cream); }
.co-item-img .q {
    position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 6px;
    border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600;
    line-height: 21px; text-align: center;
}
.co-item-name { font-size: 13.5px; font-weight: 500; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-item-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.co-item-price { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- Ödeme yöntemi kartları ---------- */
.pay-options { display: grid; gap: 12px; }
.pay-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pay-card {
    display: flex; align-items: flex-start; gap: 14px; margin: 0;
    padding: 16px 18px; border: 1.5px solid var(--border); border-radius: 14px; background: #fff;
    cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s;
}
.pay-card:hover { border-color: var(--brand-light); }
.pay-radio {
    width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cfc4cc; flex-shrink: 0; margin-top: 2px;
    display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s;
}
.pay-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); transform: scale(0); transition: transform .15s; }
.pay-ico {
    width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lav-soft); color: var(--lavender); font-size: 17px;
}
.pay-body { flex: 1; min-width: 0; }
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pay-head strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.pay-brands { display: flex; gap: 6px; font-size: 24px; color: #9a93a6; }
.pay-desc { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.pay-input:checked + .pay-card { border-color: var(--brand); background: #fffafc; box-shadow: 0 0 0 4px rgba(184,51,106,.07); }
.pay-input:checked + .pay-card .pay-radio { border-color: var(--brand); }
.pay-input:checked + .pay-card .pay-radio::after { transform: scale(1); }
.pay-input:checked + .pay-card .pay-ico { background: var(--rose-soft); color: var(--brand); }
.pay-input:focus-visible + .pay-card { outline: 2px solid var(--brand); outline-offset: 2px; }

.co-secure-note { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--text-muted); margin-top: 14px; line-height: 1.5; }
.co-secure-note i { color: #2e8b57; margin-top: 2px; }
.co-agree { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.co-agree a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.co-errors { border: 1px solid #f1c6cf; background: #fdf1f3; color: #8c1d3a; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; display: flex; gap: 12px; }
.co-errors i { margin-top: 3px; }
.co-errors ul { margin: 0; padding-left: 18px; font-size: 14px; }
.co-errors strong { display: block; margin-bottom: 2px; }

/* ---------- Boş sepet ---------- */
.co-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 56px 28px; }
.co-empty-ico {
    width: 104px; height: 104px; margin: 0 auto 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, var(--rose-soft), var(--lav-soft)); color: var(--brand); font-size: 40px;
}
.co-empty h2 { font-size: 28px; margin-bottom: 8px; }
.co-empty p { color: var(--text-muted); margin-bottom: 24px; }
.co-empty .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sonuç ekranları (onay / başarısız / ödeme) ---------- */
.co-result { max-width: 860px; margin: 0 auto; }
.co-result-head { text-align: center; padding: 38px 28px 30px; }
.co-badge-ico {
    width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center; font-size: 34px;
    background: #eaf6ef; color: #2e8b57; box-shadow: 0 0 0 10px rgba(46,139,87,.06);
}
.co-badge-ico.fail { background: #fdecef; color: #c0392b; box-shadow: 0 0 0 10px rgba(192,57,43,.06); }
.co-badge-ico.wait { background: var(--lav-soft); color: var(--lavender); box-shadow: 0 0 0 10px rgba(123,94,167,.07); }
.co-result-head h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.co-result-head p { color: var(--text-muted); max-width: 520px; margin: 0 auto; }
.co-ordno {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
    background: var(--cream); border: 1px dashed #dccbc3; border-radius: 999px; padding: 8px 10px 8px 18px;
    font-size: 14px; color: var(--text-muted);
}
.co-ordno strong { color: var(--ink); font-weight: 600; letter-spacing: .03em; }
.co-copy {
    border: 0; background: #fff; color: var(--ink); width: 32px; height: 32px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; box-shadow: var(--shadow-sm);
}
.co-copy:hover { color: var(--brand); }
.co-amount { margin-top: 14px; font-size: 14px; color: var(--text-muted); }
.co-amount strong { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--ink); margin-left: 6px; }
.co-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

.co-info-title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.co-info-title i { color: var(--lavender); }
.co-info { padding: 22px 24px; height: 100%; }
.co-info p { margin: 0 0 6px; font-size: 14px; color: var(--text); line-height: 1.6; }
.co-info p:last-child { margin-bottom: 0; }
.co-info .co-row { font-size: 14px; padding: 5px 0; }
.co-info .co-row.total span:last-child { font-size: 21px; }
.co-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.co-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.co-status.success { background: #eaf6ef; color: #2e8b57; }
.co-status.warning { background: #fff5e3; color: #b7791f; }
.co-status.danger { background: #fdecef; color: #c0392b; }
.co-status.secondary { background: #f1eff4; color: var(--text-muted); }

.co-bank { background: var(--lav-soft); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; }
.co-bank .ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--lavender); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.co-bank h3 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.co-bank .bank-text { font-size: 14px; color: var(--ink); line-height: 1.7; margin-bottom: 8px; word-break: break-word; }
.co-bank small { color: var(--text-muted); }
.co-bank small strong { color: var(--brand); }

.co-next { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.co-next li { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.co-next li i { width: 36px; height: 36px; border-radius: 50%; background: var(--rose-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.co-next li strong { display: block; color: var(--ink); font-size: 13.5px; font-weight: 600; }

.co-alert-fail { background: #fdf1f3; border: 1px solid #f1c6cf; color: #8c1d3a; border-radius: 14px; padding: 12px 16px; font-size: 14px; max-width: 520px; margin: 18px auto 0; text-align: left; display: flex; gap: 10px; }
.co-alert-fail i { margin-top: 3px; }

/* iyzico ödeme formu çerçevesi */
.co-pay-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 26px; border-bottom: 1px solid var(--border); }
.co-pay-head h2 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 10px; }
.co-pay-head h2 i { color: #2e8b57; }
.co-pay-head .meta { font-size: 13.5px; color: var(--text-muted); }
.co-pay-head .meta strong { color: var(--ink); }
.co-pay-head .meta .amt { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--ink); margin-left: 4px; }
.co-pay-body { padding: 22px 26px 26px; }
.co-pay-body #iyzipay-checkout-form { min-height: 120px; }
.co-pay-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 26px; border-top: 1px solid var(--border); background: #fffcfa; border-radius: 0 0 var(--radius) var(--radius); font-size: 12.5px; color: var(--text-muted); }
.co-pay-foot i.fa-shield-halved { color: #2e8b57; margin-right: 6px; }

/* ---------- Mobil sabit alt çubuk ---------- */
.co-mobilebar { display: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 991px) {
    .co-page { padding: 22px 0 40px; }
    .co-section { padding: 22px 20px; }
    .co-summary { padding: 22px 20px; }
    .co-next { grid-template-columns: 1fr; }

    .co-mobilebar {
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
        position: fixed; left: 0; right: 0; z-index: 1035;
        bottom: calc(64px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
        box-shadow: 0 -6px 18px rgba(42,37,80,.07);
        padding: 10px 16px;
    }
    .co-mobilebar .sum { line-height: 1.2; }
    .co-mobilebar .sum small { display: block; font-size: 11.5px; color: var(--text-muted); }
    .co-mobilebar .sum strong { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--ink); }
    .co-mobilebar .btn { padding: 11px 20px; font-size: 14.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
    /* Alt çubuk içerik ve WhatsApp butonunu örtmesin */
    body:has(.co-mobilebar) { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
    body:has(.co-mobilebar) .whatsapp-float { bottom: calc(146px + env(safe-area-inset-bottom)); }
}
@media (max-width: 767px) {
    .co-hero { padding: 18px 0 18px; }
    .co-step { font-size: 12px; gap: 7px; }
    .co-step a { gap: 7px; }
    .co-step .dot { width: 26px; height: 26px; font-size: 12px; }
    .co-step-line { margin: 0 8px; min-width: 12px; }

    .co-lines-head { display: none; }
    .co-lines { background: none; border: 0; border-radius: 0; overflow: visible; }
    .co-line {
        grid-template-columns: 76px 1fr auto; gap: 10px 14px;
        grid-template-areas: "img info rm" "img qty total";
        background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px;
    }
    .co-line + .co-line { border-top: 1px solid var(--border); margin-top: 12px; }
    .co-line-img { width: 76px; height: 76px; border-radius: 12px; align-self: start; }
    .co-line-qty { justify-content: flex-start; }
    .co-line-rm { align-self: start; margin: -6px -6px 0 0; }
    .co-line-total { align-self: center; }
    .co-line-name { font-size: 14px; }
    .co-lines-foot { margin-top: 12px; background: none; border: 0; padding: 4px 2px; }

    .co-result-head { padding: 30px 18px 24px; }
    .co-badge-ico { width: 72px; height: 72px; font-size: 28px; }
    .co-actions .btn { flex: 1 1 100%; }
    .co-pay-head, .co-pay-body { padding-left: 16px; padding-right: 16px; }
    .co-pay-foot { padding-left: 16px; padding-right: 16px; }
    .co-bank { flex-direction: column; gap: 12px; padding: 20px; }
}
@media (max-width: 400px) {
    .co-step .lbl-long { display: none; }
}
@media (min-width: 401px) {
    .co-step .lbl-short { display: none; }
}

/* ======================= Kupon / fatura / hediye / takip ======================= */
.co-row-sub { font-size: 12px; color: var(--text-muted); }
.co-row.co-discount span:last-child { color: #2e8b57; font-weight: 600; }
.co-row.co-discount small { color: var(--text-muted); font-weight: 500; letter-spacing: .03em; }
.co-ship-hint { font-size: 12.5px; color: var(--lavender); padding: 0 0 4px; }
.co-ship-hint i { margin-right: 4px; }
.co-ship-hint[hidden] { display: none; }

.co-coupon { margin: 0 0 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--border); }
.co-coupon-form { display: flex; gap: 8px; }
.co-coupon-input { position: relative; flex: 1; min-width: 0; }
.co-coupon-input i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--lavender); font-size: 14px; pointer-events: none; }
.co-coupon-input .form-control { padding-left: 36px; }
.co-coupon .form-control { text-transform: uppercase; letter-spacing: .05em; font-weight: 500; min-height: 44px; }
.co-coupon .form-control::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; }
.co-coupon .btn { min-height: 44px; padding: 0 16px; white-space: nowrap; }
.co-coupon-err { margin-top: 8px; font-size: 12.5px; color: #b02a4a; line-height: 1.45; }
.co-coupon-err[hidden] { display: none; }
.co-coupon-applied { display: flex; align-items: center; gap: 10px; background: #eef8f2; border: 1px dashed #8fcca8; border-radius: 12px; padding: 9px 10px 9px 14px; margin: 0; }
.co-coupon-applied > i { color: #2e8b57; }
.co-coupon-applied > span { flex: 1; min-width: 0; line-height: 1.3; }
.co-coupon-applied strong { color: var(--ink); letter-spacing: .05em; }
.co-coupon-applied small { display: block; color: #2e7a50; font-size: 12px; }
.co-coupon-rm { border: 0; background: #fff; color: var(--text-muted); width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.co-coupon-rm:hover, .co-coupon-rm:focus-visible { color: #c0392b; }
.co-coupon-details summary { cursor: pointer; font-size: 13.5px; color: var(--brand); font-weight: 500; list-style: none; padding: 2px 0; }
.co-coupon-details summary::-webkit-details-marker { display: none; }
.co-coupon-details summary i { margin-right: 6px; }
.co-coupon-details[open] summary { margin-bottom: 10px; }
.co-coupon-sm .co-coupon-form .form-control { min-height: 40px; }
.co-coupon-sm .co-coupon-form .btn { min-height: 40px; }

.co-eta { display: flex; align-items: flex-start; gap: 10px; background: var(--lav-soft); border-radius: 12px; padding: 10px 14px; font-size: 13.5px; color: var(--ink); }
.co-eta i { color: var(--lavender); margin-top: 3px; }
.co-eta.sm { background: none; padding: 4px 0 0; font-size: 12.5px; color: var(--text-muted); }

.co-min-warn { display: flex; gap: 12px; align-items: flex-start; background: #fff8ea; border: 1px solid #f3dfb4; color: #7a5410; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }
.co-min-warn > i { margin-top: 3px; }
.co-min-warn > div { flex: 1; }
.co-min-warn a { color: inherit; font-weight: 600; text-decoration: underline; margin-left: 4px; }
.co-min-warn .co-ship-bar { background: rgba(183,121,31,.18); }
.co-min-warn .co-ship-bar span { background: linear-gradient(90deg, #e0a84a, var(--brand)); }

.co-seg { display: inline-flex; background: var(--cream); border: 1px solid var(--border); border-radius: 14px; padding: 4px; gap: 4px; }
.co-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.co-seg label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; cursor: pointer; font-weight: 500; font-size: 14px; color: var(--text-muted); margin: 0; min-height: 40px; }
.co-seg input:checked + label { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.co-seg input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 1px; }
.co-check { font-size: 14px; }
.co-field-err { font-size: 12px; color: #b02a4a; margin-top: 4px; }
[data-inv][hidden], #invAddr[hidden], .co-gift-note[hidden] { display: none !important; }

.co-gift-toggle { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px; cursor: pointer; margin: 0; transition: border-color .15s, background .15s; }
.co-gift-toggle:hover { border-color: var(--brand-light); }
.co-gift-toggle .form-check-input { margin: 0; width: 20px; height: 20px; flex-shrink: 0; }
.co-gift-toggle:has(input:checked) { border-color: var(--brand); background: #fffafc; }
.co-gift-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--rose-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.co-gift-body { flex: 1; min-width: 0; line-height: 1.35; }
.co-gift-body strong { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.co-gift-body small { color: var(--text-muted); font-size: 12.5px; }
.co-gift-fee { font-size: 12.5px; font-weight: 600; color: #2e8b57; background: #eef8f2; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.co-gift-note { margin-top: 14px; }

.co-alert-warn { background: #fff8ea !important; border-color: #f3dfb4 !important; color: #7a5410 !important; }
.co-alert-warn a { color: inherit; text-decoration: underline; }
.co-track-box { margin: 20px auto 0; max-width: 560px; background: var(--lav-soft); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; color: var(--ink); text-align: left; }
.co-track-box i.fa-location-dot { color: var(--lavender); margin-right: 4px; }
.co-track-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.co-track-actions .btn { min-height: 38px; }
.co-info-sub { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 14px 0 4px; }
.co-info-sub i { color: var(--lavender); margin-right: 4px; }
.co-gift-quote { font-style: italic; color: var(--ink); }
.co-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.co-doc { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; min-height: 48px; }
.co-doc span { flex: 1; }
.co-doc i:first-child { color: var(--brand); font-size: 18px; }
.co-doc i:last-child { color: var(--text-muted); font-size: 12px; }
.co-doc:hover { border-color: var(--brand-light); color: var(--brand); }
.co-empty-track { margin: 22px 0 0 !important; font-size: 14px; }
.co-empty-track a { color: var(--lavender); }

/* Sipariş takip sayfası */
.ov-sub { color: var(--text-muted); margin: 6px 0 0; }
.ov-sub strong { color: var(--ink); letter-spacing: .03em; }
.ov-status { padding: 26px 26px 22px; }
.ov-timeline { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.ov-step { position: relative; text-align: center; color: var(--text-muted); font-size: 13px; padding: 0 4px; }
.ov-step::before { content: ''; position: absolute; top: 21px; left: calc(-50% + 26px); right: calc(50% + 26px); height: 3px; border-radius: 3px; background: var(--border); }
.ov-step:first-child::before { display: none; }
.ov-step.is-done::before, .ov-step.is-current::before { background: linear-gradient(90deg, var(--lavender), var(--brand)); }
.ov-dot { width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--cream); border: 2px solid var(--border); color: var(--text-muted); font-size: 16px; position: relative; z-index: 1; }
.ov-step.is-done .ov-dot { background: var(--rose-soft); border-color: var(--rose-soft); color: var(--brand); }
.ov-step.is-current .ov-dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px rgba(184,51,106,.13); }
.ov-step.is-current, .ov-step.is-done { color: var(--ink); }
.ov-step.is-current .ov-lbl { font-weight: 600; }
.ov-lbl { display: block; line-height: 1.3; }
.ov-step small { display: block; font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }
.ov-cancel { display: flex; gap: 14px; align-items: center; background: #fdf1f3; border: 1px solid #f1c6cf; color: #8c1d3a; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }
.ov-cancel i { font-size: 22px; }
.ov-cancel span { display: block; font-size: 13.5px; }
.ov-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ov-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--lav-soft); color: var(--ink); }
.ov-pill i { color: var(--lavender); }
.ov-cargo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--border); }
.ov-cargo-ico { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.ov-cargo-body { flex: 1; min-width: 180px; line-height: 1.35; }
.ov-cargo-body span { display: block; font-size: 12px; color: var(--text-muted); }
.ov-cargo-body strong { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; }
.ov-trk { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; word-break: break-all; }
.ov-note { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--text-muted); }

/* Sipariş sorgulama */
.trk-wrap { max-width: 520px; margin: 0 auto; }
.trk-card { padding: 30px 28px 22px; }
.trk-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--rose-soft), var(--lav-soft)); color: var(--brand); font-size: 28px; }
.trk-form .form-control-lg { font-size: 16px; min-height: 50px; }
.trk-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--text-muted); }
.trk-tips { list-style: none; padding: 0; margin: 20px 4px 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--text-muted); }
.trk-tips li { display: flex; gap: 10px; align-items: flex-start; }
.trk-tips i { color: var(--lavender); width: 18px; text-align: center; margin-top: 3px; }

@media (max-width: 767px) {
    .co-seg { display: flex; }
    .co-seg label { flex: 1; justify-content: center; padding: 9px 10px; }
    .ov-status { padding: 22px 14px 18px; }
    .ov-step { font-size: 11.5px; padding: 0 2px; }
    .ov-dot { width: 36px; height: 36px; font-size: 13px; }
    .ov-step::before { top: 17px; left: calc(-50% + 21px); right: calc(50% + 21px); }
    .ov-step small { font-size: 10.5px; }
    .ov-cargo .btn { width: 100%; }
    .trk-card { padding: 24px 18px 18px; }
    .co-coupon-form { flex-wrap: nowrap; }
    .co-gift-toggle { padding: 12px; gap: 10px; }
    .co-gift-ico { width: 36px; height: 36px; font-size: 15px; }
}

/* ---------- Gece modu (yeni bileşenler) ---------- */
html[data-theme="dark"] .co-coupon { border-bottom-color: var(--line-2, rgba(255,255,255,.12)); }
html[data-theme="dark"] .co-coupon-applied { background: rgba(46,158,91,.12); border-color: rgba(111,211,154,.45); }
html[data-theme="dark"] .co-coupon-applied small, html[data-theme="dark"] .co-row.co-discount span:last-child { color: #8be0ad; }
html[data-theme="dark"] .co-coupon-rm { background: var(--surface-2, #2a2340); color: #bdb5d6; }
html[data-theme="dark"] .co-coupon-err, html[data-theme="dark"] .co-field-err { color: #ffa3b8; }
html[data-theme="dark"] .co-eta:not(.sm) { background: var(--lav-soft); color: var(--text); }
html[data-theme="dark"] .co-min-warn, html[data-theme="dark"] .co-alert-warn { background: #3a2e14 !important; border-color: #6b5420 !important; color: #f3d28a !important; }
html[data-theme="dark"] .co-seg { background: var(--surface-2, #2a2340); border-color: var(--line-2, rgba(255,255,255,.12)); }
html[data-theme="dark"] .co-seg input:checked + label { background: var(--surface, #221c36); color: #ff9cc4; }
html[data-theme="dark"] .co-gift-toggle { border-color: var(--line-2, rgba(255,255,255,.14)); }
html[data-theme="dark"] .co-gift-toggle:has(input:checked) { background: #2f2147; border-color: var(--brand); }
html[data-theme="dark"] .co-gift-fee { background: rgba(46,158,91,.14); color: #8be0ad; }
html[data-theme="dark"] .co-track-box { background: var(--lav-soft); color: var(--text); }
html[data-theme="dark"] .co-doc { border-color: var(--line-2, rgba(255,255,255,.14)); color: var(--text); }
html[data-theme="dark"] .ov-dot { background: var(--surface-2, #2a2340); border-color: var(--line-2, rgba(255,255,255,.14)); }
html[data-theme="dark"] .ov-step::before { background: var(--line-2, rgba(255,255,255,.14)); }
html[data-theme="dark"] .ov-step.is-done .ov-dot { background: var(--rose-soft); border-color: transparent; }
html[data-theme="dark"] .ov-step.is-current .ov-dot { background: var(--brand-fill, var(--brand)); border-color: var(--brand-fill, var(--brand)); }
html[data-theme="dark"] .ov-cargo { background: var(--surface-2, #2a2340); border-color: var(--line-2, rgba(255,255,255,.12)); }
html[data-theme="dark"] .ov-cargo-ico { background: var(--surface, #221c36); }
html[data-theme="dark"] .ov-cancel { background: #3a1a2b; border-color: #6a2b46; color: #ffa3b8; }
html[data-theme="dark"] .trk-foot { border-top-color: var(--line, rgba(255,255,255,.1)); }
