/* Customer Account — uses the live theme colors (--color-1st / --primary-color) */

:root {
    --am-account-accent: var(--color-1st, var(--primary-color, #fcb800));
    --am-account-ink: var(--color-2nd, var(--secondary-color, #222222));
    --am-account-on-accent: var(--button-text-color, #000);
    --am-account-accent-deep: color-mix(in srgb, var(--am-account-accent) 58%, #0b1224);
    --am-account-gradient: linear-gradient(165deg, var(--am-account-accent) 0%, var(--am-account-accent-deep) 100%);
}

.am-account {
    padding: 36px 0 72px;
    background: #f5f5f5;
    font-size: 15px;
    line-height: 1.45;
    color: #111;
}

.am-account.bb-customer-page {
    margin-top: 0;
    min-height: auto;
    background: #f5f5f5;
}

.am-account .container {
    max-width: 1600px;
    width: 100%;
    min-width: 0;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

.am-account__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.am-account__sidebar {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    overflow: auto;
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
}

.am-account__profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
    background: var(--am-account-accent);
    background: var(--am-account-gradient);
    color: #fff;
}

.am-account__avatar {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.am-account__avatar-img,
.am-account__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--am-account-accent);
    display: block;
}

.am-account__avatar-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.am-account__avatar-edit,
.am-dash-welcome__camera,
.am-dash-hero__camera {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
    color: #fff;
    margin: 0;
}

.am-account__avatar:hover .am-account__avatar-edit,
.am-dash-welcome__avatar:hover .am-dash-welcome__camera,
.am-dash-hero__avatar:hover .am-dash-hero__camera {
    opacity: 1;
}

.am-account__profile-meta {
    min-width: 0;
}

.am-account__profile-meta strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-account__profile-meta span,
.am-account__profile-meta em {
    display: block;
    font-size: 13px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-account-nav {
    padding: 8px 0 12px;
}

.am-account-nav__search {
    display: none;
}

.am-account-nav__search svg,
.am-account-nav__search i {
    width: 16px;
    height: 16px;
    color: #888;
    flex-shrink: 0;
}

.am-account-nav__search input {
    border: 0;
    background: transparent;
    width: 100%;
    font-size: 13px;
    outline: none;
}

.am-account-nav__label {
    margin: 14px 18px 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9e9e9e;
}

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

.am-account-nav__list--logout {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eaeaea;
}

.am-account-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    line-height: 1.3;
    transition: background 0.2s ease, color 0.2s ease;
}

.am-account-nav__link svg,
.am-account-nav__link i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #666;
}

.am-account-nav__link span {
    flex: 1;
    min-width: 0;
}

.am-account-nav__badge {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--am-account-ink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.am-account-nav__badge[hidden] {
    display: none !important;
}

.am-account-nav__link:hover {
    background: #fafafa;
    color: #111;
}

.am-account-nav__link.is-active {
    background: var(--am-account-accent) !important;
    color: var(--am-account-on-accent) !important;
    font-weight: 600;
}

.am-account-nav__link.is-active svg,
.am-account-nav__link.is-active i {
    color: var(--am-account-on-accent);
}

.am-account-nav__link.is-active .am-account-nav__badge {
    display: none;
}

.am-account-nav__link--logout {
    color: #ec0101;
}

.am-account-nav__link--logout svg,
.am-account-nav__link--logout i {
    color: #ec0101;
}

.am-account__main {
    min-width: 0;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
}

.am-account--overview .am-account__main {
    overflow: visible;
}

.am-account:has(.hs-hero) .am-account__header {
    display: none;
}

.am-account__header {
    margin: 0;
    padding: 18px 24px 20px;
    background: var(--am-account-accent);
    background: var(--am-account-gradient);
    color: #fff;
}

.am-account__back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.am-account__back:hover {
    color: #fff;
}

.am-account__back::before {
    content: none;
}

.am-account__back svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.am-account__header h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.am-account__content {
    background: #eef2f8;
    border: 0;
    border-radius: 0;
    padding: 0;
    min-height: 240px;
}

.am-account:not(.am-account--overview):not(:has(.hs-hero)) .am-account__header {
    padding-bottom: 52px;
}

.am-page-sheet {
    position: relative;
    z-index: 2;
    margin: -36px 24px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    padding: 20px 22px;
}

.am-account .bb-profile-content,
.am-account .bb-profile-header,
.am-account .bb-profile-main,
.am-account .bb-customer-content-wrapper {
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
}

.am-account .bb-profile-header-title {
    display: none;
}

.am-account-alert {
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 15px;
}

.am-account-alert--success {
    background: #e8f8ee;
    color: #146c2e;
}

.am-account-alert--error {
    background: #fdecec;
    color: #b42318;
}

.am-account--overview .am-account__content {
    padding: 0;
    overflow: visible;
    background: #eef2f8;
}

@media (min-width: 992px) {
    .am-account:not(.am-account--overview) .am-account__content:not(:has(.hs-page)):not(:has(.am-dash)) {
        padding: 16px 20px 24px;
        background: #fff;
    }

    .am-dash-hero__avatar,
    .am-dash-hero__copy h2 {
        display: none;
    }
}

.am-dash {
    margin: 0;
}

.am-dash-hero {
    background: var(--am-account-accent);
    background: var(--am-account-gradient);
    color: #fff;
    padding: 24px 28px 28px;
    border-radius: 12px 12px 0 0;
}

.am-dash:has(.am-dash-balance) .am-dash-hero {
    padding-bottom: 72px;
}

.am-dash-hero__user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.am-dash-hero__avatar {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.am-dash-hero__copy {
    min-width: 0;
}

.am-dash-hero__hello {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.am-dash-hero__copy h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.am-dash-hero__prompt {
    margin: 14px 0 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.am-dash-balance {
    position: relative;
    z-index: 2;
    margin: -48px 24px 16px;
    background: #fff;
    border-radius: 16px;
    padding: 16px 18px 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.am-dash-balance__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.am-dash-balance__who {
    min-width: 0;
    text-decoration: none;
    color: #111;
}

.am-dash-balance__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #111;
}

.am-dash-balance__label {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #6b7280;
}

.am-dash-balance .am-wallet-toggle {
    color: #4b5563;
}

.am-dash-balance__amounts {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.am-dash-balance__available {
    min-width: 0;
    text-decoration: none;
    color: #111;
}

.am-dash-balance__available span {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}

.am-dash-balance__available strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.am-dash-balance__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--am-account-accent);
    background: var(--am-account-gradient);
    color: var(--am-account-on-accent);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.am-dash-body {
    padding: 0 24px 28px;
}

.am-dash-sheet {
    background: #fff;
    border-radius: 16px;
    padding: 16px 8px 10px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.am-dash-sheet__title {
    margin: 0 10px 10px;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.am-dash-icons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 4px;
}

.am-dash-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    text-decoration: none;
    color: #111;
    min-width: 0;
}

.am-dash-icon:hover {
    color: #111;
}

.am-dash-icon__circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--am-account-accent);
    background: color-mix(in srgb, var(--am-account-accent) 12%, #fff);
    border: 1.5px solid color-mix(in srgb, var(--am-account-accent) 55%, #fff);
}

.am-dash-icon__circle svg,
.am-dash-icon__circle i {
    width: 22px;
    height: 22px;
}

.am-dash-icon__label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.am-wallet-toggle {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 4px;
    line-height: 1;
}

.am-wallet-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
}

.am-wallet-toggle svg,
.am-wallet-toggle i {
    width: 18px;
    height: 18px;
    display: block;
}

.am-wallet-toggle__show {
    display: none;
}

body.am-wallet-is-hidden .am-wallet-toggle__hide {
    display: none;
}

body.am-wallet-is-hidden .am-wallet-toggle__show {
    display: inline-flex;
}

.am-wallet-toggle--on-dark {
    color: #fff;
}

.am-wallet-toggle--on-dark:hover {
    background: rgba(255, 255, 255, 0.12);
}

.am-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.am-dash-stat {
    display: block;
    border: 0;
    border-radius: 16px;
    padding: 18px 12px 16px;
    text-decoration: none;
    color: #111;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.am-dash-stat strong {
    display: block;
    font-size: 20px;
    line-height: 1.1;
}

.am-dash-stat span {
    font-size: 13px;
    color: #666;
}

.am-dash-tips {
    border: 0;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.am-dash-tips strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
}

.am-dash-tips ul {
    margin: 0;
    padding-left: 18px;
}

.am-dash-tips a {
    color: #111;
    font-size: 13px;
}

.am-dash-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.am-dash-action {
    display: block;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 16px 16px 14px;
    text-decoration: none;
    color: #111;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.am-dash-action:hover {
    border-color: var(--am-account-accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    color: #111;
}

.am-dash-action--money {
    border-color: color-mix(in srgb, var(--am-account-accent) 45%, #eaeaea);
    background: color-mix(in srgb, var(--am-account-accent) 8%, #fff);
}

.am-dash-action__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--am-account-accent);
    color: var(--am-account-on-accent);
    margin-bottom: 10px;
}

.am-dash-action h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.am-dash-action p {
    margin: 0 0 10px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.am-dash-action__go {
    font-size: 13px;
    font-weight: 600;
    color: #111;
}

.am-dash-orders {
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    margin-bottom: 14px;
    overflow: hidden;
}

.am-dash-orders__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #eaeaea;
}

.am-dash-orders__head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.am-dash-orders__head a {
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.am-dash-orders__head a:hover {
    color: var(--am-account-accent);
}

.am-dash-orders ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.am-dash-orders li + li {
    border-top: 1px solid #f0f0f0;
}

.am-dash-orders li a {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #111;
}

.am-dash-orders li a:hover {
    background: #fafafa;
}

.am-dash-orders__code {
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.am-dash-copy {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.am-dash-copy svg,
.am-dash-copy i {
    width: 14px;
    height: 14px;
}

.am-dash-orders__meta {
    grid-column: 1;
    font-size: 13px;
    color: #666;
}

.am-dash-orders__status {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.am-dash-empty {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.am-dash-empty svg,
.am-dash-empty i {
    width: 36px;
    height: 36px;
    color: #111;
}

.am-dash-empty h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.am-dash-empty p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.am-dash-empty .ps-btn {
    margin-left: auto;
    padding: 10px 22px;
    font-size: 15px;
}

.am-account .form-control,
.am-account input[type="text"],
.am-account input[type="email"],
.am-account input[type="password"],
.am-account input[type="tel"],
.am-account select,
.am-account textarea {
    border-radius: 4px;
}

.am-account .btn-primary,
.am-account .ps-btn {
    border-radius: 4px;
    background-color: var(--am-account-accent);
    color: var(--am-account-on-accent);
    border-color: var(--am-account-accent);
}

.am-account table {
    width: 100%;
}

.am-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.am-services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #111;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 18px 12px 14px;
    min-height: 140px;
}

.am-services-card:hover {
    border-color: var(--am-account-accent);
    color: #111;
}

.am-services-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--am-account-accent);
    color: var(--am-account-on-accent);
    margin-bottom: 10px;
}

.am-services-card h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.am-services-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

html.am-account-menu-open,
body.am-account-menu-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    background: #fff !important;
}

body.am-account-menu-open .am-account-panel {
    touch-action: pan-y;
}

#customer-nav-mobile.am-account-panel.ps-panel--sidebar,
.am-account-panel.ps-panel--sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    min-height: 100dvh !important;
    min-height: 100lvh !important;
    max-height: none !important;
    z-index: 10002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

body.am-account-menu-open .ps-site-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100dvh !important;
    min-height: 100lvh !important;
    z-index: 10001 !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: auto;
}

body.am-account-menu-open .navigation--list,
body.am-account-menu-open .navigation--mobile-product {
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.am-account-panel .ps-panel__greeting {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.am-account-panel .ps-panel__header {
    background: var(--am-account-accent) !important;
    background: var(--am-account-gradient) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
}

.am-account-panel .ps-panel__greeting a {
    color: var(--am-account-on-accent);
    font-weight: 600;
}

.am-account-panel .ps-panel__close {
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #fff;
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.am-account-panel__avatar,
.am-account-panel__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.am-account-panel .ps-panel__content {
    flex: 1 1 auto;
    background: #fff;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.am-account-panel .am-account-nav {
    padding-top: 0;
    padding-bottom: 8px;
    background: #fff;
}

@media (min-width: 992px) {
    .am-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .am-account .container {
        min-width: 0;
        max-width: 1600px;
        width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .am-dash-icons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .am-dash-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .am-account,
    .am-account.bb-customer-page,
    .am-account--overview,
    .am-account--overview.bb-customer-page,
    .am-account--vas,
    .am-account--vas.bb-customer-page {
        padding: 0;
        margin: 0;
        background: #eef2f8;
        box-sizing: border-box;
    }

    .am-account > .container,
    .am-account .container {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .am-account__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .am-account__sidebar {
        display: none;
    }

    .am-account__main {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .am-account__header {
        margin: 0;
        padding: 14px 16px 18px;
        background: var(--am-account-accent);
        background: var(--am-account-gradient);
    }

    .am-account:not(.am-account--overview):not(:has(.hs-hero)) .am-account__header {
        padding-bottom: 48px;
    }

    .am-page-sheet {
        margin: -32px 1px 1px;
        padding: 0;
        border-radius: 16px;
    }

    .am-account__back {
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.9);
    }

    .am-account__header h1 {
        font-size: 20px;
        color: #fff;
    }

    .am-account__content,
    .am-account--overview .am-account__content,
    .am-account--vas .am-account__content {
        padding: 0 0 16px !important;
        min-height: 0;
        border: 0;
        border-radius: 0;
        background: #eef2f8;
    }

    .am-account--overview .am-account__header,
    .am-account:has(.hs-hero) .am-account__header {
        display: none;
    }

    .am-account .card,
    .am-account .bb-customer-card,
    .am-account .am-list-card,
    .am-account .am-codes,
    .am-account .bb-customer-card-list,
    .am-account .customer-list-order {
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .am-dash-hero {
        margin: 0;
        padding: 18px 16px 22px;
        border-radius: 0;
    }

    .am-dash:has(.am-dash-balance) .am-dash-hero {
        padding-bottom: 58px;
    }

    .am-dash-hero__avatar {
        width: 48px;
        height: 48px;
    }

    .am-dash-hero__copy h2 {
        font-size: 18px;
    }

    .am-dash-hero__prompt {
        font-size: 14px;
        margin-top: 10px;
    }

    .am-dash-balance {
        margin: -42px 16px 14px;
        padding: 18px 16px 16px;
        border-radius: 16px;
    }

    .am-dash-balance__available strong {
        font-size: 20px;
    }

    .am-dash-body {
        padding: 0 16px 24px;
    }

    .am-dash-sheet,
    .am-dash-orders,
    .am-dash-tips,
    .am-dash-empty {
        border-radius: 16px;
        margin: 0 0 14px;
    }

    .am-dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin: 0 0 14px;
        padding: 0;
    }

    .am-dash-stat {
        padding: 18px 12px 16px;
        border-radius: 16px;
    }

    .am-dash-stat strong {
        font-size: 18px;
    }

    .am-dash-stat span {
        font-size: 11px;
    }

    .am-dash-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .am-dash-icon {
        padding: 10px 4px;
    }

    .am-dash-icon__circle {
        width: 44px;
        height: 44px;
    }

    .am-dash-empty .ps-btn {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .am-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .am-account .bb-profile-content,
    .am-account__content > form,
    .am-account__content > .row {
        padding: 12px 16px 16px;
    }

    .am-account .bb-customer-card-header,
    .am-account .bb-customer-card-body,
    .am-account .bb-customer-card-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .am-account-alert {
        margin: 0;
        border-radius: 0;
    }
}

@media (max-width: 575.98px) {
    .am-dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-dash-hero {
        padding: 16px 16px 20px;
    }

    .am-dash:has(.am-dash-balance) .am-dash-hero {
        padding-bottom: 54px;
    }

    .am-dash-balance {
        margin: -40px 16px 14px;
    }

    .am-dash-body {
        padding: 0 5px 20px;
    }
}

/* Inner customer pages: orders, invoices, addresses, settings */
.am-page-sheet .card,
.am-account .card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.am-page-sheet .bb-customer-card,
.am-account .bb-customer-card {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.am-page-sheet .rq-row,
.am-page-sheet .rq-empty {
    border: 0;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.am-page-sheet .am-codes {
    border: 0;
    background: transparent;
    padding: 0;
}

.am-account .card.mb-4 {
    margin-bottom: 14px !important;
}

.am-account .card-body {
    padding: 16px;
}

.am-account .bb-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.am-account .bb-order-info-section > .bb-section-title {
    display: none;
}

.am-account .dashboard-address > .d-flex.mb-4 {
    display: none !important;
}

.am-account .bb-order-info > .row {
    --bs-gutter-x: 28px;
    --bs-gutter-y: 16px;
}

.am-account .bb-order-info-item,
.am-account .bb-order-total-item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 6px 12px;
    align-items: start;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
    line-height: 1.45;
}

.am-account .bb-order-info-item:last-child,
.am-account .bb-order-total-item:last-child {
    border-bottom: 0;
}

.am-account .bb-order-info-item .label,
.am-account .bb-order-total-item .label {
    color: #555;
    font-size: 13px;
    flex: none;
}

.am-account .bb-order-info-item .value,
.am-account .bb-order-total-item .value {
    color: #111;
    font-weight: 600;
    font-size: 15px;
    text-align: left;
    word-break: break-word;
}

.am-account .bb-order-info-item .value.fw-bold {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.am-account .bb-order-address-section {
    padding-top: 0;
}

@media (min-width: 768px) {
    .am-account .bb-order-address-section {
        padding-left: 8px;
        border-left: 1px solid #f0f0f0;
    }
}

.am-account .bb-order-totals {
    max-width: 360px;
    margin-left: auto;
}

.am-account .bb-order-total-item {
    grid-template-columns: 1fr auto;
}

.am-account .bb-order-total-item .value {
    text-align: right;
}

.am-account .bb-order-total-item.grand-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eaeaea;
}

.am-account .bb-order-total-item.grand-total .value {
    color: var(--am-account-accent);
    font-size: 15px;
}

.am-account .bb-order-product-cards {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.am-account .bb-order-product-card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
}

.am-account .bb-order-product-card-content {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px !important;
}

.am-account .bb-order-product-card-image {
    flex: none !important;
}

.am-account .bb-order-product-card-image img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover;
    border-radius: 4px;
    background: #f5f5f5;
    display: block;
}

.am-account .bb-order-product-card-details {
    flex: none;
    min-width: 0;
}

.am-account .bb-order-product-card-name {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.am-account .bb-order-product-card-name a {
    color: #111;
}

.am-account .bb-order-product-card-info {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0;
    text-align: right;
    flex: none;
}

.am-account .bb-order-product-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.am-account .bb-order-product-card-price-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
    justify-content: flex-end;
}

.am-account .bb-order-product-card-price-item .label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

.am-account .bb-order-product-card-price-item .value {
    font-size: 14px;
    font-weight: 600;
}

.am-account .bb-order-product-card-price-item.total {
    margin: 0;
    padding: 0;
    border: 0;
}

.am-account .bb-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.am-account .btn,
.am-account .am-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #111;
    line-height: 1.2;
}

.am-account .btn-primary,
.am-account .btn-success,
.am-account .am-btn--primary {
    background: var(--am-account-accent);
    border-color: var(--am-account-accent);
    color: var(--am-account-on-accent);
}

.am-account .btn-danger {
    background: #fff;
    border-color: #f0c0c0;
    color: #c00;
}

.am-account .btn-secondary,
.am-account .btn-outline-primary {
    background: #fff;
    border-color: #e0e0e0;
    color: #111;
}

.am-account .bb-empty {
    border: 1px dashed #e0e0e0;
    border-radius: 4px;
    padding: 32px 16px;
    background: #fafafa;
}

.am-account .bb-empty .btn {
    background: var(--am-account-accent);
    border-color: var(--am-account-accent);
    color: var(--am-account-on-accent);
}

.am-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-list-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 14px 16px;
    cursor: pointer;
}

.am-list-card:hover {
    border-color: #d5d5d5;
}

.am-list-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.am-list-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.am-list-card__meta {
    margin: 4px 0 0;
    font-size: 13px;
    color: #888;
}

.am-list-card__ready {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--am-account-accent);
    color: var(--am-account-on-accent);
}

.am-list-card__status .badge,
.am-account .badge {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 3px;
}

.am-list-card__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.am-list-card__facts span {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.am-list-card__facts strong {
    display: block;
    font-size: 15px;
    color: #111;
    margin-top: 2px;
}

.am-list-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.am-list-card__actions .am-btn {
    flex: 1 1 auto;
    min-width: 72px;
}

.am-list__pager {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.am-copy {
    border: 1px solid #e0e0e0;
    background: #fff;
    color: #666;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    cursor: pointer;
    line-height: 1.4;
}

.am-copy.is-copied {
    border-color: #146c2e;
    color: #146c2e;
}

.am-account .form-control,
.am-account input[type="text"],
.am-account input[type="email"],
.am-account input[type="password"],
.am-account input[type="tel"],
.am-account select,
.am-account textarea {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    min-height: 42px;
    font-size: 15px;
}

.am-account .bb-payment-proof-card {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 14px;
}

.am-account .bb-customer-card,
.am-account .bb-customer-card-list .card {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    box-shadow: none;
    margin-bottom: 10px;
}

.am-account .bb-customer-card-header,
.am-account .bb-customer-card-body,
.am-account .bb-customer-card-footer {
    padding: 12px 14px;
}

.am-account .bb-customer-card-footer {
    border-top: 1px solid #f0f0f0;
}

.am-account .bb-customer-card-footer .btn {
    width: auto;
    min-width: 88px;
}

.am-account .bb-customer-card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 991.98px) {
    .am-account:not(.am-account--overview) .am-account__content {
        padding: 0 0 16px !important;
    }

    .am-account__header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .am-list-card {
        padding: 12px;
    }

    .am-account .bb-order-product-card-content {
        grid-template-columns: 56px minmax(0, 1fr);
        align-items: start;
    }

    .am-account .bb-order-product-card-info {
        grid-column: 2;
        text-align: left;
        min-width: 0;
    }

    .am-account .bb-order-product-card-price {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 16px;
        margin-top: 6px;
    }

    .am-account .bb-order-product-card-price-item {
        justify-content: flex-start;
    }

    .am-account .bb-order-actions .btn,
    .am-account .bb-order-actions .am-btn {
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 575.98px) {
    .am-account .bb-order-info-item,
    .am-account .bb-order-total-item {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .am-account .bb-order-info-item .label,
    .am-account .bb-order-total-item .label,
    .am-account .bb-order-info-item .value,
    .am-account .bb-order-total-item .value {
        text-align: left;
    }

    .am-account .bb-order-product-card-content {
        gap: 10px;
        padding: 10px !important;
    }

    .am-account .bb-order-product-card-image img {
        width: 56px !important;
        height: 56px !important;
    }

}

@media print {
    .header--mobile,
    header.header,
    footer,
    .ps-navigation,
    .ps-footer,
    .am-account__sidebar,
    .am-account__header,
    .am-account-panel,
    .bb-order-actions,
    .am-list-card__actions,
    .ps-site-overlay {
        display: none !important;
    }

    .am-account,
    .am-account__content,
    .am-account .container {
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
    }
}

.am-codes {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fafafa;
}

.am-codes__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.am-codes__head h2,
.am-codes__head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.am-code {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 10px;
}

.am-code:last-child {
    margin-bottom: 0;
}

.am-code__meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.am-code__label {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
}

.am-code__value {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    word-break: break-all;
    background: #111;
    color: #fff;
    padding: 10px 12px;
    border-radius: 4px;
}

.am-code__value .am-copy {
    background: #fff;
    color: #111;
}

.am-code__pin,
.am-code__note {
    margin: 8px 0 0;
    font-size: 15px;
}

.am-code__empty {
    margin: 0;
    font-size: 15px;
    color: #666;
}
