/* ============================================================
   Pocket Pantry — WooCommerce My Account Custom Design
   ============================================================ */

/* ── Global Layout ───────────────────────────────────────────── */


.pp-myaccount-wrap {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

/* ── Page Title ──────────────────────────────────────────────── */
.woocommerce-account .entry-title,
.woocommerce-account h1.page-title {
    font-family: var(--global-heading-font, serif);
    font-size: 32px;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 28px;
}
.woocommerce-account .entry-title span,
.woocommerce-account h1.page-title span {
    color: var(--orange, #FF5733);
}

/* ── Sidebar Nav ─────────────────────────────────────────────── */
.pp-mya-sidebar {
    position: sticky;
    top: 20px;
}

.pp-mya-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0EEE9;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.pp-mya-nav-item { border-bottom: 1px solid #F5F3EF; }
.pp-mya-nav-item:last-child { border-bottom: none; }

.pp-mya-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pp-mya-nav-link:hover {
    background: #FFF4F1;
    color: var(--orange, #FF5733);
}

.pp-mya-nav-item.is-active .pp-mya-nav-link {
    background: var(--orange, #FF5733);
    color: #fff;
    font-weight: 700;
}

.pp-mya-nav-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ── Help Card ───────────────────────────────────────────────── */
.pp-mya-help-card {
    margin-top: 20px;
    background: #FFF8F4;
    border: 1px solid rgba(255,87,51,.12);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.pp-mya-help-img img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.pp-mya-help-body h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 6px;
}

.pp-mya-help-body p {
    font-size: 13px;
    color: #888;
    margin-bottom: 14px;
    line-height: 1.5;
}

.pp-mya-help-btn {
    display: inline-block;
    border: 1.5px solid var(--orange, #FF5733);
    color: var(--orange, #FF5733);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pp-mya-help-btn:hover {
    background: var(--orange, #FF5733);
    color: #fff;
}

/* ── Dashboard ───────────────────────────────────────────────── */
.pp-dash-wrap { display: flex; flex-direction: column; gap: 28px; }

/* Greeting */
.pp-dash-greeting {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0EEE9;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.pp-dash-greeting-img img {
    width: 90px;
    height: auto;
}

.pp-dash-greeting-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A !important;
    margin-bottom: 8px;
}

.pp-dash-greeting-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.pp-dash-greeting-text a {
    color: var(--orange, #FF5733);
    text-decoration: underline;
}

/* Stats row */
.pp-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pp-dash-stat {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0EEE9;
    padding: 20px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.pp-dash-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-dash-stat-icon--orange  { background: #FFF0EC; color: var(--orange, #FF5733); }
.pp-dash-stat-icon--green   { background: #ECFDF5; color: #10B981; }
.pp-dash-stat-icon--yellow  { background: #FFFBEB; color: #F59E0B; }
.pp-dash-stat-icon--purple  { background: #F5F3FF; color: #8B5CF6; }

.pp-dash-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1;
}

.pp-dash-stat-icon--orange  ~ .pp-dash-stat-body .pp-dash-stat-num { color: var(--orange, #FF5733); }
.pp-dash-stat-icon--green   ~ .pp-dash-stat-body .pp-dash-stat-num { color: #10B981; }
.pp-dash-stat-icon--yellow  ~ .pp-dash-stat-body .pp-dash-stat-num { color: #F59E0B; }
.pp-dash-stat-icon--purple  ~ .pp-dash-stat-body .pp-dash-stat-num { color: #8B5CF6; }

.pp-dash-stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin: 4px 0 6px;
}

.pp-dash-stat-link,
.pp-dash-stat-sub {
    font-size: 12px;
    color: #999;
    text-decoration: none;
}

.pp-dash-stat-link:hover { color: var(--orange, #FF5733); }

/* Bottom grid */
.pp-dash-bottom {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
}

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

.pp-dash-section-head h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A !important;
    margin: 0;
}

.pp-dash-view-all {
    font-size: 13px;
    color: var(--orange, #FF5733);
    text-decoration: none;
    font-weight: 600;
}

/* Recent Orders mini-list */
.pp-dash-recent-orders,
.pp-dash-account-overview {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0EEE9;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.pp-dash-order-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F5F3EF;
    font-size: 14px;
}

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

.pp-dash-order-num  { font-weight: 700; flex: 1; color: #1A1A1A; }
.pp-dash-order-date { color: #888; white-space: nowrap; }
.pp-dash-order-total { font-weight: 600; color: #1A1A1A; white-space: nowrap; }
.pp-dash-order-arrow { color: var(--orange,#FF5733); font-size: 18px; text-decoration: none; font-weight: 700; }

/* Account overview */
.pp-dash-overview-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.pp-dash-overview-table tr { border-bottom: 1px solid #F5F3EF; }
.pp-dash-overview-table tr:last-child { border-bottom: none; }
.pp-dao-key { font-size: 13px; color: #888; padding: 10px 0; width: 40%; }
.pp-dao-val { font-size: 13px; color: #1A1A1A; font-weight: 500; }

.pp-btn-outline-orange {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border: 1.5px solid var(--orange, #FF5733);
    color: var(--orange, #FF5733);
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pp-btn-outline-orange:hover { background: var(--orange, #FF5733); color: #fff; }

/* ── Orders Page ─────────────────────────────────────────────── */
.pp-orders-wrap { display: flex; flex-direction: column; gap: 20px; }

.pp-orders-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pp-orders-desc { font-size: 14px; color: #666; margin: 0; }

.pp-orders-sort select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

/* Filter Tabs */
.pp-orders-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pp-orders-tab {
    padding: 8px 18px;
    border: 1.5px solid #ddd;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.pp-orders-tab:hover { border-color: var(--orange,#FF5733); color: var(--orange,#FF5733); }

.pp-orders-tab.is-active {
    background: var(--orange, #FF5733);
    border-color: var(--orange, #FF5733);
    color: #fff;
    font-weight: 700;
}

/* Order Row */
.pp-orders-list { display: flex; flex-direction: column; gap: 0; }

.pp-order-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: #fff;
    border: 1px solid #F0EEE9;
    border-bottom: none;
    transition: background 0.15s;
}

.pp-order-row:first-child { border-radius: 16px 16px 0 0; }
.pp-order-row:last-child  { border-radius: 0 0 16px 16px; border-bottom: 1px solid #F0EEE9; }
.pp-order-row:only-child  { border-radius: 16px; border-bottom: 1px solid #F0EEE9; }
.pp-order-row:hover { background: #FFFAF8; }

.pp-order-row-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pp-order-num  { font-size: 15px; font-weight: 700; color: #1A1A1A; }
.pp-order-meta { font-size: 12px; color: #888; }
.pp-order-items { font-size: 12px; color: #999; }

.pp-order-row-total { text-align: right; min-width: 80px; }
.pp-order-row-total strong { display: block; font-size: 16px; color: #1A1A1A; }
.pp-order-total-label { font-size: 11px; color: #aaa; }

.pp-order-done-date { font-size: 12px; color: #888; min-width: 80px; }

.pp-btn-order-action {
    padding: 8px 16px;
    border: 1.5px solid var(--orange, #FF5733);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--orange, #FF5733);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.pp-btn-order-action:hover { background: var(--orange, #FF5733); color: #fff; }

.pp-orders-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0EEE9;
}

/* ── Status Badges ───────────────────────────────────────────── */
.pp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}
.pp-badge-pending     { background: #FFF3CD; color: #856404; }
.pp-badge-processing  { background: #DBEAFE; color: #1D4ED8; }
.pp-badge-hold        { background: #F3F4F6; color: #374151; }
.pp-badge-delivered   { background: #D1FAE5; color: #065F46; }
.pp-badge-cancelled   { background: #FEE2E2; color: #B91C1C; }
.pp-badge-refunded    { background: #F3F4F6; color: #374151; }
.pp-badge-failed      { background: #FEE2E2; color: #B91C1C; }
.pp-badge-shipped     { background: #FEF3C7; color: #92400E; }
.pp-badge-default     { background: #F3F4F6; color: #374151; }

/* ── View Order ──────────────────────────────────────────────── */
.pp-view-order-wrap { display: flex; flex-direction: column; gap: 24px; }

.pp-vo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.pp-vo-title {
    font-family: var(--global-heading-font, serif);
    font-size: 26px;
    font-weight: 800;
    color: var(--orange, #FF5733) !important;
    margin: 0 0 8px;
}

.pp-vo-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
    flex-wrap: wrap;
}

.pp-vo-sep { color: #ddd; }

.pp-vo-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pp-vo-back-btn {
    padding: 9px 18px;
    border: 1.5px solid #ddd;
    border-radius: 30px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}
.pp-vo-back-btn:hover { border-color: var(--orange,#FF5733); color: var(--orange,#FF5733); }

/* Order Detail Card */
.pp-vo-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #F0EEE9;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.pp-vo-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A !important;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F0EEE9;
}

.pp-vo-table { width: 100%; border-collapse: collapse; }
.pp-vo-table th {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    padding: 0 0 12px;
    border-bottom: 1px solid #F0EEE9;
    text-align: left;
}
.pp-vo-th-right { text-align: right; }

.pp-vo-table tbody tr { border-bottom: 1px solid #F5F3EF; }
.pp-vo-table tbody tr:last-child { border-bottom: 2px solid #F0EEE9; }
.pp-vo-table td { padding: 14px 0; vertical-align: middle; }

.pp-vo-product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pp-vo-product-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.pp-vo-qty { font-size: 13px; color: #888; margin-left: 4px; }

.pp-vo-td-right { text-align: right; font-weight: 600; color: #1A1A1A; }

.pp-vo-tfoot-row td { padding: 12px 0; font-size: 14px; color: #555; border-bottom: 1px solid #F5F3EF; }
.pp-vo-tfoot-total td { padding: 14px 0; font-size: 15px; font-weight: 700; color: #1A1A1A; }
.pp-vo-grand-total { color: var(--orange, #FF5733) !important; font-size: 18px !important; }
.pp-vo-shipping-method { font-size: 12px; color: #aaa; margin-left: 6px; }

/* Address Cards */
.pp-vo-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pp-vo-address-card {
    background: #FFF8F4;
    border: 1px solid rgba(255,87,51,.1);
    border-radius: 16px;
    padding: 22px 24px;
}

.pp-vo-address-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--orange, #FF5733) !important;
    margin: 0 0 14px;
}

.pp-vo-addr-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pp-vo-addr-icon--orange { background: rgba(255,87,51,.12); color: var(--orange,#FF5733); }

.pp-vo-address-body {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    font-style: normal;
}

/* ════════════════════════════════════════════════════════════════
   Pocket Pantry — Order Received / Thank You Page
   Matches the design screenshot exactly
   ════════════════════════════════════════════════════════════════ */

/* ── Hide duplicate / default elements on thank-you page ─────── */
/* The parent theme's content-page.php outputs <h1> inside .content_box — hide it */
.woocommerce-order-received .content_box > h1,
.woocommerce-order-received .content_box h1:first-child,
.woocommerce-order-received .entry-title,
.woocommerce-order-received h1.page-title,
/* Hide WooCommerce default order overview, details, addresses */
.woocommerce-order-received .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-order-details {
    display: none !important;
}

/* ── Outer Wrapper ────────────────────────────────────────────── */
.pp-thankyou-wrap {
    /* max-width: 840px; */
    margin: 36px auto 64px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 0 20px;
    background: transparent;
}
.content_box .pp-thankyou-wrap h1{border-bottom:0px none;}

/* ── Hero ─────────────────────────────────────────────────────── */
.pp-ty-hero {
    text-align: center;
    padding: 12px 0 0;
}

/* Inline row: checkmark icon + title side by side */
.pp-ty-hero-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
}

.pp-ty-checkmark-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pp-ty-checkmark-icon svg {
    filter: drop-shadow(0 2px 6px rgba(92,184,92,.25));
}

.pp-ty-title {
    font-family: var(--global-heading-font, 'Poppins', sans-serif) !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    color: var(--orange) !important;
    margin: 0 !important;
    line-height: 1.15 !important;
}

/* Short orange underline centered under the title */
.pp-ty-title-underline {
    width: 100px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    margin: 0px auto 14px;
    font-weight: 500;
}

.new-text p.pp-ty-subtitle {
    font-size: 16px;
    color: #555;
    margin: 10px auto 20px;
    font-family: var(--global-body-font-family);
}

/* ── Failed Order Card ────────────────────────────────────────── */
.pp-ty-failed-card {
    text-align: center;
    background: #fff5f5;
    border: 1px solid rgba(239,68,68,.2);
    border-radius: 16px;
    padding: 44px 36px;
}
.pp-ty-failed-icon {
    width: 64px; height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #b91c1c;
    margin: 0 auto 18px;
}
.pp-ty-failed-title { font-size: 26px; font-weight: 800; color: #b91c1c; margin: 0 0 10px; }
.pp-ty-failed-msg   { font-size: 15px; color: #666; margin: 0 0 28px; line-height: 1.6; }
.pp-ty-failed-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pp-ty-btn { display: inline-block; padding: 12px 30px; border-radius: 30px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all .2s; }
.pp-ty-btn--orange  { background: var(--orange, #ff5733); color: #fff; }
.pp-ty-btn--orange:hover { background: #cc3d1f; color: #fff; }
.pp-ty-btn--outline { border: 1.5px solid var(--orange, #ff5733); color: var(--orange, #ff5733); }
.pp-ty-btn--outline:hover { background: var(--orange, #ff5733); color: #fff; }

/* ── Meta Bar ─────────────────────────────────────────────────── */
.pp-ty-meta-bar {
    display: flex;
    align-items: stretch;
    background: #fef8f2;
    border: 1px solid #f5ece4;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    flex-wrap: nowrap;        /* keep on one row on desktop */
    gap: 0;
    overflow: hidden;
}

.pp-ty-meta-sep {
    width: 1px;
    min-height: 36px;
    background: var(--border-cream, #f0e6d9);
    flex-shrink: 0;
    align-self: center;
    margin: 0 14px;
}

/* Each item gets equal space and cannot bleed into neighbours */
.pp-ty-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;          /* equal-width columns */
    min-width: 0;         /* critical: allows flex children to shrink below content size */
    overflow: hidden;
}

.pp-ty-meta-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;       /* icon never shrinks */
    color: var(--orange);
}

.pp-ty-meta-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;         /* allows text to truncate */
    overflow: hidden;
}

.pp-ty-meta-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    padding-bottom:2px;
}

.pp-ty-meta-value {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* long email truncates gracefully */
}

/* ── COD / Payment Note ───────────────────────────────────────── */
.pp-ty-payment-note {
    font-size: 14px;
    color: #555;
    padding: 0 0 30px;
}

.pp-ty-payment-note p {
    margin: 0;
    font-size: 16px;
    color: #000;
    padding-left: 22px;
}

/* Hide WooCommerce's own pay-note heading/wrapper if any */
.pp-ty-payment-note .woocommerce-info { display: none; }

/* ── Order Details Section ────────────────────────────────────── */
.pp-ty-section { display: flex; flex-direction: column; gap: 16px;margin-bottom:30px;}

/* Section title — sits OUTSIDE the white card */
.pp-ty-section-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--global-heading-font, 'Poppins', sans-serif) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: var(--orange, #ff5733) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.2 !important;
}

.pp-ty-section-icon {
    width: 40px;
    height: 40px;
    background: var(--orange, #ff5733);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pp-ty-section-icon svg{width:22px;height:22px;}

.pp-ty-section-leaf {
    font-size: 18px;
    margin-left: 2px;
    display:none;
}

/* White table card */
.pp-ty-table-card {
    background: #fff;
    border: 1px solid var(--border-cream, #f0e6d9);
    border-radius: 14px;
    overflow: hidden;
}

/* ── Order Table ──────────────────────────────────────────────── */
.pp-ty-table {
    width: 100%;
    border-collapse: collapse;
    margin:0px;
}

.pp-ty-table thead th {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-cream, #f0e6d9);
    text-align: left;
    background: #fcf4ed;
    font-family:var(--global-heading-font);
}

.pp-ty-th-right { text-align: right !important; }

.pp-ty-table tbody tr {
    border-bottom: 1px solid #f5f0ea;
}

.pp-ty-table tbody tr:last-child {
    border-bottom: none;
}

.pp-ty-table tbody td {
    padding: 13px 18px;
    font-size: 14px;
    color: #333;
    vertical-align: middle;
}

.pp-ty-product-link {
    color: var(--orange, #ff5733) !important;
    text-decoration: none !important;
    font-weight: 400;
}
.pp-ty-product-link:hover { text-decoration: underline !important; }

.pp-ty-qty {
    font-size: 14px;
    color: #555;
    margin-left: 2px;
    font-weight: 700;
}

.pp-ty-td-right {
    text-align: right;
    font-weight: 500;
    color: #1a1a1a;
}

/* Tfoot rows */
.pp-ty-tfoot-row td {
    padding: 12px 18px;
    font-size: 15px;
    color: #1a1a1a;
    border-top: 1px solid #f5f0ea;
    font-weight: 700;
}

.pp-ty-tfoot-total td {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    border-top: 1px solid var(--border-cream, #f0e6d9);
}

.pp-ty-grand-total {
    color: var(--orange, #ff5733) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.pp-ty-tfoot-last td {
    border-bottom: none;
}

.pp-ty-free-shipping {
    color: var(--orange, #ff5733);
    font-weight: 600;
}
.pp-ty-meta-icon svg {
    width: 30px;
    height: 30px;
}

/* ── Address Section ──────────────────────────────────────────── */
.pp-ty-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.pp-ty-address-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Address title sits OUTSIDE the card */
.pp-ty-address-title {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--global-heading-font, 'Poppins', sans-serif) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--orange, #ff5733) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-transform: capitalize;
}

.pp-ty-addr-icon {
    line-height: 0;
    background:#ffd7cf;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pp-ty-addr-icon svg{width: 22px;height: 22px;}
.pp-ty-addr-icon svg path{fill:var(--orange);}
.pp-ty-addr-leaf {
    font-size: 16px;
    display:none;
}

/* Address content inside white card */
.pp-ty-address-card {
    background: #fff;
    border: 1px solid var(--border-cream, #f0e6d9);
    border-radius: 14px;
    padding: 20px 22px;
}

.pp-ty-address-body {
    font-size: 14px;
    color: #444;
    line-height: 1.9;
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pp-ty-addr-email-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #000;
    margin-top: 6px;
    font-weight: 600;
}
.pp-ty-addr-email-row svg{width:16px;height:16px;}
.pp-ty-addr-email-row svg path, .pp-ty-addr-email-row svg rect{fill:var(--black);}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pp-myaccount-wrap       { grid-template-columns: 220px 1fr; }
    .pp-dash-stats           { grid-template-columns: repeat(2, 1fr); }
    .pp-dash-bottom          { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .pp-myaccount-wrap       { grid-template-columns: 1fr; }
    .pp-mya-sidebar          { position: static; }
    .pp-dash-stats           { grid-template-columns: repeat(2, 1fr); }
    .pp-vo-addresses         { grid-template-columns: 1fr; }
    .pp-dash-bottom          { grid-template-columns: 1fr; }
    .pp-order-row            { flex-wrap: wrap; gap: 10px; }

    /* Thank-you responsive */
    .pp-ty-addresses         { grid-template-columns: 1fr; }
    .pp-ty-meta-sep          { display: none; }
    .pp-ty-meta-bar {flex-wrap:wrap;flex-direction:column;}
    .pp-ty-meta-item{width:100%;flex:0 0 1;min-width: unset;overflow: unset;margin-bottom:20px;gap:12px;}
    .pp-ty-meta-item:last-child{margin-bottom:0px;}
    /* .pp-ty-meta-item         { min-width: 44%; flex: 0 0 44%; } */
    .pp-ty-title             { font-size: 28px !important; }
    .pp-ty-hero-row          { flex-wrap: wrap; justify-content: center; }
    .pp-ty-table thead th {font-size:16px;}
    .pp-thankyou-wrap{padding:0px 10px;}
    .pp-ty-checkmark-icon svg{width:30px;height:30px;}
}

@media (max-width: 480px) {
    .pp-dash-stats           { grid-template-columns: 1fr; }
    .pp-ty-meta-item         { min-width: 100%; flex: 0 0 100%; }
    .pp-ty-title             { font-size: 22px !important; }
    .pp-ty-meta-bar          { padding: 14px 16px; }
    .pp-ty-table-card        { border-radius: 10px; }
    .pp-ty-address-card      { padding: 16px 16px; }
}

.woocommerce-account main.content_box {
    position: relative;
    margin: 0px;
    padding: 40px 0px;
}
.woocommerce-account main.content_box:after{
    content: '';
    position: absolute;
    top:0;
    bottom:0;
    left: 0;
    right: 0;
    background-image: url('../images/login-bg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: bottom center;
    width: 100%;
    height:100%;
    z-index: -1;
}
.woocommerce-account .lwp_forms_login form.ajax-auth{max-width: 400px !important;padding: 100px 25px 25px 25px;box-shadow: 0 0 6px rgba(255, 87, 51, 0.2);}
.woocommerce-account .lwp_forms_login .ajax-auth .lh1{
    position:relative;
    font-weight: bold;
    color: #000;
    font-size:26px;
}

.woocommerce-account .lwp_forms_login .ajax-auth .lh1:before {
    content: '';
    position: absolute;
    top: -110px;
    left: 0;
    right: 0;
    background-image: url('../images/login-icon.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 100%;
    height: 120px;
}
.woocommerce-account .lwp_forms_login .iti__selected-flag {
    padding: 0 6px 0 10px !important;
}
.woocommerce-account .lwp_forms_login .ajax-auth input{
    padding: 10px 10px 10px 10px !important;
    height: unset;
    min-height:40px;
    border: 1px solid #c3bfbf !important;
    border-radius: 6px;
}
.woocommerce-account .lwp_forms_login .ajax-auth input.lwp_check_box{min-height:auto;margin-top:5px;}
.woocommerce-account .lwp_forms_login #lwp_login.ajax-auth input.lwp_username{
    padding: 10px 10px 10px 70px !important;
    height: unset;
    border: 1px solid #c3bfbf;
    border-radius: 6px;
}

.woocommerce-account .lwp_forms_login .iti__flag{border-radius:6px;}
.woocommerce-account .lwp_forms_login .accept_terms_and_conditions{margin-top:20px;margin-bottom:20px;gap:5px;display:inline-flex;align-items: flex-start;justify-content: flex-start;}
.accept_terms_and_conditions a, .accept_terms_and_conditions a span{font-size:14px;color:#000;}
.woocommerce-account .lwp_forms_login .submit_button {
    background-color: var(--orange);
    border: 1px solid var(--orange);
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 600;
    border-radius: 20px;
}
.lwp_bottom_activation a {
    color: var(--orange);
    font-weight: 600;
}

@media(max-width:1024px){
.woocommerce-account main.content_box{padding:20px 0px;}
.woocommerce-account main.content_box h1{margin:0 auto 20px;}
.woocommerce-account main.content_box h1, .woocommerce-account main.content_box h1 span{font-size:34px;}
.woocommerce-account main.content_box:after{
    background-size: auto 100%;
    background-position: bottom center;
    width: 100%;
    height: auto;
}
}

@media(max-width:767px){
    .woocommerce-account main.content_box:after{
        background-size: auto 100%;
        background-position: left;
        width: 100%;
        height: auto;
    }
    .woocommerce-account main.content_box h1, .woocommerce-account main.content_box h1 span{font-size:30px;}
}