/* ============================================================
   PRINTIGLY THEME - My Account Page
   ============================================================ */

/* === RESET WooCommerce DEFAULTS === */
.woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
}

.woocommerce-MyAccount-content {
    float: none !important;
    width: 100% !important;
}

/* === HIDE STRAY WC PAGE TITLE === */
.printigly-myaccount-section > .container > .page-title,
.printigly-myaccount-section > .container > h1.entry-title,
.printigly-myaccount-section > .container > h1.wp-block-heading,
.printigly-myaccount-section > .container > h1:first-child,
.printigly-myaccount-section > .container > h2:first-child {
    display: none;
}

/* === PAGE WRAPPER === */
.printigly-myaccount {
    padding: 0 0 60px;
}

/* === LAYOUT === */
.myaccount-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: flex-start;
}

/* === SIDEBAR === */
.myaccount-sidebar {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.myaccount-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}

.myaccount-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.myaccount-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.myaccount-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.myaccount-user-email {
    font-size: 0.8rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* WooCommerce Navigation Override */
.myaccount-sidebar .woocommerce-MyAccount-navigation {
    padding: 8px 0;
}

.myaccount-sidebar .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}

.myaccount-sidebar .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    display: block;
}

.myaccount-sidebar .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.myaccount-sidebar .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--bg-light);
    color: var(--printigly-primary);
}

.myaccount-sidebar .woocommerce-MyAccount-navigation ul li.is-active a {
    background: #fff5f0;
    color: var(--printigly-primary);
    border-left-color: var(--printigly-primary);
}

/* Add icons to nav items via CSS */
.myaccount-sidebar .woocommerce-MyAccount-navigation ul li a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    width: 20px;
    flex-shrink: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1;
}

.myaccount-sidebar .woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: '\f0e4';
}

.myaccount-sidebar .woocommerce-MyAccount-navigation-link--orders a::before {
    content: '\f466';
}

.myaccount-sidebar .woocommerce-MyAccount-navigation-link--downloads a::before {
    content: '\f019';
}

.myaccount-sidebar .woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: '\f3c5';
}

.myaccount-sidebar .woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: '\f007';
}

.myaccount-sidebar .woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: '\f2f5';
}

/* === MAIN CONTENT === */
.myaccount-content {
    min-width: 0;
}

.myaccount-content .woocommerce-MyAccount-content {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
}

/* Endpoint titles (Addresses, Orders, etc.) */
.myaccount-content .woocommerce-MyAccount-content > h2:first-child,
.myaccount-content .woocommerce-MyAccount-content > .woocommerce-account-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

/* Dashboard greeting */
.myaccount-content .woocommerce-MyAccount-content > p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-gray);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.myaccount-content .woocommerce-MyAccount-content > p:first-of-type a {
    color: var(--printigly-primary);
    font-weight: 600;
}

/* === ORDERS TABLE === */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-orders-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    text-align: left;
    border-bottom: 2px solid var(--border-color);
}

.woocommerce-orders-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--bg-light);
    vertical-align: middle;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    color: var(--printigly-primary);
    font-weight: 700;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    font-weight: 600;
}

/* Order status badges */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a.button {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--printigly-primary);
    color: #fff;
    transition: all 0.2s;
    border: none;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a.button:hover {
    background: #e55a28;
}

/* === ADDRESSES === */
/* Override WooCommerce float-based col2-set layout */
.myaccount-content .col2-set,
.myaccount-content .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.myaccount-content .col2-set::after {
    display: none;
}

.myaccount-content .col2-set .col-1,
.myaccount-content .col2-set .col-2,
.myaccount-content .woocommerce-Address {
    float: none !important;
    width: 100% !important;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 24px;
}

.woocommerce-Address-title,
.myaccount-content .col2-set .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.woocommerce-Address-title a,
.woocommerce-Address-title a.edit {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--printigly-primary);
    white-space: nowrap;
}

.woocommerce-Address address,
.myaccount-content .col2-set address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* === FORMS (Edit Account, Edit Address) === */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    max-width: 600px;
}

.woocommerce-EditAccountForm .form-row,
.woocommerce-address-fields .form-row {
    margin-bottom: 16px;
}

.woocommerce-EditAccountForm label,
.woocommerce-address-fields label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"],
.woocommerce-address-fields input[type="text"],
.woocommerce-address-fields input[type="tel"],
.woocommerce-address-fields select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--printigly-font);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.woocommerce-EditAccountForm input:focus,
.woocommerce-address-fields input:focus,
.woocommerce-address-fields select:focus {
    border-color: var(--printigly-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.woocommerce-EditAccountForm button[type="submit"],
.woocommerce-address-fields button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--printigly-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--printigly-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.woocommerce-EditAccountForm button[type="submit"]:hover,
.woocommerce-address-fields button[type="submit"]:hover {
    background: #e55a28;
    transform: translateY(-1px);
}

/* === NO ORDERS / EMPTY STATES === */
.printigly-myaccount-section .woocommerce-info,
.printigly-myaccount-section .woocommerce-message {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.printigly-myaccount-section .woocommerce-info {
    background: #e3f0fa;
    color: var(--printigly-secondary);
    border-left: 4px solid var(--printigly-secondary);
}

.printigly-myaccount-section .woocommerce-message {
    background: #f0faf4;
    color: #30AD6E;
    border-left: 4px solid #30AD6E;
}

.printigly-myaccount-section .woocommerce-error {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: #fef2f2;
    color: #E94536;
    border-left: 4px solid #E94536;
    font-size: 0.9rem;
    margin-bottom: 20px;
    list-style: none;
}

/* === LOGIN / REGISTER FORM === */
.woocommerce-form-login,
.woocommerce-form-register {
    max-width: 480px;
    margin: 40px auto;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-align: center;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 16px;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--printigly-font);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.woocommerce-form-login input:focus,
.woocommerce-form-register input:focus {
    border-color: var(--printigly-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.woocommerce-form-login button[type="submit"],
.woocommerce-form-register button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--printigly-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: var(--printigly-font);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.woocommerce-form-login button[type="submit"]:hover,
.woocommerce-form-register button[type="submit"]:hover {
    background: #e55a28;
    transform: translateY(-1px);
}

.woocommerce-form-login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 0.85rem;
}

.woocommerce-form-login .lost_password {
    text-align: center;
    margin-top: 16px;
}

.woocommerce-form-login .lost_password a {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.woocommerce-form-login .lost_password a:hover {
    color: var(--printigly-primary);
}

/* === VIEW ORDER PAGE === */
.printigly-view-order {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Order Header */
.view-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.view-order-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
}

.view-order-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.view-order-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    background: color-mix(in srgb, var(--status-color) 12%, transparent);
    color: var(--status-color);
}

.view-order-status i {
    font-size: 14px;
}

/* Timeline */
.view-order-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 24px 0;
}

.view-order-timeline .timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.view-order-timeline .timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.view-order-timeline .timeline-step.completed .timeline-icon {
    background: var(--printigly-primary);
    color: #fff;
}

.view-order-timeline .timeline-step.active .timeline-icon {
    background: #fff;
    border: 3px solid var(--printigly-primary);
    color: var(--printigly-primary);
    box-shadow: 0 0 0 6px rgba(255, 107, 53, 0.15);
}

.view-order-timeline .timeline-step.upcoming .timeline-icon {
    background: var(--bg-light);
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.view-order-timeline .timeline-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.view-order-timeline .timeline-step.upcoming .timeline-label {
    color: var(--text-light);
}

.view-order-timeline .timeline-time {
    display: block;
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 2px;
}

.view-order-timeline .timeline-connector {
    flex: 1;
    height: 3px;
    margin-top: 21px;
    min-width: 20px;
}

.view-order-timeline .timeline-connector.completed {
    background: var(--printigly-primary);
}

.view-order-timeline .timeline-connector.upcoming {
    background: var(--border-color);
}

/* Order Card (items, summary, delivery) */
.view-order-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.view-order-card .card-section {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.view-order-card .card-section:last-child {
    border-bottom: none;
}

.view-order-card .card-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
}

.view-order-card .card-section-heading i {
    font-size: 16px;
}

.view-order-card .icon-items { color: var(--printigly-primary); }
.view-order-card .icon-summary { color: var(--printigly-secondary); }
.view-order-card .icon-delivery { color: #30AD6E; }
.view-order-card .icon-notes { color: #8b5cf6; }

/* Order Items */
.view-order-card .order-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.view-order-card .order-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.view-order-card .order-item:first-of-type {
    padding-top: 0;
}

.view-order-card .order-item-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: var(--text-light);
    font-size: 20px;
}

.view-order-card .order-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.view-order-card .order-item-details {
    flex: 1;
    min-width: 0;
}

.view-order-card .order-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.view-order-card .order-item-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 4px;
}

.view-order-card .order-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    white-space: nowrap;
}

/* Summary Rows */
.view-order-card .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
}

.view-order-card .summary-row .label {
    color: var(--text-gray);
}

.view-order-card .summary-row .value {
    font-weight: 600;
    color: var(--text-dark);
}

.view-order-card .summary-row .value.discount {
    color: #30AD6E;
}

.view-order-card .coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff5f0;
    color: var(--printigly-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

.view-order-card .summary-divider {
    border-top: 2px dashed var(--border-color);
    margin: 8px 0;
}

.view-order-card .summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 4px;
}

.view-order-card .summary-total .label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.view-order-card .summary-total .value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--printigly-primary);
}

.view-order-card .payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #30AD6E;
    margin-top: 12px;
    padding: 10px 14px;
    background: #f0faf4;
    border-radius: var(--radius-sm);
}

/* Delivery Details */
.view-order-card .delivery-info {
    line-height: 1.7;
}

.view-order-card .delivery-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.view-order-card .delivery-address {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.view-order-card .delivery-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 8px;
}

.view-order-card .delivery-phone i {
    color: var(--printigly-primary);
}

/* Order Notes */
.order-notes-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-note {
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--printigly-secondary);
}

.order-note-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 6px;
}

.order-note-content {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.order-note-content p {
    margin: 0;
}

/* Action Buttons */
.view-order-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.view-order-actions .btn-pay-now {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--printigly-primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.view-order-actions .btn-pay-now:hover {
    background: #e55a28;
    color: #fff;
}

.view-order-actions .btn-back-orders {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-light);
    color: var(--text-gray);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.view-order-actions .btn-back-orders:hover {
    background: var(--border-color);
    color: var(--text-dark);
}

.view-order-actions .btn-whatsapp-help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #25D366;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-left: auto;
}

.view-order-actions .btn-whatsapp-help:hover {
    background: #1da851;
    color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .myaccount-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .myaccount-layout {
        grid-template-columns: 1fr;
    }

    .myaccount-sidebar {
        position: static;
    }

    .myaccount-sidebar .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 4px;
        padding: 8px 12px;
    }

    .myaccount-sidebar .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }

    .myaccount-sidebar .woocommerce-MyAccount-navigation ul li {
        display: inline-flex;
        flex-shrink: 0;
    }

    .myaccount-sidebar .woocommerce-MyAccount-navigation ul li a {
        padding: 8px 16px;
        white-space: nowrap;
        border-radius: 50px;
        background: var(--bg-light);
        font-size: 0.8rem;
        border-left: none;
    }

    .myaccount-sidebar .woocommerce-MyAccount-navigation ul li.is-active a {
        background: var(--printigly-primary);
        color: #fff;
        border-left: none;
    }

    .myaccount-sidebar .woocommerce-MyAccount-navigation ul li a::before {
        display: none !important;
    }

    .myaccount-content .woocommerce-MyAccount-content {
        padding: 20px;
    }

    .myaccount-content .col2-set,
    .myaccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    /* Mobile order cards */
    .woocommerce-orders-table thead {
        display: none;
    }

    .woocommerce-orders-table tbody tr {
        display: block;
        background: var(--bg-light);
        border-radius: var(--radius-sm);
        padding: 16px;
        margin-bottom: 12px;
    }

    .woocommerce-orders-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        border-bottom: none;
    }

    .woocommerce-orders-table td::before {
        content: attr(data-title);
        font-weight: 700;
        font-size: 0.8rem;
        color: var(--text-light);
        text-transform: uppercase;
    }

    .woocommerce-form-login,
    .woocommerce-form-register {
        margin: 20px auto;
        padding: 24px;
    }

    /* View Order responsive */
    .view-order-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-order-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 16px 0 16px 20px;
        border-left: 3px solid var(--border-color);
    }

    .view-order-timeline .timeline-step {
        flex-direction: row;
        text-align: left;
        gap: 14px;
        padding: 8px 0;
    }

    .view-order-timeline .timeline-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-bottom: 0;
        margin-left: -38px;
    }

    .view-order-timeline .timeline-connector {
        display: none;
    }

    .view-order-timeline .timeline-step.completed + .timeline-step::before,
    .view-order-timeline .timeline-step.active + .timeline-step::before {
        content: '';
        position: absolute;
        left: -22px;
        top: -8px;
        width: 3px;
        height: calc(100% + 16px);
    }

    .view-order-card .order-item {
        flex-wrap: wrap;
    }

    .view-order-card .order-item-price {
        width: 100%;
        text-align: right;
        padding-top: 4px;
    }

    .view-order-actions {
        flex-direction: column;
    }

    .view-order-actions a {
        width: 100%;
        justify-content: center;
    }

    .view-order-actions .btn-whatsapp-help {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .myaccount-user {
        padding: 16px;
    }

    .myaccount-content .woocommerce-MyAccount-content {
        padding: 16px;
    }
}
