.fp-account-root {
    padding: 24px 16px 40px;
    background: #ececec;
}

.fpa {
    --fpa-red: #e4002b;
    --fpa-red-dark: #b30022;
    --fpa-red-soft: #f7b8c6;
    --fpa-ink: #000000;
    --fpa-muted: #6b6b6b;
    --fpa-card: #e0e0e0;
    --fpa-field: #d3d3d3;
    --fpa-page: #ececec;
    --fpa-white: #ffffff;
    --fpa-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.12), 0 6px 14px rgba(0, 0, 0, 0.1);
    --fpa-shadow-hover: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 4px 10px rgba(0, 0, 0, 0.14), 0 10px 20px rgba(0, 0, 0, 0.12);
    --fpa-skel: #e6e6e6;
    --fpa-skel-hi: rgba(255, 255, 255, 0.75);
    --fpa-head: "National2CondensedBold", "Barlow Condensed", "Arial Narrow", sans-serif;
    --fpa-body: Rubik, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
    max-width: 1040px;
    margin: 0 auto;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 16px;
    line-height: 1.4;
}

.fpa *,
.fpa *::before,
.fpa *::after {
    box-sizing: inherit;
}

.fpa :focus-visible {
    outline: 3px solid var(--fpa-red);
    outline-offset: 2px;
}

.fpa__bar {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--fpa-white);
}

.fpa__title {
    margin: 0;
    color: var(--fpa-ink);
    font-family: var(--fpa-head);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
}

.fpa__title:focus {
    outline: none;
}

.fpa-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fpa-ink);
    cursor: pointer;
}

.fpa-back:hover {
    background: rgba(0, 0, 0, 0.06);
}

.fpa-back svg {
    width: 22px;
    height: 22px;
}

.fpa__view {
    padding: 16px 0 0;
}

.fpa__view:focus {
    outline: none;
}

.fpa__state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 64px 16px;
    text-align: center;
}

.fpa__state p {
    max-width: 420px;
    margin: 0;
}

.fpa-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid var(--fpa-red);
    border-top-color: transparent;
    border-radius: 50%;
    animation: fpa-spin 0.8s linear infinite;
}

.fpa-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.fpa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 4px;
    background: var(--fpa-red);
    color: var(--fpa-white);
    font-family: var(--fpa-body);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.fpa-btn:hover {
    background: var(--fpa-red-dark);
    color: var(--fpa-white);
}

.fpa-btn[disabled],
.fpa-btn[aria-disabled="true"] {
    background: var(--fpa-red-soft);
    color: var(--fpa-ink);
    cursor: not-allowed;
}

.fpa-btn--block {
    display: flex;
    width: 100%;
}

.fpa-btn--ghost {
    background: transparent;
    color: var(--fpa-red);
    box-shadow: inset 0 0 0 2px var(--fpa-red);
}

.fpa-btn--ghost:hover {
    background: var(--fpa-red);
    color: var(--fpa-white);
}

.fpa-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--fpa-red);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.fpa-skel {
    position: relative;
    display: block;
    flex: none;
    max-width: 100%;
    overflow: hidden;
    background: var(--fpa-skel, #e6e6e6);
    border-radius: 8px;
}

.fpa-skel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--fpa-skel-hi, rgba(255, 255, 255, 0.75)), transparent);
    transform: translateX(-100%);
    animation: fpa-shimmer 1.4s ease-in-out infinite;
}

.fpa-skel--bar {
    border-radius: 6px;
}

.fpa-skel--circle {
    border-radius: 50%;
}

.fpa-skel-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.fpa-skel-lines > .fpa-skel {
    flex: none;
}

.fpa-skel-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 10px 12px 12px;
    border-bottom: 1px solid #bdbdbd;
    border-radius: 6px 6px 0 0;
    background: var(--fpa-field);
    --fpa-skel: #bcbcbc;
    --fpa-skel-hi: rgba(255, 255, 255, 0.4);
}

@keyframes fpa-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fpa-shimmer {
    to {
        transform: translateX(100%);
    }
}

@media (max-width: 767px) {
    .fp-account-root {
        padding: 0 0 32px;
    }

    .fpa__title {
        font-size: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fpa-spinner,
    .fpa-skel::after {
        animation-duration: 3s;
    }
}

.fpa [hidden] {
    display: none !important;
}

.fpa .fpa-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.fpa .fpa-field {
    margin: 0;
}

.fpa .fpa-field__box {
    padding: 8px 12px 2px;
    border-bottom: 1px solid var(--fpa-ink);
    border-radius: 6px 6px 0 0;
    background: var(--fpa-field);
    transition: background-color 0.15s ease;
}

.fpa .fpa-field__box:focus-within {
    background: #c6c6c6;
    border-bottom-width: 2px;
    padding-bottom: 1px;
}

.fpa .fpa-field.is-invalid .fpa-field__box {
    border-bottom-color: var(--fpa-red);
}

.fpa .fpa-field__label {
    display: block;
    margin: 0;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.fpa .fpa-field__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fpa .fpa-input {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    appearance: none;
    -webkit-appearance: none;
}

.fpa .fpa-input:focus,
.fpa .fpa-input:focus-visible {
    outline: none;
    border: 0;
    box-shadow: none;
}

.fpa .fpa-field__toggle {
    margin: 0;
    padding: 4px 0 8px;
    border: 0;
    background: none;
    color: var(--fpa-red);
    font-family: var(--fpa-body);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.fpa .fpa-field__hint,
.fpa .fpa-field__error {
    margin: 4px 0 0;
    padding: 0 12px;
    font-size: 12px;
    line-height: 1.35;
}

.fpa .fpa-field__hint {
    color: var(--fpa-muted);
}

.fpa .fpa-field__error {
    color: var(--fpa-red-dark);
    font-weight: 500;
}

.fpa .fpa-note {
    margin: 0;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

.fpa .fpa-note--error {
    background: #fde7ec;
    color: var(--fpa-red-dark);
}

.fpa .fpa-note--info {
    background: #eef1f4;
    color: var(--fpa-ink);
}

.fpa .fpa-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    cursor: pointer;
}

.fpa .fpa-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--fpa-red);
}

.fpa .fpa-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--fpa-red);
    border-radius: 50%;
    background: var(--fpa-white);
    color: var(--fpa-red);
    cursor: pointer;
}

.fpa .fpa-circle:hover {
    background: var(--fpa-red);
    color: var(--fpa-white);
}

.fpa .fpa-circle svg {
    width: 16px;
    height: 16px;
}

.fpa .fpa-profile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto;
    padding: 16px;
}

.fpa .fpa-card {
    margin: 0;
    padding: 16px;
    border-radius: 16px;
    background: var(--fpa-card);
    list-style: none;
    --fpa-skel: #c8c8c8;
    --fpa-skel-hi: rgba(255, 255, 255, 0.5);
}

.fpa .fpa-identity {
    padding: 20px 16px 8px;
}

.fpa .fpa-identity__row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
}

.fpa .fpa-identity__avatar {
    flex: none;
    width: 68px;
    height: 68px;
    color: var(--fpa-ink);
}

.fpa .fpa-identity__avatar svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fpa .fpa-identity__text {
    flex: 1 1 auto;
    min-width: 0;
}

.fpa .fpa-identity__name {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.fpa .fpa-identity__meta {
    margin: 0;
    overflow: hidden;
    color: var(--fpa-muted);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpa .fpa-identity__edit {
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-top: 1px solid #9a9a9a;
    background: none;
    color: var(--fpa-red);
    font-family: var(--fpa-body);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.fpa .fpa-menu {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
}

.fpa .fpa-menu__item {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fpa .fpa-menu__button {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    background: none;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.fpa .fpa-menu__button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.fpa .fpa-menu__button[aria-busy="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.fpa .fpa-menu__icon {
    flex: none;
    width: 28px;
    height: 28px;
}

.fpa .fpa-menu__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fpa .fpa-edit {
    padding: 20px 16px;
}

.fpa .fpa-edit .fpa-field__box {
    background: var(--fpa-field);
}

.fpa .fpa-input[type="date"] {
    min-height: 34px;
}

@media (max-width: 767px) {
    .fpa .fpa-profile {
        padding: 16px 12px;
    }
}

.fpa select.fpa-input {
    padding-right: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
    cursor: pointer;
}

html.fpa-locked {
    overflow: hidden;
}

.fpa.fpa-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: none;
    margin: 0;
}

.fpa-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    animation: fpa-fade-in 0.2s ease both;
}

.fpa-modal__sheet {
    position: relative;
    width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    padding: 64px 16px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 28px 28px 0 0;
    background: var(--fpa-white);
    animation: fpa-sheet-up 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.fpa-modal__sheet:focus {
    outline: none;
}

.fpa-modal.is-closing .fpa-modal__backdrop {
    animation: fpa-fade-out 0.2s ease both;
}

.fpa-modal.is-closing .fpa-modal__sheet {
    animation: fpa-sheet-down 0.2s ease both;
}

.fpa-modal__grip {
    position: absolute;
    top: 9px;
    left: 50%;
    width: 34px;
    margin-left: -17px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.fpa-modal__grip i {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: var(--fpa-red);
}

.fpa-modal__close {
    position: absolute;
    top: 20px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--fpa-red);
    color: var(--fpa-white);
    cursor: pointer;
}

.fpa-modal__close:hover {
    background: var(--fpa-red-dark);
}

.fpa-modal__back {
    position: absolute;
    top: 20px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fpa-ink);
    cursor: pointer;
}

.fpa-modal__back:hover {
    background: rgba(0, 0, 0, 0.07);
}

.fpa-modal__back svg {
    width: 22px;
    height: 22px;
}

.fpa-modal__close svg {
    width: 20px;
    height: 20px;
}

.fpa .fpa-modal__title {
    margin: 0 0 16px;
    padding: 0 48px;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.fpa-modal__stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fpa-modal__text {
    margin: 0;
    text-align: center;
    word-break: break-word;
}

.fpa-modal__sheet.is-full {
    max-height: none;
}

@keyframes fpa-fade-in {
    from {
        opacity: 0;
    }
}

@keyframes fpa-fade-out {
    to {
        opacity: 0;
    }
}

@keyframes fpa-sheet-up {
    from {
        transform: translateY(100%);
    }
}

@keyframes fpa-sheet-down {
    to {
        transform: translateY(100%);
    }
}

@keyframes fpa-pop-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
}

@keyframes fpa-pop-out {
    to {
        opacity: 0;
        transform: scale(0.96);
    }
}

@media (min-width: 768px) {
    .fpa.fpa-modal {
        align-items: center;
    }

    .fpa-modal__sheet {
        max-width: 560px;
        border-radius: 16px;
        animation-name: fpa-pop-in;
        animation-duration: 0.2s;
    }

    .fpa-modal.is-closing .fpa-modal__sheet {
        animation-name: fpa-pop-out;
    }
}

@media (max-width: 767px) {
    .fpa-modal__sheet.is-full {
        height: 100%;
        border-radius: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fpa-modal__backdrop,
    .fpa-modal__sheet {
        animation-duration: 0.01s !important;
    }
}

.fpa .fpa-addr {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    min-height: calc(100vh - 150px);
    margin: 0 auto;
}

.fpa .fpa-addr__list {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 16px 16px 0;
    list-style: none;
}

.fpa .fpa-addr__item {
    padding: 16px;
}

.fpa .fpa-addr__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 6px;
}

.fpa .fpa-addr__label {
    font-size: 18px;
}

.fpa .fpa-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--fpa-red);
    color: var(--fpa-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fpa .fpa-badge--warn {
    background: var(--fpa-red-soft);
    color: var(--fpa-red-dark);
}

.fpa .fpa-addr__text {
    margin: 0;
    font-size: 15px;
    word-break: break-word;
}

.fpa .fpa-addr__text--muted {
    color: var(--fpa-muted);
}

.fpa .fpa-addr__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #b5b5b5;
}

.fpa .fpa-addr__action {
    margin: 0;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--fpa-red);
    font-family: var(--fpa-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.fpa .fpa-addr__action.is-danger {
    margin-left: auto;
    color: var(--fpa-ink);
}

.fpa .fpa-addr__action[aria-busy="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.fpa .fpa-empty {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 16px;
}

.fpa .fpa-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--fpa-white);
    color: var(--fpa-red);
}

.fpa .fpa-empty__icon svg {
    width: 62px;
    height: 62px;
}

.fpa .fpa-empty__text {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.fpa .fpa-dock {
    position: sticky;
    bottom: 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to bottom, rgba(236, 236, 236, 0), var(--fpa-page) 30%);
}

.fpa .fpa-btn--sm {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
}

.fpa .fpa-orders {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 8px 8px 32px;
}

.fpa .fpa-orders__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.fpa .fpa-orders .fpa-empty {
    min-height: 50vh;
}

.fpa .fpa-order-skel {
    pointer-events: none;
}

.fpa .fpa-order-skel__bar {
    display: block;
    border-radius: 6px;
}

.fpa .fpa-order-skel__btn {
    flex: none;
    height: 40px;
}

.fpa .fpa-order-skel__media {
    flex: none;
    height: 110px;
}

.fpa .fpa-order-skel__number {
    flex: none;
    width: 80%;
    height: 22px;
}

.fpa .fpa-order-skel__date {
    flex: none;
    width: 55%;
    height: 22px;
}

.fpa .fpa-order-skel__total {
    flex: none;
    width: 40%;
    height: 22px;
    margin-bottom: 24px;
}

.fpa .fpa-order {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--fpa-ink);
    border-radius: 6px;
    background: var(--fpa-page);
}

.fpa .fpa-order__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
}

.fpa .fpa-order__media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fpa .fpa-order__number {
    margin: 0;
    font-family: var(--fpa-body);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.fpa .fpa-order__date {
    margin: 0;
    font-size: 15px;
}

.fpa .fpa-order__total {
    margin: 0 0 auto;
    padding-bottom: 24px;
    font-size: 17px;
    font-weight: 700;
}

.fpa .fpa-orders__more {
    min-width: 200px;
}

.fpa .fpa-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fpa .fpa-detail__block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fpa .fpa-detail__rule {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
    background: #cfcfcf;
}

.fpa .fpa-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.fpa .fpa-row__label {
    min-width: 0;
    word-break: break-word;
}

.fpa .fpa-row__value {
    flex: none;
    max-width: 60%;
    text-align: right;
    word-break: break-word;
}

.fpa .fpa-item__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0 12px;
    padding: 8px 14px;
    border: 0;
    border-radius: 4px;
    background: var(--fpa-red);
    color: var(--fpa-white);
    font-family: var(--fpa-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.fpa .fpa-item__caret {
    display: inline-flex;
    width: 14px;
    height: 14px;
    transform: rotate(180deg);
    transition: transform 0.15s ease;
}

.fpa .fpa-item__toggle[aria-expanded="true"] .fpa-item__caret {
    transform: none;
}

.fpa .fpa-item__extras {
    margin: 10px 0 0;
    padding: 0 0 0 36px;
    font-size: 15px;
    font-weight: 700;
}

.fpa .fpa-item__extras li {
    margin: 0 0 8px;
}

.fpa .fpa-notes {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
}

.fpa .fpa-notes li {
    margin: 0 0 6px;
}

.fpa .fpa-notes .is-skipped {
    color: var(--fpa-red-dark);
}

@media (min-width: 600px) {
    .fpa .fpa-orders__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .fpa .fpa-orders__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.fpa .fpa-favs {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 12px 32px;
}

.fpa .fpa-favs .fpa-empty {
    min-height: 50vh;
}

.fpa .fpa-favs__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    width: 100%;
}

.fpa .fpa-fav {
    display: flex;
    align-items: stretch;
    gap: 12px;
    min-width: 0;
    padding: 18px 16px 18px 16px;
    border-radius: 18px;
    background: var(--fpa-field);
    transition: opacity 0.2s ease;
}

.fpa .fpa-fav.is-leaving {
    animation: fpa-fav-out 0.28s ease forwards;
    pointer-events: none;
}

.fpa .fpa-fav.is-unavailable .fpa-fav__media {
    opacity: 0.45;
}

.fpa .fpa-fav__main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.fpa .fpa-fav__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fpa .fpa-fav__name {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-family: var(--fpa-body);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.fpa .fpa-fav__heart {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 34px;
    height: 34px;
    margin: -8px -8px 0 -4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--fpa-red);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.fpa .fpa-fav__heart:hover {
    transform: scale(1.12);
}

.fpa .fpa-fav__heart:active {
    transform: scale(0.88);
}

.fpa .fpa-fav__heart[aria-busy="true"] {
    opacity: 0.5;
    pointer-events: none;
}

.fpa .fpa-fav__heart svg {
    width: 28px;
    height: 28px;
}

.fpa .fpa-fav__desc {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #777777;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.fpa .fpa-fav__desc.is-empty {
    display: none;
}

.fpa .fpa-fav__action {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: auto;
    padding: 4px 0;
    color: var(--fpa-red);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
}

.fpa button.fpa-fav__action {
    margin-top: auto;
    border: 0;
    background: none;
    font-family: var(--fpa-body);
    text-align: left;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.fpa .fpa-fav__action:not(.is-off):hover {
    color: var(--fpa-red-dark);
}

.fpa .fpa-fav__action:not(.is-off):hover .fpa-fav__arrow {
    background: var(--fpa-red-dark);
}

.fpa .fpa-fav__action.is-off {
    color: var(--fpa-muted);
    font-weight: 700;
}

.fpa .fpa-fav__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--fpa-red);
    color: var(--fpa-white);
}

.fpa .fpa-fav__arrow svg {
    width: 14px;
    height: 14px;
}

.fpa .fpa-fav__price {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.fpa .fpa-fav__price .woocommerce-Price-amount,
.fpa .fpa-fav__price bdi {
    font-weight: 700;
}

.fpa .fpa-fav__media {
    display: flex;
    flex: 0 0 38%;
    align-items: center;
    justify-content: center;
    max-width: 170px;
}

.fpa .fpa-fav__media img {
    display: block;
    width: 100%;
    max-height: 130px;
    object-fit: contain;
}

@keyframes fpa-fav-out {
    to {
        opacity: 0;
        transform: translateX(24px) scale(0.97);
    }
}

@media (min-width: 720px) {
    .fpa .fpa-favs__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .fpa .fpa-fav.is-leaving {
        animation-duration: 0.01s;
    }

    .fpa .fpa-fav__heart {
        transition: none;
    }
}

.fpa .fpa-fav,
.fpa .fpa-addr__item,
.fpa .fpa-order {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    background: var(--fpa-white);
    box-shadow: var(--fpa-shadow);
    --fpa-skel: #e6e6e6;
    --fpa-skel-hi: rgba(255, 255, 255, 0.75);
}

.fpa .fpa-fav,
.fpa .fpa-order {
    transition: box-shadow 0.3s ease, opacity 0.2s ease;
}

.fpa .fpa-fav:hover,
.fpa .fpa-order:hover,
.fpa .fpa-addr__item:hover {
    box-shadow: var(--fpa-shadow-hover);
}

.fpa .fpa-order {
    padding: 12px;
}

.fpa .fpa-addr__actions {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.fpa .fpa-fav--skel:hover,
.fpa .fpa-order-skel:hover {
    box-shadow: var(--fpa-shadow);
}

.fpa .fpa-avatar__icon {
    display: block;
    width: 100%;
    height: 100%;
}

.fpa .fpa-avatar__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fpa .fpa-avatar__photo {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--fpa-field);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.fpa .fpa-avatar--sm {
    flex: none;
    width: 52px;
    height: 52px;
    color: var(--fpa-ink);
}

.fpa .fpa-editor {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fpa .fpa-editor__who {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--fpa-page);
}

.fpa .fpa-editor__who-text {
    min-width: 0;
}

.fpa .fpa-editor__email {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpa .fpa-editor__hint {
    margin: 2px 0 0;
    color: var(--fpa-muted);
    font-size: 13px;
}

.fpa .fpa-identity__text--skel {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
}

.fpa .fpa-identity__edit--skel,
.fpa .fpa-menu__button--skel {
    pointer-events: none;
}

.fpa .fpa-identity__edit--skel {
    display: flex;
    justify-content: center;
    cursor: default;
}

.fpa .fpa-menu__button--skel:hover {
    background: none;
}

.fpa .fpa-fav--skel {
    pointer-events: none;
}

.fpa .fpa-fav__heart--skel,
.fpa .fpa-fav__heart.fpa-skel-slot {
    pointer-events: none;
}

.fpa .fpa-fav__action--skel {
    cursor: default;
}

.fpa .fpa-fav__price--skel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fpa .fpa-addr__item--skel {
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.fpa .fpa-addr__gap {
    display: block;
    height: 2px;
}

.fpa .fpa-addr__actions--skel {
    align-items: center;
    margin-top: 6px;
}

.fpa .fpa-addr__actions--skel > .fpa-skel {
    margin: 9px 0;
}

.fpa .fpa-addr__actions--skel > .fpa-skel:last-child {
    margin-left: auto;
}

.fpa .fpa-row--skel {
    align-items: center;
}

.fpa .fpa-auth--skel {
    pointer-events: none;
}

.fpa .fpa-auth__back-skel {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: block;
}

.fpa .fpa-hero--skel {
    align-items: stretch;
    align-self: stretch;
}

.fpa .fpa-hero--skel > .fpa-skel {
    flex: 1;
    min-height: 240px;
}

.fpa .fpa-auth__foot-skel {
    display: flex;
    justify-content: center;
}

.fpa .fpa-result__skel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 8px 0;
}

.fpa .fpa-profile__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.fpa .fpa-profile__side {
    display: none;
    min-width: 0;
}

@media (min-width: 1024px) {
    .fpa .fpa-profile {
        display: grid;
        grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
        align-items: start;
        gap: 24px;
        max-width: none;
        margin: 0;
        padding: 16px 0;
    }

    .fpa .fpa-profile__side {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

.fpa .fpa-panel {
    min-width: 0;
    padding: 18px 20px 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    background: var(--fpa-white);
    box-shadow: var(--fpa-shadow);
    --fpa-skel: #e6e6e6;
    --fpa-skel-hi: rgba(255, 255, 255, 0.75);
}

.fpa .fpa-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.fpa .fpa-panel__title {
    margin: 0;
    font-family: var(--fpa-body);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.fpa .fpa-panel__all {
    margin: 0;
    padding: 6px 0;
    border: 0;
    background: none;
    color: var(--fpa-red);
    font-family: var(--fpa-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.fpa .fpa-panel__all:hover {
    color: var(--fpa-red-dark);
    text-decoration: underline;
}

.fpa .fpa-panel__message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 22px 8px;
    color: var(--fpa-muted);
    text-align: center;
}

.fpa .fpa-panel__message p {
    margin: 0;
    font-size: 15px;
}

.fpa .fpa-panel__retry {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fpa-red);
    font-family: var(--fpa-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.fpa .fpa-recent {
    display: flex;
    flex-direction: column;
}

.fpa .fpa-recent__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.fpa .fpa-recent__row:first-child {
    padding-top: 0;
    border-top: 0;
}

.fpa .fpa-recent__row:last-of-type {
    padding-bottom: 0;
}

.fpa .fpa-recent__thumb {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 12px;
    background: #f4f4f4;
}

.fpa .fpa-recent__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpa .fpa-recent__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.fpa .fpa-recent__info--skel {
    gap: 9px;
}

.fpa .fpa-recent__number {
    margin: 0;
    overflow: hidden;
    font-family: var(--fpa-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpa .fpa-recent__meta {
    margin: 0;
    overflow: hidden;
    color: var(--fpa-muted);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpa .fpa-recent__actions {
    display: flex;
    flex: none;
    gap: 8px;
}

.fpa .fpa-recent__button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
}

.fpa .fpa-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.fpa .fpa-strip__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    text-align: left;
    cursor: pointer;
}

.fpa .fpa-strip__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f4f4;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fpa .fpa-strip__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fpa .fpa-strip__plate {
    width: 44%;
    color: #c4c4c4;
}

.fpa .fpa-strip__plate svg {
    display: block;
    width: 100%;
    height: auto;
}

.fpa .fpa-strip__name {
    display: block;
    overflow: hidden;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpa button.fpa-strip__item:hover .fpa-strip__thumb {
    box-shadow: var(--fpa-shadow-hover);
    transform: translateY(-2px);
}

.fpa .fpa-strip__name--skel {
    display: flex;
    align-items: center;
    height: 17.5px;
}

.fpa .fpa-strip__item--skel {
    pointer-events: none;
    cursor: default;
}

.fpa .fpa-strip__item--skel .fpa-strip__thumb {
    box-shadow: none;
    background: none;
}

.fpa .fpa-recent__row--skel .fpa-recent__thumb {
    background: none;
}

@media (prefers-reduced-motion: reduce) {
    .fpa .fpa-strip__thumb {
        transition: none;
    }

    .fpa button.fpa-strip__item:hover .fpa-strip__thumb {
        transform: none;
    }
}

.fpa .fpa-input--native {
    display: none !important;
}

.fpa .fpa-field__box--select {
    position: relative;
}

.fpa .fpa-select {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 0 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

.fpa .fpa-select:hover,
.fpa .fpa-select:focus {
    background: transparent;
    color: var(--fpa-ink);
}

.fpa .fpa-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpa .fpa-select__arrow {
    flex: none;
    color: #6c757d;
    font-size: 13px;
    transition: transform 0.15s ease;
}

.fpa .fpa-select.is-open .fpa-select__arrow {
    transform: rotate(180deg);
}

.fpa .fpa-select__list {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 20;
    max-height: 220px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: var(--fpa-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    list-style: none;
}

.fpa .fpa-select__list[hidden] {
    display: none;
}

.fpa .fpa-select__list.is-up {
    top: auto;
    bottom: calc(100% + 6px);
}

.fpa .fpa-select__item {
    margin: 0;
    padding: 12px 16px;
    color: #222222;
    font-family: var(--fpa-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    list-style: none;
    cursor: pointer;
    transition: background 0.1s ease;
}

.fpa .fpa-select__item.is-active {
    background: #f9fafb;
}

.fpa .fpa-select__item.is-selected {
    background: #fef2f4;
    color: var(--fpa-red);
    font-weight: 700;
}

@media (max-width: 767px) {
    .fp-account-root {
        position: relative;
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(-50vw + 50%);
        margin-left: calc(-50vw + 50%);
    }

    .fpa .fpa-orders {
        gap: 12px;
        padding: 6px 4px 24px;
    }

    .fpa .fpa-orders__grid {
        gap: 8px;
    }

    .fpa .fpa-favs {
        padding: 6px 4px 24px;
    }

    .fpa .fpa-favs__list {
        gap: 8px;
    }

    .fpa .fpa-orders .fpa-empty,
    .fpa .fpa-favs .fpa-empty {
        min-height: 0;
    }

    .fpa .fpa-addr {
        min-height: 0;
        max-width: none;
    }

    .fpa .fpa-addr__list {
        padding: 8px 4px 0;
    }

    .fpa .fpa-addr .fpa-empty {
        flex: none;
        gap: 12px;
        padding: 20px 16px 8px;
    }

    .fpa .fpa-addr .fpa-empty__icon,
    .fpa .fpa-orders .fpa-empty__icon,
    .fpa .fpa-favs .fpa-empty__icon {
        width: 104px;
        height: 104px;
    }

    .fpa .fpa-addr .fpa-empty__icon svg,
    .fpa .fpa-orders .fpa-empty__icon svg,
    .fpa .fpa-favs .fpa-empty__icon svg {
        width: 48px;
        height: 48px;
    }

    .fpa .fpa-auth__back-skel {
        top: 12px;
        left: 12px;
    }

    .fpa .fpa-dock {
        padding: 8px 8px calc(12px + env(safe-area-inset-bottom, 0px));
    }
}

.fpa .fpa-sync {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.03);
}

.fpa .fpa-sync__title {
    margin: 0;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fpa .fpa-sync__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.fpa .fpa-sync__row {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.fpa .fpa-sync__row dt {
    margin: 0;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 12px;
    opacity: 0.7;
}

.fpa .fpa-sync__row dd {
    margin: 0;
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 15px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.fpa .fpa-sync__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
}

.fpa .fpa-sync__note {
    color: var(--fpa-ink);
    font-family: var(--fpa-body);
    font-size: 12px;
    opacity: 0.75;
}

.fpa .fpa-sync__manage {
    margin: 0;
    font-weight: 700;
}

.fpa .fpa-addr__add {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 480px) {
    .fpa .fpa-addr__add {
        padding: 12px 8px calc(12px + env(safe-area-inset-bottom, 0px));
    }
}
