/* ==========================================================================
   EMJOY FOOTER
   ========================================================================== */

.em-footer {
    background: var(--surface-footer);
    color: var(--text-on-dark);
    padding: var(--sp-16) 0 var(--sp-8);
    margin-top: auto;
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.em-footer__newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-8);
    padding: var(--sp-8);
    background: var(--surface-brand);
    border-radius: var(--r-xl);
    margin-bottom: var(--sp-12);
}

@media (max-width: 767px) {
    .em-footer__newsletter {
        flex-direction: column;
        text-align: center;
    }
}

.em-footer__newsletter-content {
    flex: 1;
}

.em-footer__newsletter-title {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--em-white);
    margin: 0 0 var(--sp-2);
}

@media (max-width: 767px) {
    .em-footer__newsletter-title {
        justify-content: center;
    }
}

.em-footer__newsletter-title .em-icon {
    width: 24px;
    height: 24px;
}

.em-footer__newsletter-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-on-dark-muted);
    margin: 0;
}

.em-footer__newsletter-form {
    display: flex;
    gap: var(--sp-3);
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .em-footer__newsletter-form {
        width: 100%;
        flex-direction: column;
    }
}

.em-footer__newsletter-input {
    width: 280px;
    padding: var(--sp-3) var(--sp-4);
    border: none;
    border-radius: var(--r-md);
    font-size: var(--fs-body-sm);
}

@media (max-width: 767px) {
    .em-footer__newsletter-input {
        width: 100%;
    }
}

/* ==========================================================================
   FOOTER GRID
   ========================================================================== */

.em-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--sp-10);
    padding-bottom: var(--sp-10);
    border-bottom: 1px solid var(--border-dark);
}

@media (max-width: 1023px) {
    .em-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .em-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
    }
}

/* Brand Column */
.em-footer__col--brand {
    padding-right: var(--sp-8);
}

@media (max-width: 1023px) {
    .em-footer__col--brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 639px) {
    .em-footer__col--brand {
        grid-column: span 1;
    }
}

.em-footer__logo {
    display: inline-block;
    margin-bottom: var(--sp-4);
}

.em-footer__logo img {
    height: 40px;
}

.em-footer__brand-desc {
    font-size: var(--fs-body-sm);
    color: var(--text-on-dark-muted);
    line-height: var(--lh-loose);
    margin: 0 0 var(--sp-5);
}

/* Social Links */
.em-footer__social {
    display: flex;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.em-footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--r-full);
    color: var(--text-on-dark);
    transition: all var(--dur-fast);
}

.em-footer__social-link:hover {
    background: var(--surface-accent);
    color: var(--em-white);
}

.em-footer__social-link .em-icon {
    width: 18px;
    height: 18px;
}

/* Certifications */
.em-footer__certifications {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.em-footer__certification {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--r-sm);
    font-size: var(--fs-caption);
    color: var(--text-on-dark-muted);
}

.em-footer__certification .em-icon {
    width: 16px;
    height: 16px;
    color: var(--surface-accent);
}

/* Footer Columns */
.em-footer__col-title {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: var(--fw-bold);
    color: var(--em-white);
    margin: 0 0 var(--sp-5);
}

.em-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.em-footer__links a {
    font-size: var(--fs-body-sm);
    color: var(--text-on-dark-muted);
    text-decoration: none;
    transition: color var(--dur-fast);
}

.em-footer__links a:hover {
    color: var(--em-white);
}

/* Contact */
.em-footer__contact {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.em-footer__contact-item {
    display: flex;
    gap: var(--sp-3);
}

.em-footer__contact-item .em-icon {
    width: 18px;
    height: 18px;
    color: var(--surface-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.em-footer__contact-item > div {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.em-footer__contact-label {
    font-size: var(--fs-caption);
    color: var(--text-on-dark-muted);
}

.em-footer__contact-value {
    font-size: var(--fs-body-sm);
    color: var(--text-on-dark);
}

a.em-footer__contact-value {
    text-decoration: none;
}

a.em-footer__contact-value:hover {
    color: var(--surface-accent);
}

/* ==========================================================================
   PAYMENT METHODS
   ========================================================================== */

.em-footer__payment {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-5) 0;
    border-bottom: 1px solid var(--border-dark);
}

@media (max-width: 639px) {
    .em-footer__payment {
        flex-direction: column;
        text-align: center;
    }
}

.em-footer__payment-label {
    font-size: var(--fs-caption);
    color: var(--text-on-dark-muted);
    flex-shrink: 0;
}

.em-footer__payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.em-footer__payment-icon {
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-2) var(--sp-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--r-sm);
    font-size: var(--fs-caption);
    color: var(--text-on-dark-muted);
}

.em-footer__payment-icon .em-icon {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   FOOTER BOTTOM
   ========================================================================== */

.em-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    padding-top: var(--sp-6);
}

@media (max-width: 639px) {
    .em-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

.em-footer__copyright {
    font-size: var(--fs-caption);
    color: var(--text-on-dark-muted);
}

.em-footer__copyright p {
    margin: 0;
}

.em-footer__legal {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-size: var(--fs-caption);
}

.em-footer__legal a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
}

.em-footer__legal a:hover {
    color: var(--em-white);
}

.em-footer__legal-divider {
    color: var(--border-dark);
}

/* ==========================================================================
   MY ACCOUNT PAGE
   ========================================================================== */

.em-my-account {
    padding: var(--sp-8) 0 var(--sp-16);
    min-height: 60vh;
}

/* Header */
.em-my-account__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    padding: var(--sp-6);
    background: var(--surface-card);
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-6);
}

.em-my-account__user {
    display: flex;
    align-items: center;
    gap: var(--sp-5);
}

.em-my-account__avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--r-full);
    overflow: hidden;
    background: var(--surface-brand-soft);
}

.em-my-account__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.em-my-account__greeting {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-1);
}

.em-my-account__member-since {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
}

.em-my-account__logout {
    flex-shrink: 0;
}

/* Navigation */
.em-my-account__nav {
    display: flex;
    gap: var(--sp-2);
    padding: var(--sp-2);
    background: var(--surface-card);
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-6);
    overflow-x: auto;
}

.em-my-account__nav-item {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-5);
    font-family: var(--font-display);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--r-md);
    white-space: nowrap;
    transition: all var(--dur-fast);
}

.em-my-account__nav-item:hover {
    color: var(--text-body);
    background: var(--surface-brand-soft);
}

.em-my-account__nav-item.is-active {
    color: var(--text-link);
    background: var(--surface-brand-soft);
}

.em-my-account__nav-item .em-icon {
    width: 18px;
    height: 18px;
}

/* Content */
.em-my-account__content {
    background: var(--surface-card);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
}

/* ==========================================================================
   MY ORDERS
   ========================================================================== */

.em-my-orders__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
}

.em-my-orders__title {
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0;
}

.em-my-orders__table {
    width: 100%;
    border-collapse: collapse;
}

.em-my-orders__table th {
    font-family: var(--font-display);
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    text-align: left;
    padding: var(--sp-3) var(--sp-4);
    border-bottom: 1px solid var(--border-subtle);
}

.em-my-orders__table td {
    padding: var(--sp-4);
    border-bottom: 1px solid var(--border-subtle);
    font-size: var(--fs-body-sm);
}

.em-my-orders__table tr:hover td {
    background: var(--surface-brand-soft);
}

.em-my-orders__table .order-number a {
    font-weight: var(--fw-semibold);
    color: var(--text-link);
    text-decoration: none;
}

/* Order Status */
.em-order-status {
    display: inline-flex;
    padding: var(--sp-1) var(--sp-3);
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    border-radius: var(--r-pill);
}

.em-order-status--pending,
.em-order-status--on-hold {
    background: var(--status-pending-bg);
    color: var(--status-pending-text);
}

.em-order-status--processing {
    background: var(--status-processing-bg);
    color: var(--status-processing-text);
}

.em-order-status--completed {
    background: var(--status-success-bg);
    color: var(--status-success-text);
}

.em-order-status--cancelled,
.em-order-status--failed {
    background: var(--status-error-bg);
    color: var(--status-error-text);
}

.em-order-status--refunded {
    background: var(--status-muted-bg);
    color: var(--status-muted-text);
}

/* Order Actions */
.em-order-actions {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

/* Empty State */
.em-my-orders__empty {
    text-align: center;
    padding: var(--sp-12) 0;
}

.em-my-orders__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--sp-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-brand-soft);
    border-radius: var(--r-full);
    color: var(--surface-brand);
}

.em-my-orders__empty-icon .em-icon {
    width: 32px;
    height: 32px;
}

.em-my-orders__empty-title {
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-2);
}

.em-my-orders__empty-text {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    margin: 0 0 var(--sp-6);
}

/* ==========================================================================
   ORDER DETAIL
   ========================================================================== */

.em-order-detail__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--sp-6);
    margin-bottom: var(--sp-8);
}

.em-order-detail__back {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: var(--sp-3);
    transition: color var(--dur-fast);
}

.em-order-detail__back:hover {
    color: var(--text-link);
}

.em-order-detail__back .em-icon {
    width: 16px;
    height: 16px;
}

.em-order-detail__title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-2);
}

.em-order-detail__date {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
}

/* Order Tracking Timeline */
.em-order-tracking {
    background: var(--surface-card);
    border-radius: var(--r-lg);
    padding: var(--sp-6);
    margin-bottom: var(--sp-8);
}

.em-order-tracking__timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.em-order-tracking__timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: var(--border-subtle);
}

.em-order-tracking__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    position: relative;
    z-index: 1;
}

.em-order-tracking__step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--r-full);
    color: var(--text-muted);
}

.em-order-tracking__step.is-done .em-order-tracking__step-icon {
    background: var(--surface-brand);
    border-color: var(--surface-brand);
    color: var(--em-white);
}

.em-order-tracking__step.is-current .em-order-tracking__step-icon {
    border-color: var(--surface-brand);
    color: var(--surface-brand);
}

.em-order-tracking__step-icon .em-icon {
    width: 20px;
    height: 20px;
}

.em-order-tracking__step-label {
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    text-align: center;
}

.em-order-tracking__step.is-done .em-order-tracking__step-label {
    color: var(--text-body);
}

.em-order-tracking__step-time {
    font-size: 10px;
    color: var(--text-muted);
}

/* Order Detail Grid */
.em-order-detail__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--sp-8);
    align-items: start;
}

@media (max-width: 1023px) {
    .em-order-detail__grid {
        grid-template-columns: 1fr;
    }
}

.em-order-detail__section-title {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-4);
}

/* Order Items */
.em-order-detail__items-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.em-order-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: var(--sp-4);
    padding: var(--sp-4);
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
}

.em-order-item__image {
    aspect-ratio: 1;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface-brand-soft);
}

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

.em-order-item__details {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.em-order-item__name {
    font-family: var(--font-display);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
    margin: 0;
}

.em-order-item__meta {
    font-size: var(--fs-caption);
    color: var(--text-muted);
}

.em-order-item__embroidery {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    padding: var(--sp-1) var(--sp-2);
    background: var(--surface-brand-soft);
    border-radius: var(--r-sm);
    font-size: var(--fs-caption);
    color: var(--surface-brand);
}

.em-order-item__embroidery .em-icon {
    width: 12px;
    height: 12px;
}

.em-order-item__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sp-1);
}

.em-order-item__qty {
    font-size: var(--fs-caption);
    color: var(--text-muted);
}

.em-order-item__total {
    font-family: var(--font-display);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
}

/* Order Summary */
.em-order-summary {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: var(--sp-5);
}

.em-order-summary__title {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-4);
}

.em-order-summary__row {
    display: flex;
    justify-content: space-between;
    padding: var(--sp-2) 0;
    font-size: var(--fs-body-sm);
    color: var(--text-body);
}

.em-order-summary__row--discount {
    color: var(--status-success-text);
}

.em-order-summary__row--total {
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-subtle);
    font-weight: var(--fw-bold);
    color: var(--price-color);
}

.em-order-summary__payment {
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--fs-caption);
    color: var(--text-muted);
}

/* Order Address */
.em-order-address {
    margin-top: var(--sp-5);
    padding: var(--sp-5);
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
}

.em-order-address__title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-display);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-3);
}

.em-order-address__title .em-icon {
    width: 16px;
    height: 16px;
    color: var(--surface-brand);
}

.em-order-address__content {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: var(--lh-loose);
    font-style: normal;
}

/* Order Actions */
.em-order-detail__actions {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}

/* Order Notes */
.em-order-notes {
    margin-top: var(--sp-8);
}

.em-order-notes__title {
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-4);
}

.em-order-notes__list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.em-order-note {
    padding: var(--sp-4);
    background: var(--surface-card);
    border-radius: var(--r-md);
}

.em-order-note__content {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    margin-bottom: var(--sp-2);
}

.em-order-note__meta {
    font-size: var(--fs-caption);
    color: var(--text-muted);
}

/* ==========================================================================
   ORDER TRACKING PAGE
   ========================================================================== */

.em-tracking-page {
    padding: var(--sp-8) 0 var(--sp-16);
    min-height: 70vh;
}

/* Tracking Form */
.em-tracking-page__form-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding-top: var(--sp-8);
}

.em-tracking-form {
    background: var(--surface-card);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    text-align: center;
}

.em-tracking-form__header {
    margin-bottom: var(--sp-6);
}

.em-tracking-form__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--sp-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-brand-soft);
    border-radius: var(--r-full);
    color: var(--surface-brand);
}

.em-tracking-form__icon .em-icon {
    width: 32px;
    height: 32px;
}

.em-tracking-form__title {
    font-family: var(--font-display);
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-2);
}

.em-tracking-form__desc {
    font-size: var(--fs-body-sm);
    color: var(--text-muted);
    margin: 0;
}

.em-tracking-form__form {
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
    text-align: left;
}

.em-tracking-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
}

.em-tracking-form__label {
    font-family: var(--font-display);
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
}

.em-tracking-form__help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    margin-top: var(--sp-5);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--fs-caption);
    color: var(--text-muted);
}

.em-tracking-form__help .em-icon {
    width: 16px;
    height: 16px;
}

.em-tracking-form__help a {
    color: var(--text-link);
    font-weight: var(--fw-semibold);
}

/* Tracking Result */
.em-tracking-result {
    max-width: 800px;
    margin: 0 auto;
}

.em-tracking-result__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
}

.em-tracking-result__info {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.em-tracking-result__title {
    font-family: var(--font-display);
    font-size: var(--fs-h3);
    font-weight: var(--fw-bold);
    color: var(--text-strong);
    margin: 0;
}

/* Tracking Timeline */
.em-tracking-result__timeline {
    background: var(--surface-card);
    border-radius: var(--r-xl);
    padding: var(--sp-8);
    margin-bottom: var(--sp-8);
}

.em-tracking-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.em-tracking-timeline__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.em-tracking-timeline__step-connector {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
}

.em-tracking-timeline__step-line {
    width: 100%;
    height: 2px;
    background: var(--border-subtle);
}

.em-tracking-timeline__step.is-done .em-tracking-timeline__step-line {
    background: var(--surface-brand);
}

.em-tracking-timeline__step-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--r-full);
    color: var(--text-muted);
    z-index: 1;
}

.em-tracking-timeline__step.is-done .em-tracking-timeline__step-icon {
    background: var(--surface-brand);
    border-color: var(--surface-brand);
    color: var(--em-white);
}

.em-tracking-timeline__step-icon .em-icon {
    width: 20px;
    height: 20px;
}

.em-tracking-timeline__step-content {
    text-align: center;
    margin-top: var(--sp-3);
}

.em-tracking-timeline__step-label {
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    margin: 0;
}

.em-tracking-timeline__step.is-done .em-tracking-timeline__step-label {
    color: var(--text-body);
}

.em-tracking-timeline__step-time {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    margin-top: var(--sp-1);
}

/* Tracking Grid */
.em-tracking-result__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--sp-6);
}

@media (max-width: 767px) {
    .em-tracking-result__grid {
        grid-template-columns: 1fr;
    }
}

.em-tracking-result__section-title {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
    margin: 0 0 var(--sp-4);
}

/* Tracking Product */
.em-tracking-product {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--surface-card);
    border-radius: var(--r-md);
    margin-bottom: var(--sp-3);
}

.em-tracking-product__image {
    aspect-ratio: 1;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--surface-brand-soft);
}

.em-tracking-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.em-tracking-product__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.em-tracking-product__name {
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
    margin: 0;
}

.em-tracking-product__qty {
    font-size: var(--fs-caption);
    color: var(--text-muted);
}

.em-tracking-product__price {
    display: flex;
    align-items: center;
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-strong);
}

/* Tracking Details */
.em-tracking-detail-card {
    padding: var(--sp-4);
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    margin-bottom: var(--sp-4);
}

.em-tracking-detail-card--highlight {
    border-color: var(--surface-brand);
    background: var(--surface-brand-soft);
}

.em-tracking-detail-card__title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-size: var(--fs-caption);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    margin: 0 0 var(--sp-2);
}

.em-tracking-detail-card__title .em-icon {
    width: 14px;
    height: 14px;
}

.em-tracking-detail-card__content {
    font-size: var(--fs-body-sm);
    color: var(--text-body);
    line-height: var(--lh-body);
    margin: 0;
}

.em-tracking-detail-card__total {
    font-size: var(--fs-body);
    color: var(--price-color);
}

/* Tracking Actions */
.em-tracking-result__actions {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-8);
    justify-content: center;
}
