.fx-account {
    padding: 32px 0 80px;
    color: #111827;
    background: transparent;
}

.fx-account a::after {
    display: none !important;
}

.fx-account__intro h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.fx-account__intro p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.fx-account__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    margin-top: 8px;
}

.fx-account__sidebar {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: none;
}

.fx-account__main {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.fx-account__sidebar {
    padding: 16px;
    position: sticky;
    top: 20px;
}

.fx-account__main {
    min-width: 0;
    padding: 0;
}

.fx-account__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fx-account__nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fx-account__nav-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fx-account__nav a::after {
    display: none;
}

.fx-account__nav a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: #4b5563;
}

.fx-account__nav a:hover {
    background: #f3f4f6;
    color: #111827;
}

.fx-account__nav a.is-active {
    background: #f3f4f6;
    color: #111827;
}

.fx-account__nav a.is-active svg {
    color: #111827;
}

.fx-account__group {
    display: flex;
    flex-direction: column;
}

.fx-account__group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    border-radius: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
}

.fx-account__group summary::-webkit-details-marker {
    display: none;
}

.fx-account__group summary:hover {
    background: #f3f4f6;
    color: #111827;
}

.fx-account__group summary.is-active {
    background: #f3f4f6;
    color: #111827;
}

.fx-account__chevron {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.fx-account__group[open] > summary .fx-account__chevron,
.fx-pwa-group[open] > summary .fx-account__chevron {
    transform: rotate(90deg);
}

.fx-account__sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 2px 0 4px 22px;
    padding-left: 10px;
    border-left: 1px solid #ebebeb;
}

.fx-account__sub a {
    min-height: 32px;
    padding: 4px 10px;
    font-size: 13px;
}

.fx-pwa-group {
    border-top: 1px solid #eef0f3;
}

.fx-pwa-list > a:first-child + .fx-pwa-group,
.fx-pwa-list > .fx-pwa-group:first-child {
    border-top: 0;
}

.fx-pwa-group summary {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
}

.fx-pwa-group summary::-webkit-details-marker {
    display: none;
}

.fx-pwa-group summary > span:not(.fx-pwa-ico) {
    flex: 1;
    min-width: 0;
}

.fx-pwa-group > a {
    padding-left: 28px;
    border-top: 1px solid #eef0f3;
}

.fx-account__who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.fx-account__avatar {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
}

.fx-account__avatar-img,
.fx-account__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    object-fit: cover;
}

.fx-account__avatar-edit {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.fx-account__avatar-edit input {
    display: none;
}

.fx-account__avatar-edit svg {
    width: 12px;
    height: 12px;
}

.fx-account__who-text {
    min-width: 0;
}

.fx-account__who-text strong,
.fx-account__who-text span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-account__who-text strong {
    font-size: 14px;
    font-weight: 600;
}

.fx-account__who-text span {
    color: #6b7280;
    font-size: 12px;
}

.fx-account__label {
    margin: 14px 8px 6px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.fx-account__badge {
    min-width: 22px;
    padding: 1px 7px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    color: #111827;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.fx-account__nav a.is-active .fx-account__badge {
    border-color: #ebebeb;
    background: #fff;
    color: #111827;
}

.fx-account__signout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    margin-top: 4px;
    padding: 6px 12px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fx-account__signout svg {
    width: 16px;
    height: 16px;
}

.fx-account__signout:hover {
    color: #dc2626;
    border-color: #fecaca;
}

.fx-account__main:has(.fx-glance) {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.fx-glance__head h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.fx-glance__head p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 15px;
}

.fx-glance__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.fx-glance__stat {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}

a.fx-glance__stat:hover {
    background: #f9fafb;
}

.fx-glance__stat strong,
.fx-glance__stat em {
    display: block;
}

.fx-glance__stat strong {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.fx-glance__stat em {
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
    font-style: normal;
}

.fx-glance__stat svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: #9ca3af;
}

.fx-glance__card {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.fx-glance__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.fx-glance__card-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 650;
}

.fx-glance__card-head a {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.fx-glance__orders {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    overflow: hidden;
}

.fx-glance__order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #eef0f3;
    color: inherit;
    text-decoration: none;
}

.fx-glance__order:first-child {
    border-top: 0;
}

.fx-glance__order:hover {
    background: #f9fafb;
}

.fx-glance__order strong,
.fx-glance__order em,
.fx-glance__order b {
    display: block;
}

.fx-glance__order strong {
    font-size: 14px;
}

.fx-glance__order em {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
    white-space: nowrap;
}

.fx-glance__order b {
    font-size: 14px;
    font-weight: 600;
}

.fx-glance__empty {
    padding: 8px 0 4px;
    color: #6b7280;
}

.fx-glance__empty a {
    color: #111827;
    font-weight: 600;
}

.fx-glance__note {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14px;
}

.fx-glance__rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid #eef0f3;
}

.fx-glance__rate:first-child {
    border-top: 0;
}

.fx-glance__rate-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.fx-glance__rate-img,
.fx-glance__rate-product img {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
}

.fx-glance__rate-product > span {
    min-width: 0;
    overflow: hidden;
}

.fx-glance__rate-product strong,
.fx-glance__rate-product em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-glance__rate-product strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-glance__rate-product em {
    margin-top: 2px;
    color: #6b7280;
    font-size: 12px;
    font-style: normal;
}

.fx-glance__review {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 6px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.fx-glance__review:hover {
    background: #f3f4f6;
}

.fx-account__back,
.fx-pwa-back,
.fx-pwa-menus {
    display: none;
}

.fx-glance__head {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fx-glance__star {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    fill: #facc15;
    vertical-align: -3px;
}

.fx-glance__card-head h2 {
    display: flex;
    align-items: center;
}

.fx-glance__rate-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.fx-glance__stars {
    display: flex;
    gap: 2px;
    color: #d1d5db;
}

.fx-glance__stars svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.fx-glance__order-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.fx-glance__order-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #f3f4f6;
    color: #6b7280;
}

.fx-glance__order-icon svg {
    width: 18px;
    height: 18px;
}

.fx-glance__order-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.fx-glance__order-side svg {
    width: 16px;
    height: 16px;
    color: #9ca3af;
}

.fx-glance__status {
    display: inline-flex;
    margin-left: 0;
    padding: 1px 6px;
    border-radius: 999px;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
}

.fx-glance__status.is-ok {
    background: #dcfce7;
    color: #166534;
}

.fx-glance__status.is-bad {
    background: #fee2e2;
    color: #991b1b;
}

.fx-glance__status.is-wait {
    background: #fef3c7;
    color: #92400e;
}

.fx-pwa-label {
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fx-pwa-list,
.fx-pwa-signout {
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.fx-pwa-list a,
.fx-pwa-signout {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.fx-pwa-list a + a {
    border-top: 1px solid #eef0f3;
}

.fx-pwa-list a > span:not(.fx-pwa-ico),
.fx-pwa-signout > span:not(.fx-pwa-ico) {
    flex: 1;
    min-width: 0;
}

.fx-pwa-ico {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #e8f1ff;
    color: #2563eb;
}

.fx-pwa-ico svg {
    width: 16px;
    height: 16px;
}

.fx-pwa-list a > svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    color: #9ca3af;
}

.fx-pwa-list b {
    min-width: 18px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #e8f1ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.fx-pwa-signout {
    color: #dc2626;
}

.fx-pwa-signout .fx-pwa-ico {
    background: #fee2e2;
    color: #dc2626;
}

.fx-account__nav-rule {
    height: 1px;
    margin: 10px 14px;
    background: #e5e7eb;
}

.fx-account__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fx-account__heading-tools {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.fx-account__heading .fx-account__page,
.fx-account__page {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fx-order-card__invoice.is-danger {
    color: #dc2626;
}

.fx-review-list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.fx-review-item,
.fx-my-review {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-top: 1px solid #eef0f3;
}

.fx-review-item:first-child,
.fx-my-review:first-child {
    border-top: 0;
}

.fx-review-item__product {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
}

.fx-review-item__thumb {
    width: 48px;
    height: 48px;
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f4f6;
}

.fx-review-item__thumb img {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

.fx-review-item__copy,
.fx-my-review__copy {
    min-width: 0;
}

.fx-review-item__copy > a,
.fx-my-review__copy > a {
    display: block;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fx-review-item__copy > a:hover,
.fx-my-review__copy > a:hover,
.fx-review-item__copy p a:hover {
    text-decoration: underline;
}

.fx-review-item__copy p,
.fx-my-review__copy time,
.fx-my-review__copy p {
    margin: 2px 0 0;
    color: #6b7280;
    font-size: 12px;
}

.fx-review-item__copy p a {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: 500;
    text-decoration: none;
}

.fx-review-item__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

.fx-account .fx-review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    width: auto;
    color: #d1d5db;
    text-decoration: none;
}

.fx-account .fx-review-stars.ecommerce-product-star {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.fx-account .fx-review-stars button,
.fx-account .ecommerce-product-star > label {
    float: none;
    display: inline-flex;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    line-height: 0;
}

.fx-account .fx-review-stars svg,
.fx-account .fx-review-stars .ecommerce-icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
}

.fx-account .fx-review-stars button:hover,
.fx-account .fx-review-stars button:hover ~ button {
    color: #facc15;
}

.fx-account .fx-review-stars button:hover svg,
.fx-account .fx-review-stars button:hover ~ button svg {
    fill: currentColor;
}

.fx-account .ecommerce-product-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.fx-review-write,
.fx-review-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.fx-review-write:hover,
.fx-review-delete:hover {
    background: #f3f4f6;
}

.fx-review-delete {
    color: #dc2626;
}

.fx-my-review__copy {
    flex: 1 1 auto;
}

.fx-my-review__stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
    color: #e5e7eb;
}

.fx-my-review__stars svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
}

.fx-my-review__stars svg.is-on {
    fill: #facc15;
    stroke: #facc15;
}

.fx-my-review__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
}

@media (max-width: 640px) {
    .fx-review-item,
    .fx-my-review {
        align-items: flex-start;
        flex-direction: column;
    }

    .fx-review-item__actions {
        width: 100%;
        justify-content: space-between;
    }
}

.fx-order-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 18px;
    padding: 4px;
    border-radius: 14px;
    background: #f3f4f6;
}

.fx-order-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border-radius: 10px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fx-order-tabs a::after {
    display: none;
}

.fx-order-tabs a.is-active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 2px rgb(17 24 39 / 8%), 0 4px 12px rgb(17 24 39 / 6%);
}

.fx-order-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fx-order-card {
    padding: 22px 22px 8px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.fx-order-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eef0f3;
}

.fx-order-card__head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fx-order-card__head h2 a {
    color: inherit;
    text-decoration: none;
}

.fx-order-card__head h2 a::after,
.fx-order-card a::after {
    display: none;
}

.fx-order-card__head p {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.fx-order-card__tools {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.fx-order-card__invoice,
button.fx-order-card__invoice,
.fx-order-card__more summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.fx-order-card__invoice {
    padding: 0 14px;
}

.fx-order-card__invoice svg,
.fx-order-card__more summary svg {
    width: 16px;
    height: 16px;
}

.fx-order-card__more {
    position: relative;
}

.fx-order-card__more summary {
    width: 38px;
    padding: 0;
    list-style: none;
}

.fx-order-card__more summary::-webkit-details-marker {
    display: none;
}

.fx-order-card__menu {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 4;
    min-width: 180px;
    padding: 6px;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(17 24 39 / 10%);
}

.fx-order-card__menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #111827;
    font-size: 14px;
    text-decoration: none;
}

.fx-order-card__menu a:hover {
    background: #f3f4f6;
}

.fx-order-card__facts {
    display: grid;
    gap: 8px;
    margin: 16px 0;
}

.fx-order-card__facts div {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    gap: 12px;
    font-size: 14px;
}

.fx-order-card__facts dt {
    margin: 0;
    color: #6b7280;
    font-weight: 500;
}

.fx-order-card__facts dd {
    margin: 0;
    color: #111827;
}

.fx-order-card__facts .is-warning {
    color: #e08a00;
    font-weight: 600;
}

.fx-order-card__facts .is-success {
    color: #159447;
    font-weight: 600;
}

.fx-order-card__facts .is-danger {
    color: #e11d48;
    font-weight: 600;
}

.fx-order-card__facts .is-total {
    font-weight: 700;
}

.fx-order-card__products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    padding: 8px 0 18px;
}

.fx-order-card__product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.fx-order-card__photo {
    display: block;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f4f6;
}

.fx-order-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fx-order-card__product h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.fx-order-card__product h3 a {
    color: inherit;
    text-decoration: none;
}

.fx-order-card__product p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.45;
}

.fx-order-card__all {
    display: inline-block;
    margin: 0 0 16px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.fx-account__empty {
    padding: 48px 24px;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    text-align: center;
}

.fx-account__empty h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.fx-account__empty p {
    margin: 0 0 16px;
    color: #6b7280;
}

.fx-account__empty a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.fx-account__empty a::after {
    display: none;
}

.fx-account__pages {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.fx-account .card,
.fx-account .bb-customer-card,
.fx-account .bb-customer-profile,
.fx-account .bb-payment-proof-card {
    background: #fff !important;
    border: 1px solid #e6e8ec !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    overflow: hidden;
}

.fx-account .card .card-body,
.fx-account .bb-customer-card-body,
.fx-account .bb-customer-card-header,
.fx-account .bb-customer-card-footer {
    background: #fff !important;
    border-color: #eef0f3 !important;
}

.fx-account .card .bg-primary,
.fx-account .card .bg-success,
.fx-account .card .bg-warning,
.fx-account .card .bg-info,
.fx-account .bb-customer-card .bg-primary,
.fx-account .bb-customer-card .bg-success,
.fx-account .bb-customer-card .bg-warning,
.fx-account .bb-customer-card .bg-info,
.fx-account .bb-customer-card-header .rounded-circle {
    background: #f3f4f6 !important;
    color: #111827 !important;
}

.fx-account .card .text-white,
.fx-account .bb-customer-card .text-white {
    color: #111827 !important;
}

.fx-account .card-title,
.fx-account .bb-customer-card-title {
    color: #111827;
    font-weight: 700;
}

.fx-account .btn {
    border-radius: 10px !important;
}

.fx-account .bb-customer-content-wrapper {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.fx-account .affiliate-dashboard > .affiliate-card:has(.affiliate-card),
.fx-account .affiliate-dashboard > .affiliate-card:has(.affiliate-card) > .affiliate-card-body {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0;
}

.fx-account .affiliate-card,
.fx-account .bb-customer-card,
.fx-account .affiliate-dashboard .card,
.fx-account .affiliate-link-box,
.fx-account .withdrawal-action-card {
    background: #fff;
    border: 1px solid #ebebeb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.fx-account .affiliate-card:hover,
.fx-account .bb-customer-card:hover,
.fx-account .affiliate-dashboard .card:hover,
.fx-account .affiliate-link-box:hover,
.fx-account .stats-card:hover,
.fx-account .summary-card:hover,
.fx-account .report-preview-card:hover,
.fx-account .withdrawal-action-card:hover,
.fx-account .benefit-card:hover,
.fx-account .coupon-item:hover,
.fx-account .commission-item:hover,
.fx-account .withdrawal-item:hover,
.fx-account .commission-item-detailed:hover,
.fx-account .member-level-section .level-card:hover,
.fx-account .member-level-section .progress-card:hover,
.fx-account .member-level-section .benefits-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.fx-account .affiliate-card-list,
.fx-account .bb-customer-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fx-account .affiliate-card-header,
.fx-account .bb-customer-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #ebebeb;
}

.fx-account .affiliate-card-title,
.fx-account .bb-customer-card-title {
    font-size: 16px;
    font-weight: 700;
}

.fx-account .affiliate-dashboard .affiliate-card .affiliate-card-body,
.fx-account .bb-customer-card-body {
    padding: 18px 22px 20px !important;
}

.fx-account .affiliate-dashboard .affiliate-card:has(> .affiliate-card-body > .fx-stat-board) > .affiliate-card-body {
    padding: 16px !important;
}

.fx-account .affiliate-card-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.fx-account .affiliate-dashboard .btn,
.fx-account .affiliate-card .btn,
.fx-account .bb-customer-card .btn,
.fx-account .affiliate-card-status .btn,
.fx-account .withdrawal-action-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    background: #fff !important;
    color: #111827 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    font-weight: 600;
}

.fx-account .affiliate-dashboard .btn:hover,
.fx-account .affiliate-card .btn:hover,
.fx-account .bb-customer-card .btn:hover,
.fx-account .affiliate-card-status .btn:hover,
.fx-account .withdrawal-action-card .btn:hover {
    background: #f9fafb !important;
    color: #111827 !important;
}

.fx-account .affiliate-card-info {
    display: flex;
    flex-direction: column;
}

.fx-account .affiliate-card-info .info-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eef0f3;
}

.fx-account .affiliate-card-info .info-item:last-child {
    border-bottom: 0;
}

.fx-account .affiliate-card-info .label {
    color: #6b7280;
    font-weight: 500;
}

.fx-account .affiliate-card-info .value {
    color: #111827;
    font-weight: 600;
    text-align: right;
}

.fx-account .affiliate-card-info .info-item--note {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.fx-account .affiliate-card-info .info-item--note .value {
    color: #6b7280;
    font-weight: 500;
    text-align: left;
}

.fx-account .fx-stat-board,
.fx-account .commission-summary .row,
.fx-account .short-links-overview-card .bb-customer-card-body > .row,
.fx-account .performance-overview-card .bb-customer-card-body > .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.fx-account .balance-overview-card .bb-customer-card-body > .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}

.fx-account .commission-summary [class*='col-'],
.fx-account .balance-overview-card .bb-customer-card-body > .row > [class*='col-'],
.fx-account .short-links-overview-card .bb-customer-card-body > .row > [class*='col-'],
.fx-account .performance-overview-card .bb-customer-card-body > .row > [class*='col-'] {
    width: auto;
    max-width: none;
    padding: 0;
}

.fx-account .fx-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 16px 18px 14px;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
}

.fx-account .summary-card,
.fx-account .balance-stat,
.fx-account .short-links-overview-card .stats-card,
.fx-account .performance-overview-card .stats-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "icon label"
        "value value";
    column-gap: 8px;
    row-gap: 8px;
    align-items: center;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 16px 18px 14px;
    background: #fff !important;
    border: 1px solid #ebebeb !important;
    border-left: 1px solid #ebebeb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

.fx-account .fx-stat__top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.fx-account .fx-stat__icon,
.fx-account .summary-icon,
.fx-account .balance-icon,
.fx-account .short-links-overview-card .stats-icon,
.fx-account .performance-overview-card .stats-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 8px;
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

.fx-account .fx-stat__icon svg,
.fx-account .summary-icon svg,
.fx-account .balance-icon svg,
.fx-account .short-links-overview-card .stats-icon svg,
.fx-account .performance-overview-card .stats-icon svg {
    width: 16px;
    height: 16px;
}

.fx-account .fx-stat__icon.is-rose { background: #fde8ef !important; color: #e11d48 !important; }
.fx-account .fx-stat__icon.is-green { background: #e7f8ee !important; color: #16a34a !important; }
.fx-account .fx-stat__icon.is-red { background: #fdecec !important; color: #ef4444 !important; }
.fx-account .fx-stat__icon.is-violet { background: #f1eaff !important; color: #7c3aed !important; }
.fx-account .fx-stat__icon.is-blue { background: #e8f1ff !important; color: #2563eb !important; }
.fx-account .fx-stat__icon.is-orange { background: #fff1e8 !important; color: #ea580c !important; }
.fx-account .fx-stat__icon.is-teal { background: #e7f8f6 !important; color: #0f766e !important; }
.fx-account .fx-stat__icon.is-amber { background: #fff6e0 !important; color: #d97706 !important; }

.fx-account .summary-icon.bg-success,
.fx-account .balance-icon:has(.text-success),
.fx-account .stats-icon:has(.text-success) { background: #e7f8ee !important; color: #16a34a !important; }
.fx-account .summary-icon.bg-warning,
.fx-account .stats-icon:has(.text-warning) { background: #fff6e0 !important; color: #d97706 !important; }
.fx-account .summary-icon.bg-primary,
.fx-account .balance-icon:has(.text-primary),
.fx-account .stats-icon:has(.text-primary) { background: #e8f1ff !important; color: #2563eb !important; }
.fx-account .summary-icon.bg-info,
.fx-account .balance-icon:has(.text-info),
.fx-account .stats-icon:has(.text-info) { background: #f1eaff !important; color: #7c3aed !important; }

.fx-account .fx-stat__label,
.fx-account .summary-label,
.fx-account .balance-info h6,
.fx-account .short-links-overview-card .stats-info h6,
.fx-account .performance-overview-card .stats-info h6 {
    grid-area: label;
    margin: 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.fx-account .summary-content,
.fx-account .balance-info,
.fx-account .short-links-overview-card .stats-info,
.fx-account .performance-overview-card .stats-info {
    display: contents;
}

.fx-account .fx-stat__value,
.fx-account .summary-value,
.fx-account .balance-info p,
.fx-account .short-links-overview-card .stats-info p,
.fx-account .performance-overview-card .stats-info p {
    grid-area: value;
    margin: 0;
    color: #111827 !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.fx-account .summary-icon,
.fx-account .balance-icon,
.fx-account .short-links-overview-card .stats-icon,
.fx-account .performance-overview-card .stats-icon {
    grid-area: icon;
}

.fx-account .fx-stat__trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
}

.fx-account .fx-stat__trend svg {
    width: 14px;
    height: 14px;
}

.fx-account .fx-stat__trend.is-up { color: #16a34a; }
.fx-account .fx-stat__trend.is-down { color: #dc2626; }

.fx-account .member-level-section .level-card,
.fx-account .member-level-section .level-card.tier-bronze,
.fx-account .member-level-section .level-card.tier-silver,
.fx-account .member-level-section .level-card.tier-gold,
.fx-account .member-level-section .level-card.tier-platinum,
.fx-account .member-level-section .progress-card,
.fx-account .member-level-section .benefits-card,
.fx-account .withdrawal-action-card {
    background: #fff !important;
    color: #111827;
    border: 1px solid #ebebeb !important;
    border-radius: 8px;
    box-shadow: none !important;
}

.fx-account .member-level-section .level-icon-wrapper {
    background: #f3f4f6;
    color: #111827;
}

.fx-account .member-level-section .level-badge-icon {
    display: none;
}

.fx-account .commission-item,
.fx-account .withdrawal-item,
.fx-account .commission-item-detailed {
    padding: 14px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eef0f3;
    border-radius: 0;
    box-shadow: none;
}

.fx-account .commission-list > :last-child,
.fx-account .withdrawal-list > :last-child {
    border-bottom: 0;
}

.fx-account .badge {
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: none;
}

.fx-account .badge.bg-success,
.fx-account .badge.bg-success.text-white {
    background: #e7f8ee !important;
    color: #15803d !important;
}

.fx-account .badge.bg-warning,
.fx-account .badge.bg-warning.text-dark {
    background: #fff6e0 !important;
    color: #b45309 !important;
}

.fx-account .badge.bg-danger,
.fx-account .badge.bg-danger.text-white {
    background: #fdecec !important;
    color: #dc2626 !important;
}

.fx-account .badge.bg-primary,
.fx-account .badge.bg-secondary,
.fx-account .badge.bg-secondary.text-white {
    background: #f3f4f6 !important;
    color: #374151 !important;
}

.fx-account .badge.bg-info,
.fx-account .badge.bg-info.text-white {
    background: #e8f1ff !important;
    color: #1d4ed8 !important;
}

.fx-account .form-control,
.fx-account .form-select,
.fx-account .select2-container .select2-selection--single {
    border: 1px solid #ebebeb !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    box-shadow: none !important;
    color: #111827 !important;
}

.fx-account .form-control:focus,
.fx-account .form-select:focus,
.fx-account .select2-container--focus .select2-selection--single,
.fx-account .select2-container--open .select2-selection--single {
    border-color: #d1d5db !important;
    box-shadow: none !important;
}

.fx-account .affiliate-card .affiliate-link-box,
.fx-account .bb-customer-card .affiliate-link-box {
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
}

.fx-account .affiliate-card .input-group > .form-control,
.fx-account .bb-customer-card .input-group > .form-control {
    border-radius: 8px 0 0 8px !important;
}

.fx-account .affiliate-card .input-group > .btn,
.fx-account .bb-customer-card .input-group > .btn {
    border-radius: 0 8px 8px 0 !important;
}

.fx-account .alert {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    box-shadow: none;
}

.fx-account .table {
    --bs-table-border-color: #f3f4f6;
    margin-bottom: 0;
}

.fx-account .table > :not(caption) > * > * {
    border-bottom-color: #f3f4f6;
    box-shadow: none;
    background: transparent;
}

.fx-account .progress {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #f3f4f6;
    box-shadow: none;
}

.fx-account .progress-bar {
    border-radius: 999px;
    background: #111827;
}

.fx-account .affiliate-card-info .info-item {
    border-bottom-color: #f3f4f6;
}

.fx-account .short-link-item {
    border: 1px solid #ebebeb !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    background: #fff;
}

.fx-account .short-link-item .card-body {
    padding: 16px 18px !important;
}

.fx-account .coupon-item {
    padding: 4px 0;
    background: transparent;
    box-shadow: none !important;
}

.fx-account .affiliate-coupons-cards hr {
    margin: 12px 0;
    border: 0;
    border-top: 1px solid #f3f4f6;
    opacity: 1;
}

.fx-account .bg-light {
    background: #f9fafb !important;
}

.fx-account .fx-address-head {
    margin-bottom: 16px;
}

.fx-account .fx-address-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fx-account .fx-address-head p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.fx-account .dashboard-address .bb-customer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fx-account .dashboard-address .bb-customer-card-body {
    flex: 1;
}

.fx-account .dashboard-address .bb-customer-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    border-top: 1px solid #ebebeb;
}

.fx-account .dashboard-address .bb-customer-card-footer form {
    margin: 0;
}

.fx-account .dashboard-address .btn-danger {
    color: #dc2626 !important;
}

.fx-account .fx-address-add .bb-customer-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 100%;
    padding: 28px 22px;
    text-align: center;
}

.fx-account .fx-address-add__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
}

.fx-account .fx-address-add__icon svg {
    width: 18px;
    height: 18px;
}

.fx-account .fx-address-add h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.fx-account .fx-address-add p {
    max-width: 280px;
    margin: 0 0 8px;
    color: #6b7280;
    font-size: 13px;
}

.fx-account .fx-address-form .form-label {
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
}

.fx-account .fx-address-form .row {
    --bs-gutter-y: 16px;
}

.fx-account .fx-wish-grid [class*='tp-product-item'] {
    margin-bottom: 0;
}

.fx-account .fx-address-form .btn-primary {
    min-height: 40px;
    padding: 0 18px;
    background: #111827 !important;
    color: #fff !important;
    border-color: #111827 !important;
}

.fx-account .dashboard-address > .bb-empty + .bb-empty-action {
    margin-top: -28px;
    padding-bottom: 28px;
}

.fx-address-modal {
    z-index: 1080;
}

.fx-address-modal .modal-content {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: none;
}

.fx-address-modal .modal-header {
    padding: 18px 22px 0;
    border-bottom: 0;
}

.fx-address-modal .modal-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.fx-address-modal .modal-body {
    padding: 16px 22px 22px;
    overflow-x: hidden;
}

.fx-address-modal .iti {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
}

.fx-address-modal .iti input.form-control {
    width: 100% !important;
    max-width: 100%;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.fx-address-modal .iti__flag-container,
.fx-address-modal .iti__country-container {
    height: 42px;
}

.fx-address-modal .iti__country-list {
    z-index: 1085;
}

.fx-address-modal .invalid-feedback {
    font-size: 12px;
}

@media (max-width: 991px) {
    .fx-account {
        padding-top: 8px;
        padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        background: transparent;
    }

    .fx-account > .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fx-account__sidebar {
        display: none !important;
    }

    .fx-account__layout {
        display: block;
        margin-top: 0;
    }

    .fx-account__main,
    .fx-account__main:has(.fx-glance) {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .fx-account__page {
        display: none;
    }

    .fx-account__back {
        display: flex;
        align-items: center;
        gap: 2px;
        margin-bottom: 16px;
    }

    .fx-account__main:has(.fx-glance) .fx-account__back {
        display: none;
    }

    .fx-account__back a,
    .fx-pwa-back {
        display: inline-flex;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        color: #111827;
    }

    .fx-account__back svg,
    .fx-pwa-back svg {
        width: 22px;
        height: 22px;
    }

    .fx-account__back h1,
    .fx-glance__head h1 {
        margin: 0;
        font-size: 22px;
        font-weight: 700;
        letter-spacing: -0.03em;
    }

    .fx-glance__head p {
        display: none;
    }

    .fx-glance__stats {
        gap: 12px;
        margin-top: 16px;
    }

    .fx-glance__stat {
        padding: 14px;
        border-radius: 12px;
    }

    .fx-glance__recent {
        display: flex;
        flex-direction: column;
        gap: 10px;
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .fx-glance__recent .fx-glance__order {
        min-height: 72px;
        border: 1px solid #ebebeb;
        border-radius: 8px;
    }

    .fx-glance__rate {
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
    }

    .fx-glance__rate-product {
        flex: 1 1 auto;
        min-width: 0;
    }

    .fx-glance__rate-product em {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fx-glance__review {
        padding: 6px 10px;
        font-size: 12px;
    }

    .fx-pwa-menus {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 24px;
    }

    .fx-account .fx-stat-board,
    .fx-account .commission-summary .row,
    .fx-account .short-links-overview-card .bb-customer-card-body > .row,
    .fx-account .performance-overview-card .bb-customer-card-body > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fx-account .balance-overview-card .bb-customer-card-body > .row {
        grid-template-columns: 1fr;
    }

    .fx-account__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fx-glance__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fx-account__sidebar {
        position: static;
    }

    .fx-order-card__products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fx-account__intro h1 {
        font-size: 26px;
    }

    .fx-order-card__head,
    .fx-order-card__facts div {
        display: block;
    }

    .fx-order-card__tools {
        margin-top: 12px;
    }

    .fx-order-card__facts dt {
        margin-bottom: 2px;
    }

    .fx-order-tabs {
        display: flex;
        width: 100%;
    }

    .fx-order-tabs a {
        flex: 1;
        padding-inline: 8px;
    }
}

.fx-order-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fx-order-line {
    border: 1px solid #ebebeb;
    border-radius: 12px;
    background: #fff;
}

.fx-order-line summary {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto 16px;
    gap: 14px;
    align-items: center;
    padding: 12px;
    list-style: none;
    cursor: pointer;
}

.fx-order-line summary::-webkit-details-marker {
    display: none;
}

.fx-order-line summary::marker {
    content: '';
}

.fx-order-line__photo {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
}

.fx-order-line__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fx-order-line__name {
    display: block;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.fx-order-line__qty,
.fx-order-line__amount {
    color: #6b7280;
    font-size: 13px;
}

.fx-order-line__amount {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.fx-order-line__chevron {
    width: 8px;
    height: 8px;
    border-right: 1.6px solid #6b7280;
    border-bottom: 1.6px solid #6b7280;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.fx-order-line[open] .fx-order-line__chevron {
    transform: rotate(225deg);
}

.fx-order-line__panel {
    padding: 0 12px 14px 90px;
}

.fx-order-line__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}

.fx-order-line__table th,
.fx-order-line__table td {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
    text-align: start;
}

.fx-order-line__table th {
    color: #6b7280;
    font-weight: 500;
}

.fx-order-line__table td {
    color: #111827;
    font-weight: 600;
    text-align: end;
}

.fx-order-line__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fx-order-line__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.fx-order-line__actions a.is-primary {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

@media (max-width: 640px) {
    .fx-order-line summary {
        grid-template-columns: 56px minmax(0, 1fr) 16px;
    }

    .fx-order-line__amount {
        display: none;
    }

    .fx-order-line__photo {
        width: 56px;
        height: 56px;
    }

    .fx-order-line__panel {
        padding-left: 12px;
    }
}

.fx-again__intro {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.fx-again__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.fx-again__filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    flex: 1 1 180px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.fx-again__filters .form-select {
    min-height: 40px;
    font-size: 14px;
    font-weight: 500;
}

.fx-again__results {
    position: relative;
    min-height: 80px;
}

.fx-again__results.is-loading {
    pointer-events: none;
}

.fx-again__item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #ebebeb;
}

.fx-again__thumb {
    display: block;
}

.fx-again__thumb img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
    background: #fafafa;
}

.fx-again__brand {
    display: inline-block;
    margin-bottom: 2px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.fx-again__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.fx-again__name a {
    color: #111827;
    text-decoration: none;
}

.fx-again__variant,
.fx-again__meta,
.fx-again__similar-empty {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 13px;
}

.fx-again__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 8px 0 0;
}

.fx-again__price-current {
    color: #111827;
    font-size: 15px;
    font-weight: 700;
}

.fx-again__price-original {
    color: #9ca3af;
    font-size: 13px;
    text-decoration: line-through;
}

.fx-again__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 12px;
}

.fx-again__buy,
.fx-again__icon,
.fx-again__link {
    font-size: 14px;
    font-weight: 600;
}

.fx-again__buy {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #111827;
    color: #fff;
}

.fx-again__buy:disabled {
    background: #e5e7eb;
    color: #6b7280;
}

.fx-again__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ebebeb;
    border-radius: 10px;
    background: #fff;
    color: #111827;
}

.fx-again__icon.active {
    color: #d43f77;
}

.fx-again__icon svg {
    width: 18px;
    height: 18px;
}

.fx-again__link {
    padding: 0;
    border: 0;
    background: none;
    color: #111827;
    text-decoration: none;
}

.fx-again__similar {
    position: relative;
    min-height: 48px;
    margin-top: 12px;
}

.fx-again__similar-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.fx-again__similar-card {
    flex: 0 0 180px;
    min-width: 0;
}

@media (max-width: 640px) {
    .fx-again__filters label {
        flex-basis: 100%;
    }

    .fx-again__item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .fx-again__thumb img {
        width: 72px;
        height: 72px;
    }

    .fx-again__buy {
        width: 100%;
    }
}
