.wcat-outer-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 900px;
    margin: 20px auto;
    color: #333;
    padding: 0 15px;
    box-sizing: border-box;
}
.wcat-outer-wrapper *, .wcat-outer-wrapper *::before, .wcat-outer-wrapper *::after {
    box-sizing: border-box;
}

/* সার্চ বক্স ও ফর্ম লেআউট ফিক্স */
.wcat-search-box {
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    margin-bottom: 25px;
}
.wcat-form-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    width: 100%;
}
.wcat-form-group input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    height: 48px;
    background-color: #fff;
}
.wcat-form-group button {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    height: 48px;
    transition: 0.3s;
    white-space: nowrap;
}
.wcat-form-group button:hover { background: #e05500; }

/* অ্যালার্ট ও এরর */
.wcat-success-alert {
    background: #edfbf2;
    border: 1px solid #c3f2d2;
    color: #1e7e34;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.wcat-error {
    background: #fdf2f2;
    border: 1px solid #f8d7da;
    color: #dc3545;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

/* অর্ডার কার্ড */
.wcat-order-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.wcat-card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.wcat-badge {
    background: #ff6600;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    display: inline-block;
}

/* 🚀 শক্তিশালী ও দৃশ্যমান টাইমলাইন আর্কিটেকচার */
.wcat-timeline-container {
    position: relative;
    padding: 10px 0;
}
/* ট্র্যাকিং কানেক্টিং লাইন */
.wcat-timeline-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 18px;
    height: calc(100% - 50px);
    width: 4px;
    background: #e0e0e0;
    z-index: 1;
}
.wcat-timeline-block {
    position: relative;
    margin: 25px 0;
    display: flex;
    align-items: center;
    z-index: 2;
}
.wcat-timeline-block:first-child { margin-top: 0; }
.wcat-timeline-block:last-child { margin-bottom: 0; }

/* দৃশ্যমান গোল বৃত্ত (Circle Fix) */
.wcat-timeline-img {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    background: #fff !important;
    border: 3px solid #e0e0e0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0; /* বৃত্ত যাতে চ্যাপ্টা বা ছোট না হয় */
    z-index: 5;
}
.wcat-timeline-img span {
    font-size: 14px;
    font-weight: bold;
    color: #999;
    display: block;
    line-height: 1;
}
.wcat-timeline-content {
    margin-left: 20px;
    background: #fbfbfb;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    flex: 1;
    text-align: left;
}
.wcat-step-num-text {
    font-size: 11px;
    color: #777;
    font-weight: bold;
    text-transform: uppercase;
}
.wcat-timeline-content h4 {
    margin: 3px 0 0 0;
    font-size: 15px;
    color: #444;
}

/* একটিভ এবং কমপ্লিট কালার কোড */
.wcat-timeline-block.completed .wcat-timeline-img {
    background: #ff6600 !important;
    border-color: #ff6600 !important;
}
.wcat-timeline-block.completed .wcat-timeline-img span {
    color: #fff !important;
}
.wcat-timeline-block.completed .wcat-timeline-content {
    background: #fff6f0;
    border-color: #ffe0cc;
}
.wcat-timeline-block.active .wcat-timeline-img {
    border-color: #ff6600 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(255,102,0,0.15);
}
.wcat-timeline-block.active .wcat-timeline-img span {
    color: #ff6600 !important;
}
.wcat-timeline-block.active .wcat-timeline-content {
    background: #fff;
    border-color: #ff6600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.02);
}

/* প্রোডাক্ট ও কুরিয়ার গ্রিড */
.wcat-products-section, .wcat-courier-section {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}
.wcat-product-row {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
}
.wcat-product-row:last-child { border: none; }
.wcat-p-img img { border-radius: 6px; border: 1px solid #eee; }
.wcat-p-info { flex: 1; margin-left: 15px; }
.wcat-p-info h4 { margin: 0 0 5px 0; font-size: 16px; }
.wcat-p-info p { margin: 0; color: #777; font-size: 14px; }
.wcat-p-price { font-weight: bold; font-size: 16px; }

.wcat-courier-grid {
    display: flex;
    justify-content: space-between;
    background: #fafafa;
    padding: 15px 20px;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 15px;
}
.wcat-courier-grid > div {
    flex: 1;
    min-width: 150px;
}
.wcat-courier-grid small { color: #888; }

/* 📱 রেসপন্সিভ মিডিয়া কোয়েরি */
@media (max-width: 768px) {
    .wcat-form-group {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .wcat-form-group input, 
    .wcat-form-group button {
        width: 100% !important;
        display: block !important;
    }
    .wcat-card-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .wcat-card-header {
        grid-template-columns: 1fr;
    }
}
