/* My Account — shared layout + My Information */

.account-page {
    width: 100%;
    background: #fff;
    padding: 40px 0 100px;
}

.account-layout {
    max-width: 1050px;
}

/* ----- Sidebar (included from templates/account-sidebar.php) ----- */
/* Reference palette: navy #2b3a67, active bg #f5f7f9, rules #dcdde1 */
.account-sidebar {
    --account-nav-navy: #2b3a67;
    --account-nav-active-bg: #f5f7f9;
    --account-nav-rule: #dcdde1;
    /* Hairline divider; use 1px if 0.5px looks too faint on a 1× display */
    --account-nav-rule-width: 0.5px;
    --account-nav-icon-size: calc(22px * 0.85);
    /* border: 1px solid var(--account-nav-rule); */
    border-radius: 0;
    background: #fff;
    overflow: hidden;
}

.account-sidebar-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 18px;
    padding-top: 0px;
    padding-left: 0px;
}

.account-sidebar-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--account-nav-navy);
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.account-sidebar-greeting {
    margin: 0;
    line-height: 1.35;
    font-family: 'Montserrat', sans-serif;
}

.account-sidebar-greeting-hello {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--account-nav-navy, #2b3a67);
    opacity: 0.88;
}

.account-sidebar-greeting-name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--account-nav-navy, #2b3a67);
}

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

.account-sidebar-item:last-child .account-sidebar-link__main {
    border-bottom: none;
}

/* Dividers run only under the label column, not under the icon */
.account-sidebar-logout-form {
    margin: 0;
}

.account-sidebar-logout-btn {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: inherit;
    cursor: pointer;
}

.account-flash-message {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #f5f7f9;
    color: var(--account-nav-navy, #2b3a67);
    font-size: 14px;
}

.account-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 14px 16px;
    background: #edf7f0;
    border: 1px solid #b8dfc4;
    color: #1f5c33;
    font-size: 14px;
    border-radius: 5px;
    animation: account-toast-in 0.35s ease-out;
}

@keyframes account-toast-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.account-toast__icon {
    flex-shrink: 0;
    font-size: 18px;
}

.account-toast__text {
    flex: 1;
    line-height: 1.4;
}

.account-toast__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
}

.account-toast__close:hover {
    opacity: 1;
}

.account-form-submit__loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.account-form-submit[disabled] {
    opacity: 0.85;
    cursor: wait;
}

.account-form-errors {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #fff5f5;
    border: 1px solid #f1c4c4;
    color: #8b2e2e;
    font-size: 14px;
}

.account-form-errors__title {
    margin: 0 0 8px;
    font-weight: 600;
}

.account-form-errors__list {
    margin: 0;
    padding-left: 18px;
}

.account-field-error {
    margin: -8px 0 12px;
    font-size: 0.8rem;
    color: #c0392b;
}

.contact-outline-field.is-invalid .contact-outline-input,
.contact-outline-field.is-invalid .account-phone-combo-inner {
    border-color: #c0392b;
}

.account-sidebar-link {
    display: flex;
    align-items: stretch;
    padding: 0 16px 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--account-nav-navy, #2b3a67);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    border-left: 4px solid transparent;
    padding-right: 0px;
    font-weight: 400;
}

.account-sidebar-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--account-nav-icon-size);
    flex-shrink: 0;
    margin-right: 12px;
    align-self: center;
    padding: 14px 0;
}

.account-sidebar-link__main {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    border-bottom: var(--account-nav-rule-width) solid var(--account-nav-rule);
    padding: 21px 0;
}

.account-sidebar-link__text {
    line-height: 1.35;
}

.account-sidebar-link:hover {
    background: #fafbfc;
    color: var(--account-nav-navy, #2b3a67);
}

.account-sidebar-item.is-active .account-sidebar-link {
    background: #F6F6F6;
    color: var(--account-nav-navy, #2b3a67);
    font-weight: 600;
    border-left-color: var(--account-nav-navy, #2b3a67);
}

/* Inline SVGs (Lucide-derived paths) — color follows link text */
.account-sidebar-svg {
    display: block;
    width: var(--account-nav-icon-size);
    height: var(--account-nav-icon-size);
    flex-shrink: 0;
    color: inherit;
}

/* ----- Main content column ----- */
.account-content-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 12px;
}

.account-content-intro {
    font-size: 15px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 28px;
    max-width: 640px;
}

.account-form {
    max-width: 100%;
}

/*
 * Primary actions — one style on all My Account pages (same as Address book pill).
 * Uses account navy; overrides contact.css .btn-contact-send when both load.
 */
.account-page .btn.btn-contact-send,
.product-detail-page .product-detail-actions .btn.btn-contact-send {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    background: var(--account-nav-navy, #2b3a67);
    color: #fff;
    border: 1px solid var(--account-nav-navy, #2b3a67);
    border-radius: 5px;
    padding: 14px 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-top: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-detail-page .product-detail-actions .btn.btn-contact-send {
    margin-top: 0;
}

.account-page .account-address-book__cta .btn.btn-contact-send {
    margin-top: 0;
}

.account-page .btn.btn-contact-send:hover,
.product-detail-page .product-detail-actions .btn.btn-contact-send:hover {
    background: #fff;
    border-color: var(--account-nav-navy, #2b3a67);
    color: var(--account-nav-navy, #2b3a67);
}

.account-page .btn.btn-contact-send:active,
.product-detail-page .product-detail-actions .btn.btn-contact-send:active {
    background: #f4f6f9;
    border-color: var(--account-nav-navy, #2b3a67);
    color: var(--account-nav-navy, #2b3a67);
}

.account-page .btn.btn-contact-send:focus-visible,
.product-detail-page .product-detail-actions .btn.btn-contact-send:focus-visible {
    outline: 2px solid var(--account-nav-navy, #2b3a67);
    outline-offset: 3px;
}

/* Product detail — outline pill paired with .btn-contact-send (wishlist / secondary) */
.product-detail-page .product-detail-actions .btn.btn-account-action-outline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    background: #fff;
    color: var(--account-nav-navy, #2b3a67);
    border: 1px solid var(--account-nav-navy, #2b3a67);
    border-radius: 5px;
    padding: 14px 48px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.product-detail-page .product-detail-actions .btn.btn-account-action-outline:hover {
    background: var(--account-nav-navy, #2b3a67);
    color: #fff;
    border-color: var(--account-nav-navy, #2b3a67);
}

.product-detail-page .product-detail-actions .btn.btn-account-action-outline:active {
    background: #243154;
    border-color: #243154;
    color: #fff;
}

.product-detail-page .product-detail-actions .btn.btn-account-action-outline:focus-visible {
    outline: 2px solid var(--account-nav-navy, #2b3a67);
    outline-offset: 3px;
}

.product-detail-page .product-detail-actions .btn.btn-add-wishlist.is-wishlisted {
    background: var(--account-nav-navy, #2b3a67);
    color: #fff;
    border-color: var(--account-nav-navy, #2b3a67);
}

@media (min-width: 576px) {
    .account-page .btn.btn-contact-send,
    .product-detail-page .product-detail-actions .btn.btn-contact-send,
    .product-detail-page .product-detail-actions .btn.btn-account-action-outline {
        width: auto;
        min-width: 214px;
    }
}

/* ----- Settings (account-settings.php) ----- */
.account-settings-sections {
    max-width: 100%;
    margin-top: 8px;
    padding-top: 32px;
    border-top: var(--account-nav-rule-width, 0.5px) solid var(--account-nav-rule, #dcdde1);
}

.account-settings-section {
    padding-bottom: 8px;
}

.account-settings-section + .account-settings-section {
    margin-top: 28px;
    padding-top: 32px;
    border-top: var(--account-nav-rule-width, 0.5px) solid var(--account-nav-rule, #dcdde1);
}

.account-settings-section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--account-nav-navy, #2b3a67);
    margin: 0 0 22px;
}

.account-settings-form .contact-outline-field:last-of-type {
    margin-bottom: 1rem;
}

/* ----- Address book (address-book.php) ----- */
.account-address-sections {
    max-width: 100%;
    margin-top: 8px;
    padding-top: 32px;
    border-top: var(--account-nav-rule-width, 0.5px) solid var(--account-nav-rule, #dcdde1);
}

.account-address-block {
    padding-bottom: 8px;
}

.account-address-block__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-bottom: 12px;
}

.account-address-block__head .account-settings-section-title {
    margin-bottom: 0;
}

.account-address-default-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border: 0.5px solid rgba(142, 143, 144, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--account-nav-navy, #2b3a67);
    background: #f4f5f8;
}

.account-address-set-default {
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--account-nav-navy, #2b3a67);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.account-address-set-default:hover {
    color: #1a2748;
}

.account-address-block + .account-address-block {
    margin-top: 28px;
    padding-top: 32px;
    /* border-top: var(--account-nav-rule-width, 0.5px) solid var(--account-nav-rule, #dcdde1); */
}

.account-address-card {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 20px 22px 22px;
    background: #fff;
    border: 0.5px solid rgba(142, 143, 144, 0.25);
    border-radius: 0px;
}

.account-address-card--empty {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    background: #fafafa;
}

.account-address-empty {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #5c5c5c;
}

.account-address-empty__cta {
    margin: 0;
}

.account-address-card__body {
    flex: 1;
    min-width: 0;
}

.account-address-line {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
}

.account-address-line:last-child {
    margin-bottom: 0;
}

.account-address-line--name {
    font-weight: 600;
    margin-bottom: 10px;
}

.account-address-line--phone {
    margin-top: 12px;
    color: #333;
}

.account-address-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 0;
}

.account-address-card__actions--stack {
    gap: 10px;
}

.account-address-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border: 0.5px solid rgba(142, 143, 144, 0.7);
    border-radius: 5px;
    color: var(--account-nav-navy, #2b3a67);
    background: #fff;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.account-address-icon-btn:hover {
    background: #f8f9fb;
    border-color: var(--account-nav-navy, #2b3a67);
    color: var(--account-nav-navy, #2b3a67);
}

.account-address-icon-btn--danger {
    color: #c53030;
    border-color: rgba(197, 48, 48, 0.35);
}

.account-address-icon-btn--danger:hover {
    background: #fff5f5;
    border-color: #c53030;
    color: #9b2c2c;
}

.account-address-icon-btn .fa-pen,
.account-address-icon-btn .fa-trash-can {
    font-size: 0.85rem;
}

.account-address-book__cta {
    margin-top: 36px;
    padding-top: 8px;
    text-align: left;
    max-width: 100%;
}

/* ----- My orders (my-orders.php) ----- */
.account-orders-intro {
    margin-bottom: 24px;
}

.account-orders-wrap {
    margin-top: 8px;
    padding-top: 32px;
    border-top: var(--account-nav-rule-width, 0.5px) solid var(--account-nav-rule, #dcdde1);
}

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

.account-order-card {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 20px 22px 22px;
    margin-bottom: 16px;
    background: #fff;
    border: 0.5px solid rgba(142, 143, 144, 0.25);
    border-radius: 0;
    border-left: 15px #F6F6F6 solid;
}

.account-order-card:last-child {
    margin-bottom: 0;
}

.account-order-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 32px;
    flex: 1;
    min-width: 0;
}

@media (max-width: 575px) {
    .account-order-card__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.account-order-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.account-order-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3b3b3b;
}


.account-order-value {
    font-size: 16px;
    font-weight: 300;
    color: #000;
    line-height: 1.35;
}

.account-order-status--processing {
    color: #51AC20;
    font-weight: 600;
}

.account-order-status--delivered {
    color: var(--account-nav-navy, #2b3a67);
    font-weight: 600;
}

.account-order-status--failed {
    color: #D80027;
    font-weight: 600;
}

.account-order-card__actions .account-address-icon-btn .fa-eye {
    font-size: 1rem;
}

.account-order-card__actions .account-address-icon-btn .fa-bag-shopping {
    font-size: 0.95rem;
}

.account-orders-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 36px;
    padding-top: 8px;
}

.account-orders-page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #999;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.15s ease;
}

.account-orders-page-arrow:hover {
    color: var(--account-nav-navy, #2b3a67);
}

.account-orders-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.account-orders-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.15s ease, color 0.15s ease;
}

.account-orders-page-num:hover {
    color: var(--account-nav-navy, #2b3a67);
    background: rgba(43, 58, 103, 0.06);
}

.account-orders-page-num.is-active {
    background: var(--accent-gold, #d5b584);
    color: #000;
    font-weight: 400;
}

.account-orders-page-num.is-active:hover {
    background: var(--dark-accent-gold, #8f7858);
    color: #fff;
}

/* ----- Order details (order-details.php) ----- */
.account-order-details__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 22px;
}

.account-order-details__title-block .account-content-title {
    margin-bottom: 8px;
}

.account-order-details__back {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--account-nav-navy, #2b3a67);
    text-decoration: none;
}

.account-order-details__back:hover {
    text-decoration: underline;
}

.account-order-details__top-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Order info: gray header row + white data row per block (matches design mockup) */
.account-order-details-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.account-order-details-info__block {
    display: flex;
    flex-direction: column;
}

.account-order-details-info__head,
.account-order-details-info__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 168px;
    align-items: start;
}

.account-order-details-info__head {
    padding: 18px 21px;
    background: #F6F6F6;
}

.account-order-details-info__head-cell {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3B3B3B;
    line-height: 1.35;
}

.account-order-details-info__body {
    padding: 14px 20px 16px;
    background: #fff;
    padding-top: 10px;
}

.account-order-details-info__body-cell {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #000;
    line-height: 1.4;
}

.account-order-details-info__body-cell--strong {
    font-weight: 500;
}

.account-order-details-info__body-cell--status {
    color: #60a32e;
    font-weight: 400;
}

/* Shipping block: title + same strip layout as order info (mockup) */
.account-order-details-shipping {
    margin: 0 0 28px;
}

.account-order-details-summary__title,
.account-order-details-shipping__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--account-nav-navy, #2b3a67);
    margin: 0 0 18px;
}

.account-order-details-info--shipping {
    margin-bottom: 0;
}

.account-order-details-info--shipping .account-order-details-info__head {
    background: #f2f2f2;
}

/* Order summary: bordered product cards + bordered totals card (design mockup) */
.account-order-details-summary {
    margin: 0 0 28px;
    padding: 0 0 28px;
    border-bottom: var(--account-nav-rule-width, 0.5px) solid var(--account-nav-rule, #dcdde1);
}

.account-order-details-summary__list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.account-order-details-product-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 23px;
    padding: 32px 17px;
    background: #fff;
    border: 1px solid #eee;
}

.account-order-details-product-card__thumb {
    width: 76px;
    height: 76px;
    /* border-radius: 50%; */
    /* background: #ececec; */
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-order-details-product-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-order-details-product-card__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 76px;
}

.account-order-details-product-card__name {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 1.35;
}

.account-order-details-product-card__meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px 16px;
    margin-top: 0;
    padding-top: 8px;
}

.account-order-details-product-card__qty {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(27, 49, 99, 1);
}

.account-order-details-product-card__price {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--account-nav-navy, #2b3a67);
    margin-left: auto;
}

.account-order-details-totals-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 18px 20px 20px;
}

.account-order-details-totals-card__list {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
}

.account-order-details-totals-card__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px 28px;
    align-items: baseline;
    padding: 5px 0;
}

.account-order-details-totals-card__row dt {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a9a9a;
    text-align: right;
}

.account-order-details-totals-card__row dd {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-align: right;
    white-space: nowrap;
}

.account-order-details-totals-card__row--total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.account-order-details-totals-card__row--total dt,
.account-order-details-totals-card__row--total dd {
    font-size: 14px;
    font-weight: 700;
    color: var(--account-nav-navy, #2b3a67);
}

.account-order-details-message {
    padding-top: 8px;
}

.account-order-details-message__intro {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(59, 59, 59, 1);
    margin: 0 0 35px;
    max-width: 100%;
    font-weight: 300;
}

.account-order-details-message-form .contact-outline-field:last-of-type {
    margin-bottom: 1.25rem;
}

.account-order-details-message-textarea {
    min-height: 140px;
    resize: vertical;
}

.account-order-details-message__thanks {
    margin: 24px 0 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Select outline fields: see components/contact-outline.css (via contact.css) */

/* Single outline: flag + code + chevron | separator | number (matches account mobile mockup) */
.account-phone-combo {
    position: relative;
}

.account-phone-combo-inner {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 52px;
    padding: 18px 20px 12px 16px;
    background-color: #fff;
    border: 0.5px solid rgba(142, 143, 144, 0.6);
    border-radius: 5px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    gap: 0;
}

.account-phone-combo:focus-within .account-phone-combo-inner {
    outline: none;
    border-color: #a08f72;
    box-shadow: 0 0 0 1px rgba(160, 143, 114, 0.25);
}

.account-phone-combo-label {
    top: 0;
    left: 22px;
    transform: translateY(-50%) scale(0.86);
    font-size: 14px;
    color: var(--dark-accent-gold, #8f7858);
    pointer-events: none;
}

.account-phone-combo:focus-within .account-phone-combo-label {
    color: #8b7658;
}

.account-phone-combo-prefix {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
    padding-right: 4px;
    position: relative;
}

.account-phone-combo-flag {
    display: block;
    width: 22px;
    height: auto;
    max-height: 16px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.account-phone-combo-code {
    margin: 0;
    padding: 0 18px 0 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #111;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 3ch;
    font-family: inherit;
}

.account-phone-combo-code:focus {
    outline: none;
}

.account-phone-combo-chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23111' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E") no-repeat center;
    background-size: 10px 6px;
    pointer-events: none;
}

.account-phone-combo-sep {
    align-self: stretch;
    width: 0;
    min-height: 24px;
    margin: 0 14px 0 10px;
    border-left: 0.5px solid rgba(142, 143, 144, 0.65);
    flex-shrink: 0;
}

.account-phone-combo-number {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #111;
    font-family: inherit;
}

.account-phone-combo-number::placeholder {
    color: transparent;
}

.account-phone-combo-number:focus {
    outline: none;
}

.account-dob-wrap {
    position: relative;
}

.account-dob-wrap .contact-outline-label {
    top: 0;
    transform: translateY(-50%) scale(0.86);
    font-size: 14px;
    color: var(--dark-accent-gold, #8f7858);
}

.account-dob-wrap .contact-outline-input {
    padding-top: 20px;
    padding-bottom: 12px;
    padding-right: 44px;
}

.account-dob-wrap .contact-outline-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.account-dob-calendar {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
    font-size: 1rem;
    z-index: 2;
}

.account-dob-wrap:focus-within .account-dob-calendar {
    color: var(--primary-navy, #1b3163);
}

/* ----- My Wishlists (my-wishlists.php) ----- */
.account-wishlists-intro {
    margin-bottom: 14px;
    max-width: 520px;
}

.account-wishlists-divider {
    height: 1px;
    background: rgba(142, 143, 144, 0.25);
    margin: 0 0 24px;
}

.account-wishlists-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 60px;
    padding: 0 0 8px;
    justify-items: center;
}

@media (max-width: 767px) {
    .account-wishlists-grid {
        grid-template-columns: 1fr;
        gap: 26px 0;
    }
}

.account-wishlists-grid .card-col {
    width: 100%;
    display: block;
    margin: 0;
}

/* Override home/bestsellers sizing to match wishlist screenshot proportions */
.account-wishlists-grid .product-card {
    padding: 20px;
}

.account-wishlists-grid .product-img {
    height: 160px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.account-wishlists-grid .badge-circle {
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
}

.account-wishlist-remove-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.92);
    color: #2b3a67;
    cursor: pointer;
}

/* Cancel / return (theme-agnostic account hooks) */
.account-order-lifecycle {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}
.account-order-lifecycle__panel {
  margin: 0.75rem 0 1.25rem;
}
.account-order-lifecycle__field {
  display: block;
  margin: 0.5rem 0 0.75rem;
}
.account-order-lifecycle__field span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.account-order-lifecycle__field textarea,
.account-order-lifecycle__field input {
  width: 100%;
  max-width: 28rem;
}
.account-order-lifecycle__lines {
  list-style: none;
  margin: 0.5rem 0 0.75rem;
  padding: 0;
}
.account-order-lifecycle__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.account-order-lifecycle__note,
.account-order-lifecycle__status {
  font-size: 0.9rem;
  color: #555;
}
