/* 
 * WooCommerce My Account Specific Styles
 * Matches: "Dashboard.png" and all other Account mockups
 */

.account-page-wrapper {
    padding: var(--spacing-md) 0 var(--spacing-xl);
}

/* Header */
.account-header {
    margin-bottom: var(--spacing-xl);
}

.account-breadcrumbs {
    margin-bottom: var(--spacing-xl);
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.account-breadcrumbs a {
    color: var(--color-text-dark);
    text-decoration: none;
}

.account-title {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.account-subtitle {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.5;
}

/* Layout */
.account-layout {
    display: flex;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    align-items: flex-start;
}

/* Sidebar Navigation */
.account-sidebar {
    width: 250px;
    flex-shrink: 0;
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    background-color: var(--color-white);
    padding: var(--spacing-md) 0;
}

.account-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-sidebar li {
    margin-bottom: 2px;
}

.account-sidebar li:last-child {
    margin-bottom: 0;
    border-top: 1px solid var(--color-champagne);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
}

.account-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px var(--spacing-lg);
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.account-sidebar a:hover {
    color: #9d8db3;
    background-color: #FAF8F5;
}

.account-sidebar li.is-active a {
    background-color: #FAF8F5;
    color: #9d8db3;
    font-weight: bold;
    padding-left: var(--spacing-lg);
}

.account-sidebar-icon {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    width: 24px;
    text-align: center;
}

.account-sidebar li.is-active .account-sidebar-icon {
    color: #9d8db3;
}

/* Content Area */
.account-content {
    flex: 1;
    min-width: 0; /* Prevent flex overflow */
}

/* Dashboard Specific Styles */
.dashboard-hero {
    background-color: #FAF8F5;
    border-radius: 8px;
    padding: var(--spacing-xl) var(--spacing-xxl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.dh-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
}

.dh-title {
    font-size: 2rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.dh-text {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
}

.btn-shop-arrivals {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.dh-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;

    background-size: cover;
    background-position: center right;
    z-index: 1;
}

/* Stat Grid */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FAF8F5;
    color: #9d8db3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.stat-val {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.stat-link {
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bottom Split Layout */
.dashboard-bottom {
    display: flex;
    gap: var(--spacing-lg);
}

.db-col {
    flex: 1;
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    background-color: var(--color-white);
    padding: var(--spacing-lg);
}

.db-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--color-champagne);
}

.db-title {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    font-weight: bold;
    margin: 0;
}

.db-link {
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Recent Orders List */
.ro-list {
    display: flex;
    flex-direction: column;
}

.ro-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px dashed var(--color-champagne);
    gap: var(--spacing-md);
}

.ro-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ro-img {
    width: 60px;
    height: 75px;
    background-color: var(--color-champagne);
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.ro-info {
    flex: 1;
}

.ro-info h4 {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.ro-info p {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin: 0;
}

.ro-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.ro-status.delivered {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.ro-status.shipped {
    background-color: #E3F2FD;
    color: #1565C0;
}

.ro-price-col {
    text-align: right;
    margin-right: var(--spacing-md);
}

.ro-price-col h4 {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.ro-price-col p {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin: 0;
}

.ro-chevron {
    color: var(--color-text-dark);
    font-size: 1.2rem;
}

/* Account Details List */
.ad-list {
    display: flex;
    flex-direction: column;
}

.ad-item {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px dashed var(--color-champagne);
    gap: var(--spacing-md);
    text-decoration: none;
}

.ad-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ad-icon {
    font-size: 1.5rem;
    color: #9d8db3;
}

.ad-info {
    flex: 1;
}

.ad-info h4 {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.ad-info p {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin: 0;
}

.ad-chevron {
    color: var(--color-text-dark);
    font-size: 1.2rem;
}

/* --- Orders List Specific Styles --- */

.orders-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-champagne);
    padding-bottom: 8px;
}

.orders-tabs {
    display: flex;
    gap: var(--spacing-xl);
}

.orders-tabs a {
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    padding-bottom: 8px;
    position: relative;
    top: 9px; /* align with bottom border */
}

.orders-tabs a.active {
    color: #9d8db3;
    border-bottom: 2px solid #9d8db3;
}

.orders-sort select {
    border: 1px solid var(--color-champagne);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: var(--color-text-dark);
    background-color: var(--color-white);
}

/* Order Card */
.order-card {
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.oc-left {
    width: 200px;
    flex-shrink: 0;
}

.oc-title {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.oc-meta {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.oc-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.oc-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
}

.oc-status.delivered {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.oc-status.shipped {
    background-color: #E3F2FD;
    color: #1565C0;
}

.oc-status.cancelled {
    background-color: #EEEEEE;
    color: #616161;
}

.oc-status.returned {
    background-color: #FFF3E0;
    color: #9d8db3;
}

.btn-view-order {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.oc-middle {
    flex: 1;
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.oc-thumb {
    width: 80px;
    height: 100px;
    border-radius: 4px;
    background-color: var(--color-champagne);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.oc-right {
    text-align: right;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.oc-delivery-info {
    text-align: right;
}

.oc-delivery-label {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.oc-delivery-date {
    font-size: 0.875rem;
    font-weight: bold;
    color: var(--color-text-dark);
}

.oc-chevron {
    color: #9d8db3;
    font-size: 1.5rem;
}

/* Pagination */
.orders-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-champagne);
}

.op-text {
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.op-links {
    display: flex;
    gap: 8px;
}

.op-links a, .op-links span.current {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-champagne);
    border-radius: 4px;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.875rem;
}

.op-links span.current {
    border-color: #9d8db3;
    color: #9d8db3;
    font-weight: bold;
}

/* --- Order Details Specific Styles --- */
.od-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
}

.btn-print-invoice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background-color: transparent;
}

.od-top-box {
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

.od-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.od-sg-item h4 {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin: 0 0 8px 0;
}

.od-sg-item p {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin: 0;
}

.od-sg-item .val {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-top: 4px;
}

/* Timeline */
.od-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 var(--spacing-xl);
}

.od-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: #4CAF50; /* Green line */
    z-index: 1;
}

.od-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background-color: var(--color-white);
    padding: 0 10px;
}

.od-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.od-step.pending .od-step-icon {
    border-color: var(--color-champagne);
    color: var(--color-text-dark);
}

.od-step h5 {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin: 0 0 2px 0;
}

.od-step p {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin: 0;
}

/* Items Box */
.od-box {
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

.od-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-champagne);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.od-box-header h3 {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin: 0;
}

.od-box-header span {
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.od-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.od-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px dashed var(--color-champagne);
}

.od-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.od-item-img {
    width: 80px;
    height: 100px;
    background-color: var(--color-champagne);
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.od-item-info {
    flex: 1;
}

.od-item-info h4 {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.od-item-info p {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.od-item-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-dark);
}

/* Bottom 3 Columns */
.od-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

.od-col-title {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin: 0 0 16px 0;
}

.od-address-text {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.od-address-text strong {
    display: block;
    margin-bottom: 4px;
}

.od-totals-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.od-totals-line.total {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-champagne);
}

.od-totals-line.savings {
    font-size: 0.75rem;
    color: var(--color-text-dark);
}

/* Support Banner */
.od-support-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xxl);
    background-color: #FAF8F5;
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-lg);
}

.od-support-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.od-support-icon {
    font-size: 2rem;
    color: #9d8db3;
}

.od-support-text h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--color-text-dark);
}

.od-support-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.btn-contact-support {
    padding: 10px 24px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background-color: var(--color-white);
}

/* --- Addresses Specific Styles --- */
.addr-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
}

.btn-add-address {
    padding: 10px 20px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background-color: transparent;
}

.addr-section-title {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.addr-card {
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-xl);
    background-color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: flex;
    justify-content: space-between;
}

.addr-card.default-addr {
    background-color: #FAF8F5; /* subtle highlight */
}

.addr-badge {
    display: inline-block;
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.addr-info h4 {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin: 0 0 8px 0;
}

.addr-info p {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    line-height: 1.6;
    margin: 0;
}

.addr-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.addr-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.875rem;
}

.addr-action-btn .icon {
    font-size: 1.2rem;
}

.btn-set-default {
    padding: 8px 16px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: auto;
}

.addr-security-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #FAF8F5;
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    padding: var(--spacing-md) var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.addr-security-note .icon {
    font-size: 1.5rem;
    color: var(--color-text-dark);
}

.addr-security-note p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

/* --- Profile Specific Styles --- */
.profile-section {
    margin-bottom: var(--spacing-xxl);
}

.profile-section-title {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
}

.profile-form-row {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.profile-form-col {
    flex: 1;
}

.profile-form-col label {
    display: block;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.profile-input-wrap {
    position: relative;
}

.profile-input-wrap input,
.profile-input-wrap select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-champagne);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    font-family: inherit;
    appearance: none;
}

.profile-input-wrap .toggle-password,
.profile-input-wrap .calendar-icon,
.profile-input-wrap .dropdown-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-dark);
    pointer-events: none; /* icons should pass clicks */
}

.profile-input-wrap .toggle-password {
    pointer-events: auto;
    cursor: pointer;
}

.profile-hint {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin-top: 8px;
}

.prefs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prefs-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.prefs-item input[type="checkbox"] {
    accent-color: #9d8db3;
    width: 18px;
    height: 18px;
}

.prefs-item span {
    font-size: 0.875rem;
    color: var(--color-text-dark);
}

.btn-save-profile {
    width: 100%;
    padding: 16px;
    background-color: #9d8db3;
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-top: var(--spacing-xl);
}

/* --- Saved Wishlist Specific Styles --- */
.wishlist-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
}

.wishlist-actions {
    display: flex;
    gap: 16px;
}

.btn-create-list {
    padding: 10px 20px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-move-bag {
    padding: 10px 20px;
    border: none;
    background-color: #9d8db3;
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.wishlist-list-container {
    border: 1px solid var(--color-champagne);
    border-radius: 8px;
    background-color: var(--color-white);
    margin-bottom: var(--spacing-xl);
}

.wl-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    border-bottom: 1px solid var(--color-champagne);
}

.wl-item:last-child {
    border-bottom: none;
}

.wl-checkbox {
    accent-color: #9d8db3;
    width: 18px;
    height: 18px;
}

.wl-img {
    width: 100px;
    height: 125px;
    background-color: var(--color-champagne);
    border-radius: 4px;
    background-size: cover;
    background-position: center;
}

.wl-info {
    flex: 1;
}

.wl-info h4 {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin: 0 0 4px 0;
}

.wl-meta {
    font-size: 0.75rem;
    color: var(--color-text-dark);
    margin-bottom: 8px;
}

.wl-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: 4px;
}

.wl-stock {
    font-size: 0.75rem;
    font-weight: bold;
    color: #2E7D32;
}

.wl-heart {
    font-size: 1.5rem;
    color: #9d8db3;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: var(--spacing-lg);
}

.wl-right-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.wl-btn-add {
    padding: 8px 32px;
    border: 1px solid #9d8db3;
    color: #9d8db3;
    background: transparent;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wl-links {
    font-size: 0.75rem;
    color: var(--color-text-dark);
}

.wl-links a {
    color: var(--color-text-dark);
    text-decoration: none;
}

/* --- Rewards Specific Styles --- */
.rewards-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-xl);
}

.rewards-how {
    color: #9d8db3;
    font-size: 0.875rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}



/* =========================================
   Luxury Mobile Account Dashboard Redesign
   ========================================= */
@media (max-width: 768px) {
    /* Dashboard Hero */
    .dashboard-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        min-height: auto;
        gap: 20px;
    }
    .dh-content {
        max-width: 100%;
        text-align: center;
        width: 100%;
    }
    .dh-title {
        font-size: 1.8rem;
    }
    .dh-image {
        position: static !important;
        width: 100% !important;
        height: 150px !important;
        max-height: 150px;
        border-radius: 4px;
        margin-top: 15px;
    }
    
    /* Stats & Grids */
    .dashboard-stats, 
    .address-grid, 
    .rewards-history, 
    .points-grid,
    .rewards-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Mobile Tables inside Account */
    .account-content table.shop_table {
        border: 0;
    }
    .account-content table.shop_table thead {
        display: none;
    }
    .account-content table.shop_table tr {
        display: block;
        margin-bottom: 20px;
        background: #FAF8F5;
        padding: 15px;
        border-radius: 8px;
    }
    .account-content table.shop_table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--color-champagne);
        padding: 10px 0;
    }
    .account-content table.shop_table td:last-child {
        border-bottom: 0;
    }
    .account-content table.shop_table td::before {
        content: attr(data-title);
        font-weight: 600;
        color: var(--color-text-dark);
        margin-right: 15px;
    }
}

/* Account Dashboard Header (Desktop) */
.account-header-flex {
    display: flex;
    gap: var(--spacing-xxl);
    align-items: stretch;
    justify-content: space-between;
}

.account-header-flex .account-header-left {
    flex: 1;
}

.account-header-flex .account-header-right.dashboard-hero {
    flex: 2;
    display: flex;
    align-items: center;
}
