@import url('https: //fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


.order-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.order-card {
    width: 23rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 4px 4px 15px rgba(#000, 0.15);
    position: relative;
    color: #434343;
    margin-right: 30px;
}

.order-card .order-card__container {
    padding: .5rem .8rem;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 1rem;
    position: relative;
    box-shadow: 2px 1px 6px 1px #d5d5d5;
}

.order-card .order-card__header {
    margin-bottom: .8rem;
    font-family: "Quicksand", serif;
    font-size: 32px !important;
}

.order-card .order-card__body {
    font-family: "Quicksand", serif;
    font-size: 12px !important;
}

.order-card::before {
    position: absolute;
    top: 2rem;
    right: -0.5rem;
    content: '';
    height: 28px;
    width: 28px;
    transform: rotate(45deg);
}

.order-card::after {
    position: absolute;
    content: attr(data-label);
    top: 11px;
    right: -14px;
    padding: 0.5rem;
    width: 10rem;
    color: white;
    text-align: center;
    font-family: "Quicksand", serif;
    box-shadow: 4px 4px 15px rgba(26, 35, 126, 0.2);
}

.order-card-info::before {
    background: #283593;
}

.order-card-info::after {
    background: #3949ab;
}

.order-card-warning::before {
    background: #af7905;
}

.order-card-warning::after {
    background: #a37c10;
}

.order-card-success::before {
    background: #109146;
}

.order-card-success::after {
    background: #086d26;
}

.view-product-btn {
    color: #fff;
    font-size: 12px;
    padding: 5px 5px;
    border-radius: 20px;
    display: inline-block;
    border: 0;
    outline: 0;
    background-image: linear-gradient(135deg, #5d10ec 10%, #9569e7 100%);
}

.product-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: auto;
}

.product-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.1);
    filter: brightness(90%);
}

.product-details {
    padding: 15px;
    flex: 1;
}

.product-title {
    font-size: 1rem;
    color: #333;
    margin: 0 0 10px;
}

.product-description {
    font-size: .8rem;
    color: #666;
    margin: 0 0 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1rem;
    color: #ff6f61;
    font-weight: bold;
}


@media only screen and (max-width: 900px) {

    .order-card-responsive {
        padding: 12px 12px;
        font-size: 14px;
        border: none;
        border-radius: 8px;
        background-color: transparent;
        border: #cacaca solid 1px;
        color: #fff;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }


    .order-card-responsive {
        background-color: #fff;
        /* Animation runs once and retains final state */
        margin: 5px;
        max-width: 33.33%;
        width: 33.33%;
        height: 90px;
        /* Example height for visualization */
        position: relative;
        overflow: hidden;
        /* Initial state */
    }

    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .product-details {
        padding: 15px;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Animation Keyframes */

}