/* My Orders list */

html:has(body.store-orders),
body.store-orders {
    background: #f0f0f5 !important;
    min-height: 100vh;
}

body.store-orders #container,
body.store-orders ._2dxSCm,
body.store-orders ._3CzzrP {
    width: 100% !important;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #f0f0f5 !important;
    min-height: 100vh !important;
}

body.store-orders ._38U37R {
    background: #fff !important;
    min-height: 0 !important;
}

body.store-orders .site-footer,
body.store-orders .header-menu,
body.store-orders .search-bar {
    display: none !important;
}

body.store-orders ._1FWdmb {
    background: #fff !important;
    border-bottom: 1px solid #eee;
}

body.store-orders .header-title::after {
    content: "MY ORDERS";
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #333;
}

.orders-page {
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 28px;
}

.orders-hero {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
    padding: 20px 16px 18px;
}

.orders-hero h1 {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
}

.orders-hero p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.orders-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #eee;
    -webkit-overflow-scrolling: touch;
}

.orders-filter {
    flex: 0 0 auto;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #555;
    border-radius: 20px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.orders-filter.is-active {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}

.orders-group {
    margin-top: 10px;
}

.orders-date {
    margin: 0;
    padding: 10px 16px 6px;
    font-size: 12px;
    font-weight: 700;
    color: #878787;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.order-card {
    display: block;
    background: #fff;
    margin: 0 0 8px;
    padding: 14px 16px;
    text-decoration: none !important;
    color: inherit;
}

.order-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.order-card-top strong {
    display: block;
    font-size: 14px;
    color: #212121;
}

.order-card-top span {
    display: block;
    font-size: 11px;
    color: #878787;
    margin-top: 2px;
}

.order-card-top i {
    color: #bbb;
    font-size: 12px;
}

.order-card-body {
    display: flex;
    gap: 12px;
}

.order-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.order-status {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.order-info h3 {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-more,
.order-total {
    margin: 0;
    font-size: 12px;
    color: #878787;
}

.order-total {
    margin-top: 4px;
    color: #212121;
    font-weight: 700;
}

.orders-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    margin-top: 8px;
}

.orders-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #f0fdfa;
    color: #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.orders-empty h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #212121;
}

.orders-empty p {
    margin: 0 0 16px;
    font-size: 13px;
    color: #878787;
}

.orders-empty a {
    display: inline-block;
    background: #0d9488;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 4px;
}
