/* ============================================================
   tracking.css — Sipariş Takip sayfası (modern tasarım)
   ============================================================ */

.ot-hero,
.ot-search-section,
.ot-result-section,
.ot-empty {
    --ot-primary: #7b1a2e;
    --ot-primary-dark: #4a0f1c;
    --ot-primary-light: #9c2338;
    --ot-primary-soft: rgba(123, 26, 46, .08);
    --ot-gold: #c9a96e;
    --ot-ink: #241512;
    --ot-muted: #8a7060;
    --ot-border: #ece3d8;
    --ot-cream: #faf8f5;
    --ot-cream-2: #f5f0ea;
    --ot-white: #ffffff;
    --ot-success: #1f9d55;
    --ot-success-soft: #eaf7ef;
    --ot-warning: #c9821d;
    --ot-warning-soft: #fdf3e3;
    --ot-info: #3a5bd9;
    --ot-info-soft: #eef1fd;
    --ot-danger: #b3283f;
    --ot-danger-soft: #fdeef0;
    --ot-radius-lg: 24px;
    --ot-radius: 16px;
    --ot-radius-sm: 10px;
    --ot-shadow-lg: 0 25px 70px -20px rgba(74, 15, 28, .25);
    --ot-shadow: 0 10px 30px -12px rgba(74, 15, 28, .12);
    --ot-transition: .3s cubic-bezier(.4, 0, .2, 1);
    --font-head: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', 'Poppins', sans-serif;
}

@keyframes ot-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ot-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(123, 26, 46, .35);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(123, 26, 46, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(123, 26, 46, 0);
    }
}

/* ── HERO ────────────────────────────────────────────────── */
.ot-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, var(--ot-primary-dark) 0%, var(--ot-primary) 55%, var(--ot-primary-light) 100%);
    padding: 90px 0 130px;
    text-align: center;
    isolation: isolate;
}

.ot-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .35;
    z-index: -1;
    background: radial-gradient(circle, var(--ot-gold), transparent 70%);
}

.ot-hero-blob-1 {
    width: 420px;
    height: 420px;
    top: -220px;
    left: -120px;
}

.ot-hero-blob-2 {
    width: 320px;
    height: 320px;
    bottom: -200px;
    right: -80px;
    background: radial-gradient(circle, #ffffff, transparent 70%);
    opacity: .12;
}

.ot-hero-inner {
    animation: ot-fade-up .6s ease both;
}

.ot-hero-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    color: var(--ot-gold);
    font-size: 30px;
}

.ot-hero-title {
    font-family: var(--font-head);
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: .01em;
}

.ot-hero-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, .8);
    margin: 0;
    letter-spacing: .01em;
}

/* ── SEARCH ──────────────────────────────────────────────── */
.ot-search-section {
    background: var(--ot-cream);
    padding: 0 0 56px;
}

.ot-search-card {
    max-width: 860px;
    margin: -70px auto 0;
    background: var(--ot-white);
    border-radius: var(--ot-radius-lg);
    box-shadow: var(--ot-shadow-lg);
    padding: 44px 48px 40px;
    text-align: center;
    position: relative;
    animation: ot-fade-up .6s .1s ease both;
}

.ot-search-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
    font-size: 22px;
}

.ot-search-title {
    font-family: var(--font-head);
    font-size: 25px;
    font-weight: 700;
    color: var(--ot-ink);
    margin: 0 0 8px;
}

.ot-search-hint {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ot-muted);
    margin: 0 0 26px;
    line-height: 1.6;
}

.ot-example strong {
    color: var(--ot-primary);
    font-weight: 600;
}

.ot-form {
    max-width: 560px;
    margin: 0 auto;
}

.ot-input-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ot-cream-2);
    border: 1px solid var(--ot-border);
    border-radius: 100px;
    padding: 6px 6px 6px 20px;
    transition: border-color var(--ot-transition), box-shadow var(--ot-transition), background var(--ot-transition);
}

.ot-input-group:focus-within {
    background: var(--ot-white);
    border-color: var(--ot-primary);
    box-shadow: 0 0 0 4px var(--ot-primary-soft);
}

.ot-input-icon {
    color: var(--ot-muted);
    font-size: 14px;
    display: flex;
}

.ot-input-group:focus-within .ot-input-icon {
    color: var(--ot-primary);
}

.ot-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 13px 4px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ot-ink);
    min-width: 0;
}

.ot-input::placeholder {
    color: #bba99c;
}

.ot-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--ot-primary), var(--ot-primary-light));
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 13px 26px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--ot-transition), box-shadow var(--ot-transition);
}

.ot-btn:hover {
    box-shadow: 0 10px 24px -8px rgba(123, 26, 46, .55);
}

.ot-btn i {
    transition: transform var(--ot-transition);
}

.ot-btn:hover i {
    transform: translateX(3px);
}

.ot-alert {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    background: var(--ot-danger-soft);
    color: var(--ot-danger);
    border-radius: var(--ot-radius-sm);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
}

/* ── RESULT ──────────────────────────────────────────────── */
.ot-result-section {
    background: var(--ot-cream);
    padding: 8px 0 90px;
}

.ot-result {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ot-card {
    background: var(--ot-white);
    border: 1px solid var(--ot-border);
    border-radius: var(--ot-radius);
    box-shadow: var(--ot-shadow);
    animation: ot-fade-up .5s ease both;
}

/* ── SUMMARY ─────────────────────────────────────────────── */
.ot-summary {
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.ot-summary-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ot-summary-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ot-primary-soft), rgba(201, 169, 110, .18));
    color: var(--ot-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.ot-summary-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ot-summary-label {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ot-muted);
}

.ot-summary-number {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--ot-ink);
    margin: 0;
}

.ot-summary-date {
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--ot-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── STATUS PILL ─────────────────────────────────────────── */
.ot-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .03em;
    white-space: nowrap;
}

.ot-status-processing {
    background: var(--ot-info-soft);
    color: var(--ot-info);
}

.ot-status-shipping {
    background: var(--ot-warning-soft);
    color: var(--ot-warning);
}

.ot-status-delivered {
    background: var(--ot-success-soft);
    color: var(--ot-success);
}

.ot-status-cancelled,
.ot-status-unknown {
    background: var(--ot-danger-soft);
    color: var(--ot-danger);
}

/* ── CANCELLED NOTE ──────────────────────────────────────── */
.ot-cancelled-note {
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ot-danger-soft);
    color: var(--ot-danger);
    border-color: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
}

.ot-cancelled-note i {
    font-size: 18px;
}

/* ── WIZARD ──────────────────────────────────────────────── */
.ot-wizard-card {
    padding: 40px 44px 32px;
}

.ot-wizard {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0 12px;
}

.ot-wizard-line {
    position: absolute;
    top: 27px;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--ot-border);
    border-radius: 3px;
    z-index: 0;
}

.ot-wizard-line-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--ot-primary), var(--ot-gold));
    border-radius: 3px;
    transition: width 1s cubic-bezier(.4, 0, .2, 1);
}

.ot-wizard-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.ot-wizard-dot {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ot-white);
    border: 2px solid var(--ot-border);
    color: var(--ot-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--ot-transition);
}

.ot-wizard-step.done .ot-wizard-dot {
    background: linear-gradient(135deg, var(--ot-primary), var(--ot-primary-light));
    border-color: var(--ot-primary);
    color: #fff;
}

.ot-wizard-step.active .ot-wizard-dot {
    background: var(--ot-white);
    border-color: var(--ot-primary);
    color: var(--ot-primary);
    animation: ot-pulse 1.8s infinite;
}

.ot-wizard-label {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--ot-muted);
    text-align: center;
    max-width: 120px;
    line-height: 1.4;
}

.ot-wizard-step.done .ot-wizard-label,
.ot-wizard-step.active .ot-wizard-label {
    color: var(--ot-ink);
    font-weight: 600;
}

/* ── KARGO ───────────────────────────────────────────────── */
.ot-kargo {
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--ot-cream-2), var(--ot-white));
}

.ot-kargo-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ot-kargo-body {
    flex: 1;
    min-width: 160px;
}

.ot-kargo-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ot-muted);
    margin-bottom: 2px;
}

.ot-kargo-body p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ot-ink);
}

.ot-kargo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ot-ink);
    color: #fff;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--ot-transition);
}

.ot-kargo-btn:hover {
    background: var(--ot-primary);
    color: #fff;
}

/* ── ITEMS ───────────────────────────────────────────────── */
.ot-items-head {
    padding: 22px 32px;
    border-bottom: 1px solid var(--ot-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ot-items-head h3 {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--ot-ink);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ot-items-head h3 i {
    color: var(--ot-primary);
    font-size: 16px;
}

.ot-items-count {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ot-primary);
    background: var(--ot-primary-soft);
    padding: 5px 14px;
    border-radius: 100px;
}

.ot-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 32px;
    border-bottom: 1px solid var(--ot-border);
    transition: background var(--ot-transition);
}

.ot-item:hover {
    background: var(--ot-cream);
}

.ot-item:last-child {
    border-bottom: none;
}

.ot-item-img {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: var(--ot-radius-sm);
    overflow: hidden;
    background: var(--ot-cream-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ot-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ot-item-img-placeholder {
    font-size: 22px;
    color: var(--ot-gold);
}

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

.ot-item-info h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--ot-ink);
    margin: 0 0 4px;
}

.ot-item-info p {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--ot-muted);
    margin: 0;
}

.ot-item-qty {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ot-muted);
    min-width: 40px;
    text-align: center;
}

.ot-item-price {
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ot-ink);
    min-width: 100px;
    text-align: right;
}

.ot-items-total {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding: 22px 32px;
    background: var(--ot-cream-2);
    border-radius: 0 0 var(--ot-radius) var(--ot-radius);
}

.ot-items-total span {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ot-muted);
}

.ot-items-total strong {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 700;
    color: var(--ot-primary);
}

/* ── ADDRESS ─────────────────────────────────────────────── */
.ot-address {
    padding: 24px 32px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ot-address-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ot-address-body h4 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ot-muted);
    margin: 0 0 6px;
}

.ot-address-body p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ot-ink);
    margin: 0;
    line-height: 1.6;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.ot-empty {
    max-width: 620px;
    margin: 0 auto;
    background: var(--ot-white);
    border: 1px dashed var(--ot-border);
    border-radius: var(--ot-radius-lg);
    padding: 60px 40px;
    text-align: center;
    animation: ot-fade-up .5s ease both;
}

.ot-empty-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--ot-primary-soft);
    color: var(--ot-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ot-empty h3 {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--ot-ink);
    margin: 0 0 10px;
}

.ot-empty p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ot-muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.ot-empty-sub {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--ot-gold);
    background: rgba(201, 169, 110, .12);
    padding: 8px 16px;
    border-radius: 100px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 780px) {
    .ot-wizard {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .ot-wizard-line {
        display: none;
    }

    .ot-wizard-step {
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        text-align: left;
        gap: 16px;
        padding-bottom: 30px;
        position: relative;
    }

    .ot-wizard-step:last-child {
        padding-bottom: 0;
    }

    .ot-wizard-step:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 26px;
        top: 54px;
        bottom: 0;
        width: 2px;
        background: var(--ot-border);
    }

    .ot-wizard-step.done:not(:last-child)::before {
        background: var(--ot-primary);
    }

    .ot-wizard-label {
        max-width: none;
        text-align: left;
        padding-top: 14px;
    }
}

@media (max-width: 640px) {
    .ot-hero {
        padding: 56px 0 100px;
    }

    .ot-hero-title {
        font-size: 32px;
    }

    .ot-hero-desc {
        font-size: 14px;
        padding: 0 10px;
    }

    .ot-search-card {
        margin-top: -56px;
        padding: 32px 22px;
        border-radius: var(--ot-radius);
    }

    .ot-search-title {
        font-size: 21px;
    }

    .ot-input-group {
        flex-wrap: wrap;
        border-radius: var(--ot-radius);
        padding: 14px;
    }

    .ot-input {
        width: 100%;
        padding: 8px 4px;
    }

    .ot-btn {
        width: 100%;
        justify-content: center;
        border-radius: var(--ot-radius-sm);
    }

    .ot-summary {
        padding: 22px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ot-wizard-card {
        padding: 26px 22px 8px;
    }

    .ot-kargo,
    .ot-items-head,
    .ot-item,
    .ot-items-total,
    .ot-address {
        padding-left: 20px;
        padding-right: 20px;
    }

    .ot-item {
        flex-wrap: wrap;
    }

    .ot-item-info {
        min-width: 55%;
    }

    .ot-item-price {
        margin-left: auto;
        text-align: right;
    }

    .ot-empty {
        padding: 44px 24px;
    }
}
