﻿.order-card {
    border: none;
    border-radius: 18px;
    transition: .25s;
}

    .order-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,.12);
    }

.order-thumb {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 16px;
}

.badge {
    padding: 10px 18px;
    border-radius: 30px;
}

.card-body {
    padding: 30px;
}
/*==================================================
    ORDER
==================================================*/

.back-link {
    color: #5f7f67;
    font-weight: 600;
    transition: .25s;
}

    .back-link:hover {
        color: #2f5e3a;
        text-decoration: none;
    }

/*==================================================
    CARD
==================================================*/

.order-card,
.order-detail-card,
.info-card,
.summary-card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: .3s;
}

    .order-card:hover,
    .info-card:hover,
    .summary-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 35px rgba(0,0,0,.12);
    }

    .order-detail-card .card-body {
        padding: 40px;
    }

.info-card {
    padding: 28px;
    height: 100%;
}

.summary-card {
    padding: 28px;
}

/*==================================================
    BADGE
==================================================*/

.badge {
    padding: 12px 22px;
    border-radius: 30px;
    font-size: .95rem;
    font-weight: 600;
}

/*==================================================
    TIMELINE
==================================================*/

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 25px;
}

    .timeline .line {
        flex: 1;
        height: 4px;
        background: #d8d8d8;
    }

    .timeline .step {
        width: 90px;
        text-align: center;
        position: relative;
        z-index: 2;
    }

        .timeline .step::before {
            content: "";
            width: 48px;
            height: 48px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: auto;
            border-radius: 50%;
            background: #ddd;
            color: white;
            font-size: 20px;
        }

        .timeline .step.active::before {
            background: #4d8b5d;
        }

        .timeline .step span {
            display: block;
            margin-top: 12px;
            font-size: .9rem;
            font-weight: 600;
            color: #666;
        }

/*==================================================
    PRODUCT
==================================================*/

.product-item {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 15px 0;
}

.product-thumb {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.product-info {
    flex: 1;
}

    .product-info h5 {
        margin-bottom: 10px;
        font-weight: 700;
    }

    .product-info div {
        color: #666;
    }

/*==================================================
    SUMMARY
==================================================*/

.summary-card h3 {
    font-weight: 700;
    color: #3f8f58;
}

.summary-card hr {
    margin: 20px 0;
}

/*==================================================
    BUTTON
==================================================*/

.btn-lg {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: .25s;
}

    .btn-lg:hover {
        transform: translateY(-2px);
    }

/*==================================================
    ANIMATION
==================================================*/

.order-card,
.order-detail-card,
.info-card,
.summary-card {
    animation: fadeUp .45s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:992px) {

    .timeline {
        flex-wrap: wrap;
        gap: 15px;
    }

        .timeline .line {
            display: none;
        }

    .product-item {
        flex-direction: column;
        text-align: center;
    }

    .product-thumb {
        width: 160px;
        height: 160px;
    }

    .summary-card {
        margin-top: 25px;
    }
}