/* Sipariş Sorgula — özel sayfa stilleri (v3) */
.page-siparis-sorgula main {
    background: linear-gradient(165deg, #f0f9ff 0%, #f8fafc 42%, #fff 100%);
    overflow-x: hidden;
}

.ta-ss-page {
    padding: 0 1rem 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ta-ss-shell {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Tema style.min.css tüm <header> etiketlerine position:absolute veriyor — sipariş kartı <div> kullanır */
.page-siparis-sorgula .ta-ss-result-hero {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 1 !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    box-sizing: border-box;
}

/* Arama kartı */
.ta-ss-search-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    padding: 1.75rem 1.5rem 1.5rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.ta-ss-search-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ta-ss-title {
    margin: 0 0 0.35rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}

.ta-ss-lead {
    margin: 0 0 1.35rem;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ta-ss-form-grid {
    display: grid;
    gap: 1rem;
    text-align: left;
    margin-bottom: 1.15rem;
}

@media (min-width: 576px) {
    .ta-ss-form-grid {
        grid-template-columns: 1fr 1.4fr;
    }
}

.ta-ss-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ta-ss-input {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #0f172a;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.ta-ss-input:focus {
    outline: none;
    border-color: var(--main-color, #14b8a6);
    background: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--main-color, #14b8a6) 22%, transparent);
}

.ta-ss-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.ta-ss-btn:active {
    transform: scale(0.98);
}

.ta-ss-btn-primary {
    color: #fff;
    background: linear-gradient(180deg, color-mix(in srgb, var(--main-color, #14b8a6) 85%, #fff) 0%, var(--main-color, #14b8a6) 100%);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--main-color, #14b8a6) 35%, transparent);
}

.ta-ss-btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 14px 32px color-mix(in srgb, var(--main-color, #14b8a6) 42%, transparent);
}

/* Uyarılar */
.ta-ss-alert {
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ta-ss-alert-warn {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.ta-ss-alert-ok {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

/* Sonuç paneli */
.ta-ss-result {
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.ta-ss-result-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.35rem 1.15rem;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.ta-ss-hero-pending,
.ta-ss-hero-processing {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
}

.ta-ss-hero-completed,
.ta-ss-hero-partial {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.ta-ss-hero-cancelled,
.ta-ss-hero-refunded {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

.ta-ss-hero-payment_failed {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.ta-ss-hero-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.ta-ss-hero-title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.ta-ss-hero-summary {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    opacity: 0.95;
    line-height: 1.4;
    max-width: 28rem;
}

.ta-ss-hero-badge {
    flex-shrink: 0;
    align-self: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.ta-ss-result-body {
    padding: 1.25rem 1.35rem 1.5rem;
}

.ta-ss-detail-text {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Tahmini süre */
.ta-ss-eta {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem 1.05rem;
    margin-bottom: 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.ta-ss-eta-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.ta-ss-eta-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0369a1;
    margin-bottom: 0.2rem;
}

.ta-ss-eta-text {
    margin: 0;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.5;
}

/* Zaman çizelgesi — yatay */
.ta-ss-block-title {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.ta-ss-timeline-wrap {
    margin-bottom: 1.35rem;
}

.ta-ss-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
}

.ta-ss-step {
    position: relative;
    padding: 0.75rem 0.55rem 0.65rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    text-align: center;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.ta-ss-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.ta-ss-step-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    line-height: 1.25;
}

.ta-ss-step-hint {
    font-size: 0.65rem;
    color: #94a3b8;
}

.ta-ss-step-done {
    border-color: color-mix(in srgb, var(--main-color, #14b8a6) 35%, #e2e8f0);
    background: color-mix(in srgb, var(--main-color, #14b8a6) 8%, #fff);
}

.ta-ss-step-done .ta-ss-step-num {
    background: var(--main-color, #14b8a6);
    color: #fff;
}

.ta-ss-step-done .ta-ss-step-label {
    color: #0f172a;
}

.ta-ss-step-active {
    border-color: var(--main-color, #14b8a6);
    background: #fff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-color, #14b8a6) 18%, transparent);
}

.ta-ss-step-active .ta-ss-step-num {
    background: var(--main-color, #14b8a6);
    color: #fff;
    animation: ta-ss-pulse 1.6s ease infinite;
}

.ta-ss-step-active .ta-ss-step-label {
    color: #0f172a;
}

.ta-ss-step-error {
    border-color: #fecaca;
    background: #fef2f2;
}

.ta-ss-step-error .ta-ss-step-num {
    background: #ef4444;
    color: #fff;
}

.ta-ss-step-pending .ta-ss-step-label {
    color: #94a3b8;
}

@keyframes ta-ss-pulse {
    0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--main-color, #14b8a6) 45%, transparent); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

/* Detay kutuları */
.ta-ss-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.ta-ss-metric {
    padding: 0.85rem 0.9rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.ta-ss-metric:first-child {
    grid-column: 1 / -1;
}

.ta-ss-metric-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.ta-ss-metric-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

.ta-ss-metric-price {
    font-size: 1.05rem;
    color: var(--main-color, #0d9488);
}

/* WhatsApp */
.ta-ss-btn-whatsapp {
    color: #fff;
    background: linear-gradient(180deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 10px 28px rgba(18, 140, 126, 0.35);
}

.ta-ss-btn-whatsapp:hover {
    filter: brightness(1.06);
}

.ta-ss-wa-icon {
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.881 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 480px) {
    .ta-ss-result-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .ta-ss-hero-badge {
        align-self: flex-start;
    }
    .ta-ss-metrics {
        grid-template-columns: 1fr;
    }
    .ta-ss-metric:first-child {
        grid-column: auto;
    }
    .ta-ss-timeline {
        grid-template-columns: 1fr 1fr;
    }
}
