/* ================================================
   MY ACCOUNT PANEL - MARTA W NORWEGII
   Kolory: #C67B8B (primary), #b56a7a (hover),
           #3A3A3A (text), #5B9A8B (green accent)
   ================================================ */

/* ------------------------------------------------
   RESET & HIDE DEFAULT WC STYLES
   ------------------------------------------------ */

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
    display: none !important;
}

/* ------------------------------------------------
   MAIN LAYOUT
   ------------------------------------------------ */

.marta-myaccount {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    box-sizing: border-box;
}

.marta-myaccount *,
.marta-myaccount *::before,
.marta-myaccount *::after {
    box-sizing: border-box;
}

/* Header z avatarem */
.marta-myaccount-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.marta-myaccount-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #C67B8B;
}

.marta-myaccount-greeting {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3A3A3A;
    margin: 0;
    line-height: 1.3;
}

.marta-myaccount-email {
    font-size: 0.9rem;
    color: #888;
    margin: 4px 0 0 0;
}

/* Layout: Sidebar + Content */
.marta-myaccount-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 30px 0 60px;
    align-items: start;
}

/* ------------------------------------------------
   NAVIGATION (Sidebar)
   ------------------------------------------------ */

.marta-account-nav {
    position: sticky;
    top: 100px;
}

.marta-account-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.marta-account-nav-item {
    margin-bottom: 2px;
}

.marta-account-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #555 !important;
    transition: all 0.25s ease;
    position: relative;
}

.marta-account-nav-link:hover {
    background: #f8f4f5;
    color: #C67B8B !important;
}

.marta-account-nav-item.is-active .marta-account-nav-link {
    background: linear-gradient(135deg, #fdf5f7 0%, #f8eef0 100%);
    color: #C67B8B !important;
    font-weight: 600;
}

.marta-account-nav-item.is-active .marta-account-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 2px;
    background: #C67B8B;
}

/* Nav icon */
.marta-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f5f5f5;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.marta-nav-icon i {
    font-size: 0.9rem;
    color: #888;
    transition: color 0.25s ease;
}

.marta-account-nav-link:hover .marta-nav-icon {
    background: #fce8ed;
}

.marta-account-nav-link:hover .marta-nav-icon i,
.marta-account-nav-item.is-active .marta-nav-icon i {
    color: #C67B8B;
}

.marta-account-nav-item.is-active .marta-nav-icon {
    background: #fce8ed;
}

/* Nav text */
.marta-nav-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.marta-nav-label {
    font-size: 0.93rem;
    line-height: 1.3;
}

.marta-nav-desc {
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.3;
    margin-top: 2px;
}

.marta-account-nav-item.is-active .marta-nav-desc {
    color: #C67B8B;
    opacity: 0.7;
}

/* Badge */
.marta-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 11px;
    background: #f0f0f0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    flex-shrink: 0;
}

.marta-account-nav-item.is-active .marta-nav-badge {
    background: #C67B8B;
    color: #fff;
}

/* Logout */
.marta-account-nav-item.is-logout {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.marta-account-nav-item.is-logout .marta-account-nav-link {
    color: #999 !important;
}

.marta-account-nav-item.is-logout .marta-account-nav-link:hover {
    color: #C67B8B !important;
    background: #fdf5f7;
}

/* ------------------------------------------------
   CONTENT AREA
   ------------------------------------------------ */

.marta-myaccount-content {
    min-width: 0;
}

/* ------------------------------------------------
   STATUS BADGES
   ------------------------------------------------ */

.marta-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.status-processing {
    background: #FEF3C7;
    color: #92400E;
}

.status-completed {
    background: #D1FAE5;
    color: #065F46;
}

.status-on-hold {
    background: #FEE2E2;
    color: #991B1B;
}

.status-cancelled,
.status-refunded {
    background: #F3F4F6;
    color: #6B7280;
}

.status-pending {
    background: #E0E7FF;
    color: #3730A3;
}

.status-upcoming {
    background: #fce8ed;
    color: #C67B8B;
}

.status-past {
    background: #F3F4F6;
    color: #6B7280;
}

.status-default {
    background: #F3F4F6;
    color: #6B7280;
}

/* ------------------------------------------------
   DASHBOARD
   ------------------------------------------------ */

.marta-dashboard {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Highlight: Upcoming trip */
.marta-dashboard-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #fdf5f7 0%, #f8eef0 100%);
    border-radius: 16px;
    border: 1px solid rgba(198, 123, 139, 0.15);
}

.marta-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #C67B8B;
    flex-shrink: 0;
}

.marta-highlight-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.marta-highlight-content {
    flex: 1;
    min-width: 0;
}

.marta-highlight-label {
    font-size: 0.8rem;
    color: #C67B8B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marta-highlight-title {
    margin: 4px 0 8px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-highlight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #666;
}

.marta-highlight-meta i {
    color: #C67B8B;
    margin-right: 4px;
}

.marta-highlight-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(198, 123, 139, 0.15);
    flex-shrink: 0;
}

.marta-countdown-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #C67B8B;
    line-height: 1;
}

.marta-countdown-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Dashboard Grid */
.marta-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.marta-dashboard-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    text-decoration: none !important;
    color: #3A3A3A !important;
    transition: all 0.3s ease;
}

.marta-dashboard-card:hover {
    border-color: #C67B8B;
    box-shadow: 0 4px 20px rgba(198, 123, 139, 0.12);
    transform: translateY(-2px);
}

.marta-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.marta-card-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.marta-card-icon-trips { background: linear-gradient(135deg, #C67B8B, #b56a7a); }
.marta-card-icon-ebooks { background: linear-gradient(135deg, #5B9A8B, #4a8a7b); }
.marta-card-icon-plans { background: linear-gradient(135deg, #6B8DB5, #5a7da5); }
.marta-card-icon-consult { background: linear-gradient(135deg, #D4A574, #c49564); }

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

.marta-card-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-card-count {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #999;
}

.marta-card-arrow {
    flex-shrink: 0;
    color: #ccc;
    transition: all 0.25s ease;
}

.marta-dashboard-card:hover .marta-card-arrow {
    color: #C67B8B;
    transform: translateX(3px);
}

/* Recent orders section */
.marta-dashboard-section {
    margin-top: 10px;
}

.marta-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.marta-section-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-section-link {
    font-size: 0.85rem;
    color: #C67B8B !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: opacity 0.2s;
}

.marta-section-link:hover {
    opacity: 0.8;
}

.marta-section-link i {
    font-size: 0.75rem;
    margin-left: 4px;
}

/* Recent order rows */
.marta-recent-orders {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
}

.marta-order-row {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

.marta-order-row:last-child {
    border-bottom: none;
}

.marta-order-row:hover {
    background: #fafafa;
}

.marta-order-hash {
    font-weight: 600;
    color: #3A3A3A;
    font-size: 0.9rem;
    display: block;
}

.marta-order-date {
    font-size: 0.78rem;
    color: #999;
    display: block;
    margin-top: 2px;
}

.marta-order-items {
    font-size: 0.88rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.marta-order-total {
    font-weight: 600;
    font-size: 0.9rem;
    color: #3A3A3A;
    white-space: nowrap;
}

.marta-order-status {
    white-space: nowrap;
}

/* ------------------------------------------------
   ENDPOINT COMMON STYLES
   ------------------------------------------------ */

.marta-endpoint {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.marta-endpoint-header {
    margin-bottom: 8px;
}

.marta-endpoint-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.marta-endpoint-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #3A3A3A;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marta-endpoint-title i {
    color: #C67B8B;
    font-size: 1.2rem;
}

.marta-endpoint-subtitle {
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: #888;
}

/* Empty state */
.marta-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: #fafafa;
    border-radius: 16px;
    border: 2px dashed #e0e0e0;
}

.marta-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f5f5f5;
    margin-bottom: 20px;
}

.marta-empty-icon i {
    font-size: 1.8rem;
    color: #ccc;
}

.marta-empty-state h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #3A3A3A;
}

.marta-empty-state p {
    margin: 0 0 24px;
    color: #888;
    font-size: 0.95rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.marta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.marta-btn-primary {
    background: #C67B8B;
    color: #fff !important;
}

.marta-btn-primary:hover {
    background: #b56a7a;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(198, 123, 139, 0.35);
    color: #fff !important;
}

.marta-btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.marta-btn-download {
    width: 100%;
    justify-content: center;
}

/* ------------------------------------------------
   WYCIECZKI (Trips)
   ------------------------------------------------ */

.marta-trips-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marta-trip-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.marta-trip-card:hover {
    border-color: #e0d5d8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.marta-trip-card.is-past {
    opacity: 0.7;
}

.marta-trip-card.is-past:hover {
    opacity: 1;
}

.marta-trip-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 80px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fdf5f7 0%, #f8eef0 100%);
    flex-shrink: 0;
}

.marta-date-day {
    font-size: 1.6rem;
    font-weight: 700;
    color: #C67B8B;
    line-height: 1;
}

.marta-date-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: #C67B8B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.marta-date-year {
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 1px;
}

.marta-trip-details {
    flex: 1;
    min-width: 0;
}

.marta-trip-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.marta-trip-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-trip-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.marta-trip-meta-item {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.marta-trip-meta-item i {
    color: #C67B8B;
    font-size: 0.85rem;
}

.marta-trip-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f5f5f5;
}

.marta-trip-order {
    font-size: 0.8rem;
    color: #aaa;
}

.marta-trip-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3A3A3A;
}

/* ------------------------------------------------
   E-BOOKI
   ------------------------------------------------ */

.marta-ebooks-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marta-ebook-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.marta-ebook-card:hover {
    border-color: #e0d5d8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.marta-ebook-cover {
    width: 100px;
    height: 130px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.marta-ebook-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marta-ebook-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.marta-ebook-cover-placeholder i {
    font-size: 2rem;
    color: #ccc;
}

.marta-ebook-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.marta-ebook-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-ebook-date {
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 16px;
}

.marta-ebook-date i {
    color: #C67B8B;
    margin-right: 4px;
}

.marta-ebook-downloads {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.marta-download-remaining {
    font-size: 0.78rem;
    color: #999;
    text-align: center;
}

/* ------------------------------------------------
   PLANY PODRÓŻY
   ------------------------------------------------ */

.marta-plans-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marta-plan-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.marta-plan-card:hover {
    border-color: #e0d5d8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.marta-plan-status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex-shrink: 0;
}

.marta-plan-status-indicator i {
    font-size: 1.3rem;
}

.marta-plan-status-indicator.sent {
    background: #D1FAE5;
    color: #065F46;
}

.marta-plan-status-indicator.in-progress {
    background: #FEF3C7;
    color: #92400E;
}

.marta-plan-status-indicator.waiting {
    background: #E0E7FF;
    color: #3730A3;
}

.marta-plan-details {
    flex: 1;
    min-width: 0;
}

.marta-plan-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.marta-plan-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-plan-status-text {
    font-size: 0.88rem;
    color: #666;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.marta-plan-status-text i {
    color: #C67B8B;
}

.marta-plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.marta-plan-meta-item {
    font-size: 0.82rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.marta-plan-meta-item i {
    color: #C67B8B;
}

.marta-plan-notice {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.marta-plan-notice i {
    margin-top: 2px;
    flex-shrink: 0;
}

.marta-plan-notice-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.marta-plan-notice-info {
    background: #f8f4f5;
    color: #666;
    border: 1px solid #f0e0e4;
}

/* ------------------------------------------------
   KONSULTACJE
   ------------------------------------------------ */

.marta-consultations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.marta-consultation-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.marta-consultation-card:hover {
    border-color: #e0d5d8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.marta-consultation-icon-col {
    flex-shrink: 0;
}

.marta-consultation-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.marta-consultation-circle i {
    font-size: 1.3rem;
}

.marta-consultation-circle.available {
    background: linear-gradient(135deg, #fce8ed, #f8dce3);
    color: #C67B8B;
}

.marta-consultation-circle.completed {
    background: #D1FAE5;
    color: #065F46;
}

.marta-consultation-circle.waiting {
    background: #FEF3C7;
    color: #92400E;
}

.marta-consultation-details {
    flex: 1;
    min-width: 0;
}

.marta-consultation-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.marta-consultation-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #3A3A3A;
}

.marta-consultation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.marta-consultation-meta-item {
    font-size: 0.82rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.marta-consultation-meta-item i {
    color: #C67B8B;
}

.marta-consultation-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.marta-consultation-hint {
    font-size: 0.78rem;
    color: #aaa;
    margin: 0;
}

.marta-consultation-hint i {
    font-size: 0.7rem;
    margin-right: 3px;
}

.marta-consultation-notice {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.marta-consultation-notice i {
    margin-top: 2px;
    flex-shrink: 0;
}

.marta-consultation-notice-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.marta-consultation-notice-info {
    background: #f8f4f5;
    color: #666;
    border: 1px solid #f0e0e4;
}

/* ------------------------------------------------
   WC DEFAULT PAGES OVERRIDE (Orders, Edit Account)
   ------------------------------------------------ */

/* Hide default WC orders table (replaced by custom template) */
.marta-myaccount-content .woocommerce-orders-table.woocommerce-MyAccount-orders {
    display: none !important;
}

/* Also hide default WC pagination */
.marta-myaccount-content .woocommerce-pagination--without-numbers {
    display: none !important;
}

/* ------------------------------------------------
   MARTA ORDERS TABLE (Desktop)
   ------------------------------------------------ */

.marta-orders-table-wrap {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    overflow: hidden;
}

.marta-orders-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.marta-orders-table thead th {
    background: #fafafa;
    font-size: 0.78rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    white-space: nowrap;
}

.marta-orders-table thead th.marta-orders-actions-col {
    text-align: right;
}

.marta-orders-table tbody tr {
    transition: background 0.2s ease;
}

.marta-orders-table tbody tr:hover {
    background: #fdfbfc;
}

.marta-orders-table tbody td {
    padding: 16px 20px;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}

.marta-orders-table tbody tr:last-child td {
    border-bottom: none;
}

/* Order number link */
.marta-order-number {
    font-weight: 600;
    color: #C67B8B !important;
    text-decoration: none !important;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.marta-order-number:hover {
    color: #b56a7a !important;
}

/* Order total */
.marta-order-total-value {
    display: block;
    font-weight: 600;
    color: #3A3A3A;
    font-size: 0.92rem;
}

.marta-order-items-count {
    display: block;
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 2px;
}

/* Actions cell */
.marta-orders-actions-cell {
    text-align: right !important;
}

.marta-orders-actions-cell .marta-btn {
    white-space: nowrap;
}

/* ------------------------------------------------
   MARTA ORDERS CARDS (Mobile)
   ------------------------------------------------ */

.marta-orders-cards {
    display: none;
    flex-direction: column;
    gap: 12px;
}

.marta-order-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 18px;
    transition: all 0.3s ease;
}

.marta-order-card:hover {
    border-color: #e0d5d8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.marta-order-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.marta-order-card-id {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.marta-order-card-date {
    font-size: 0.8rem;
    color: #999;
}

.marta-order-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}

.marta-order-card-total {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.marta-order-card-total-label {
    font-size: 0.75rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.marta-order-card-total-value {
    font-weight: 600;
    font-size: 1.05rem;
    color: #3A3A3A;
}

.marta-order-card-items {
    font-size: 0.82rem;
    color: #888;
}

.marta-order-card-footer {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.marta-order-card-footer .marta-btn-card {
    flex: 1;
    justify-content: center;
}

/* ------------------------------------------------
   MARTA ORDERS PAGINATION
   ------------------------------------------------ */

.marta-orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
}

.marta-orders-page-info {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.marta-btn-outline {
    background: #fff;
    color: #C67B8B !important;
    border: 1px solid #C67B8B;
}

.marta-btn-outline:hover {
    background: #fdf5f7;
    color: #b56a7a !important;
    border-color: #b56a7a;
    transform: translateY(-1px);
}

/* ------------------------------------------------
   GENERIC WC TABLE STYLES (for other WC tables)
   ------------------------------------------------ */

.marta-myaccount-content table.woocommerce-table {
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.marta-myaccount-content table.woocommerce-table th {
    background: #fafafa;
    font-size: 0.82rem;
    font-weight: 600;
    color: #3A3A3A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.marta-myaccount-content table.woocommerce-table td {
    padding: 14px 20px;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
}

.marta-myaccount-content table.woocommerce-table tr:last-child td {
    border-bottom: none;
}

.marta-myaccount-content .woocommerce-button,
.marta-myaccount-content button[type="submit"],
.marta-myaccount-content .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #C67B8B;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.marta-myaccount-content .woocommerce-button:hover,
.marta-myaccount-content button[type="submit"]:hover,
.marta-myaccount-content .button:hover {
    background: #b56a7a;
    transform: translateY(-1px);
}

/* Edit account form */
.marta-myaccount-content .woocommerce-EditAccountForm fieldset {
    border: none;
    padding: 0;
    margin: 0 0 20px;
}

.marta-myaccount-content .woocommerce-EditAccountForm legend {
    font-size: 1.1rem;
    font-weight: 600;
    color: #3A3A3A;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
    margin-bottom: 20px;
}

.marta-myaccount-content .woocommerce-EditAccountForm .form-row {
    margin-bottom: 16px;
}

.marta-myaccount-content .woocommerce-EditAccountForm label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.marta-myaccount-content .woocommerce-EditAccountForm input[type="text"],
.marta-myaccount-content .woocommerce-EditAccountForm input[type="email"],
.marta-myaccount-content .woocommerce-EditAccountForm input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.marta-myaccount-content .woocommerce-EditAccountForm input:focus {
    outline: none;
    border-color: #C67B8B;
    box-shadow: 0 0 0 3px rgba(198, 123, 139, 0.1);
}

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */

/* ---- TABLET (≤900px) ---- */
@media (max-width: 900px) {

    .marta-myaccount {
        padding: 0 16px;
    }

    .marta-myaccount-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 20px 0 40px;
    }

    /* Nav: icon-only horizontal tabs */
    .marta-account-nav {
        position: static;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 24px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .marta-account-nav::-webkit-scrollbar {
        display: none;
    }

    .marta-account-nav-list {
        display: flex;
        gap: 0;
        padding: 0 4px;
        min-width: min-content;
    }

    .marta-account-nav-item {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .marta-account-nav-item.is-logout {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .marta-account-nav-link {
        flex-direction: column;
        gap: 2px;
        padding: 8px 10px 10px;
        border-radius: 0;
        text-align: center;
        border-bottom: 3px solid transparent;
    }

    .marta-account-nav-item.is-active .marta-account-nav-link {
        background: transparent;
        border-bottom-color: #C67B8B;
    }

    .marta-account-nav-item.is-active .marta-account-nav-link::before {
        display: none;
    }

    .marta-account-nav-link:hover {
        background: transparent;
    }

    .marta-nav-icon {
        width: 28px;
        height: 28px;
        border-radius: 7px;
    }

    .marta-nav-icon i {
        font-size: 0.8rem;
    }

    .marta-nav-text {
        align-items: center;
        display: none;
    }

    .marta-nav-desc {
        display: none;
    }

    .marta-nav-badge {
        position: absolute;
        top: 2px;
        right: 0;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 0.6rem;
    }

    /* Content area */
    .marta-myaccount-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Dashboard grid */
    .marta-dashboard-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .marta-dashboard-card {
        padding: 14px;
        gap: 10px;
    }

    .marta-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .marta-card-icon i {
        font-size: 1rem;
    }

    .marta-card-title {
        font-size: 0.85rem;
    }

    .marta-card-count {
        font-size: 0.75rem;
    }

    .marta-card-arrow {
        display: none;
    }

    /* Highlight responsive */
    .marta-dashboard-highlight {
        flex-wrap: wrap;
        padding: 18px;
        gap: 14px;
    }

    .marta-highlight-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px;
    }

    .marta-highlight-icon i {
        font-size: 1.2rem;
    }

    .marta-highlight-countdown {
        width: 58px;
        height: 58px;
    }

    .marta-countdown-number {
        font-size: 1.3rem;
    }

    .marta-highlight-title {
        font-size: 1.05rem;
    }

    /* Order rows */
    .marta-order-row {
        grid-template-columns: 1fr auto;
        gap: 6px 12px;
        padding: 12px 14px;
    }

    .marta-order-items {
        grid-column: 1 / -1;
        order: 3;
        white-space: normal;
    }

    /* Trip cards */
    .marta-trip-card {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .marta-trip-date-badge {
        flex-direction: row;
        width: auto;
        height: auto;
        gap: 8px;
        padding: 6px 14px;
        align-self: flex-start;
    }

    .marta-date-day {
        font-size: 1.1rem;
    }

    .marta-trip-name {
        font-size: 0.95rem;
    }

    .marta-trip-meta {
        gap: 8px;
    }

    .marta-trip-meta-item {
        font-size: 0.8rem;
    }

    /* Ebook cards */
    .marta-ebook-card {
        flex-direction: column;
        gap: 14px;
        align-items: center;
        text-align: center;
        padding: 16px;
    }

    .marta-ebook-cover {
        width: 100px;
        height: 130px;
    }

    .marta-ebook-title {
        font-size: 1rem;
    }

    /* Plan / Consultation cards */
    .marta-plan-card,
    .marta-consultation-card {
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .marta-plan-status-indicator,
    .marta-consultation-circle {
        width: 44px;
        height: 44px;
        align-self: flex-start;
    }

    .marta-plan-status-indicator i,
    .marta-consultation-circle i {
        font-size: 1.1rem;
    }

    .marta-plan-name,
    .marta-consultation-name {
        font-size: 0.95rem;
    }

    .marta-plan-meta,
    .marta-consultation-meta {
        flex-direction: column;
        gap: 4px;
    }

    /* Notices overflow fix */
    .marta-plan-notice,
    .marta-consultation-notice {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .marta-plan-notice span,
    .marta-consultation-notice span {
        min-width: 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    /* Orders: hide table, show cards on tablet */
    .marta-orders-table-wrap {
        display: none;
    }

    .marta-orders-cards {
        display: flex;
    }

    .marta-orders-pagination {
        gap: 10px;
    }

    .marta-orders-page-info {
        font-size: 0.8rem;
    }

    /* WC tables overflow */
    .marta-myaccount-content table.woocommerce-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Endpoint header */
    .marta-endpoint-title {
        font-size: 1.2rem;
    }

    .marta-endpoint-title-row {
        margin-top: 1em;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .marta-trip-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .marta-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .marta-empty-state {
        padding: 40px 20px;
    }
}

/* ---- PHONE (≤480px) ---- */
@media (max-width: 480px) {

    .marta-myaccount {
        padding: 0 12px;
    }

    .marta-account-nav {
        margin: 0 -12px;
    }

    .marta-myaccount-header {
        gap: 12px;
        padding: 16px 0;
    }

    .marta-myaccount-avatar img {
        width: 44px;
        height: 44px;
    }

    .marta-myaccount-greeting {
        font-size: 1.1rem;
    }

    .marta-myaccount-email {
        font-size: 0.8rem;
        word-break: break-all;
    }

    /* Nav: even more compact */
    .marta-account-nav-link {
        padding: 8px 8px 10px;
    }

    .marta-nav-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
    }

    .marta-nav-icon i {
        font-size: 0.75rem;
    }

    /* Dashboard grid → 1 column */
    .marta-dashboard-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .marta-dashboard-card {
        padding: 12px;
    }

    /* Highlight card */
    .marta-dashboard-highlight {
        padding: 14px;
        gap: 12px;
    }

    .marta-highlight-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .marta-highlight-icon i {
        font-size: 1rem;
    }

    .marta-highlight-title {
        font-size: 0.95rem;
    }

    .marta-highlight-label {
        font-size: 0.72rem;
    }

    .marta-highlight-meta {
        gap: 6px;
        font-size: 0.8rem;
    }

    .marta-highlight-countdown {
        width: 50px;
        height: 50px;
    }

    .marta-countdown-number {
        font-size: 1.1rem;
    }

    .marta-countdown-label {
        font-size: 0.6rem;
    }

    /* Cards */
    .marta-trip-card,
    .marta-plan-card,
    .marta-consultation-card,
    .marta-ebook-card {
        padding: 14px;
    }

    /* Order cards phone */
    .marta-order-card {
        padding: 14px;
    }

    .marta-order-card-total-value {
        font-size: 0.95rem;
    }

    .marta-order-card-footer .marta-btn-card {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    .marta-empty-state {
        padding: 30px 14px;
    }

    .marta-empty-icon {
        width: 56px;
        height: 56px;
    }

    .marta-empty-icon i {
        font-size: 1.4rem;
    }
}

/* ---- VERY NARROW (≤360px, e.g. Galaxy Fold) ---- */
@media (max-width: 360px) {

    .marta-myaccount {
        padding: 0 10px;
    }

    .marta-account-nav {
        margin: 0 -10px;
    }

    .marta-account-nav-link {
        padding: 7px 7px 9px;
    }

    .marta-nav-icon {
        width: 24px;
        height: 24px;
        border-radius: 6px;
    }

    .marta-nav-icon i {
        font-size: 0.7rem;
    }

    .marta-nav-badge {
        min-width: 14px;
        height: 14px;
        padding: 0 3px;
        font-size: 0.55rem;
        top: 1px;
        right: -1px;
    }

    .marta-myaccount-header {
        gap: 10px;
        padding: 14px 0;
    }

    .marta-myaccount-avatar img {
        width: 38px;
        height: 38px;
        border-width: 2px;
    }

    .marta-myaccount-greeting {
        font-size: 1rem;
    }

    .marta-myaccount-email {
        font-size: 0.75rem;
    }

    .marta-endpoint-title {
        font-size: 1.05rem;
    }

    .marta-highlight-countdown {
        width: 44px;
        height: 44px;
    }

    .marta-countdown-number {
        font-size: 1rem;
    }

    .marta-btn {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
}

/* ------------------------------------------------
   WC NOTICES INSIDE MY ACCOUNT
   ------------------------------------------------ */

.marta-myaccount-content .woocommerce-message,
.marta-myaccount-content .woocommerce-error,
.marta-myaccount-content .woocommerce-info {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: none;
    font-size: 0.9rem;
}

.marta-myaccount-content .woocommerce-message {
    background: #D1FAE5;
    color: #065F46;
}

.marta-myaccount-content .woocommerce-error {
    background: #FEE2E2;
    color: #991B1B;
}

.marta-myaccount-content .woocommerce-info {
    background: #f8f4f5;
    color: #555;
}

/* ------------------------------------------------
   IMPREZA THEME OVERRIDES (My Account page)
   ------------------------------------------------ */

body.woocommerce-account .l-section.height_large:not(.color_footer-bottom) {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

body.woocommerce-account .l-section.height_medium:not(.color_footer-bottom) {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

/* Prevent horizontal overflow on the page */
body.woocommerce-account .l-main,
body.woocommerce-account .l-section {
    overflow-x: hidden;
}
