/* ================================
   TRACK YOUR ORDER - CUSTOM STYLE
   ================================ */

.wps-tofw-order-tracking-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    font-family: "DM Sans", Inter, system-ui, -apple-system, sans-serif;
}

/* ================================
   HEADER / STEPS WRAPPER
   ================================ */

.wps_tofw_header {
    font-family:"Eurostile Extended Regular" !important;
    background: #fff;
    padding: 30px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.wps_tofw_header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* STEP LIST */
.wps_tofw_process_steps_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

/* STEP ITEM */
.wps_tofw_process_steps_wrap li {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 10px;
}

/* CONNECTING LINE */
.wps_tofw_process_steps_wrap li:not(:last-child)::after {
    position: absolute;
    top: 32px;
    right: -50%;
    width: 100%;
    height: 3px;
    background: #e7e7e7;
    z-index: 0;
}   

/* ICON */
.wps_tofw_process_steps_wrap svg {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

/* STEP LABEL */
.wps_tofw_process_steps_wrap span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1C1C1E;
}

/* ================================
   ACTIVE / COMPLETED STATES
   (handled via class/id if plugin adds it)
   ================================ */

/* Generic active highlight */
.wps_tofw_process_steps_wrap li.active span,
.wps_tofw_process_steps_wrap li.current span {
    color: #36b37e;
}

/* Completed step */
.wps_tofw_process_steps_wrap li.completed svg {
    transform: scale(1.05);
}

.wps_tofw_process_steps_wrap li.completed rect {
    stroke: #36b37e !important;
}

/* ================================
   CONTENT SECTION
   ================================ */

.wps_tofw_order_tracker_content {
    margin-top: 20px;
    padding: 20px;
}

.wps_tofw_order_tracker_content h3 {
    font-family:"Eurostile Extended Regular" !important;
    margin-bottom: 15px;
    font-size: 18px;
    color: #222;
}

/* ORDER INFO LIST */
.wps-tofw-order-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wps-tofw-order-info li {
    padding: 6px 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px dashed #eee;
}

.wps-tofw-order-info li:last-child {
    border-bottom: none;
}

/* ================================
   SHIPPING / DELIVERY SPECIAL COLORS
   ================================ */

.wps_tofw_order_tracker_content.shipping h3 {
    color: #f45c20;
}

.wps_tofw_order_tracker_content.delivery h3 {
    color: #36b37e;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {

    .wps_tofw_process_steps_wrap svg {
        width: 72px !important;
        height: 72px !important;
        flex-shrink: 0 !important;
    }

    .wps_tofw_process_steps_wrap li {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    /* STEP LABEL */
    .wps_tofw_process_steps_wrap span {
        font-size: 16px !important;
        margin-top: 8px !important;
    }


    .wps-tofw-order-tracking-section { 
        padding: 15px;
    }

    .wps_tofw_process_steps_wrap {
        flex-direction: column;
        gap: 20px;
    }

    .wps_tofw_process_steps_wrap li:not(:last-child)::after {
        display: none;
    }

    .wps_tofw_header {
        padding: 20px 15px;
    }

    .wps_tofw_order_tracker_content {
        padding: 15px;
    }
}