/* Approved customer-account redesign. Scoped to the account templates so the
   storefront and checkout keep their existing presentation. */
.acct-page {
    --acct-forest: #123b27;
    --acct-forest-2: #1d5738;
    --acct-leaf: #3f7753;
    --acct-gold: #c79b37;
    --acct-ink: #203027;
    --acct-muted: #748178;
    --acct-line: #e8e9df;
    --acct-paper: #fbfaf5;
    background: var(--acct-paper);
    color: var(--acct-ink);
    min-height: 100%;
}

.acct-page *,
.acct-page *::before,
.acct-page *::after { box-sizing: border-box; }

.acct-page a { color: inherit; }
.acct-page .serif { font-family: 'Cormorant Garamond', Georgia, serif; }

.acct-hero {
    background: linear-gradient(105deg, var(--acct-forest), var(--acct-forest-2));
    color: #fff;
    padding: 24px max(24px, calc((100% - 1180px) / 2));
}

.acct-breadcrumb {
    align-items: center;
    color: rgba(255,255,255,.68);
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 9px;
    margin-bottom: 10px;
}

.acct-breadcrumb a { text-decoration: none; }
.acct-breadcrumb a:hover { color: #fff; }
.acct-hero h1 { font-size: 34px; letter-spacing: -.3px; line-height: 1; margin: 0; }
.acct-hero p { color: #d9e3d9; font-size: 13px; margin: 7px 0 0; }

.acct-container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 28px 24px 64px;
}

.acct-layout {
    align-items: start;
    display: grid;
    gap: 26px;
    grid-template-columns: 210px minmax(0, 1fr);
}

.acct-sidebar {
    background: #fff;
    border: 1px solid var(--acct-line);
    border-radius: 12px;
    overflow: hidden;
}

.acct-profile {
    align-items: center;
    background: #f1f5ed;
    display: flex;
    gap: 11px;
    padding: 18px 16px;
}

.acct-avatar {
    align-items: center;
    background: var(--acct-forest);
    border: 1px solid var(--acct-gold);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 12px;
    height: 38px;
    justify-content: center;
    overflow: hidden;
    width: 38px;
}

.acct-avatar img { height: 100%; object-fit: cover; width: 100%; }
.acct-profile strong { display: block; font-size: 11px; }
.acct-profile small { color: var(--acct-muted); display: block; font-size: 9px; margin-top: 4px; max-width: 125px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.acct-nav a {
    align-items: center;
    border-top: 1px solid #f0f0eb;
    display: flex;
    font-size: 11px;
    gap: 10px;
    padding: 14px 15px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}

.acct-nav a:hover { background: #faf8f0; color: var(--acct-forest); }
.acct-nav a.active { background: #fcf8ed; border-left: 3px solid var(--acct-gold); color: var(--acct-forest); font-weight: 700; padding-left: 12px; }
.acct-nav a.logout { color: #b9524d; }
.acct-nav i { font-size: 13px; text-align: center; width: 14px; }

.acct-main { min-width: 0; }
.acct-panel { background: #fff; border: 1px solid var(--acct-line); border-radius: 12px; overflow: hidden; }
.acct-panel + .acct-panel { margin-top: 16px; }

.acct-panel-head {
    align-items: center;
    border-bottom: 1px solid var(--acct-line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 20px;
}

.acct-panel-head h2 { font-size: 17px; line-height: 1.2; margin: 0; }
.acct-count { color: var(--acct-muted); display: block; font-size: 10px; margin-top: 4px; }

.acct-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #bdc8be;
    border-radius: 7px;
    color: var(--acct-forest);
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    line-height: 1.2;
    min-height: 36px;
    padding: 8px 13px;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.acct-btn:hover { border-color: var(--acct-forest); color: var(--acct-forest); text-decoration: none; transform: translateY(-1px); }
.acct-btn-primary { background: var(--acct-forest); border-color: var(--acct-forest); color: #fff; }
.acct-btn-primary:hover { background: var(--acct-forest-2); border-color: var(--acct-forest-2); color: #fff; }
.acct-btn-danger { border-color: #e2aaa6; color: #b8524d; }
.acct-btn-danger:hover { background: #fff5f2; border-color: #c97870; color: #9c3830; }
.acct-page a.acct-btn-primary { color: #fff; }
.acct-page a.acct-btn-danger { color: #b8524d; }

.acct-status {
    background: #eaf5e8;
    border-radius: 20px;
    color: #2e7348;
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 9px;
    white-space: nowrap;
}

.acct-status.pending { background: #eef5fb; color: #3571a3; }
.acct-status.paused { background: #fff5df; color: #9b6e1e; }
.acct-status.done { background: #f0eee9; color: #777; }
.acct-status.danger { background: #fff0ee; color: #a13d36; }

.acct-order { border-bottom: 1px solid var(--acct-line); padding: 20px; }
.acct-order:last-of-type { border-bottom: 0; }
.acct-order-head { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.acct-order-head strong { display: block; font-size: 14px; }
.acct-subtle { color: var(--acct-muted); display: block; font-size: 10px; margin-top: 4px; }
.acct-order-side { align-items: flex-end; display: flex; flex-direction: column; gap: 5px; }
.acct-order-side b { color: var(--acct-ink); font-size: 13px; }

.acct-order-body {
    align-items: center;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(160px, 190px) minmax(260px, 1fr) auto;
    padding: 20px 0 15px;
}

.acct-product { align-items: center; display: flex; gap: 11px; min-width: 0; }
.acct-product-mark {
    align-items: center;
    background: linear-gradient(150deg, #eadca8, #bf9135);
    border: 4px solid #f6e8b8;
    border-radius: 7px;
    color: #fff;
    display: flex;
    flex: 0 0 52px;
    font-size: 8px;
    font-weight: 800;
    height: 58px;
    justify-content: center;
    line-height: 1.1;
    text-align: center;
    width: 52px;
}

.acct-product-copy { min-width: 0; }
.acct-product-copy strong { display: block; font-size: 11px; }
.acct-product-copy span { color: var(--acct-muted); display: block; font-size: 9px; line-height: 1.5; margin-top: 3px; }
.acct-product-copy .acct-product-price { color: var(--acct-ink); font-size: 10px; font-weight: 700; margin-top: 5px; }

.acct-timeline { display: flex; justify-content: space-between; position: relative; }
.acct-timeline::before { background: #dce5da; content: ''; height: 1px; left: 10px; position: absolute; right: 10px; top: 10px; }
.acct-step { color: #89938c; flex: 1; font-size: 8px; min-width: 0; position: relative; text-align: center; z-index: 1; }
.acct-step i { align-items: center; background: #fff; border: 1px solid #cad5ca; border-radius: 50%; display: flex; font-size: 9px; font-style: normal; height: 21px; justify-content: center; margin: 0 auto 5px; width: 21px; }
.acct-step.done { color: var(--acct-forest); }
.acct-step.done i { background: var(--acct-forest); border-color: var(--acct-forest); color: #fff; }
.acct-order-amount { color: var(--acct-ink); font-size: 14px; font-weight: 800; text-align: right; white-space: nowrap; }

.acct-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acct-note { background: #faf8f0; border-top: 1px solid var(--acct-line); color: #68736b; font-size: 10px; padding: 12px 16px; }
.acct-empty { color: var(--acct-muted); padding: 54px 20px; text-align: center; }
.acct-empty i { color: var(--acct-leaf); display: block; font-size: 28px; margin-bottom: 10px; }
.acct-empty p { font-size: 13px; margin: 0 0 18px; }

.acct-back { margin-bottom: 14px; }

/* Track order — customer-facing lookup surface */
.acct-track-page { background: #fbfaf5; }
.acct-track-hero {
    background:
        linear-gradient(100deg, rgba(10, 45, 27, .98), rgba(17, 65, 39, .94)),
        url('/assets/theme_organic/hero-banner.png') center / cover;
    padding-bottom: 22px;
    padding-top: 21px;
}
.acct-track-hero-copy {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 58px;
}
.acct-track-hero h1 { font-size: 29px; margin: 0; }
.acct-track-hero p { color: #d9e5d9; font-size: 12px; margin: 7px 0 0; }
.acct-track-hero-art { height: 76px; position: relative; width: 150px; }
.acct-track-box {
    align-items: center;
    background: #e7bd68;
    border: 5px solid #f7d892;
    box-shadow: inset 7px 0 0 rgba(120, 73, 16, .18);
    color: #986b26;
    display: flex;
    font-size: 30px;
    height: 47px;
    justify-content: center;
    left: 38px;
    position: absolute;
    top: 11px;
    transform: rotate(4deg);
    width: 58px;
}
.acct-track-box::before {
    background: #f5d48b;
    content: '';
    height: 100%;
    left: 21px;
    position: absolute;
    top: 0;
    width: 6px;
}
.acct-track-hero-check {
    align-items: center;
    background: #4c8b58;
    border: 3px solid #b8d8a5;
    border-radius: 50%;
    bottom: 5px;
    color: #fff;
    display: flex;
    font-size: 15px;
    height: 35px;
    justify-content: center;
    position: absolute;
    right: 30px;
    width: 35px;
    z-index: 2;
}
.acct-track-hero-leaf { color: #75a56f; font-size: 37px; position: absolute; transform: rotate(42deg); }
.acct-track-hero-leaf-left { left: 4px; top: 17px; }
.acct-track-hero-leaf-right { right: 0; top: 1px; transform: rotate(-25deg); }
.acct-track-page .acct-container { padding-bottom: 50px; padding-top: 28px; }
.acct-track-card {
    background: #fff;
    border: 1px solid var(--acct-line);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(28, 52, 30, .04);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr);
    min-height: 380px;
    overflow: hidden;
}
.acct-track-form-side { padding: 24px 25px 21px; }
.acct-track-heading { align-items: flex-start; display: flex; gap: 13px; margin-bottom: 21px; }
.acct-track-heading-icon {
    align-items: center;
    background: #f2f7ef;
    border-radius: 9px;
    color: var(--acct-forest);
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 16px;
    height: 36px;
    justify-content: center;
}
.acct-track-heading h2 { color: var(--acct-forest); font-size: 24px; line-height: 1; margin: 0 0 7px; }
.acct-track-heading p { color: var(--acct-muted); font-size: 11px; line-height: 1.5; margin: 0; max-width: 335px; }
.acct-track-alert {
    align-items: center;
    background: #fff3f1;
    border: 1px solid #efc1bb;
    border-radius: 7px;
    color: #9a3b32;
    display: flex;
    font-size: 11px;
    gap: 8px;
    margin-bottom: 14px;
    padding: 9px 11px;
}
.acct-track-form { display: flex; flex-direction: column; gap: 12px; }
.acct-track-field label {
    align-items: center;
    color: #536058;
    display: flex;
    font-size: 9px;
    font-weight: 700;
    gap: 8px;
    letter-spacing: 1px;
    margin: 0 0 5px;
    text-transform: uppercase;
}
.acct-track-field-icon {
    align-items: center;
    background: #f2f7ef;
    border-radius: 6px;
    color: var(--acct-forest);
    display: inline-flex;
    font-size: 12px;
    height: 26px;
    justify-content: center;
    width: 26px;
}
.acct-track-field input {
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 20px;
    color: var(--acct-ink);
    font-family: inherit;
    font-size: 12px;
    height: 38px;
    outline: 0;
    padding: 0 15px;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.acct-track-field input::placeholder { color: #a9b1aa; }
.acct-track-field input:focus { border-color: var(--acct-leaf); box-shadow: 0 0 0 3px rgba(63, 119, 83, .1); }
.acct-track-submit { border-radius: 21px; font-size: 12px; margin-top: 2px; min-height: 36px; width: 100%; }
.acct-track-submit i { font-size: 11px; margin-left: 4px; }
.acct-track-divider { align-items: center; color: #a4aba4; display: flex; font-size: 9px; gap: 12px; justify-content: center; margin: 14px 0 12px; }
.acct-track-divider::before, .acct-track-divider::after { background: #ecefe8; content: ''; flex: 1; height: 1px; }
.acct-track-notice { align-items: center; background: #f4f8f1; border-radius: 7px; display: flex; gap: 10px; padding: 10px 12px; }
.acct-track-notice-icon { align-items: center; color: var(--acct-forest); display: inline-flex; font-size: 17px; justify-content: center; width: 22px; }
.acct-track-notice strong, .acct-track-notice small { display: block; }
.acct-track-notice strong { color: var(--acct-ink); font-size: 10px; font-weight: 600; line-height: 1.3; }
.acct-track-notice small { color: var(--acct-muted); font-size: 9px; margin-top: 3px; }
.acct-track-help { align-items: center; background: #fdfcf8; border-left: 1px solid var(--acct-line); display: flex; flex-direction: column; justify-content: center; padding: 24px 23px; text-align: center; }
.acct-track-route-art { background: #f4f7ef; border-radius: 50%; height: 145px; margin: 0 auto 16px; position: relative; width: 145px; }
.acct-track-pin { color: var(--acct-forest); font-size: 34px; left: 39px; position: absolute; top: 27px; }
.acct-track-route-line { border-bottom: 1px dashed #8e9f83; border-radius: 50%; border-right: 1px dashed #8e9f83; height: 45px; left: 59px; position: absolute; top: 50px; transform: rotate(8deg); width: 54px; }
.acct-track-truck { color: var(--acct-gold); font-size: 29px; position: absolute; right: 25px; top: 82px; transform: scaleX(-1); }
.acct-track-help h3 { color: var(--acct-forest); font-size: 18px; line-height: 1.1; margin: 0 0 16px; }
.acct-track-help-list { border: 1px solid #e7e9e2; border-radius: 8px; overflow: hidden; text-align: left; width: 100%; }
.acct-track-help-list > div { align-items: center; display: flex; gap: 11px; padding: 11px 13px; }
.acct-track-help-list > div + div { border-top: 1px solid #e7e9e2; }
.acct-track-help-list i { color: var(--acct-forest); font-size: 15px; text-align: center; width: 18px; }
.acct-track-help-list strong, .acct-track-help-list small { display: block; }
.acct-track-help-list strong { color: var(--acct-ink); font-size: 10px; font-weight: 600; line-height: 1.3; }
.acct-track-help-list small { color: var(--acct-muted); font-size: 9px; margin-top: 2px; }
.acct-track-support { align-items: center; background: #f4f8f1; border: 1px solid var(--acct-line); border-radius: 9px; display: flex; gap: 12px; margin-top: 14px; padding: 12px 17px; }
.acct-track-support-icon { align-items: center; background: #fff; border-radius: 50%; color: var(--acct-forest); display: inline-flex; flex: 0 0 31px; height: 31px; justify-content: center; }
.acct-track-support strong { color: var(--acct-ink); display: block; font-size: 10px; }
.acct-track-support p { color: var(--acct-muted); font-size: 9px; margin: 3px 0 0; }
.acct-track-support .acct-btn { margin-left: auto; min-height: 32px; }
.acct-track-guest-main { max-width: 780px; margin: 0 auto; width: 100%; }

@media (max-width: 760px) {
    .acct-track-hero-art { display: none; }
    .acct-track-card { grid-template-columns: 1fr; }
    .acct-track-help { border-left: 0; border-top: 1px solid var(--acct-line); }
}

@media (max-width: 520px) {
    .acct-track-hero h1 { font-size: 25px; }
    .acct-track-hero p { font-size: 11px; }
    .acct-track-form-side, .acct-track-help { padding: 20px 16px; }
    .acct-track-heading h2 { font-size: 22px; }
    .acct-track-heading p { font-size: 10px; }
    .acct-track-support { align-items: flex-start; flex-wrap: wrap; padding: 12px; }
    .acct-track-support .acct-btn { flex: 1 0 calc(100% - 43px); margin-left: 43px; }
}

.acct-detail-head { align-items: flex-start; display: flex; gap: 16px; justify-content: space-between; }
.acct-detail-head h2 { font-size: 18px; margin: 0; }
.acct-track-panel { padding: 20px; }
.acct-detail-timeline { display: flex; justify-content: space-between; margin: 26px 0 12px; position: relative; }
.acct-detail-timeline::before { background: #dce8da; content: ''; height: 2px; left: 15px; position: absolute; right: 15px; top: 15px; }
.acct-detail-step { color: #8a948d; flex: 1; font-size: 9px; min-width: 70px; position: relative; text-align: center; z-index: 1; }
.acct-detail-step span { align-items: center; background: #fff; border: 1px solid #cdd9ce; border-radius: 50%; display: flex; height: 30px; justify-content: center; margin: 0 auto 7px; width: 30px; }
.acct-detail-step.is-done { color: var(--acct-forest); }
.acct-detail-step.is-done span { background: var(--acct-forest); border-color: var(--acct-forest); color: #fff; }
.acct-track-message { color: #708078; font-size: 10px; }
.acct-detail-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); margin-top: 16px; }
.acct-detail-item { align-items: center; border-bottom: 1px solid var(--acct-line); display: flex; gap: 14px; justify-content: space-between; padding: 16px 20px; }
.acct-detail-item:last-child { border-bottom: 0; }
.acct-item-copy { align-items: center; display: flex; gap: 12px; min-width: 0; }
.acct-item-copy img { background: #f6f0d2; border: 3px solid #f6e8b8; border-radius: 7px; height: 58px; object-fit: cover; width: 52px; }
.acct-item-copy a { color: var(--acct-ink); display: block; font-size: 12px; font-weight: 700; }
.acct-item-copy span { color: var(--acct-muted); display: block; font-size: 10px; line-height: 1.6; }
.acct-item-price { font-size: 15px; font-weight: 800; white-space: nowrap; }
.acct-info-box { border-top: 1px solid var(--acct-line); color: #68736b; font-size: 10px; line-height: 1.7; padding: 14px 20px; }
.acct-info-box h4 { color: var(--acct-muted); font-size: 10px; letter-spacing: 1px; margin: 0 0 7px; text-transform: uppercase; }
.acct-summary { background: #f6f8f2; border-radius: 10px; padding: 20px; }
.acct-summary h3 { font-size: 13px; margin: 0 0 14px; }
.acct-summary-row { display: flex; font-size: 11px; justify-content: space-between; padding: 6px 0; }
.acct-summary-row.total { border-top: 1px solid #dfe6dc; font-size: 14px; font-weight: 800; margin-top: 7px; padding-top: 14px; }
.acct-payment { border-top: 1px solid #dfe6dc; font-size: 10px; line-height: 1.7; margin-top: 15px; padding-top: 15px; }

.acct-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 17px 20px 0; }
.acct-tab { background: #fff; border: 1px solid #d7dfd4; border-radius: 20px; color: var(--acct-ink); cursor: pointer; font-size: 10px; padding: 7px 12px; text-decoration: none; }
.acct-tab.active, .acct-tab:hover { background: var(--acct-forest); border-color: var(--acct-forest); color: #fff; text-decoration: none; }
.acct-subscription { border: 1px solid var(--acct-line); border-radius: 10px; margin: 16px 20px; padding: 17px; }
.acct-sub-top { align-items: flex-start; display: flex; gap: 14px; justify-content: space-between; }
.acct-sub-top h3 { font-size: 14px; margin: 0; }
.acct-sub-meta { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); margin: 18px 0; }
.acct-sub-meta label { color: var(--acct-muted); display: block; font-size: 8px; letter-spacing: .8px; margin-bottom: 4px; text-transform: uppercase; }
.acct-sub-meta span { font-size: 11px; }
.acct-progress-label { color: var(--acct-muted); display: flex; font-size: 10px; justify-content: space-between; margin-bottom: 5px; }
.acct-progress { background: #edf0ea; border-radius: 5px; height: 6px; overflow: hidden; }
.acct-progress span { background: var(--acct-leaf); border-radius: 5px; display: block; height: 100%; }
.acct-sub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.acct-sub-notice { background: #faf8f0; border-top: 1px solid var(--acct-line); color: #68736b; font-size: 10px; padding: 12px 16px; }
.acct-skip-tag, .acct-vacation-tag { border-radius: 10px; display: inline-block; font-size: 9px; margin-left: 5px; padding: 3px 7px; }
.acct-skip-tag { background: #fff3e0; color: #e67e22; }
.acct-vacation-tag { background: #e3f2fd; color: #1565c0; }

.acct-address-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
.acct-address { border: 1px solid var(--acct-line); border-radius: 10px; padding: 17px; position: relative; }
.acct-address.selected { background: #fffdf5; border: 1.5px solid var(--acct-gold); }
.acct-address-tag { background: #edf5e9; border-radius: 4px; color: var(--acct-leaf); display: inline-block; font-size: 8px; font-weight: 700; padding: 4px 7px; }
.acct-address-check { color: var(--acct-gold); position: absolute; right: 15px; top: 15px; }
.acct-address h3 { font-size: 13px; margin: 13px 0 4px; }
.acct-address-phone { color: var(--acct-muted); font-size: 10px; }
.acct-address p { color: #667169; font-size: 11px; line-height: 1.65; margin: 12px 0 18px; white-space: pre-line; }
.acct-address-actions { border-top: 1px solid var(--acct-line); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
.acct-add-address { align-items: center; background: #fcfef9; border: 1.5px dashed #c8d5c8; color: var(--acct-forest); cursor: pointer; display: grid; gap: 4px; justify-items: center; min-height: 170px; padding: 18px; text-align: center; }
.acct-add-address span { color: var(--acct-muted); font-size: 10px; }

@media (max-width: 900px) {
    .acct-order-body { grid-template-columns: 1fr; }
    .acct-order-amount { text-align: left; }
    .acct-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .acct-hero { padding: 20px 18px; }
    .acct-hero h1 { font-size: 29px; }
    .acct-container { padding: 18px 14px 44px; }
    .acct-layout { display: block; }
    .acct-sidebar { display: flex; margin-bottom: 18px; overflow-x: auto; }
    .acct-profile { flex: 0 0 190px; }
    .acct-nav { display: flex; }
    .acct-nav a { border-left: 1px solid #f0f0eb; border-top: 0; white-space: nowrap; }
    .acct-nav a.active { border-bottom: 3px solid var(--acct-gold); border-left: 1px solid #f0f0eb; padding-left: 15px; }
    .acct-nav a.logout { display: none; }
    .acct-panel-head { align-items: flex-start; flex-wrap: wrap; }
    .acct-sub-meta { grid-template-columns: repeat(2, 1fr); }
    .acct-address-grid { grid-template-columns: 1fr; padding: 14px; }
    .acct-detail-timeline { overflow-x: auto; }
    .acct-detail-step { flex: 0 0 88px; }
}

@media (max-width: 480px) {
    .acct-order-head, .acct-detail-head, .acct-sub-top { flex-direction: column; }
    .acct-order-side { align-items: flex-start; }
    .acct-order-body { gap: 16px; padding-top: 16px; }
    .acct-panel-head { padding: 16px; }
    .acct-order { padding: 16px; }
    .acct-actions .acct-btn, .acct-sub-actions .acct-btn { flex: 1 1 auto; }
    .acct-detail-item { align-items: flex-start; }
    .acct-item-price { font-size: 13px; }
}

/* My Orders: reference-specific controls, cards and service rail. */
.acct-orders-hero {
    background:
        radial-gradient(circle at 79% 25%, rgba(88,133,65,.3), transparent 15%),
        radial-gradient(circle at 67% 115%, rgba(7,34,20,.72), transparent 31%),
        linear-gradient(104deg, #0c361f, #123f27 59%, #092d1a);
    min-height: 104px;
    overflow: hidden;
    position: relative;
}

.acct-orders-hero > *:not(.acct-orders-hero-art) { position: relative; z-index: 1; }
.acct-orders-hero-art { bottom: -6px; color: rgba(205,166,51,.56); font-size: 57px; position: absolute; right: max(42px, calc((100% - 1160px) / 2)); transform: rotate(-5deg); }
.acct-orders-hero-art .fa-leaf { bottom: -12px; font-size: 46px; left: -35px; position: absolute; transform: rotate(-45deg); }

.acct-orders-controls {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin: 11px 0 20px;
}

.acct-order-tabs { display: flex; flex: 1; flex-wrap: wrap; gap: 7px; }
.acct-order-tabs a { background: transparent; border: 1px solid transparent; border-radius: 17px; color: #4e5b53; font-size: 10px; padding: 7px 9px; text-decoration: none; white-space: nowrap; }
.acct-order-tabs a:hover { background: #f3f5ef; color: var(--acct-forest); }
.acct-order-tabs a.active { background: var(--acct-forest); color: #fff; font-weight: 700; }
.acct-order-tabs a span { background: rgba(255,255,255,.65); border-radius: 9px; color: #516057; font-size: 9px; margin-left: 4px; padding: 1px 5px; }
.acct-order-tabs a.active span { background: rgba(255,255,255,.18); color: #fff; }

.acct-order-tools { align-items: center; display: flex; gap: 10px; }
.acct-order-search { align-items: center; background: #fff; border: 1px solid #dbe2d9; border-radius: 6px; color: #718078; display: flex; gap: 8px; height: 34px; padding: 0 10px; width: 168px; }
.acct-order-search input { background: transparent; border: 0; color: var(--acct-ink); font-size: 10px; min-width: 0; outline: none; width: 100%; }
.acct-order-search input::placeholder { color: #9aa49c; }
.acct-order-filter { position: relative; }
.acct-order-filter summary { list-style: none; }
.acct-order-filter summary::-webkit-details-marker { display: none; }
.acct-order-filter .acct-btn { min-height: 34px; padding: 7px 11px; }
.acct-filter-menu { background: #fff; border: 1px solid var(--acct-line); border-radius: 8px; box-shadow: 0 12px 28px rgba(20,51,31,.14); display: grid; gap: 8px; padding: 12px; position: absolute; right: 0; top: calc(100% + 7px); width: 170px; z-index: 4; }
.acct-filter-menu label { color: var(--acct-muted); font-size: 10px; font-weight: 700; }
.acct-filter-menu select { border: 1px solid #ced8cd; border-radius: 5px; color: var(--acct-ink); font-size: 10px; padding: 7px; }

.acct-orders-content { align-items: start; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) 204px; }
.acct-orders-list { min-width: 0; }
.acct-order-card { background: #fff; border: 1px solid #edf0e9; border-radius: 9px; box-shadow: 0 3px 10px rgba(27,51,35,.035); margin-bottom: 14px; overflow: hidden; }
.acct-order-card-head { align-items: center; border-bottom: 1px solid #edf0e9; display: grid; gap: 10px; grid-template-columns: minmax(175px, 1fr) auto auto 15px; padding: 15px 16px 12px; }
.acct-order-card-head h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; font-weight: 700; line-height: 1.1; margin: 0; }
.acct-order-card-head > div:first-child span { color: #66746b; display: block; font-size: 9px; margin-top: 5px; }
.acct-order-card-head .acct-status { font-size: 9px; padding: 4px 8px; }
.acct-order-card-total { border-left: 1px solid #e9eee7; padding-left: 15px; text-align: right; }
.acct-order-card-total small { color: #627066; display: block; font-size: 8px; }
.acct-order-card-total b { color: var(--acct-forest); display: block; font-size: 14px; margin-top: 3px; }
.acct-order-chevron { align-items: center; color: var(--acct-forest); display: flex; font-size: 19px; justify-content: center; text-decoration: none; }

.acct-order-card-body { align-items: center; display: grid; gap: 17px; grid-template-columns: 205px minmax(0, 1fr); padding: 15px 16px; }
.acct-order-product { align-items: center; border-right: 1px solid #eef1ec; display: flex; gap: 12px; min-width: 0; padding-right: 15px; }
.acct-order-product img { border-radius: 4px; height: 70px; object-fit: cover; width: 58px; }
.acct-order-product div { min-width: 0; }
.acct-order-product strong { color: #1e3625; display: block; font-size: 11px; line-height: 1.35; }
.acct-order-product span { color: #66746b; display: block; font-size: 9px; margin-top: 5px; }

.acct-order-progress { display: flex; justify-content: space-between; position: relative; }
.acct-order-progress::before { background: #dfe7dd; content: ''; height: 1px; left: 8%; position: absolute; right: 8%; top: 9px; }
.acct-order-progress-step { color: #6b756f; flex: 1; font-size: 8px; min-width: 0; position: relative; text-align: center; z-index: 1; }
.acct-order-progress-step > i { align-items: center; background: #fff; border: 1px solid #bfcac0; border-radius: 50%; display: flex; font-size: 8px; height: 19px; justify-content: center; margin: 0 auto 7px; width: 19px; }
.acct-order-progress-step.done { color: #143f28; }
.acct-order-progress-step.done > i { background: #277443; border-color: #277443; color: #fff; }
.acct-order-progress-step strong { display: block; font-size: 8px; font-weight: 700; white-space: nowrap; }
.acct-order-progress-step small { color: #6c766f; display: block; font-size: 7px; margin-top: 4px; }

.acct-order-card-actions { align-items: center; border-top: 1px solid #edf0e9; display: flex; flex-wrap: wrap; gap: 9px; padding: 11px 16px; }
.acct-order-card-actions form { margin: 0; }
.acct-order-card-actions .acct-btn { font-size: 10px; min-height: 30px; padding: 6px 12px; }
.acct-order-cancel { margin-left: auto; }
.acct-orders-note { align-items: center; background: #fff; border: 1px solid #edf0e9; border-radius: 7px; color: #617067; display: flex; font-size: 9px; justify-content: space-between; margin-top: 14px; padding: 13px 16px; }
.acct-orders-note i { margin-right: 6px; }
.acct-orders-note a { color: #5c6e60; font-weight: 700; text-decoration: none; }

.acct-orders-aside { display: grid; gap: 14px; }
.acct-aside-card { background: #f9fbf6; border: 1px solid #e8eee3; border-radius: 8px; padding: 15px 14px; }
.acct-aside-card h2 { color: #1b3926; font-size: 15px; margin: 0 0 14px; }
.acct-benefits { display: grid; gap: 13px; list-style: none; margin: 0; padding: 0; }
.acct-benefits li { align-items: center; display: flex; gap: 9px; }
.acct-benefits li > i { align-items: center; border: 1px solid #cbd8c9; border-radius: 50%; color: #365d41; display: flex; font-size: 10px; height: 26px; justify-content: center; width: 26px; }
.acct-benefits b, .acct-benefits small { display: block; }
.acct-benefits b { color: #344a3a; font-size: 9px; }
.acct-benefits small { color: #768178; font-size: 8px; margin-top: 2px; }
.acct-help-card p { color: #738078; font-size: 9px; line-height: 1.5; margin: -5px 0 13px; }
.acct-help-card .acct-btn { font-size: 10px; min-height: 31px; width: 100%; }
.acct-orders-empty { background: #fff; border: 1px solid var(--acct-line); border-radius: 9px; }

@media (max-width: 1040px) {
    .acct-orders-content { grid-template-columns: minmax(0, 1fr) 185px; }
    .acct-order-card-body { grid-template-columns: 175px minmax(0, 1fr); }
    .acct-order-product { padding-right: 10px; }
}

@media (max-width: 900px) {
    .acct-orders-content { grid-template-columns: 1fr; }
    .acct-orders-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .acct-orders-controls { align-items: stretch; flex-direction: column; }
    .acct-order-tools { justify-content: space-between; }
    .acct-order-search { flex: 1; width: auto; }
    .acct-order-card-head { grid-template-columns: 1fr auto 14px; }
    .acct-order-card-head > .acct-status { grid-column: 1 / 2; justify-self: start; }
    .acct-order-card-total { grid-column: 2 / 3; grid-row: 1 / 3; }
    .acct-order-chevron { grid-column: 3 / 4; grid-row: 1 / 3; }
    .acct-order-card-body { grid-template-columns: 1fr; }
    .acct-order-product { border-bottom: 1px solid #eef1ec; border-right: 0; padding: 0 0 13px; }
    .acct-order-progress { padding-top: 2px; }
}

@media (max-width: 520px) {
    .acct-orders-hero-art { font-size: 43px; right: 28px; }
    .acct-orders-aside { grid-template-columns: 1fr; }
    .acct-order-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
    .acct-order-tabs a { flex: 0 0 auto; }
    .acct-order-card-head { padding: 14px 13px 11px; }
    .acct-order-card-body { padding: 13px; }
    .acct-order-card-actions { padding: 10px 13px; }
    .acct-order-card-actions .acct-btn { flex: 1 1 calc(50% - 5px); }
    .acct-order-card-actions form { display: flex; flex: 1 1 calc(50% - 5px); }
    .acct-order-card-actions form .acct-btn { flex: 1; }
    .acct-order-cancel { margin-left: 0; }
    .acct-order-progress { min-width: 430px; }
    .acct-order-card-body { overflow: hidden; }
    .acct-order-card-body > .acct-order-progress { overflow-x: auto; padding-bottom: 4px; }
    .acct-orders-note { align-items: flex-start; flex-direction: column; gap: 9px; }
}

/* Order details: the full reference composition. */
.acct-order-detail-page { background: #fdfcf8; }
.acct-detail-container { margin: 0 auto; max-width: 1180px; padding: 14px 24px 28px; }
.acct-order-detail-page .acct-layout { gap: 26px; }
.acct-detail-breadcrumb { align-items: center; color: #728077; display: flex; flex-wrap: wrap; font-size: 9px; gap: 8px; margin: 1px 0 9px; }
.acct-detail-breadcrumb a { color: #68756c; text-decoration: none; }
.acct-detail-breadcrumb a:hover { color: var(--acct-forest); }
.acct-detail-order-head { align-items: center; display: flex; gap: 18px; justify-content: space-between; }
.acct-detail-title-line { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.acct-detail-title-line h1 { color: #17281d; font-size: 27px; line-height: 1; margin: 0; }
.acct-detail-title-line .acct-status { font-size: 9px; padding: 5px 9px; }
.acct-detail-placed { color: #68756c; display: block; font-size: 9px; margin-top: 7px; }
.acct-detail-head-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.acct-detail-head-actions form { margin: 0; }
.acct-detail-head-actions .acct-btn { min-height: 31px; padding: 7px 13px; }

.acct-confirm-dialog {
    align-items: center;
    background: rgba(20, 31, 24, .54);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 1100;
}
.acct-confirm-dialog[hidden] { display: none; }
.acct-confirm-dialog__panel {
    background: #fffdf8;
    border: 1px solid #eadfcd;
    border-radius: 16px;
    box-shadow: 0 22px 60px rgba(25, 39, 29, .28);
    max-width: 430px;
    padding: 31px;
    position: relative;
    text-align: center;
    width: 100%;
}
.acct-confirm-dialog__close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: #6b746d;
    cursor: pointer;
    display: inline-flex;
    font-size: 18px;
    height: 32px;
    justify-content: center;
    position: absolute;
    right: 13px;
    top: 13px;
    width: 32px;
}
.acct-confirm-dialog__close:hover,
.acct-confirm-dialog__close:focus { background: #f3eee5; color: #1e5137; outline: none; }
.acct-confirm-dialog__icon {
    align-items: center;
    background: #fff0ed;
    border-radius: 50%;
    color: #b8524d;
    display: inline-flex;
    font-size: 22px;
    height: 54px;
    justify-content: center;
    margin-bottom: 16px;
    width: 54px;
}
.acct-confirm-dialog h2 { color: #204a35; font-size: 26px; margin: 0 0 9px; }
.acct-confirm-dialog p { color: #667168; font-size: 14px; line-height: 1.55; margin: 0 auto; max-width: 340px; }
.acct-confirm-dialog__actions { display: flex; gap: 10px; justify-content: center; margin-top: 25px; }
.acct-confirm-dialog__actions .acct-btn { min-width: 132px; }
.acct-detail-tracker { display: flex; justify-content: space-between; margin: 27px 4px 26px; position: relative; }
.acct-detail-tracker::before { background: #bdc9be; content: ''; height: 2px; left: 5%; position: absolute; right: 5%; top: 16px; }
.acct-detail-track-step { color: #6e7971; flex: 1; font-size: 9px; min-width: 72px; position: relative; text-align: center; z-index: 1; }
.acct-detail-track-step span { align-items: center; background: #fff; border: 1px solid #b7c1b8; border-radius: 50%; display: flex; height: 32px; justify-content: center; margin: 0 auto 7px; width: 32px; }
.acct-detail-track-step span i { font-size: 12px; }
.acct-detail-track-step strong { display: block; font-size: 9px; font-weight: 700; white-space: nowrap; }
.acct-detail-track-step small { display: block; font-size: 8px; margin-top: 5px; }
.acct-detail-track-step.is-done { color: #153d26; }
.acct-detail-track-step.is-done span { background: #287343; border-color: #287343; color: #fff; }
.acct-detail-main-grid { align-items: start; display: grid; gap: 17px; grid-template-columns: minmax(0, 1.65fr) minmax(235px, .9fr); }
.acct-detail-items-card, .acct-detail-summary-card, .acct-detail-info-card { background: #fff; border: 1px solid #e8ece5; border-radius: 9px; box-shadow: 0 2px 8px rgba(23,55,32,.025); }
.acct-detail-items-card { overflow: hidden; }
.acct-detail-product { align-items: center; display: grid; gap: 15px; grid-template-columns: 116px minmax(0, 1fr) auto; padding: 20px 16px; }
.acct-detail-product + .acct-detail-product { border-top: 1px solid #edf0ea; }
.acct-detail-product > img { background: #f8f1d8; border-radius: 8px; height: 118px; object-fit: cover; padding: 4px; width: 116px; }
.acct-detail-product-copy { min-width: 0; }
.acct-detail-product-copy a { color: #183621; display: block; font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.acct-detail-product-copy span { color: #69766d; display: block; font-size: 10px; margin-top: 5px; }
.acct-detail-product-total { color: #182d20; font-size: 15px; white-space: nowrap; }
.acct-refund-danger { color: #ad4b43 !important; }
.acct-refund-success { color: #31764a !important; }
.acct-detail-summary-card { padding: 17px 16px; }
.acct-detail-summary-card h2 { border-bottom: 1px solid #e9ede7; color: #26392b; font-size: 14px; margin: 0 0 7px; padding-bottom: 10px; }
.acct-detail-summary-card .acct-summary-row { font-size: 10px; padding: 7px 0; }
.acct-detail-summary-card .acct-summary-row.total { color: #193624; font-size: 14px; margin-top: 7px; padding-top: 15px; }
.acct-free, .acct-discount { color: #2f7948; }
.acct-detail-info-grid { display: grid; gap: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 17px; }
.acct-detail-info-card { min-height: 142px; padding: 16px; }
.acct-detail-info-card header { align-items: center; display: flex; gap: 9px; margin-bottom: 14px; }
.acct-detail-info-card header > i { color: #234e32; font-size: 16px; }
.acct-detail-info-card header h2 { color: #233629; font-size: 14px; margin: 0; }
.acct-detail-info-card header a { color: #1f3e2a; margin-left: auto; }
.acct-detail-info-card p { color: #4f5f54; font-size: 10px; line-height: 1.6; margin: 0; }
.acct-detail-info-card p strong { color: #223629; }
.acct-detail-info-card dl { margin: 0; }
.acct-detail-info-card dl div { align-items: baseline; display: flex; font-size: 10px; gap: 10px; justify-content: space-between; margin-bottom: 11px; }
.acct-detail-info-card dt { color: #546359; }
.acct-detail-info-card dd { color: #23372a; margin: 0; text-align: right; }
.acct-paid { background: #e7f4e6; border-radius: 10px; color: #2f7948; font-size: 9px; font-weight: 700; padding: 4px 8px; }
.acct-detail-help-card p { margin-bottom: 15px; }
.acct-detail-help-card .acct-btn { min-height: 32px; width: 100%; }
.acct-detail-benefits { align-items: center; background: #e7f5e4; border: 1px solid #d7ead1; border-radius: 9px; color: #2d5637; display: flex; font-size: 10px; gap: 0; justify-content: space-around; margin-top: 17px; padding: 11px 15px; }
.acct-detail-benefits span { padding: 0 17px; text-align: center; }
.acct-detail-benefits span + span { border-left: 1px solid #bcd4b9; }
.acct-detail-benefits i { color: #36844c; font-size: 14px; margin-right: 7px; }
.acct-detail-benefits b { color: #1b4729; }

@media (max-width: 1000px) {
    .acct-detail-main-grid { grid-template-columns: minmax(0, 1.4fr) minmax(200px, .8fr); }
    .acct-detail-product { grid-template-columns: 90px minmax(0, 1fr) auto; }
    .acct-detail-product > img { height: 90px; width: 90px; }
}

@media (max-width: 820px) {
    .acct-detail-order-head { align-items: flex-start; flex-direction: column; }
    .acct-detail-head-actions { justify-content: flex-start; }
    .acct-detail-info-grid { grid-template-columns: 1fr 1fr; }
    .acct-detail-help-card { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    .acct-detail-container { padding: 14px 14px 35px; }
    .acct-detail-main-grid, .acct-detail-info-grid { grid-template-columns: 1fr; }
    .acct-detail-help-card { grid-column: auto; }
    .acct-detail-tracker { justify-content: flex-start; margin-left: 0; margin-right: 0; overflow-x: auto; padding-bottom: 5px; }
    .acct-detail-tracker::before { left: 36px; right: 36px; width: 610px; }
    .acct-detail-track-step { flex: 0 0 118px; }
    .acct-detail-benefits { align-items: stretch; flex-wrap: wrap; justify-content: flex-start; }
    .acct-detail-benefits span { flex: 1 1 50%; padding: 7px 8px; }
    .acct-detail-benefits span:nth-child(odd) { border-left: 0; }
    .acct-detail-product { grid-template-columns: 78px minmax(0, 1fr); padding: 14px; }
    .acct-detail-product > img { height: 78px; width: 78px; }
    .acct-detail-product-total { grid-column: 2; }
}

/* Saved addresses: compact account page matching the approved reference. */
.acct-address-page { background: #fbfcfa; }
.acct-address-container { margin: 0 auto; max-width: 1180px; padding: 21px 24px 25px; }
.acct-address-page .acct-layout { gap: 30px; }
.acct-address-page .acct-sidebar { border-radius: 7px; }
.acct-address-page .acct-profile { background: linear-gradient(135deg, #0a3c24, #062e1b); color: #fff; min-height: 77px; }
.acct-address-page .acct-profile small { color: rgba(255,255,255,.72); }
.acct-address-page .acct-avatar { background: transparent; border-color: #c89b35; }
.acct-address-page .acct-nav a { min-height: 43px; padding: 11px 15px; }
.acct-address-page .acct-nav a.active { background: #fbf5e5; }
.acct-address-breadcrumb { align-items: center; color: #758178; display: flex; flex-wrap: wrap; font-size: 9px; gap: 8px; margin: 0 0 13px; }
.acct-address-breadcrumb a { color: #68766d; text-decoration: none; }
.acct-address-breadcrumb a:hover { color: var(--acct-forest); }
.acct-address-page-head { align-items: center; display: flex; gap: 16px; justify-content: space-between; margin-bottom: 21px; }
.acct-address-page-head h1 { color: #1a2b20; font-size: 26px; line-height: 1; margin: 0; }
.acct-address-page-head p { color: #67756b; font-size: 10px; margin: 8px 0 0; }
.acct-address-page-head .acct-btn { min-height: 38px; padding: 9px 16px; }
.acct-address-grid-v2 { display: grid; gap: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.acct-address-card-v2 { background: #fff; border: 1px solid #e1e8df; border-radius: 9px; display: flex; flex-direction: column; min-height: 263px; overflow: hidden; padding: 16px 17px 0; }
.acct-address-card-v2.is-default { border-color: #d9e5d7; box-shadow: 0 4px 11px rgba(31,73,42,.035); }
.acct-address-card-head-v2 { align-items: center; display: flex; gap: 8px; justify-content: space-between; min-height: 23px; }
.acct-address-type { background: #e6f1e6; border-radius: 4px; color: #316346; font-size: 9px; font-weight: 700; padding: 4px 8px; text-transform: capitalize; }
.acct-address-default-badge { align-items: center; color: #287443; display: inline-flex; font-size: 9px; font-weight: 700; gap: 4px; text-align: right; }
.acct-address-set-default { background: transparent; border: 0; color: #4a574e; cursor: pointer; font-size: 9px; padding: 3px 0; }
.acct-address-set-default:hover { color: #195a32; text-decoration: underline; }
.acct-address-card-copy { padding-top: 12px; }
.acct-address-card-copy h2 { color: #172a1d; font-size: 13px; margin: 0 0 5px; }
.acct-address-phone-v2 { color: #25342b; display: block; font-size: 10px; }
.acct-address-card-copy p { color: #3f4d43; font-size: 10px; line-height: 1.62; margin: 12px 0 8px; }
.acct-address-badges { margin-top: auto; padding: 3px 0 12px; }
.acct-address-badges span { background: #e5f3e4; border-radius: 4px; color: #2d7544; display: inline-block; font-size: 9px; font-weight: 700; padding: 4px 8px; }
.acct-address-card-actions-v2 { align-items: center; border-top: 1px solid #ecf0ea; display: grid; grid-template-columns: 1fr 1px 1fr; margin: 0 -17px; min-height: 44px; }
.acct-address-card-actions-v2 > span { background: #e8ece7; height: 21px; justify-self: center; }
.acct-address-card-actions-v2 a { color: #26362b; font-size: 10px; font-weight: 600; justify-self: center; text-decoration: none; }
.acct-address-card-actions-v2 a:hover { color: var(--acct-forest); text-decoration: underline; }
.acct-address-card-actions-v2 a.is-danger { color: #b94d49; }
.acct-address-card-actions-v2 a.is-danger:hover { color: #963d38; }
.acct-address-add-card { align-content: center; align-items: center; background: #fdfefb; border: 1.5px dashed #bdcdbb; border-radius: 9px; color: #183f28; display: grid; justify-items: center; min-height: 263px; padding: 22px; text-align: center; text-decoration: none; }
.acct-address-add-card:hover { background: #f4faef; border-color: #2f7546; color: #183f28; text-decoration: none; }
.acct-address-add-icon { align-items: center; background: #e5f4e4; border-radius: 50%; display: inline-flex; font-size: 17px; height: 35px; justify-content: center; margin-bottom: 7px; width: 35px; }
.acct-address-add-card strong { font-size: 12px; }
.acct-address-add-card > span:last-child { color: #617066; font-size: 9px; line-height: 1.6; margin-top: 7px; max-width: 164px; }
.acct-address-empty { align-items: center; background: #f9fbf7; border: 1px dashed #c6d5c5; border-radius: 8px; color: #577062; display: flex; flex-direction: column; font-size: 11px; justify-content: center; margin-bottom: 15px; min-height: 128px; padding: 18px; text-align: center; }
.acct-address-empty i { color: #437e53; font-size: 23px; margin-bottom: 8px; }
.acct-address-empty strong { color: #254432; font-size: 13px; margin-bottom: 5px; }
.acct-address-security { align-items: center; background: linear-gradient(90deg, #f0f8ef, #f8fbf6); border: 1px solid #dce9db; border-radius: 8px; display: flex; gap: 13px; margin-top: 20px; padding: 12px 17px; }
.acct-address-security > span { align-items: center; border: 1px solid #315e42; border-radius: 50%; color: #1e5030; display: inline-flex; flex: 0 0 25px; height: 25px; justify-content: center; }
.acct-address-security strong { color: #264432; display: block; font-size: 10px; }
.acct-address-security p { color: #5c6b60; font-size: 9px; margin: 4px 0 0; }
.acct-address-benefits { background: linear-gradient(105deg, #06361e, #0b4828 56%, #06331c); border-top: 1px solid rgba(203,164,55,.35); color: #fff; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; padding: 16px max(24px, calc((100% - 1120px) / 2)); }
.acct-address-benefits > div { align-items: center; border-right: 1px solid rgba(255,255,255,.16); display: grid; gap: 1px 10px; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; padding: 0 20px; }
.acct-address-benefits > div:last-child { border-right: 0; }
.acct-address-benefits span { align-items: center; border: 1px solid rgba(209,167,54,.72); border-radius: 50%; color: #d5ab43; display: inline-flex; font-size: 15px; grid-row: 1 / 3; height: 35px; justify-content: center; width: 35px; }
.acct-address-benefits strong { font-size: 10px; }
.acct-address-benefits small { color: rgba(255,255,255,.68); font-size: 8px; }

@media (max-width: 1040px) {
    .acct-address-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .acct-address-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
    .acct-address-benefits > div:nth-child(2) { border-right: 0; }
}

@media (max-width: 760px) {
    .acct-address-container { padding: 15px 14px 24px; }
    .acct-address-page-head { align-items: flex-start; flex-direction: column; margin-bottom: 16px; }
    .acct-address-page-head .acct-btn { width: 100%; }
    .acct-address-benefits { padding: 16px 14px; }
}

@media (max-width: 540px) {
    .acct-address-grid-v2 { grid-template-columns: 1fr; }
    .acct-address-card-v2, .acct-address-add-card { min-height: 225px; }
    .acct-address-benefits { grid-template-columns: 1fr; }
    .acct-address-benefits > div { border-bottom: 1px solid rgba(255,255,255,.16); border-right: 0; padding: 0 4px 12px; }
    .acct-address-benefits > div + div { padding-top: 12px; }
    .acct-address-benefits > div:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* Address add/edit: use the same account shell while leaving form contracts intact. */
.acct-address-form-hero {
    background:
        radial-gradient(circle at 76% 30%, rgba(93, 138, 75, .32), transparent 18%),
        linear-gradient(104deg, #0c361f, #123f27 59%, #092d1a);
}
.acct-address-form-card {
    background: #fff;
    border: 1px solid #e1e8df;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(25, 60, 37, .04);
    overflow: hidden;
}
.acct-address-form-head {
    align-items: center;
    background: linear-gradient(90deg, #f6faf3, #fbfcf9);
    border-bottom: 1px solid #e7ede5;
    display: flex;
    gap: 12px;
    padding: 18px 20px;
}
.acct-address-form-head > span {
    align-items: center;
    background: #e5f2e4;
    border: 1px solid #cde1ca;
    border-radius: 50%;
    color: #245b35;
    display: inline-flex;
    flex: 0 0 35px;
    height: 35px;
    justify-content: center;
}
.acct-address-form-head h2 { color: #1c3324; font-size: 15px; margin: 0; }
.acct-address-form-head p { color: #68776d; font-size: 10px; margin: 4px 0 0; }
.acct-address-form { padding: 20px; }
.acct-address-form-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.acct-address-field { display: block; margin: 0; min-width: 0; }
.acct-address-field-wide { grid-column: 1 / -1; }
.acct-address-field > span {
    color: #526157;
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .65px;
    margin-bottom: 7px;
    text-transform: uppercase;
}
.acct-address-field > span b { color: #b54e47; }
.acct-address-field input,
.acct-address-field select {
    appearance: none;
    background: #fff;
    border: 1px solid #d7e0d5;
    border-radius: 6px;
    color: #24352a;
    font-family: inherit;
    font-size: 12px;
    min-height: 39px;
    outline: none;
    padding: 8px 11px;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.acct-address-field select {
    appearance: auto;
    cursor: pointer;
}
.acct-address-field input::placeholder { color: #a1aaa3; }
.acct-address-field input:focus,
.acct-address-field select:focus {
    border-color: #4e805d;
    box-shadow: 0 0 0 3px rgba(78, 128, 93, .12);
}
.acct-address-form-actions {
    border-top: 1px solid #edf1eb;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin: 22px -20px -20px;
    padding: 14px 20px;
}

@media (max-width: 640px) {
    .acct-address-form { padding: 16px; }
    .acct-address-form-grid { gap: 14px; grid-template-columns: 1fr; }
    .acct-address-field-wide { grid-column: auto; }
    .acct-address-form-actions { margin: 18px -16px -16px; padding: 13px 16px; }
    .acct-address-form-actions .acct-btn { flex: 1; }
}

/* Profile and wishlist: complete the same account shell for the two personal surfaces. */
.acct-profile-page,
.acct-wishlist-page { background: #fbfcfa; }
.acct-profile-hero,
.acct-wishlist-hero {
    background:
        radial-gradient(circle at 79% 22%, rgba(86, 132, 70, .28), transparent 18%),
        linear-gradient(104deg, #0b351f, #123f27 59%, #092d1a);
    min-height: 108px;
    overflow: hidden;
    position: relative;
}
.acct-profile-hero > *,
.acct-wishlist-hero > * { position: relative; z-index: 1; }
.acct-profile-hero-art,
.acct-wishlist-hero-art {
    bottom: -8px;
    color: rgba(207, 170, 64, .55);
    font-size: 59px;
    position: absolute;
    right: max(42px, calc((100% - 1160px) / 2));
    transform: rotate(-7deg);
}
.acct-profile-hero-art .fa-leaf,
.acct-wishlist-hero-art .fa-leaf {
    bottom: -14px;
    font-size: 47px;
    left: -35px;
    position: absolute;
    transform: rotate(-45deg);
}
.acct-profile-page .acct-container,
.acct-wishlist-page .acct-container { padding-top: 25px; }
.acct-profile-page .acct-sidebar,
.acct-wishlist-page .acct-sidebar { border-radius: 8px; }
.acct-profile-page .acct-profile,
.acct-wishlist-page .acct-profile {
    background: linear-gradient(135deg, #0a3c24, #062e1b);
    color: #fff;
    min-height: 77px;
}
.acct-profile-page .acct-profile small,
.acct-wishlist-page .acct-profile small { color: rgba(255,255,255,.72); }
.acct-profile-page .acct-avatar,
.acct-wishlist-page .acct-avatar { background: transparent; border-color: #c89b35; }
.acct-profile-page .acct-nav a,
.acct-wishlist-page .acct-nav a { min-height: 43px; }
.acct-profile-form { padding: 22px 24px 0; }
.acct-profile-identity {
    align-items: center;
    background: linear-gradient(90deg, #f4f8f0, #fbfcf9);
    border: 1px solid #e6ede3;
    border-radius: 9px;
    display: flex;
    gap: 15px;
    margin-bottom: 24px;
    padding: 15px 17px;
}
.acct-profile-avatar {
    background: #e8f1e4;
    border: 2px solid var(--acct-gold);
    border-radius: 50%;
    flex: 0 0 68px;
    height: 68px;
    overflow: hidden;
    width: 68px;
}
.acct-profile-avatar img { height: 100%; object-fit: cover; width: 100%; }
.acct-profile-identity-copy { min-width: 0; }
.acct-profile-identity-copy strong,
.acct-profile-identity-copy span,
.acct-profile-identity-copy label { display: block; }
.acct-profile-identity-copy strong { color: #1b3524; font-size: 16px; }
.acct-profile-identity-copy > span { color: var(--acct-muted); font-size: 10px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; }
.acct-profile-identity-copy label { color: #a47720; cursor: pointer; font-size: 10px; font-weight: 700; margin-top: 9px; }
.acct-profile-identity-copy label:hover { color: var(--acct-forest); }
.acct-profile-identity-copy label small { color: var(--acct-muted); font-size: 9px; font-weight: 400; }
.acct-profile-section-label {
    align-items: center;
    border-bottom: 1px solid #edf0eb;
    color: #1d432a;
    display: flex;
    font-size: 11px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: .45px;
    margin: 21px 0 15px;
    padding-bottom: 9px;
    text-transform: uppercase;
}
.acct-profile-section-label i { color: var(--acct-leaf); font-size: 13px; width: 15px; }
.acct-profile-section-label small { color: var(--acct-muted); font-size: 9px; font-weight: 400; letter-spacing: 0; margin-left: auto; text-transform: none; }
.acct-profile-form-grid { display: grid; gap: 15px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acct-profile-field { display: block; margin: 0; min-width: 0; }
.acct-profile-field > span {
    color: #536057;
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.acct-profile-field > span b { color: #b64f48; }
.acct-profile-field input {
    background: #fff;
    border: 1px solid #d9e2d6;
    border-radius: 6px;
    color: var(--acct-ink);
    font-family: inherit;
    font-size: 12px;
    min-height: 39px;
    outline: 0;
    padding: 8px 11px;
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
}
.acct-profile-field input:focus { border-color: var(--acct-leaf); box-shadow: 0 0 0 3px rgba(63,119,83,.1); }
.acct-profile-field input:disabled,
.acct-profile-field input:read-only { background: #f7f9f5; color: #67736b; }
.acct-profile-field input::placeholder { color: #a2aaa3; }
.acct-profile-field > small { color: var(--acct-muted); display: block; font-size: 9px; line-height: 1.4; margin-top: 5px; }
.acct-profile-field > small.is-error { color: #a13d36; }
.acct-profile-field > small.is-success { color: #2e7348; }
.acct-profile-actions {
    align-items: center;
    border-top: 1px solid #edf0eb;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin: 25px -24px 0;
    padding: 15px 24px;
}
.acct-profile-actions .acct-btn { min-height: 36px; }
.acct-profile-note {
    align-items: flex-start;
    background: #f1f8ef;
    border: 1px solid #dcebd8;
    border-radius: 8px;
    color: #5e7164;
    display: flex;
    font-size: 10px;
    gap: 9px;
    line-height: 1.55;
    margin-top: 14px;
    padding: 12px 14px;
}
.acct-profile-note i { color: var(--acct-leaf); font-size: 13px; margin-top: 1px; }

.acct-wishlist-panel-head { align-items: center; }
.acct-wishlist-search {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e1d6;
    border-radius: 20px;
    display: flex;
    gap: 8px;
    height: 35px;
    max-width: 260px;
    padding-left: 12px;
    width: 100%;
}
.acct-wishlist-search > i { color: var(--acct-leaf); font-size: 11px; }
.acct-wishlist-search input {
    background: transparent;
    border: 0;
    color: var(--acct-ink);
    font-family: inherit;
    font-size: 10px;
    min-width: 0;
    outline: 0;
    width: 100%;
}
.acct-wishlist-search input::placeholder { color: #9aa49c; }
.acct-wishlist-search button {
    background: var(--acct-forest);
    border: 0;
    border-radius: 0 19px 19px 0;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    height: 35px;
    padding: 0 13px;
}
.acct-wishlist-search button:hover { background: var(--acct-forest-2); }
.acct-wishlist-body { padding: 20px; }
.acct-wishlist-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.acct-wishlist-card {
    background: #fff;
    border: 1px solid #e4ebe1;
    border-radius: 9px;
    display: flex;
    min-width: 0;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.acct-wishlist-card:hover { border-color: #cbdcc8; box-shadow: 0 5px 15px rgba(27,65,37,.07); transform: translateY(-1px); }
.acct-wishlist-image {
    background: #f7f1db;
    flex: 0 0 112px;
    min-height: 155px;
    overflow: hidden;
    position: relative;
}
.acct-wishlist-image img { height: 100%; object-fit: cover; width: 100%; }
.acct-wishlist-saved {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    color: #b64f48;
    display: flex;
    font-size: 11px;
    height: 26px;
    justify-content: center;
    position: absolute;
    right: 8px;
    top: 8px;
    width: 26px;
}
.acct-wishlist-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px 13px 12px; }
.acct-wishlist-meta { align-items: center; display: flex; justify-content: space-between; }
.acct-wishlist-meta > span { color: var(--acct-leaf); font-size: 8px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.acct-wishlist-remove { background: transparent; border: 0; color: #b8524d; cursor: pointer; font-size: 12px; padding: 2px; }
.acct-wishlist-remove:hover { color: #8f342e; }
.acct-wishlist-copy h3 { font-size: 13px; line-height: 1.35; margin: 14px 0 4px; }
.acct-wishlist-copy h3 a { color: #1b3524; text-decoration: none; }
.acct-wishlist-copy h3 a:hover { color: var(--acct-leaf); }
.acct-wishlist-brand { color: var(--acct-muted); display: block; font-size: 9px; }
.acct-wishlist-price { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.acct-wishlist-price del { color: #b86d69; font-size: 9px; }
.acct-wishlist-price strong { color: var(--acct-forest); font-size: 12px; }
.acct-wishlist-view { color: var(--acct-forest); font-size: 10px; font-weight: 700; margin-top: auto; padding-top: 12px; text-decoration: none; }
.acct-wishlist-view:hover { color: var(--acct-leaf); }
.acct-wishlist-view i { margin-left: 3px; }
.acct-wishlist-removed {
    align-items: center;
    background: #fff4f1;
    border: 1px solid #f0d1cb;
    border-radius: 7px;
    color: #a54a43;
    display: flex;
    font-size: 10px;
    gap: 7px;
    padding: 12px;
}
.acct-wishlist-empty { border: 1px dashed #c8d8c6; border-radius: 9px; min-height: 270px; padding: 35px 20px; }
.acct-wishlist-empty-icon {
    align-items: center;
    background: #edf6ea;
    border-radius: 50%;
    color: #3e8051;
    display: inline-flex;
    font-size: 23px;
    height: 54px;
    justify-content: center;
    margin-bottom: 12px;
    width: 54px;
}
.acct-wishlist-empty strong { color: #294933; display: block; font-size: 14px; margin-bottom: 6px; }
.acct-wishlist-empty p { color: var(--acct-muted); font-size: 11px; margin: 0 0 17px; max-width: 330px; }
.acct-wishlist-pagination { margin-top: 19px; }
.acct-wishlist-pagination .pagination { justify-content: center; margin: 0; }
.acct-wishlist-pagination .page-link { border-color: #dce5d9; color: var(--acct-forest); font-size: 10px; }
.acct-wishlist-pagination .page-item.active .page-link { background: var(--acct-forest); border-color: var(--acct-forest); color: #fff; }

@media (max-width: 900px) {
    .acct-wishlist-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .acct-profile-hero-art,
    .acct-wishlist-hero-art { display: none; }
    .acct-profile-page .acct-container,
    .acct-wishlist-page .acct-container { padding-top: 18px; }
    .acct-profile-form { padding: 18px 16px 0; }
    .acct-profile-actions { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
    .acct-profile-note { margin-top: 12px; }
    .acct-wishlist-panel-head { align-items: flex-start; flex-direction: column; }
    .acct-wishlist-search { max-width: none; margin-top: 12px; }
}

@media (max-width: 520px) {
    .acct-profile-hero h1,
    .acct-wishlist-hero h1 { font-size: 28px; }
    .acct-profile-hero p,
    .acct-wishlist-hero p { font-size: 11px; }
    .acct-profile-identity { align-items: flex-start; }
    .acct-profile-form-grid { grid-template-columns: 1fr; }
    .acct-profile-section-label { align-items: flex-start; flex-wrap: wrap; }
    .acct-profile-section-label small { flex-basis: 100%; margin-left: 23px; margin-top: 2px; }
    .acct-profile-actions { align-items: stretch; flex-direction: column-reverse; }
    .acct-profile-actions .acct-btn { width: 100%; }
    .acct-wishlist-body { padding: 14px; }
    .acct-wishlist-card { display: block; }
    .acct-wishlist-image { display: block; height: 185px; min-height: 0; width: 100%; }
    .acct-wishlist-copy { min-height: 178px; }
}

/* Final constrained-width pass: account navigation becomes a touch-friendly
   horizontal rail before the desktop two-column layout gets cramped. */
@media (max-width: 900px) {
    .acct-container,
    .acct-detail-container,
    .acct-address-container { padding-left: 16px; padding-right: 16px; }
    .acct-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .acct-sidebar {
        display: flex;
        margin-bottom: 0;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .acct-profile { flex: 0 0 190px; }
    .acct-nav { display: flex; min-width: max-content; }
    .acct-nav a {
        border-left: 1px solid #f0f0eb;
        border-top: 0;
        white-space: nowrap;
    }
    .acct-nav a.active {
        border-bottom: 3px solid var(--acct-gold);
        border-left: 1px solid #f0f0eb;
        padding-left: 15px;
    }
    .acct-nav a.logout { display: none; }
    .acct-orders-controls {
        align-items: stretch;
        flex-direction: column;
    }
    .acct-order-tools { justify-content: space-between; }
    .acct-order-search { flex: 1; width: auto; }
    .acct-orders-hero-art { display: none; }
}

@media (max-width: 640px) {
    .acct-panel-head { align-items: flex-start; flex-wrap: wrap; }
    .acct-detail-container,
    .acct-address-container { padding-left: 14px; padding-right: 14px; }
    .acct-detail-head-actions { justify-content: flex-start; width: 100%; }
    .acct-detail-head-actions .acct-btn { flex: 1 1 auto; }
    .acct-address-security { align-items: flex-start; }
}

@media (max-width: 480px) {
    .acct-order-tools { align-items: stretch; flex-direction: column; }
    .acct-order-search { width: 100%; }
    .acct-order-filter { width: 100%; }
    .acct-order-filter > summary .acct-btn { width: 100%; }
    .acct-filter-menu { left: 0; right: auto; width: 100%; }
    .acct-profile-identity { align-items: flex-start; }
    .acct-confirm-dialog__panel { padding: 26px 20px; }
    .acct-confirm-dialog__actions { flex-direction: column-reverse; }
    .acct-confirm-dialog__actions .acct-btn { width: 100%; }
}