/* ===== MY ACCOUNT — Light Premium Redesign ===== */

/* ——— Page background ——— */
body.woocommerce-account.logged-in { background: #f5f5f7; }
body.woocommerce-account.logged-in #site-main > .container { max-width: 100%; padding: 0; }

/* ——— Layout: sidebar + content ——— */
.woocommerce-account .woocommerce {
    display: flex;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 60px;
    min-height: 70vh;
}

/* ——— Sidebar Navigation ——— */
.woocommerce-MyAccount-navigation {
    width: 240px;
    min-width: 240px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    align-self: flex-start;
}
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.woocommerce-MyAccount-navigation ul li { width: 100%; }
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-decoration: none;
    border-radius: 0;
    border-left: 3px solid transparent;
    transition: color .15s, border-color .15s, background .15s;
    white-space: nowrap;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    color: #111827;
    background: rgba(0,0,0,.02);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
    color: #EC5B13;
    font-weight: 600;
    border-left-color: #EC5B13;
    background: rgba(236,91,19,.04);
}
/* Hide emoji icons from nav */
.woocommerce-MyAccount-navigation ul li a::before { display: none !important; content: none !important; }

/* ——— Main Content ——— */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 1px 2px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    float: none !important;
    width: auto !important;
    max-width: none !important;
}
.woocommerce-MyAccount-content p { color: #4b5563; line-height: 1.7; font-size: 14px; }
.woocommerce-MyAccount-content a { color: #EC5B13; font-weight: 500; text-decoration: none; }
.woocommerce-MyAccount-content a:hover { text-decoration: underline; }
.woocommerce-MyAccount-content > p:first-of-type {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

/* ——— Dashboard — Welcome ——— */
.rc-dash { }
.rc-dash__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}
.rc-dash__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #EC5B13;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    flex-shrink: 0;
    text-transform: uppercase;
}
.rc-dash__info { flex: 1; min-width: 0; }
.rc-dash__greeting {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 2px;
    line-height: 1.2;
}
.rc-dash__greeting span { color: #EC5B13; }
.rc-dash__sub {
    font-size: 13px;
    color: #9ca3af;
    margin: 0;
}
.rc-dash__edit {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280 !important;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none !important;
    transition: border-color .15s, color .15s;
}
.rc-dash__edit:hover { border-color: #EC5B13; color: #EC5B13 !important; }

/* ——— Dashboard — Stats ——— */
.rc-dash__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.rc-dash__stat {
    padding: 18px 20px;
    border-radius: 14px;
    background: #f9fafb;
    border-left: 3px solid #EC5B13;
}
.rc-dash__stat-val {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rc-dash__stat-lbl {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
}

/* ——— Dashboard — Quick Actions ——— */
.rc-dash__actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.rc-dash__action {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    text-decoration: none !important;
    transition: border-color .15s, box-shadow .15s, transform .12s;
}
.rc-dash__action:hover {
    border-color: #EC5B13;
    box-shadow: 0 4px 12px rgba(236,91,19,.08);
    transform: translateY(-1px);
}
.rc-dash__action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6b7280;
}
.rc-dash__action:hover .rc-dash__action-icon { background: rgba(236,91,19,.08); color: #EC5B13; }
.rc-dash__action-icon svg { width: 20px; height: 20px; }
.rc-dash__action-text { min-width: 0; }
.rc-dash__action-text h3 { font-size: 14px; font-weight: 600; color: #111827; margin: 0 0 3px; }
.rc-dash__action-text p { font-size: 12px; color: #9ca3af; margin: 0; line-height: 1.4; }

.rc-dash__action--shop {
    background: #111827;
    border-color: #111827;
}
.rc-dash__action--shop .rc-dash__action-icon { background: rgba(255,255,255,.1); color: #EC5B13; }
.rc-dash__action--shop h3 { color: #fff; }
.rc-dash__action--shop p { color: rgba(255,255,255,.5) !important; }
.rc-dash__action--shop:hover { background: #EC5B13; border-color: #EC5B13; }
.rc-dash__action--shop:hover .rc-dash__action-icon { background: rgba(255,255,255,.2); color: #fff; }

/* ——— Dashboard — Vehicle Card ——— */
.rc-dash__vehicle {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff7f0;
    border: 1px solid rgba(236,91,19,.12);
    border-radius: 14px;
    margin-bottom: 28px;
}
.rc-dash__vehicle-icon { color: #EC5B13; flex-shrink: 0; }
.rc-dash__vehicle-icon svg { width: 24px; height: 24px; }
.rc-dash__vehicle-info { flex: 1; min-width: 0; }
.rc-dash__vehicle-info strong { color: #111827; font-size: 14px; }
.rc-dash__vehicle-info span { display: block; font-size: 12px; color: #9ca3af; }
.rc-dash__vehicle-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #EC5B13 !important;
    border: 1px solid #EC5B13;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background .15s, color .15s;
}
.rc-dash__vehicle-btn:hover { background: #EC5B13; color: #fff !important; }

/* ——— Dashboard — Recent Orders ——— */
.rc-dash__orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.rc-dash__orders-header h3 { font-size: 16px; font-weight: 700; margin: 0; color: #111827; }
.rc-dash__orders-header a { font-size: 13px; color: #EC5B13 !important; font-weight: 500; }
.rc-dash__orders-list {
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
}
.rc-dash__order {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 20px;
    font-size: 13px;
    border-bottom: 1px solid #f5f5f7;
}
.rc-dash__order:last-child { border-bottom: none; }
.rc-dash__order:hover { background: #fafafa; }
.rc-dash__order-id { font-weight: 600; color: #111827; }
.rc-dash__order-date { color: #9ca3af; font-size: 12px; }
.rc-dash__order-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.rc-dash__order-badge--completed { background: #dcfce7; color: #166534; }
.rc-dash__order-badge--processing { background: #dbeafe; color: #1e40af; }
.rc-dash__order-badge--on-hold { background: #fef3c7; color: #92400e; }
.rc-dash__order-badge--pending { background: #f3f4f6; color: #6b7280; }
.rc-dash__order-badge--cancelled { background: #fee2e2; color: #991b1b; }
.rc-dash__order-total { font-weight: 600; color: #111827; }
.rc-dash__order-link {
    padding: 5px 14px;
    background: #f5f5f7;
    color: #374151 !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background .12s;
}
.rc-dash__order-link:hover { background: #EC5B13; color: #fff !important; }

/* ——— Dashboard — Empty state ——— */
.rc-dash__empty {
    text-align: center;
    padding: 40px 20px;
}
.rc-dash__empty svg { color: #d1d5db; margin-bottom: 16px; }
.rc-dash__empty p { font-size: 14px; color: #9ca3af; margin: 0 0 16px; }
.rc-dash__empty a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: #EC5B13;
    color: #fff !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}
.rc-dash__empty a:hover { background: #d14e0b; }

/* ——— Tables (orders, downloads) ——— */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.woocommerce-MyAccount-content table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    background: #f9fafb;
    border-bottom: 1px solid #f0f0f0;
}
.woocommerce-MyAccount-content table th:first-child { border-radius: 10px 0 0 0; }
.woocommerce-MyAccount-content table th:last-child { border-radius: 0 10px 0 0; }
.woocommerce-MyAccount-content table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f7;
    color: #374151;
}
.woocommerce-MyAccount-content table tr:hover td { background: #fafafa; }
.woocommerce-MyAccount-content table .button,
.woocommerce-MyAccount-content table .woocommerce-button {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #f5f5f7 !important;
    color: #374151 !important;
    text-decoration: none !important;
}
.woocommerce-MyAccount-content table .button:hover { background: #EC5B13 !important; color: #fff !important; }

/* ===== Order detail & order list styling ===== */
/* Order status banner */
.woocommerce-MyAccount-content .woocommerce-order-details,
.woocommerce-MyAccount-content .order-info {
    margin-bottom: 24px;
}
.woocommerce-MyAccount-content > p:first-child mark {
    background: rgba(236,91,19,.1);
    color: #EC5B13;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* Order details table */
.woocommerce-MyAccount-content .woocommerce-table--order-details,
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
    table-layout: auto;
}
.woocommerce-MyAccount-content .woocommerce-table--order-details th,
.woocommerce-MyAccount-content .woocommerce-orders-table th {
    text-align: left;
    padding: 14px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #9ca3af;
    background: #f9fafb;
    border-bottom: 1px solid #f0f0f0;
}
.woocommerce-MyAccount-content .woocommerce-table--order-details td,
.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f5f5f7;
    color: #374151;
    vertical-align: top;
}
.woocommerce-MyAccount-content .woocommerce-table--order-details tr:last-child td,
.woocommerce-MyAccount-content .woocommerce-orders-table tr:last-child td {
    border-bottom: none;
}
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot th {
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: none;
    letter-spacing: 0;
}
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot td {
    font-weight: 600;
    color: #111827;
}

/* Product name link in order */
.woocommerce-MyAccount-content .woocommerce-table--order-details .product-name a {
    color: #EC5B13 !important;
    font-weight: 600;
}
/* Vehicle meta in order detail */
.woocommerce-MyAccount-content .wc-item-meta,
.woocommerce-MyAccount-content .woocommerce-table--order-details .variation {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}
.woocommerce-MyAccount-content .wc-item-meta li {
    font-size: 13px;
    color: #6b7280;
    padding: 2px 0;
}
.woocommerce-MyAccount-content .wc-item-meta li strong,
.woocommerce-MyAccount-content .wc-item-meta li p {
    display: inline;
    font-weight: 500;
}

/* Actions cell — keep buttons inline */
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
    white-space: nowrap;
}
/* Action buttons in orders table */
.woocommerce-MyAccount-content .woocommerce-orders-table .button,
.woocommerce-MyAccount-content .order-actions .button {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #f5f5f7 !important;
    color: #374151 !important;
    text-decoration: none !important;
    border: 1px solid #e5e7eb;
    margin: 2px 4px 2px 0;
    transition: all .12s;
}
.woocommerce-MyAccount-content .woocommerce-orders-table .button:hover,
.woocommerce-MyAccount-content .order-actions .button:hover {
    background: #EC5B13 !important;
    color: #fff !important;
    border-color: #EC5B13;
}
/* Pay button — make it primary */
.woocommerce-MyAccount-content .woocommerce-orders-table .pay,
.woocommerce-MyAccount-content .order-actions .pay {
    background: #EC5B13 !important;
    color: #fff !important;
    border-color: #EC5B13;
}
.woocommerce-MyAccount-content .woocommerce-orders-table .pay:hover,
.woocommerce-MyAccount-content .order-actions .pay:hover {
    background: #d14e0b !important;
}
/* Cancel button — subtle danger */
.woocommerce-MyAccount-content .woocommerce-orders-table .cancel,
.woocommerce-MyAccount-content .order-actions .cancel {
    color: #991b1b !important;
    border-color: #fecaca;
    background: #fef2f2 !important;
}
.woocommerce-MyAccount-content .woocommerce-orders-table .cancel:hover,
.woocommerce-MyAccount-content .order-actions .cancel:hover {
    background: #991b1b !important;
    color: #fff !important;
}

/* Billing/shipping address sections in order detail */
.woocommerce-MyAccount-content .woocommerce-customer-details .col2-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}
.woocommerce-MyAccount-content .woocommerce-customer-details .col2-set .col-1,
.woocommerce-MyAccount-content .woocommerce-customer-details .col2-set .col-2 {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 24px;
    float: none;
    width: 100%;
    box-sizing: border-box;
}
.woocommerce-MyAccount-content .woocommerce-customer-details h2 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px;
}
.woocommerce-MyAccount-content .woocommerce-customer-details address {
    font-style: normal;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}
@media (max-width: 640px) {
    .woocommerce-MyAccount-content .woocommerce-customer-details .col2-set {
        grid-template-columns: 1fr;
    }
}

/* ——— Messages (empty states, notices) ——— */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-Message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-left: 3px solid #EC5B13;
    border-radius: 14px;
    padding: 18px 22px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 20px;
}
.woocommerce-MyAccount-content .woocommerce-message::before,
.woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-MyAccount-content .woocommerce-Message::before,
.woocommerce-message::before,
.woocommerce-info::before {
    display: none !important;
    content: none !important;
}
.woocommerce-MyAccount-content .woocommerce-Message .button,
.woocommerce-MyAccount-content .woocommerce-info .button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: #111827 !important;
    color: #fff !important;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
}
.woocommerce-MyAccount-content .woocommerce-Message .button:hover,
.woocommerce-MyAccount-content .woocommerce-info .button:hover { background: #EC5B13 !important; }

/* ——— Form fields ——— */
.woocommerce-MyAccount-content .form-row { margin-bottom: 18px; }
.woocommerce-MyAccount-content .form-row label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
    margin-bottom: 6px;
}
.woocommerce-MyAccount-content .form-row input[type=text],
.woocommerce-MyAccount-content .form-row input[type=email],
.woocommerce-MyAccount-content .form-row input[type=password],
.woocommerce-MyAccount-content .form-row input[type=tel],
.woocommerce-MyAccount-content .form-row select,
.woocommerce-MyAccount-content select,
.woocommerce-MyAccount-content .country_select,
.woocommerce-MyAccount-content .state_select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .15s, box-shadow .15s;
}
.woocommerce-MyAccount-content select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.woocommerce-MyAccount-content .form-row input:focus,
.woocommerce-MyAccount-content .form-row select:focus,
.woocommerce-MyAccount-content select:focus {
    outline: none;
    border-color: #EC5B13;
    box-shadow: 0 0 0 3px rgba(236,91,19,.08);
}
.woocommerce-MyAccount-content button[type=submit],
.woocommerce-MyAccount-content > form > p > .button {
    background: #EC5B13;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .15s;
    margin-top: 8px;
}
.woocommerce-MyAccount-content button[type=submit]:hover { background: #d14e0b; }

/* ——— Addresses ——— */
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    margin-top: 20px;
}
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses::after,
.woocommerce-MyAccount-content .u-columns.woocommerce-Addresses::before { display: none; }
.woocommerce-MyAccount-content .u-columns .u-column1,
.woocommerce-MyAccount-content .u-columns .u-column2 {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    float: none;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}
.woocommerce-MyAccount-content .woocommerce-Address-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}
.woocommerce-MyAccount-content .woocommerce-Address-title h2,
.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}
.woocommerce-MyAccount-content address {
    font-style: normal;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
}
.woocommerce-MyAccount-content .woocommerce-Address-title a.edit {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 8px 16px;
    background: #EC5B13;
    color: #fff !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}
.woocommerce-MyAccount-content .woocommerce-Address-title a.edit:hover { background: #d14e0b; }

/* ——— Select2 overrides ——— */
.woocommerce-MyAccount-content .select2-container .select2-selection--single {
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 16px;
    display: flex;
    align-items: center;
}
.woocommerce-MyAccount-content .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
    padding: 0;
    font-size: 14px;
    color: #111827;
}
.woocommerce-MyAccount-content .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 12px; }
.woocommerce-MyAccount-content .select2-container--focus .select2-selection--single,
.woocommerce-MyAccount-content .select2-container--open .select2-selection--single {
    border-color: #EC5B13;
    box-shadow: 0 0 0 3px rgba(236,91,19,.08);
}
.select2-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 12px 28px -6px rgba(17,24,39,.12);
    overflow: hidden;
    margin-top: 4px;
}
.select2-results__option { padding: 10px 16px; font-size: 14px; }
.select2-results__option--highlighted { background: rgba(236,91,19,.06); color: #EC5B13; }
.select2-results__option--selected { background: rgba(236,91,19,.1); color: #EC5B13; font-weight: 600; }
.select2-search--dropdown .select2-search__field {
    height: 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    margin: 8px;
    width: calc(100% - 16px);
    box-sizing: border-box;
}
.select2-search--dropdown .select2-search__field:focus { border-color: #EC5B13; outline: none; }

/* ===== CHECKOUT & CART — WC Blocks Styling ===== */
.woocommerce-page-content { max-width: 100%; }
.woocommerce-page-content .wp-block-woocommerce-cart,
.woocommerce-page-content .wp-block-woocommerce-checkout { max-width: 1200px; margin: 0 auto; }

/* Checkout layout */
.wc-block-checkout { font-family: 'Inter', sans-serif; }
.wc-block-checkout__main { padding-right: 40px; }

/* Section headings */
.wc-block-checkout h2,
.wc-block-components-checkout-step h2,
.wc-block-components-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

/* Global spacing between form fields in checkout */
.wc-block-components-address-form > .wc-block-components-text-input,
.wc-block-components-address-form > [class*="address-form__country"],
.wc-block-components-address-form > [class*="address-form__state"],
.wc-block-components-address-form > [class*="address-form__address_2-toggle"] {
    margin-bottom: 14px !important;
}
.wc-block-checkout__contact-fields .wc-block-components-text-input {
    margin-bottom: 14px !important;
}

/* All checkout inputs */
.wc-block-checkout input[type=text],
.wc-block-checkout input[type=email],
.wc-block-checkout input[type=tel],
.wc-block-checkout input[type=password],
.wc-block-checkout input[type=number],
.wc-block-checkout select,
.wc-block-checkout textarea,
.wc-block-components-text-input input,
.wc-block-components-combobox .components-combobox-control input {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    transition: border-color .15s, box-shadow .15s !important;
}
.wc-block-checkout input:focus,
.wc-block-checkout select:focus,
.wc-block-checkout textarea:focus,
.wc-block-components-text-input input:focus {
    border-color: #EC5B13 !important;
    box-shadow: 0 0 0 3px rgba(236,91,19,.08) !important;
    outline: none !important;
}

/* Text input wrapper (floating label) */
.wc-block-components-text-input {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
    transition: border-color .15s !important;
}
.wc-block-components-text-input.is-active,
.wc-block-components-text-input:focus-within {
    border-color: #EC5B13 !important;
    box-shadow: 0 0 0 3px rgba(236,91,19,.08) !important;
}
.wc-block-components-text-input input {
    border: none !important;
    box-shadow: none !important;
}
.wc-block-components-text-input label {
    color: #9ca3af !important;
    font-size: 13px !important;
}

/* Combobox / select wrappers */
.wc-block-components-combobox {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
}
.wc-block-components-combobox.is-active,
.wc-block-components-combobox:focus-within {
    border-color: #EC5B13 !important;
    box-shadow: 0 0 0 3px rgba(236,91,19,.08) !important;
}
.wc-block-components-combobox input {
    border: none !important;
}

/* Checkbox */
.wc-block-components-checkbox__input[type=checkbox] {
    accent-color: #EC5B13 !important;
}
.wc-block-components-checkbox__input:checked {
    background-color: #EC5B13 !important;
    border-color: #EC5B13 !important;
}

/* Order summary sidebar */
.wc-block-checkout__sidebar {
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 28px;
}
.wc-block-components-checkout-order-summary__title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Order summary items */
.wc-block-components-order-summary-item {
    padding: 16px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.wc-block-components-order-summary-item__image {
    border-radius: 10px !important;
    overflow: hidden !important;
}
.wc-block-components-order-summary-item__description .wc-block-components-product-name {
    font-weight: 600 !important;
    color: #111827 !important;
}

/* Totals */
.wc-block-components-totals-wrapper {
    border-color: #f0f0f0 !important;
}
.wc-block-components-totals-item__label { color: #6b7280 !important; }
.wc-block-components-totals-item__value { font-weight: 700 !important; color: #111827 !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #EC5B13 !important;
}

/* Coupon */
.wc-block-components-totals-coupon__button {
    background: #111827 !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.wc-block-components-totals-coupon__button:hover { background: #EC5B13 !important; }
.wc-block-components-totals-coupon__input .wc-block-components-text-input {
    border-radius: 10px !important;
}

/* Place order button */
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
    background: #EC5B13 !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 16px 32px !important;
    text-transform: uppercase !important;
    letter-spacing: .04em !important;
    transition: background .15s !important;
    border: none !important;
}
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover { background: #d14e0b !important; }

/* Return to cart link */
.wc-block-components-checkout-return-to-cart-button {
    color: #6b7280 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}
.wc-block-components-checkout-return-to-cart-button:hover { color: #EC5B13 !important; }

/* Error/warning notices */
.wc-block-checkout .wc-block-components-notice-banner {
    border-radius: 12px !important;
    font-size: 14px !important;
}
.wc-block-checkout .wc-block-components-notice-banner.is-error {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #991b1b !important;
}

/* Payment methods */
.wc-block-checkout__payment-method .wc-block-components-radio-control__option {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 16px !important;
    margin-bottom: 8px !important;
}
.wc-block-checkout__payment-method .wc-block-components-radio-control__option--checked {
    border-color: #EC5B13 !important;
    background: rgba(236,91,19,.03) !important;
}
/* Remove black border from payment method elements */
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option-layout,
.wc-block-checkout .wp-block-woocommerce-checkout-payment-block {
    border: none !important;
    outline: none !important;
}
/* Style the radio button itself — remove dark border, use brand color when checked */
.wc-block-checkout .wc-block-components-radio-control__input {
    border: 2px solid #d1d5db !important;
    accent-color: #EC5B13 !important;
}
.wc-block-checkout .wc-block-components-radio-control__input:checked {
    border-color: #EC5B13 !important;
}
/* The option label wrapper border */
.wc-block-checkout .wc-block-components-radio-control__option {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
}
.wc-block-checkout .wc-block-components-radio-control__option-checked {
    border-color: #EC5B13 !important;
    background: rgba(236,91,19,.02) !important;
}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    box-shadow: none !important;
    border-radius: 12px !important;
}
/* Remove gray border line from payment skeleton/container */
.wc-block-components-skeleton--checkout-payment,
.wc-block-checkout .wc-block-components-payment-method-icons,
.wc-block-checkout .wp-block-woocommerce-checkout-payment-block > div {
    border: none !important;
}

/* Terms checkbox — remove separator line above */
.wc-block-checkout__terms,
.wc-block-checkout__terms--with-separator {
    font-size: 13px !important;
    color: #6b7280 !important;
    border: none !important;
    border-top: none !important;
}
.wc-block-checkout__terms--with-separator::before,
.wc-block-checkout__terms--with-separator::after {
    display: none !important;
    border: none !important;
}

/* ——— Cart page blocks ——— */
.wp-block-woocommerce-cart { font-family: 'Inter', sans-serif; }
.wc-block-cart-items th {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    color: #9ca3af !important;
    font-weight: 600 !important;
}
.wc-block-cart-item__image img {
    border-radius: 10px !important;
}
.wc-block-cart-item__product .wc-block-components-product-name {
    font-weight: 600 !important;
    color: #111827 !important;
    text-decoration: none !important;
}
.wc-block-cart-item__product .wc-block-components-product-name:hover {
    color: #EC5B13 !important;
}
.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    border-radius: 10px !important;
    border: 1px solid #e5e7eb !important;
}
.wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
    border: none !important;
}
/* Cart totals sidebar */
.wp-block-woocommerce-cart .wc-block-cart__totals-title {
    font-size: 18px !important;
    font-weight: 700 !important;
}
/* Proceed to checkout */
.wp-block-woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button {
    width: 100% !important;
}

/* Empty cart */
.wc-block-cart__empty-cart__title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

/* ——— MOBILE: < 768px ——— */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        padding: 0 12px 32px;
        gap: 0;
    }
    /* Nav becomes horizontal scrollable tabs */
    .woocommerce-MyAccount-navigation {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 0;
        margin-bottom: 16px;
        border-bottom: 1px solid #f0f0f0;
        scrollbar-width: none;
    }
    .woocommerce-MyAccount-navigation::-webkit-scrollbar { display: none; }
    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        gap: 0;
        flex-wrap: nowrap;
    }
    .woocommerce-MyAccount-navigation ul li { width: auto; flex-shrink: 0; }
    .woocommerce-MyAccount-navigation ul li a {
        padding: 8px 16px;
        border-left: none;
        border-bottom: 2px solid transparent;
        font-size: 13px;
    }
    .woocommerce-MyAccount-navigation ul li.is-active a {
        border-left-color: transparent;
        border-bottom-color: #EC5B13;
        background: transparent;
    }
    /* Content */
    .woocommerce-MyAccount-content {
        border-radius: 16px;
        padding: 24px 16px;
    }
    /* Dashboard */
    .rc-dash__header { flex-wrap: wrap; }
    .rc-dash__edit { margin-top: 8px; }
    .rc-dash__stats { grid-template-columns: 1fr; }
    .rc-dash__actions { grid-template-columns: 1fr; }
    .rc-dash__order { grid-template-columns: 1fr 1fr; gap: 8px; font-size: 12px; }
    /* Order table responsive */
    .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions {
        white-space: normal;
    }
    .woocommerce-MyAccount-content .woocommerce-orders-table .button,
    .woocommerce-MyAccount-content .order-actions .button {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0 0 0;
        padding: 12px 14px;
        box-sizing: border-box;
        justify-content: center;
    }
    .woocommerce-MyAccount-content .woocommerce-orders-table td,
    .woocommerce-MyAccount-content .woocommerce-orders-table th {
        text-align: center;
    }
    .woocommerce-MyAccount-content .woocommerce-orders-table__header-order-actions,
    .woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions::before {
        display: none !important;
        font-size: 0 !important;
        visibility: hidden !important;
    }
    /* Addresses */
    .woocommerce-MyAccount-content .u-columns.woocommerce-Addresses { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .woocommerce-MyAccount-content { padding: 20px 14px; }
    .rc-dash__greeting { font-size: 18px; }
    .rc-dash__stat { padding: 14px 16px; }
}
