/*
 * Enterprise operating front-end
 * Presentation-only layer. Business routes and form contracts stay unchanged.
 */

body.fe-theme-enterprise {
    --fe-enterprise-bg: var(--fe-page-bg, #f4f6f8);
    --fe-enterprise-surface: var(--fe-surface, #ffffff);
    --fe-enterprise-ink: var(--fe-text-primary, #111827);
    --fe-enterprise-muted: var(--fe-text-secondary, #667085);
    --fe-enterprise-subtle: #98a2b3;
    --fe-enterprise-line: var(--fe-border, rgba(17, 24, 39, 0.12));
    --fe-enterprise-line-soft: var(--fe-border, rgba(17, 24, 39, 0.08));
    --fe-enterprise-brand: var(--fe-brand-primary, #111827);
    --fe-enterprise-accent: var(--fe-brand-accent, #b38a4c);
    --fe-enterprise-accent-soft: rgba(179, 138, 76, 0.12);
    --fe-enterprise-radius: var(--fe-button-radius, 18px);
    --fe-enterprise-radius-sm: var(--fe-button-radius, 12px);
    --fe-enterprise-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
    --fe-enterprise-content: min(1180px, calc(100% - 40px));
    background: var(--fe-enterprise-bg);
    color: var(--fe-enterprise-ink);
    letter-spacing: 0;
}

@supports (color: color-mix(in srgb, black, white)) {
    body.fe-theme-enterprise {
        --fe-enterprise-line: color-mix(in srgb, var(--fe-border, #111827) 42%, transparent);
        --fe-enterprise-line-soft: color-mix(in srgb, var(--fe-border, #111827) 28%, transparent);
    }
}

body.fe-theme-enterprise .fe-portal-bg {
    background: var(--fe-enterprise-bg);
}

body.fe-theme-enterprise .fe-shell {
    width: var(--fe-enterprise-content);
    max-width: none;
}

body.fe-theme-enterprise .fe-eyebrow {
    color: var(--fe-enterprise-accent);
    letter-spacing: 0.16em;
}

body.fe-theme-enterprise .fe-btn {
    min-height: 46px;
    border-radius: var(--fe-button-radius, 999px);
    padding: 0 20px;
    font-weight: 700;
    letter-spacing: 0;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        box-shadow 180ms ease;
}

body.fe-theme-enterprise .fe-btn:hover {
    transform: translateY(-1px);
}

body.fe-theme-enterprise .fe-btn--primary {
    background: var(--fe-enterprise-brand);
    border-color: var(--fe-enterprise-brand);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
}

body.fe-theme-enterprise .fe-btn--primary:hover {
    background: var(--fe-brand-primary-hover, #273142);
    border-color: var(--fe-brand-primary-hover, #273142);
}

body.fe-theme-enterprise .fe-btn--outline {
    border-color: var(--fe-enterprise-line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--fe-enterprise-ink);
}

body.fe-theme-enterprise .fe-btn--outline:hover {
    border-color: rgba(179, 138, 76, 0.55);
    background: #ffffff;
    color: var(--fe-enterprise-brand);
}

body.fe-theme-enterprise .fe-btn--ghost {
    background: transparent;
    color: var(--fe-enterprise-muted);
}

body.fe-theme-enterprise .fe-btn--ghost:hover {
    color: var(--fe-enterprise-brand);
    background: rgba(17, 24, 39, 0.05);
}

/* Header */

.fe-theme-enterprise .fe-enterprise-header {
    position: relative;
    z-index: 50;
}

.fe-theme-enterprise .fe-enterprise-topline {
    border: 0;
    background: transparent;
    color: var(--fe-enterprise-muted);
    font-size: 0.78rem;
}

.fe-theme-enterprise .fe-enterprise-topline__inner {
    min-height: 34px;
}

.fe-theme-enterprise .fe-enterprise-topline__links {
    gap: 8px 16px;
}

.fe-theme-enterprise .fe-enterprise-header-main {
    min-height: 74px;
    border: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

.fe-theme-enterprise .fe-enterprise-brand {
    max-width: 360px;
}

.fe-theme-enterprise .fe-enterprise-brand__mark,
.fe-theme-enterprise .fe-enterprise-brand__mark-image {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.fe-theme-enterprise .fe-enterprise-brand__mark {
    background: var(--fe-enterprise-brand);
}

.fe-theme-enterprise .fe-brand__text strong {
    color: var(--fe-enterprise-ink);
    font-size: 1rem;
}

.fe-theme-enterprise .fe-brand__text small {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-site-nav {
    gap: 4px;
}

.fe-theme-enterprise .fe-site-nav a {
    border-radius: 999px;
    color: var(--fe-enterprise-muted);
    padding: 10px 13px;
}

.fe-theme-enterprise .fe-site-nav a::after {
    display: none;
}

.fe-theme-enterprise .fe-site-nav a:hover,
.fe-theme-enterprise .fe-site-nav a.is-active {
    background: rgba(17, 24, 39, 0.06);
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-actions {
    gap: 6px;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu {
    border: 1px solid var(--fe-enterprise-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu a {
    border-radius: 12px;
}

/* Home */

.fe-theme-enterprise .fe-enterprise-home-hero {
    position: relative;
    width: 100%;
    min-height: min(760px, calc(100vh - 16px));
    margin-top: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/hero-business-tax-portal.png")) center / cover no-repeat;
}

.fe-theme-enterprise .fe-enterprise-home-hero::before,
.fe-theme-enterprise .fe-enterprise-catalog-hero::before,
.fe-theme-enterprise .fe-enterprise-home-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--fe-hero-overlay, rgba(7, 12, 20, 0.52));
    pointer-events: none;
}

.fe-theme-enterprise .fe-enterprise-home-hero__inner {
    position: relative;
    z-index: 1;
    width: var(--fe-enterprise-content);
    min-height: inherit;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: end;
    gap: 56px;
    padding: 164px 0 92px;
}

.fe-theme-enterprise .fe-enterprise-home-hero__copy {
    max-width: 720px;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.fe-theme-enterprise .fe-enterprise-home-hero h1 {
    max-width: 760px;
    margin: 18px 0 0;
    color: #ffffff;
    font-size: 5.6rem;
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
}

.fe-theme-enterprise .fe-enterprise-home-hero p {
    max-width: 650px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem;
    line-height: 1.7;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--primary {
    background: #ffffff;
    border-color: #ffffff;
    color: #111827;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--primary:hover {
    background: #f1f3f5;
    border-color: #f1f3f5;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--outline {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark::before {
    background: rgba(255, 255, 255, 0.72);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-eyebrow,
.fe-theme-enterprise .fe-enterprise-home-hero--dark h1,
.fe-theme-enterprise .fe-enterprise-home-hero--dark p {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-btn--primary {
    background: var(--fe-enterprise-brand);
    border-color: var(--fe-enterprise-brand);
    color: var(--fe-button-text, #ffffff);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-btn--outline {
    border-color: var(--fe-enterprise-line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-enterprise-home-hero__signal {
    border-color: var(--fe-enterprise-line);
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-enterprise-home-hero__signal strong {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-enterprise-home-hero__signal p {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-enterprise-home-hero--dark .fe-enterprise-hero__badges span {
    border-color: var(--fe-enterprise-line);
    background: rgba(255, 255, 255, 0.68);
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-home-hero__signal {
    align-self: end;
    justify-self: end;
    width: min(100%, 360px);
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.8);
}

.fe-theme-enterprise .fe-enterprise-home-hero__signal strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 1.1rem;
}

.fe-theme-enterprise .fe-enterprise-home-hero__signal p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.fe-theme-enterprise .fe-enterprise-home-section {
    padding: 96px 0;
}

.fe-theme-enterprise .fe-enterprise-home-section > .fe-shell {
    width: var(--fe-enterprise-content);
}

.fe-theme-enterprise .fe-enterprise-home-section--surface {
    background: var(--fe-enterprise-surface);
}

.fe-theme-enterprise .fe-enterprise-home-section--dark {
    background: var(--fe-enterprise-brand);
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-home-section__head {
    max-width: 720px;
    margin-bottom: 44px;
}

.fe-theme-enterprise .fe-enterprise-home-section__head h2 {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--fe-enterprise-ink);
    font-size: 3.8rem;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
}

.fe-theme-enterprise .fe-enterprise-home-section__head p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--fe-enterprise-muted);
    font-size: 1.06rem;
    line-height: 1.75;
}

.fe-theme-enterprise .fe-enterprise-home-section--dark .fe-enterprise-home-section__head h2,
.fe-theme-enterprise .fe-enterprise-home-section--dark .fe-enterprise-home-section__head p,
.fe-theme-enterprise .fe-enterprise-home-section--dark .fe-eyebrow {
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-home-business {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 64px;
    align-items: center;
}

.fe-theme-enterprise .fe-enterprise-home-business__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 28px;
}

.fe-theme-enterprise .fe-enterprise-home-business__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fe-theme-enterprise .fe-enterprise-home-business__list {
    display: grid;
    border-top: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-home-business__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-home-business__item > span {
    color: var(--fe-enterprise-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.fe-theme-enterprise .fe-enterprise-home-business__item h3 {
    margin: 0;
    color: var(--fe-enterprise-ink);
    font-size: 1.12rem;
}

.fe-theme-enterprise .fe-enterprise-home-business__item p {
    margin: 8px 0 0;
    color: var(--fe-enterprise-muted);
    line-height: 1.7;
}

.fe-theme-enterprise .fe-enterprise-home-scenario-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
    align-items: center;
}

.fe-theme-enterprise .fe-enterprise-home-scenario-image {
    aspect-ratio: 1 / 1;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
}

.fe-theme-enterprise .fe-enterprise-home-scenario-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fe-theme-enterprise .fe-enterprise-home-scenario-copy .fe-enterprise-home-section__head {
    margin-bottom: 28px;
}

.fe-theme-enterprise .fe-enterprise-scenario-list {
    display: grid;
    border-top: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-scenario-item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 22px;
    padding: 18px 0;
    border-bottom: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-scenario-item strong {
    color: var(--fe-enterprise-ink);
    font-size: 1.05rem;
}

.fe-theme-enterprise .fe-enterprise-scenario-item span {
    color: var(--fe-enterprise-muted);
    line-height: 1.7;
}

.fe-theme-enterprise .fe-enterprise-home-products {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 64px;
    align-items: start;
}

.fe-theme-enterprise .fe-enterprise-home-products__intro {
    position: sticky;
    top: 122px;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card {
    min-height: 100%;
    border: 0;
    border-top: 1px solid var(--fe-enterprise-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 20px 0 0;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card img {
    aspect-ratio: 1.25 / 1;
    border-radius: 18px;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card strong,
.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card span,
.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card b {
    margin-left: 0;
    margin-right: 0;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card strong {
    display: block;
    margin-top: 18px;
    font-size: 1.08rem;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card span {
    display: block;
    margin-top: 8px;
    color: var(--fe-enterprise-muted);
    line-height: 1.65;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card b {
    display: block;
    margin-top: 14px;
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-home-process {
    display: grid;
    grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
    gap: 64px;
    align-items: start;
}

.fe-theme-enterprise .fe-enterprise-home-process__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.fe-theme-enterprise .fe-enterprise-home-process__item {
    min-height: 210px;
    padding: 22px 20px 0 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.fe-theme-enterprise .fe-enterprise-home-process__item + .fe-enterprise-home-process__item {
    padding-left: 20px;
}

.fe-theme-enterprise .fe-enterprise-home-process__item:last-child {
    border-right: 0;
    padding-right: 0;
}

.fe-theme-enterprise .fe-enterprise-home-process__item > span {
    color: var(--fe-enterprise-accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.fe-theme-enterprise .fe-enterprise-home-process__item h3 {
    margin: 36px 0 0;
    color: #ffffff;
    font-size: 1.16rem;
}

.fe-theme-enterprise .fe-enterprise-home-process__item p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.65;
}

.fe-theme-enterprise .fe-enterprise-home-cta {
    position: relative;
    min-height: 360px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 30px;
    padding: 64px;
    border-radius: 28px;
    background: var(--fe-enterprise-cta-image, url("../images/frontend-portal/tax-insights-office.png")) center / cover no-repeat;
}

.fe-theme-enterprise .fe-enterprise-home-cta > * {
    position: relative;
    z-index: 1;
}

.fe-theme-enterprise .fe-enterprise-home-cta h2,
.fe-theme-enterprise .fe-enterprise-home-cta p,
.fe-theme-enterprise .fe-enterprise-home-cta .fe-eyebrow {
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-home-cta h2 {
    max-width: 650px;
    margin: 16px 0 0;
    font-size: 3.4rem;
    line-height: 1.02;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-home-cta p {
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

/* Catalog */

.fe-theme-enterprise .fe-enterprise-catalog-hero {
    position: relative;
    min-height: 410px;
    width: 100%;
    margin-top: 24px;
    padding: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
    align-items: end;
    gap: 34px;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    background: var(--fe-enterprise-catalog-hero-image, url("../images/frontend-portal/hero-business-tax-portal.png")) center / cover no-repeat;
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-enterprise-catalog-hero .fe-eyebrow,
.fe-theme-enterprise .fe-enterprise-catalog-hero h1,
.fe-theme-enterprise .fe-enterprise-catalog-hero p {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-catalog-hero h1 {
    max-width: 720px;
    margin: 14px 0 0;
    font-size: 4.6rem;
    line-height: 1;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-catalog-hero p {
    max-width: 620px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.fe-theme-enterprise .fe-enterprise-catalog-total {
    position: relative;
    z-index: 1;
    align-self: end;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0;
    background: transparent;
}

.fe-theme-enterprise .fe-enterprise-catalog-total span,
.fe-theme-enterprise .fe-enterprise-catalog-total small {
    color: rgba(255, 255, 255, 0.68);
}

.fe-theme-enterprise .fe-enterprise-catalog-total strong {
    margin: 8px 0;
    color: #ffffff;
    font-size: 3rem;
}

.fe-theme-enterprise .fe-enterprise-catalog-layout {
    padding: 64px 0 84px;
}

.fe-theme-enterprise .fe-enterprise-product-panel {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-product-grid {
    gap: 34px 26px;
}

.fe-theme-enterprise .fe-enterprise-product-card {
    grid-template-rows: auto 1fr auto;
    border: 0;
    border-top: 1px solid var(--fe-enterprise-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-product-card.is-selected {
    border-color: var(--fe-enterprise-brand);
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-product-card figure {
    aspect-ratio: 1.24 / 1;
    border-radius: 18px;
}

.fe-theme-enterprise .fe-enterprise-product-card figure span {
    top: 14px;
    left: 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.76);
    padding: 0 11px;
}

.fe-theme-enterprise .fe-enterprise-product-card__body,
.fe-theme-enterprise .fe-enterprise-product-card__foot {
    padding: 0;
}

.fe-theme-enterprise .fe-enterprise-product-card__body {
    padding-top: 18px;
}

.fe-theme-enterprise .fe-enterprise-product-card__body h3 {
    margin: 0;
    font-size: 1.18rem;
}

.fe-theme-enterprise .fe-enterprise-product-card__body p {
    margin: 8px 0 0;
    color: var(--fe-enterprise-muted);
    line-height: 1.65;
}

.fe-theme-enterprise .fe-enterprise-product-card__foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding-top: 20px;
}

.fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__controls {
    grid-column: 1 / -1;
    justify-self: start;
}

.fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__action {
    grid-column: 2;
    grid-row: 1;
    min-height: 42px;
    border-radius: var(--fe-button-radius, 999px);
}

.fe-theme-enterprise .fe-enterprise-cart-panel,
.fe-theme-enterprise .fe-enterprise-paybox {
    border: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-enterprise-cart-side {
    top: 112px;
}

.fe-theme-enterprise .fe-enterprise-empty {
    border: 0;
    border-top: 1px solid var(--fe-enterprise-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 24px 0;
}

.fe-theme-enterprise .fe-enterprise-empty img {
    border-radius: 18px;
}

.fe-theme-enterprise .fe-enterprise-mobile-cart-bar {
    display: none;
}

.fe-theme-enterprise .fe-enterprise-mobile-checkout-bar {
    display: none;
}

.fe-theme-enterprise .fe-enterprise-mobile-checkout-bar [data-payment-warning] {
    margin: 8px 0 0;
    color: var(--fe-state-danger, #b42318);
    font-size: 0.78rem;
    line-height: 1.45;
}

.fe-theme-enterprise .fe-enterprise-checkout-support {
    display: none;
}

/* Checkout and order flow */

.fe-theme-enterprise .fe-enterprise-flow-header {
    width: var(--fe-enterprise-content);
    margin: 0 auto;
    padding: 64px 0 18px;
}

.fe-theme-enterprise .fe-enterprise-flow-header h1 {
    max-width: 760px;
    margin: 14px 0 0;
    color: var(--fe-enterprise-ink);
    font-size: 4rem;
    line-height: 1;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-flow-header p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--fe-enterprise-muted);
    line-height: 1.7;
}

.fe-theme-enterprise .fe-enterprise-checkout {
    padding-top: 12px;
}

.fe-theme-enterprise .fe-enterprise-checkout-card {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.fe-theme-enterprise .fe-enterprise-checkout-card .fe-checkout-card__head {
    padding: 0 0 18px;
    border-bottom: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-checkout-card .fe-checkout-card__head span {
    color: var(--fe-enterprise-ink);
    font-size: 1.2rem;
}

.fe-theme-enterprise .fe-enterprise-checkout-card .fe-checkout-card__head strong {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-enterprise-draft-item {
    min-height: 72px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 0;
    background: transparent;
}

.fe-theme-enterprise .fe-enterprise-draft-item strong {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-draft-item em,
.fe-theme-enterprise .fe-enterprise-draft-item span {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-enterprise-draft-item b {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-checkout-card__foot {
    gap: 22px;
    padding-top: 24px;
}

.fe-theme-enterprise .fe-contact-row {
    padding: 20px 0;
    border-top: 1px solid var(--fe-enterprise-line);
    border-bottom: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-contact-row__content span {
    color: var(--fe-enterprise-accent);
    font-weight: 700;
}

.fe-theme-enterprise .fe-contact-row__content strong {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-contact-row__content p {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-checkout-remark-grid {
    gap: 22px;
}

.fe-theme-enterprise .fe-enterprise-paybox {
    top: 112px;
    padding: 24px;
}

.fe-theme-enterprise .fe-enterprise-paybox .fe-pay-panel__amount {
    color: var(--fe-enterprise-ink);
    font-size: 3.2rem;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-payment-method {
    border-color: var(--fe-enterprise-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.fe-theme-enterprise .fe-payment-method__mark,
.fe-theme-enterprise .fe-payment-method__mark--alipay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    background: #1677ff;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-payment-warning {
    border-radius: 12px;
}

.fe-theme-enterprise .fe-checkout-modal {
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.fe-theme-enterprise .fe-checkout-modal__dialog {
    width: min(620px, 100%);
    max-height: min(760px, calc(100dvh - 32px));
    border-radius: 22px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.25);
}

.fe-theme-enterprise .fe-checkout-modal__body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.fe-theme-enterprise .fe-checkout-modal__actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
    padding-bottom: max(18px, env(safe-area-inset-bottom));
}

.fe-theme-enterprise .fe-modal-icon-btn {
    border-radius: 999px;
}

.fe-theme-enterprise .fe-pay-layout,
.fe-theme-enterprise .fe-order-layout {
    width: var(--fe-enterprise-content);
    margin: 0 auto;
    padding: 64px 0 96px;
    gap: 64px;
}

.fe-theme-enterprise .fe-pay-hero,
.fe-theme-enterprise .fe-order-hero {
    padding: 0;
    background: transparent;
    border: 0;
}

.fe-theme-enterprise .fe-pay-hero h1,
.fe-theme-enterprise .fe-order-hero h1 {
    max-width: 700px;
    margin: 14px 0 0;
    color: var(--fe-enterprise-ink);
    font-size: 4.2rem;
    line-height: 1;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-pay-hero > p,
.fe-theme-enterprise .fe-order-hero > p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--fe-enterprise-muted);
    line-height: 1.7;
}

.fe-theme-enterprise .fe-kpi-card {
    margin-top: 38px;
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid var(--fe-enterprise-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-kpi-card span,
.fe-theme-enterprise .fe-order-meta {
    color: var(--fe-enterprise-accent);
    font-weight: 700;
}

.fe-theme-enterprise .fe-kpi-card strong {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-kpi-card p {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-pay-panel,
.fe-theme-enterprise .fe-order-panel {
    border: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-pay-panel__amount,
.fe-theme-enterprise .fe-order-panel__amount {
    color: var(--fe-enterprise-ink);
    font-size: 3.3rem;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-order-kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.fe-theme-enterprise .fe-order-kpis .fe-kpi-card {
    margin-top: 0;
    padding-top: 16px;
}

.fe-theme-enterprise .fe-confirm-payment-warning {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid var(--fe-state-danger, #b42318);
    border-radius: 12px;
    background: rgba(180, 35, 24, 0.06);
    color: var(--fe-state-danger, #b42318);
    line-height: 1.6;
}

/* Customer center */

.fe-theme-enterprise .fe-enterprise-dashboard {
    width: var(--fe-enterprise-content);
    margin: 0 auto;
    padding: 66px 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 64px;
    align-items: end;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.fe-theme-enterprise .fe-enterprise-dashboard .fe-dashboard-hero__copy {
    display: block;
}

.fe-theme-enterprise .fe-enterprise-dashboard .fe-dashboard-hero__copy {
    max-width: 720px;
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual {
    position: relative;
    min-height: 300px;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: var(--fe-enterprise-brand);
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    object-fit: cover;
    opacity: 0.78;
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 12, 20, 0.42);
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual figcaption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1;
    display: grid;
    gap: 6px;
    color: #ffffff;
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual figcaption span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual figcaption strong {
    font-size: 1.35rem;
}

.fe-theme-enterprise .fe-enterprise-dashboard__visual figcaption small {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
}

.fe-theme-enterprise .fe-enterprise-dashboard h1 {
    margin: 14px 0 0;
    color: var(--fe-enterprise-ink);
    font-size: 4.2rem;
    line-height: 1;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-dashboard p {
    color: var(--fe-enterprise-muted);
    line-height: 1.7;
}

.fe-theme-enterprise .fe-enterprise-dashboard .fe-visual-card {
    border: 0;
    border-radius: 22px;
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-enterprise-summary-grid {
    width: var(--fe-enterprise-content);
    margin: 0 auto 56px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--fe-enterprise-line);
    border-bottom: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card {
    min-height: 136px;
    padding: 24px 20px 24px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card + .fe-summary-card {
    padding-left: 20px;
    border-left: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card strong {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card span,
.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card small {
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card--accent {
    background: transparent;
    color: inherit;
}

.fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card--accent strong {
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-orders {
    width: var(--fe-enterprise-content);
    margin: 0 auto;
    padding: 0 0 96px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-orders .fe-section__head {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-orders .fe-section__head h2 {
    color: var(--fe-enterprise-ink);
    font-size: 2.8rem;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-filter-row {
    margin: 24px 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
}

.fe-theme-enterprise .fe-filter-select,
.fe-theme-enterprise .fe-filter-block select {
    min-height: 44px;
    border-radius: var(--fe-button-radius, 999px);
    border-color: var(--fe-enterprise-line);
    background: #ffffff;
}

.fe-theme-enterprise .fe-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.fe-theme-enterprise .fe-orders-table {
    border-collapse: collapse;
}

.fe-theme-enterprise .fe-orders-table th {
    padding: 14px 12px;
    border-bottom: 1px solid var(--fe-enterprise-line);
    color: var(--fe-enterprise-subtle);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fe-theme-enterprise .fe-orders-table td {
    padding: 20px 12px;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
    color: var(--fe-enterprise-muted);
}

.fe-theme-enterprise .fe-orders-table td:first-child {
    color: var(--fe-enterprise-ink);
    font-weight: 700;
}

/* Auth and generic pages */

.fe-theme-enterprise .fe-auth-wrap,
.fe-theme-enterprise .fe-page-hero {
    width: var(--fe-enterprise-content);
    margin: 0 auto;
    padding: 64px 0 96px;
}

.fe-theme-enterprise .fe-auth-wrap {
    gap: 64px;
}

.fe-theme-enterprise .fe-auth-visual,
.fe-theme-enterprise .fe-auth-card,
.fe-theme-enterprise .fe-page-hero--card {
    border: 0;
    border-radius: 22px;
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-auth-visual {
    overflow: hidden;
}

.fe-theme-enterprise .fe-auth-card {
    background: rgba(255, 255, 255, 0.9);
}

.fe-theme-enterprise .fe-page-hero--card {
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-page-hero h1,
.fe-theme-enterprise .fe-auth-copy h1 {
    color: var(--fe-enterprise-ink);
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-field input,
.fe-theme-enterprise .fe-field textarea,
.fe-theme-enterprise .fe-field select {
    min-height: 46px;
    border-radius: 12px;
    border-color: var(--fe-enterprise-line);
    background: #ffffff;
}

.fe-theme-enterprise .fe-site-footer {
    margin-top: 0;
    background: var(--fe-footer-bg, var(--fe-enterprise-brand));
    color: var(--fe-footer-text, #f5f5f7);
}

.fe-theme-enterprise .fe-enterprise-footer__grid {
    padding-top: 72px;
    padding-bottom: 56px;
}

/* Mobile */

@media (max-width: 980px) {
    .fe-theme-enterprise .fe-enterprise-home-hero__inner,
    .fe-theme-enterprise .fe-enterprise-home-business,
    .fe-theme-enterprise .fe-enterprise-home-products,
    .fe-theme-enterprise .fe-enterprise-home-process,
    .fe-theme-enterprise .fe-enterprise-home-scenario-layout,
    .fe-theme-enterprise .fe-enterprise-catalog-hero,
    .fe-theme-enterprise .fe-enterprise-dashboard {
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        align-items: end;
        padding-top: 150px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__signal {
        justify-self: start;
        width: min(100%, 520px);
    }

    .fe-theme-enterprise .fe-enterprise-home-products__intro {
        position: static;
    }

    .fe-theme-enterprise .fe-enterprise-home-process__list {
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-home-process__item,
    .fe-theme-enterprise .fe-enterprise-home-process__item + .fe-enterprise-home-process__item {
        min-height: 0;
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    .fe-theme-enterprise .fe-enterprise-home-process__item:last-child {
        border-bottom: 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-process__item h3 {
        margin-top: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard__visual {
        min-height: 260px;
    }

    .fe-theme-enterprise .fe-enterprise-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--fe-enterprise-line);
    }

    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card:nth-child(4) {
        border-top: 1px solid var(--fe-enterprise-line);
    }
}

@media (max-width: 720px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 28px, 620px);
    }

    .fe-theme-enterprise .fe-enterprise-topline__inner {
        min-height: 30px;
    }

    .fe-theme-enterprise .fe-enterprise-topline__links {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        min-height: 64px;
        border-radius: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero {
        min-height: 720px;
        background: var(--fe-enterprise-home-hero-mobile-image, var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/mobile-portal-hero.png"))) center / cover no-repeat;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        min-height: 720px;
        gap: 34px;
        padding: 126px 0 46px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero h1,
    .fe-theme-enterprise .fe-enterprise-catalog-hero h1,
    .fe-theme-enterprise .fe-enterprise-flow-header h1,
    .fe-theme-enterprise .fe-pay-hero h1,
    .fe-theme-enterprise .fe-order-hero h1,
    .fe-theme-enterprise .fe-enterprise-dashboard h1 {
        font-size: 2.65rem;
    }

    .fe-theme-enterprise .fe-enterprise-home-section {
        padding: 64px 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head {
        margin-bottom: 32px;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fe-theme-enterprise .fe-enterprise-home-business__image {
        aspect-ratio: 1.15 / 1;
        border-radius: 20px;
    }

    .fe-theme-enterprise .fe-enterprise-home-scenario-layout {
        gap: 34px;
    }

    .fe-theme-enterprise .fe-enterprise-home-scenario-image {
        aspect-ratio: 1.25 / 1;
        border-radius: 20px;
    }

    .fe-theme-enterprise .fe-enterprise-scenario-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .fe-theme-enterprise .fe-enterprise-home-cta {
        min-height: 420px;
        grid-template-columns: 1fr;
        align-items: end;
        border-radius: 20px;
        padding: 34px 22px;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero {
        min-height: 520px;
        margin-top: 16px;
        border-radius: 20px;
        padding: 28px 22px;
        background: var(--fe-enterprise-catalog-hero-image, url("../images/frontend-portal/mobile-portal-hero.png")) center / cover no-repeat;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-layout {
        padding: 46px 0 116px;
    }

    .fe-theme-enterprise .fe-enterprise-product-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        aspect-ratio: 1.3 / 1;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .fe-theme-enterprise .fe-enterprise-cart-side {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel {
        border-radius: 18px;
        padding: 16px;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-cart-summary,
    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-input-wrap,
    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-field,
    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-process-card {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel > .fe-section__head {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        margin: 0;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel > .fe-section__head p,
    .fe-theme-enterprise .fe-enterprise-cart-panel > .fe-section__head h2 {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel > .fe-section__head .fe-eyebrow {
        margin: 0;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel > .fe-btn {
        width: 100%;
        margin-top: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 70;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
        border-top: 1px solid rgba(17, 24, 39, 0.12);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(18px);
    }

    .fe-theme-enterprise .fe-enterprise-catalog-body .fe-enterprise-tabbar,
    .fe-theme-enterprise .fe-enterprise-checkout-body .fe-enterprise-tabbar {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar strong {
        display: block;
        color: var(--fe-enterprise-ink);
        font-size: 1.1rem;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar span {
        display: block;
        color: var(--fe-enterprise-muted);
        font-size: 0.76rem;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar .fe-btn {
        flex: 0 0 auto;
    }

    .fe-theme-enterprise .fe-enterprise-checkout {
        padding-bottom: calc(132px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-checkout-support {
        width: fit-content;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        color: var(--fe-enterprise-brand);
        font-size: 0.9rem;
        font-weight: 700;
        text-decoration: none;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-support::after {
        content: "›";
        margin-left: 6px;
        font-size: 1.1rem;
        line-height: 1;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-body .fe-customer-service-entry {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-paybox {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar {
        position: fixed;
        inset: auto 0 0;
        z-index: 140;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 14px max(12px, env(safe-area-inset-bottom));
        border-top: 1px solid var(--fe-enterprise-line);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(18px);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar > div {
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar span {
        color: var(--fe-enterprise-muted);
        font-size: 0.76rem;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar strong {
        color: var(--fe-enterprise-ink);
        font-size: 1.25rem;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar .fe-btn {
        min-width: 118px;
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-confirm-payment-warning {
        margin-top: 14px;
        padding: 12px 14px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar [data-payment-warning] {
        max-width: 100%;
        max-height: 3.2em;
        overflow: auto;
        overflow-wrap: anywhere;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar [data-payment-warning].is-hidden {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard {
        gap: 34px;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard__visual {
        min-height: 240px;
        border-radius: 20px;
    }

    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout,
    .fe-theme-enterprise .fe-auth-wrap,
    .fe-theme-enterprise .fe-page-hero {
        padding-top: 46px;
        padding-bottom: 72px;
    }

    .fe-theme-enterprise .fe-order-kpis,
    .fe-theme-enterprise .fe-enterprise-summary-grid {
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card,
    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card + .fe-summary-card,
    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card:nth-child(3),
    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card:nth-child(4) {
        min-height: 0;
        padding: 18px 0;
        border-top: 1px solid var(--fe-enterprise-line);
        border-left: 0;
    }

    .fe-theme-enterprise .fe-enterprise-summary-grid .fe-summary-card:first-child {
        border-top: 0;
    }

    .fe-theme-enterprise .fe-orders-table,
    .fe-theme-enterprise .fe-orders-table tbody,
    .fe-theme-enterprise .fe-orders-table tr,
    .fe-theme-enterprise .fe-orders-table td {
        display: block;
        width: 100%;
    }

    .fe-theme-enterprise .fe-orders-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-orders-table tr {
        margin-bottom: 16px;
        padding: 14px 0;
        border-top: 1px solid var(--fe-enterprise-line);
    }

    .fe-theme-enterprise .fe-orders-table td {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        padding: 8px 0;
        border: 0;
    }

    .fe-theme-enterprise .fe-orders-table td::before {
        content: attr(data-label);
        color: var(--fe-enterprise-subtle);
        font-size: 0.78rem;
    }

    .fe-theme-enterprise .fe-orders-table td > * {
        min-width: 0;
    }

    .fe-theme-enterprise .fe-orders-table td:last-child {
        display: block;
        padding-top: 14px;
    }

    .fe-theme-enterprise .fe-orders-table td:last-child::before {
        display: none;
    }

    .fe-theme-enterprise .fe-orders-table td:last-child .fe-pay-actions {
        justify-content: flex-start;
    }

    .fe-theme-enterprise .fe-checkout-modal__dialog {
        max-height: calc(100dvh - 20px);
        border-radius: 18px;
    }

    .fe-theme-enterprise .fe-checkout-modal__body {
        min-height: 0;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    .fe-theme-enterprise .fe-checkout-modal__head,
    .fe-theme-enterprise .fe-checkout-modal__body,
    .fe-theme-enterprise .fe-checkout-modal__actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fe-theme-enterprise .fe-checkout-modal__dialog {
        width: min(100%, calc(100vw - 16px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .fe-theme-enterprise *,
    .fe-theme-enterprise *::before,
    .fe-theme-enterprise *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Brand presentation layer: the enterprise theme is a customer-facing site,
   so its visual weight stays with the company and its offerings. */
.fe-theme-enterprise {
    --fe-enterprise-radius: 8px;
    --fe-enterprise-radius-sm: 6px;
    --fe-enterprise-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    --fe-enterprise-content: min(1220px, calc(100% - 64px));
    background: var(--fe-page-bg, #f5f5f7);
}

.fe-theme-enterprise .fe-enterprise-topline {
    min-height: 30px;
    background: var(--fe-surface, #fff);
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
}

.fe-theme-enterprise .fe-enterprise-topline__inner {
    min-height: 30px;
    font-size: 0.72rem;
}

.fe-theme-enterprise .fe-enterprise-topline__links a,
.fe-theme-enterprise .fe-enterprise-topline > .fe-shell > span {
    color: var(--fe-text-secondary, #6e6e73);
}

.fe-theme-enterprise .fe-enterprise-header-main {
    min-height: 64px;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 0;
    background: var(--fe-surface, #fff);
    box-shadow: none;
    backdrop-filter: none;
}

.fe-theme-enterprise .fe-enterprise-header > .fe-shell {
    width: 100%;
}

.fe-theme-enterprise .fe-enterprise-header-main > * {
    min-height: 64px;
}

.fe-theme-enterprise .fe-enterprise-brand {
    width: auto;
    max-width: 340px;
    padding-left: 32px;
}

.fe-theme-enterprise .fe-enterprise-brand__logo {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 36px;
    object-fit: contain;
}

.fe-theme-enterprise .fe-enterprise-brand__mark,
.fe-theme-enterprise .fe-enterprise-brand__mark-image {
    width: 32px;
    height: 32px;
    border-radius: 7px;
}

.fe-theme-enterprise .fe-brand__text strong {
    font-size: 0.98rem;
    font-weight: 700;
}

.fe-theme-enterprise .fe-brand__text small {
    color: var(--fe-text-secondary, #6e6e73);
    font-size: 0.68rem;
    letter-spacing: 0;
    text-transform: none;
}

.fe-theme-enterprise .fe-enterprise-nav {
    justify-content: center;
    gap: 24px;
}

.fe-theme-enterprise .fe-enterprise-nav a {
    padding: 23px 0 21px;
    border-radius: 0;
    color: var(--fe-text-secondary, #6e6e73);
    font-size: 0.88rem;
}

.fe-theme-enterprise .fe-enterprise-nav a:hover,
.fe-theme-enterprise .fe-enterprise-nav a.is-active {
    background: transparent;
    color: var(--fe-text-primary, #1d1d1f);
}

.fe-theme-enterprise .fe-enterprise-nav a.is-active::after {
    display: block;
    right: 0;
    bottom: 13px;
    height: 2px;
    background: var(--fe-brand-primary, #111);
}

.fe-theme-enterprise .fe-enterprise-actions {
    padding-right: 32px;
}

.fe-theme-enterprise .fe-enterprise-actions .fe-btn,
.fe-theme-enterprise .fe-btn {
    border-radius: var(--fe-button-radius, 8px);
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-actions .fe-btn--primary {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.84rem;
}

.fe-theme-enterprise .fe-enterprise-home-hero {
    min-height: min(690px, calc(100vh - 94px));
    background:
        linear-gradient(90deg, var(--fe-surface, #fff) 0%, var(--fe-surface, #fff) 39%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0) 72%),
        var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/hero-business-tax-portal.png")) 100% 50% / 64% 100% no-repeat,
        var(--fe-surface, #fff);
}

.fe-theme-enterprise .fe-enterprise-home-hero::before {
    display: none;
}

.fe-theme-enterprise .fe-enterprise-home-hero__inner {
    width: var(--fe-enterprise-content);
    min-height: inherit;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 40px;
    padding: 80px 0;
}

.fe-theme-enterprise .fe-enterprise-home-hero__copy {
    max-width: 560px;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-eyebrow,
.fe-theme-enterprise .fe-enterprise-home-hero h1,
.fe-theme-enterprise .fe-enterprise-home-hero p {
    color: var(--fe-text-primary, #1d1d1f);
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-eyebrow {
    color: var(--fe-brand-accent, #1677ff);
}

.fe-theme-enterprise .fe-enterprise-home-hero h1 {
    max-width: 560px;
    margin-top: 18px;
    font-size: 4.8rem;
    line-height: 1.04;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-home-hero p {
    max-width: 480px;
    margin-top: 24px;
    color: var(--fe-text-secondary, #6e6e73);
    font-size: 1rem;
    line-height: 1.75;
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--primary {
    background: var(--fe-brand-primary, #111);
    border-color: var(--fe-brand-primary, #111);
    color: var(--fe-button-text, #fff);
}

.fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--outline {
    border-color: var(--fe-enterprise-line);
    background: transparent;
    color: var(--fe-text-primary, #1d1d1f);
}

.fe-theme-enterprise .fe-enterprise-home-hero__signal,
.fe-theme-enterprise .fe-enterprise-hero__badges {
    display: none;
}

.fe-theme-enterprise .fe-enterprise-home-section {
    padding: 112px 0;
}

.fe-theme-enterprise .fe-enterprise-home-section__head {
    max-width: 650px;
    margin-bottom: 48px;
}

.fe-theme-enterprise .fe-enterprise-home-section__head h2 {
    font-size: 3.4rem;
    line-height: 1.06;
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-home-section__head p {
    max-width: 560px;
    color: var(--fe-text-secondary, #6e6e73);
}

.fe-theme-enterprise .fe-enterprise-home-business,
.fe-theme-enterprise .fe-enterprise-home-scenario-layout,
.fe-theme-enterprise .fe-enterprise-home-products,
.fe-theme-enterprise .fe-enterprise-home-process {
    gap: 88px;
}

.fe-theme-enterprise .fe-enterprise-home-business__image,
.fe-theme-enterprise .fe-enterprise-home-scenario-image,
.fe-theme-enterprise .fe-enterprise-home-cta,
.fe-theme-enterprise .fe-enterprise-dashboard__visual {
    border-radius: 10px;
}

.fe-theme-enterprise .fe-enterprise-home-business__list,
.fe-theme-enterprise .fe-enterprise-scenario-list {
    border-top-color: var(--fe-enterprise-line);
}

.fe-theme-enterprise .fe-enterprise-home-business__item,
.fe-theme-enterprise .fe-enterprise-scenario-item {
    padding: 28px 0;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid {
    gap: 42px 28px;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card img,
.fe-theme-enterprise .fe-enterprise-product-card figure {
    border-radius: 8px;
}

.fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card strong,
.fe-theme-enterprise .fe-enterprise-product-card__body h3 {
    font-size: 1.06rem;
    font-weight: 650;
}

.fe-theme-enterprise .fe-enterprise-home-process__list {
    border-top-color: rgba(255, 255, 255, 0.28);
}

.fe-theme-enterprise .fe-enterprise-home-cta {
    border-radius: 10px;
    padding: 56px;
}

.fe-theme-enterprise .fe-enterprise-catalog-hero {
    min-height: 360px;
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-product-card,
.fe-theme-enterprise .fe-enterprise-cart-panel,
.fe-theme-enterprise .fe-enterprise-paybox,
.fe-theme-enterprise .fe-pay-panel,
.fe-theme-enterprise .fe-order-panel {
    border-radius: 8px;
    box-shadow: var(--fe-enterprise-shadow);
}

.fe-theme-enterprise .fe-enterprise-product-card {
    border: 1px solid var(--fe-enterprise-line-soft);
    background: var(--fe-surface, #fff);
    padding: 16px;
}

.fe-theme-enterprise .fe-enterprise-product-card.is-selected {
    border-color: var(--fe-brand-primary, #111);
}

.fe-theme-enterprise .fe-enterprise-product-card__body,
.fe-theme-enterprise .fe-enterprise-product-card__foot {
    padding-left: 4px;
    padding-right: 4px;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu {
    border: 0;
    border-radius: 0;
    background: var(--fe-surface, #fff);
    color: var(--fe-text-primary, #1d1d1f);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 4px 12px;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
    color: var(--fe-text-primary, #1d1d1f);
    font-weight: 700;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--fe-page-bg, #f5f5f7);
    color: var(--fe-text-primary, #1d1d1f);
    font-size: 1.5rem;
    line-height: 1;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu a,
.fe-theme-enterprise .fe-enterprise-mobile-menu .fe-btn {
    min-height: 52px;
    border: 0;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 0;
    background: transparent;
    color: var(--fe-text-primary, #1d1d1f);
    font-size: 1rem;
    font-weight: 600;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu a:hover,
.fe-theme-enterprise .fe-enterprise-mobile-menu a:focus-visible {
    background: var(--fe-page-bg, #f5f5f7);
    color: var(--fe-brand-primary, #111);
}

.fe-theme-enterprise .fe-menu-toggle {
    display: none;
    width: 42px;
    min-height: 42px;
    margin-right: 14px;
    padding: 0;
    border: 1px solid var(--fe-enterprise-line);
    border-radius: 50%;
    background: var(--fe-surface, #fff);
    color: var(--fe-text-primary, #1d1d1f);
}

.fe-theme-enterprise .fe-menu-toggle i,
.fe-theme-enterprise .fe-menu-toggle i::after {
    width: 17px;
    height: 2px;
    margin: 0;
    border: 0;
    background: currentColor;
}

.fe-theme-enterprise .fe-menu-toggle i {
    position: relative;
}

.fe-theme-enterprise .fe-menu-toggle i::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
}

body.fe-theme-enterprise.fe-enterprise-menu-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 32px, 620px);
    }

    .fe-theme-enterprise .fe-enterprise-topline {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-header-main,
    .fe-theme-enterprise .fe-enterprise-header-main > * {
        min-height: 58px;
    }

    .fe-theme-enterprise .fe-enterprise-brand {
        max-width: calc(100% - 70px);
        padding-left: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-brand__logo {
        max-width: 148px;
        max-height: 30px;
    }

    .fe-theme-enterprise .fe-enterprise-actions,
    .fe-theme-enterprise .fe-enterprise-nav {
        display: none;
    }

    .fe-theme-enterprise .fe-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 220;
        display: block;
        overflow-y: auto;
        padding: calc(18px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero {
        min-height: 690px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.94) 62%, var(--fe-surface, #fff) 100%),
            var(--fe-enterprise-home-hero-mobile-image, var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/mobile-portal-hero.png"))) center top / 100% 62% no-repeat,
            var(--fe-surface, #fff);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        min-height: 690px;
        display: flex;
        align-items: flex-end;
        padding: 64px 0 48px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__copy {
        max-width: 100%;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero h1 {
        max-width: 100%;
        font-size: 3rem;
        letter-spacing: 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero p {
        max-width: 100%;
        margin-top: 18px;
        font-size: 0.94rem;
    }

    .fe-theme-enterprise .fe-enterprise-home-section {
        padding: 72px 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head h2 {
        font-size: 2.2rem;
    }

    .fe-theme-enterprise .fe-enterprise-home-business,
    .fe-theme-enterprise .fe-enterprise-home-products,
    .fe-theme-enterprise .fe-enterprise-home-process,
    .fe-theme-enterprise .fe-enterprise-home-scenario-layout {
        gap: 40px;
    }

    .fe-theme-enterprise .fe-enterprise-home-business__image,
    .fe-theme-enterprise .fe-enterprise-home-scenario-image {
        border-radius: 8px;
    }

    .fe-theme-enterprise .fe-enterprise-home-cta {
        min-height: 360px;
        padding: 32px 24px;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero {
        min-height: 390px;
        margin-top: 0;
        padding: 36px 24px;
        border-radius: 0;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        padding: 12px;
        border-radius: 8px;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        border-radius: 6px;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard,
    .fe-theme-enterprise .fe-enterprise-summary-grid,
    .fe-theme-enterprise .fe-enterprise-orders {
        width: var(--fe-enterprise-content);
    }
}

/* Production close-out: keep the enterprise template spacious on desktop and
   predictable on mobile without touching the shared payment flow. */
.fe-theme-enterprise {
    --fe-enterprise-content: min(1480px, calc(100% - 72px));
}

.fe-theme-enterprise .fe-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu[hidden],
.fe-theme-enterprise .fe-checkout-modal[hidden] {
    display: none !important;
}

.fe-theme-enterprise .fe-enterprise-footer__grid {
    padding-top: 52px;
    padding-bottom: 34px;
}

.fe-theme-enterprise .fe-site-footer__bottom {
    margin-top: 0;
}

.fe-theme-enterprise .fe-enterprise-page-hero,
.fe-theme-enterprise .fe-enterprise-content-grid,
.fe-theme-enterprise .fe-enterprise-tax-grid,
.fe-theme-enterprise .fe-enterprise-faq-list {
    width: var(--fe-enterprise-content);
    max-width: none;
}

.fe-theme-enterprise .fe-enterprise-page-hero {
    gap: 72px;
}

.fe-theme-enterprise .fe-enterprise-checkout__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 44px;
}

.fe-theme-enterprise .fe-enterprise-checkout-card {
    min-width: 0;
}

@media (min-width: 1500px) {
    .fe-theme-enterprise {
        --fe-enterprise-content: min(1600px, calc(100% - 96px));
    }
}

@media (max-width: 980px) {
    .fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 48px, 860px);
    }

    .fe-theme-enterprise .fe-enterprise-checkout__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .fe-theme-enterprise .fe-enterprise-page-hero {
        gap: 36px;
    }
}

@media (max-width: 720px) {
    .fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 28px, 620px);
    }

    .fe-theme-enterprise .fe-enterprise-header {
        position: sticky;
        top: 0;
        z-index: 180;
        background: var(--fe-surface, #fff);
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        padding: 0;
    }

    .fe-theme-enterprise .fe-enterprise-brand {
        min-width: 0;
        max-width: calc(100% - 72px);
    }

    .fe-theme-enterprise .fe-brand__text {
        min-width: 0;
    }

    .fe-theme-enterprise .fe-brand__text strong,
    .fe-theme-enterprise .fe-brand__text small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-menu-toggle {
        position: relative;
        z-index: 230;
        flex: 0 0 42px;
        margin-left: auto;
        margin-right: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 225;
        color: var(--fe-text-primary, #1d1d1f);
        background: var(--fe-surface, #fff);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu a {
        color: var(--fe-text-primary, #1d1d1f);
        overflow-wrap: anywhere;
    }

    .fe-theme-enterprise .fe-enterprise-flow-header,
    .fe-theme-enterprise .fe-auth-wrap,
    .fe-theme-enterprise .fe-page-hero,
    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout,
    .fe-theme-enterprise .fe-enterprise-dashboard {
        padding-top: 34px;
    }

    .fe-theme-enterprise .fe-enterprise-flow-header h1,
    .fe-theme-enterprise .fe-pay-hero h1,
    .fe-theme-enterprise .fe-order-hero h1,
    .fe-theme-enterprise .fe-enterprise-dashboard h1,
    .fe-theme-enterprise .fe-page-hero h1,
    .fe-theme-enterprise .fe-auth-copy h1 {
        font-size: clamp(2rem, 9vw, 2.72rem);
        line-height: 1.08;
    }

    .fe-theme-enterprise .fe-enterprise-checkout {
        padding-top: 0;
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-checkout-card .fe-checkout-card__head {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-bottom: 14px;
    }

    .fe-theme-enterprise .fe-draft-items {
        gap: 0;
    }

    .fe-theme-enterprise .fe-enterprise-draft-item {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        padding: 14px 0;
    }

    .fe-theme-enterprise .fe-enterprise-draft-item b {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .fe-theme-enterprise .fe-checkout-card__foot {
        gap: 12px;
        padding-top: 14px;
    }

    .fe-theme-enterprise .fe-contact-row {
        display: block;
        padding: 0;
        border-top: 0;
        border-bottom: 0;
    }

    .fe-theme-enterprise .fe-contact-row__content {
        display: none;
    }

    .fe-theme-enterprise .fe-contact-row__action {
        width: 100%;
    }

    .fe-theme-enterprise .fe-checkout-remark-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fe-theme-enterprise .fe-checkout-modal {
        align-items: end;
        place-items: end center;
        padding: 8px 8px 0;
    }

    .fe-theme-enterprise .fe-checkout-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 48px);
        max-height: min(86dvh, 680px);
        grid-template-rows: auto minmax(0, 1fr) auto;
        border-radius: 16px 16px 0 0;
    }

    .fe-theme-enterprise .fe-checkout-modal__head {
        padding-top: 14px;
        padding-bottom: 12px;
    }

    .fe-theme-enterprise .fe-checkout-modal__body {
        max-height: none;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .fe-theme-enterprise .fe-checkout-modal__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 12px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-checkout-modal__actions .fe-btn {
        width: 100%;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar {
        z-index: 160;
        min-height: 78px;
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-tabbar {
        z-index: 150;
    }

    body.fe-theme-enterprise {
        padding-bottom: 0;
    }

    .fe-theme-enterprise .fe-site-footer {
        margin-top: 0;
        padding-bottom: 0;
    }

    body.fe-theme-enterprise.fe-has-mobile-tabbar:not(.fe-enterprise-catalog-body):not(.fe-enterprise-checkout-body) .fe-site-footer,
    body.fe-theme-enterprise.fe-enterprise-catalog-body .fe-site-footer,
    body.fe-theme-enterprise.fe-enterprise-checkout-body .fe-site-footer {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-footer__grid {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .fe-theme-enterprise .fe-enterprise-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
    }

    .fe-theme-enterprise .fe-site-footer__bottom {
        padding-bottom: 0;
    }
}

/* Final enterprise close-out */
body.fe-theme-enterprise > main.fe-shell {
    width: 100%;
    max-width: none;
}

.fe-theme-enterprise {
    --fe-enterprise-content: min(1760px, calc(100% - 48px));
}

.fe-theme-enterprise .fe-enterprise-header-main {
    width: var(--fe-enterprise-content);
    margin: 0 auto;
}

.fe-theme-enterprise .fe-enterprise-home-hero,
.fe-theme-enterprise .fe-enterprise-catalog-hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
}

.fe-theme-enterprise .fe-enterprise-home-hero__inner,
.fe-theme-enterprise .fe-enterprise-page-hero,
.fe-theme-enterprise .fe-enterprise-content-grid,
.fe-theme-enterprise .fe-enterprise-tax-grid,
.fe-theme-enterprise .fe-enterprise-faq-list,
.fe-theme-enterprise .fe-enterprise-dashboard,
.fe-theme-enterprise .fe-enterprise-checkout__grid,
.fe-theme-enterprise .fe-pay-layout,
.fe-theme-enterprise .fe-order-layout,
.fe-theme-enterprise .fe-auth-wrap,
.fe-theme-enterprise .fe-page-hero,
.fe-theme-enterprise .fe-enterprise-home-section > .fe-shell,
.fe-theme-enterprise .fe-enterprise-home-cta {
    width: var(--fe-enterprise-content);
}

.fe-theme-enterprise .fe-enterprise-home-hero__inner {
    width: var(--fe-enterprise-content);
}

.fe-theme-enterprise .fe-enterprise-catalog-hero {
    margin-top: 0;
}

.fe-theme-enterprise .fe-service-layout,
.fe-theme-enterprise .fe-enterprise-catalog-layout {
    display: block;
    width: var(--fe-enterprise-content);
    margin: 0 auto;
    padding-top: 48px;
}

.fe-theme-enterprise .fe-service-form-shell,
.fe-theme-enterprise .fe-enterprise-shop-form {
    display: block;
}

.fe-theme-enterprise .fe-service-main {
    width: 100%;
}

.fe-theme-enterprise .fe-enterprise-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.fe-theme-enterprise .fe-enterprise-product-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 0;
    padding: 14px;
}

.fe-theme-enterprise .fe-enterprise-product-card figure {
    position: relative;
    margin: 0;
}

.fe-theme-enterprise .fe-product-detail-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.76);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.fe-theme-enterprise .fe-enterprise-product-card__body h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.fe-theme-enterprise .fe-enterprise-product-card__body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.fe-theme-enterprise .fe-enterprise-product-card__foot {
    align-self: end;
}

.fe-theme-enterprise .fe-enterprise-cart-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 190;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 60px;
    padding: 0 18px;
    border: 1px solid var(--fe-enterprise-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--fe-enterprise-ink);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.fe-theme-enterprise .fe-enterprise-cart-fab span {
    font-size: 0.88rem;
    font-weight: 700;
}

.fe-theme-enterprise .fe-enterprise-cart-fab strong {
    font-size: 0.98rem;
}

.fe-theme-enterprise .fe-enterprise-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: grid;
    place-items: end end;
    padding: 24px;
}

.fe-theme-enterprise .fe-enterprise-cart-drawer__backdrop,
.fe-theme-enterprise .fe-enterprise-sku-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(4px);
}

.fe-theme-enterprise .fe-enterprise-cart-panel--drawer {
    position: relative;
    z-index: 1;
    width: min(460px, calc(100vw - 32px));
    max-height: min(88vh, 860px);
    overflow: auto;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.fe-theme-enterprise .fe-enterprise-cart-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fe-theme-enterprise .fe-enterprise-cart-panel__close,
.fe-theme-enterprise .fe-enterprise-sku-modal__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--fe-page-bg, #f5f5f7);
    color: var(--fe-text-primary, #1d1d1f);
    font-size: 1.4rem;
    line-height: 1;
}

.fe-theme-enterprise .fe-cart-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--fe-enterprise-line-soft);
    font-weight: 700;
}

.fe-theme-enterprise .fe-enterprise-cart-panel .fe-cart-summary,
.fe-theme-enterprise .fe-enterprise-cart-panel .fe-input-wrap,
.fe-theme-enterprise .fe-enterprise-cart-panel .fe-field,
.fe-theme-enterprise .fe-enterprise-cart-panel .fe-process-card {
    width: 100%;
}

.fe-theme-enterprise .fe-cart-submit {
    margin-top: 16px;
    width: 100%;
}

.fe-theme-enterprise .fe-enterprise-sku-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: grid;
    place-items: center;
    padding: 24px;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(840px, calc(100vw - 32px));
    max-height: min(90vh, 860px);
    overflow: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.fe-theme-enterprise .fe-enterprise-sku-modal__media {
    min-height: 100%;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__body {
    padding: 28px;
}

.fe-theme-enterprise .fe-sku-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.fe-theme-enterprise .fe-sku-detail-tags span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: var(--fe-text-primary, #1d1d1f);
    font-size: 0.84rem;
}

.fe-theme-enterprise .fe-sku-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.fe-theme-enterprise .fe-sku-detail-meta div {
    padding-top: 16px;
    border-top: 1px solid var(--fe-enterprise-line-soft);
}

.fe-theme-enterprise .fe-sku-detail-meta span {
    display: block;
    color: var(--fe-text-secondary, #6e6e73);
    font-size: 0.8rem;
}

.fe-theme-enterprise .fe-sku-detail-meta strong {
    display: block;
    margin-top: 8px;
    font-size: 1.14rem;
}

.fe-theme-enterprise .fe-sku-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.fe-theme-enterprise .fe-sku-detail-actions .fe-btn {
    flex: 1 1 0;
}

.fe-theme-enterprise .fe-enterprise-mobile-cart-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 180;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border: 1px solid var(--fe-enterprise-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.18);
}

.fe-theme-enterprise .fe-enterprise-mobile-cart-bar > div {
    display: grid;
    gap: 2px;
}

.fe-theme-enterprise .fe-enterprise-mobile-cart-bar strong {
    font-size: 1rem;
}

.fe-theme-enterprise .fe-enterprise-mobile-cart-bar .fe-btn {
    min-height: 42px;
    padding: 0 16px;
}

.fe-theme-enterprise .fe-enterprise-cart-open,
.fe-theme-enterprise .fe-enterprise-sku-open {
    overflow: hidden;
}

.fe-theme-enterprise .fe-enterprise-cart-drawer[hidden],
.fe-theme-enterprise .fe-enterprise-sku-modal[hidden] {
    display: none !important;
}

@media (max-width: 980px) {
    body.fe-theme-enterprise > main.fe-shell {
        width: 100%;
    }

    .fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 32px, 960px);
    }

    .fe-theme-enterprise .fe-enterprise-home-business,
    .fe-theme-enterprise .fe-enterprise-home-scenario-layout,
    .fe-theme-enterprise .fe-enterprise-home-products,
    .fe-theme-enterprise .fe-enterprise-home-process {
        gap: 32px;
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__intro {
        position: static;
    }

    .fe-theme-enterprise .fe-enterprise-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .fe-theme-enterprise .fe-enterprise-checkout__grid {
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-cart-fab {
        right: 16px;
        bottom: 92px;
    }
}

@media (max-width: 720px) {
    .fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 20px, 640px);
    }

    .fe-theme-enterprise .fe-enterprise-topline,
    .fe-theme-enterprise .fe-enterprise-actions,
    .fe-theme-enterprise .fe-enterprise-nav {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-header {
        position: sticky;
        top: 0;
        z-index: 180;
        background: rgba(255, 255, 255, 0.96);
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        width: 100%;
        margin: 0;
        min-height: 58px;
        padding: 0 12px;
        border-radius: 0;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-brand {
        max-width: 100%;
        padding-left: 0;
    }

    .fe-theme-enterprise .fe-enterprise-brand__logo {
        max-width: 138px;
        max-height: 28px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero {
        min-height: 0;
        padding: 0;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.9) 64%, var(--fe-surface, #fff) 100%),
            var(--fe-enterprise-home-hero-mobile-image, var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/mobile-portal-hero.png"))) center top / 100% 55% no-repeat,
            var(--fe-surface, #fff);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        width: calc(100% - 20px);
        min-height: 0;
        display: block;
        padding: 300px 0 28px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero h1 {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero p {
        font-size: 0.96rem;
    }

    .fe-theme-enterprise .fe-enterprise-home-section {
        padding: 52px 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head h2 {
        font-size: 1.95rem;
    }

    .fe-theme-enterprise .fe-page-hero,
    .fe-theme-enterprise .fe-auth-wrap,
    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout,
    .fe-theme-enterprise .fe-enterprise-dashboard {
        display: block;
        padding-top: 18px;
    }

    .fe-theme-enterprise .fe-visual-card,
    .fe-theme-enterprise .fe-auth-visual,
    .fe-theme-enterprise .fe-enterprise-dashboard__visual {
        display: none;
    }

    .fe-theme-enterprise .fe-page-hero--card,
    .fe-theme-enterprise .fe-enterprise-page-hero,
    .fe-theme-enterprise .fe-enterprise-tax-grid,
    .fe-theme-enterprise .fe-enterprise-content-grid,
    .fe-theme-enterprise .fe-enterprise-faq-list,
    .fe-theme-enterprise .fe-enterprise-checkout__grid {
        width: var(--fe-enterprise-content);
        margin-left: auto;
        margin-right: auto;
    }

    .fe-theme-enterprise .fe-enterprise-product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        grid-template-columns: 104px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        column-gap: 12px;
        row-gap: 8px;
        padding: 10px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        grid-row: 1 / span 3;
        min-height: 104px;
    }

    .fe-theme-enterprise .fe-product-detail-toggle {
        top: 8px;
        right: 8px;
        min-height: 26px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body h3 {
        font-size: 0.96rem;
        line-height: 1.35;
        -webkit-line-clamp: 2;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body p {
        font-size: 0.84rem;
        -webkit-line-clamp: 2;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot {
        grid-column: 2;
        align-self: end;
    }

    .fe-theme-enterprise .fe-enterprise-cart-fab {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar {
        display: flex;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-cart-drawer {
        padding: 8px;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel--drawer {
        width: 100%;
        max-height: calc(100vh - 16px);
        border-radius: 20px 20px 0 0;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal {
        padding: 8px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 16px);
        grid-template-columns: 1fr;
        border-radius: 20px 20px 0 0;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media {
        aspect-ratio: 4 / 3;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body {
        padding: 18px;
    }

    .fe-theme-enterprise .fe-sku-detail-actions {
        flex-direction: column;
    }

    .fe-theme-enterprise .fe-enterprise-home-cta,
    .fe-theme-enterprise .fe-enterprise-home-business__image,
    .fe-theme-enterprise .fe-enterprise-home-scenario-image {
        border-radius: 10px;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-card .fe-checkout-card__head,
    .fe-theme-enterprise .fe-checkout-remark-grid,
    .fe-theme-enterprise .fe-draft-form-grid,
    .fe-theme-enterprise .fe-sku-detail-meta {
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-card,
    .fe-theme-enterprise .fe-enterprise-cart-panel--drawer,
    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog,
    .fe-theme-enterprise .fe-enterprise-product-card,
    .fe-theme-enterprise .fe-auth-card,
    .fe-theme-enterprise .fe-pay-panel,
    .fe-theme-enterprise .fe-order-panel {
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-site-footer {
        padding-bottom: calc(94px + env(safe-area-inset-bottom));
    }
}

/* Production enterprise layout contract */
body.fe-theme-enterprise {
    --fe-enterprise-content: min(1480px, calc(100% - 64px));
    --fe-enterprise-wide: min(1760px, calc(100% - 48px));
    --fe-enterprise-article: min(980px, calc(100% - 48px));
    overflow-x: hidden;
}

body.fe-theme-enterprise > main.fe-shell {
    width: 100%;
    max-width: none;
}

.fe-theme-enterprise .fe-enterprise-header > .fe-shell,
.fe-theme-enterprise .fe-enterprise-topline__inner {
    width: var(--fe-enterprise-wide);
    max-width: none;
}

.fe-theme-enterprise .fe-enterprise-header-main {
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-brand {
    min-width: 0;
    max-width: min(420px, 34vw);
}

.fe-theme-enterprise .fe-enterprise-brand__logo {
    width: auto;
    max-width: 220px;
    max-height: 40px;
    object-fit: contain;
}

.fe-theme-enterprise .fe-brand__text {
    min-width: 0;
}

.fe-theme-enterprise .fe-brand__text strong,
.fe-theme-enterprise .fe-brand__text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fe-theme-enterprise .fe-enterprise-menu-toggle {
    display: none;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: var(--fe-enterprise-ink);
}

.fe-theme-enterprise .fe-enterprise-menu-toggle i,
.fe-theme-enterprise .fe-enterprise-menu-toggle i::before,
.fe-theme-enterprise .fe-enterprise-menu-toggle i::after {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: currentColor;
    content: "";
}

.fe-theme-enterprise .fe-enterprise-menu-toggle i::before {
    transform: translateY(-6px);
}

.fe-theme-enterprise .fe-enterprise-menu-toggle i::after {
    transform: translateY(4px);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu[hidden] {
    display: none !important;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 260;
    display: grid;
    place-items: start end;
    padding: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(6px);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__panel {
    position: relative;
    z-index: 1;
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    border: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 10px;
    border-bottom: 1px solid var(--fe-enterprise-line-soft);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__head span {
    min-width: 0;
    overflow: hidden;
    color: var(--fe-enterprise-ink);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__head button {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.06);
    color: var(--fe-enterprise-ink);
    font-size: 1.3rem;
    line-height: 1;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__links {
    display: grid;
    gap: 2px;
    padding: 10px;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 14px;
    color: var(--fe-enterprise-ink);
    font-weight: 700;
    text-decoration: none;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__links a.is-active,
.fe-theme-enterprise .fe-enterprise-mobile-menu__links a:hover {
    background: rgba(17, 24, 39, 0.06);
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 16px 16px;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__actions form,
.fe-theme-enterprise .fe-enterprise-mobile-menu__actions .fe-btn {
    width: 100%;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__actions > :only-child {
    grid-column: 1 / -1;
}

.fe-theme-enterprise .fe-enterprise-mobile-menu__actions .fe-btn {
    justify-content: center;
}

body.fe-enterprise-menu-open {
    overflow: hidden;
}

body.fe-modal-open,
body.fe-enterprise-cart-open,
body.fe-enterprise-sku-open {
    overflow: hidden;
}

.fe-theme-enterprise .fe-enterprise-home-hero {
    min-height: clamp(620px, 78vh, 860px);
}

.fe-theme-enterprise .fe-enterprise-home-hero__inner,
.fe-theme-enterprise .fe-enterprise-home-section > .fe-shell,
.fe-theme-enterprise .fe-enterprise-home-cta,
.fe-theme-enterprise .fe-enterprise-catalog-hero,
.fe-theme-enterprise .fe-service-layout,
.fe-theme-enterprise .fe-enterprise-catalog-layout,
.fe-theme-enterprise .fe-enterprise-flow-header,
.fe-theme-enterprise .fe-enterprise-checkout__grid,
.fe-theme-enterprise .fe-pay-layout,
.fe-theme-enterprise .fe-order-layout,
.fe-theme-enterprise .fe-auth-wrap,
.fe-theme-enterprise .fe-enterprise-dashboard,
.fe-theme-enterprise .fe-enterprise-summary-grid,
.fe-theme-enterprise .fe-enterprise-orders {
    width: var(--fe-enterprise-content);
    max-width: none;
}

.fe-theme-enterprise .fe-enterprise-catalog-hero,
.fe-theme-enterprise .fe-service-layout,
.fe-theme-enterprise .fe-enterprise-catalog-layout {
    width: var(--fe-enterprise-wide);
}

.fe-theme-enterprise .fe-enterprise-article-page {
    width: var(--fe-enterprise-article);
    margin: 0 auto;
    padding: 86px 0 110px;
    text-align: center;
}

.fe-theme-enterprise .fe-enterprise-article-hero {
    margin: 0 auto 54px;
}

.fe-theme-enterprise .fe-enterprise-article-hero h1 {
    margin: 18px auto 0;
    color: var(--fe-enterprise-ink);
    font-size: clamp(3.2rem, 6vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0;
    text-wrap: balance;
}

.fe-theme-enterprise .fe-enterprise-article-hero p {
    max-width: 720px;
    margin: 22px auto 0;
    color: var(--fe-enterprise-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.fe-theme-enterprise .fe-enterprise-article-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--fe-enterprise-line);
    border-bottom: 1px solid var(--fe-enterprise-line);
    text-align: left;
}

.fe-theme-enterprise .fe-enterprise-article-block {
    padding: 34px 0;
    border-top: 1px solid var(--fe-enterprise-line-soft);
}

.fe-theme-enterprise .fe-enterprise-article-block:first-child {
    border-top: 0;
}

.fe-theme-enterprise .fe-enterprise-article-block h2 {
    margin: 0;
    color: var(--fe-enterprise-ink);
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
    letter-spacing: 0;
}

.fe-theme-enterprise .fe-enterprise-article-block p,
.fe-theme-enterprise .fe-enterprise-article-block li {
    color: var(--fe-enterprise-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.fe-theme-enterprise .fe-enterprise-article-block p {
    margin: 14px 0 0;
}

.fe-theme-enterprise .fe-enterprise-article-faq {
    margin-top: 64px;
}

.fe-theme-enterprise .fe-enterprise-article-section-head {
    margin-bottom: 28px;
    text-align: center;
}

.fe-theme-enterprise .fe-enterprise-article-section-head h2 {
    margin: 14px auto 0;
    color: var(--fe-enterprise-ink);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    text-wrap: balance;
}

.fe-theme-enterprise .fe-enterprise-article-section-head p {
    max-width: 700px;
    margin: 16px auto 0;
    color: var(--fe-enterprise-muted);
    line-height: 1.75;
}

.fe-theme-enterprise .fe-enterprise-article-cards {
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.fe-theme-enterprise .fe-enterprise-tax-grid.fe-enterprise-article-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fe-theme-enterprise .fe-enterprise-product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.fe-theme-enterprise .fe-enterprise-product-card {
    min-width: 0;
    border-radius: 20px;
}

.fe-theme-enterprise .fe-enterprise-product-card figure {
    aspect-ratio: 1.22 / 1;
    overflow: hidden;
    border-radius: 16px;
}

.fe-theme-enterprise .fe-enterprise-product-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fe-theme-enterprise .fe-enterprise-product-card figure span {
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fe-theme-enterprise .fe-enterprise-product-card__body {
    min-width: 0;
}

.fe-theme-enterprise .fe-enterprise-product-card__foot {
    gap: 12px;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
    width: min(720px, calc(100vw - 40px));
    max-height: min(82vh, 680px);
    grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
    overflow: hidden;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__body {
    min-width: 0;
    overflow-y: auto;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__body h2 {
    margin-top: 12px;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.14;
    text-wrap: balance;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__body p {
    color: var(--fe-enterprise-muted);
    line-height: 1.75;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.fe-theme-enterprise .fe-enterprise-checkout__grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    align-items: start;
    gap: 42px;
    margin: 0 auto;
}

.fe-theme-enterprise .fe-enterprise-flow-header {
    padding-top: 72px;
    padding-bottom: 26px;
    text-align: center;
}

.fe-theme-enterprise .fe-enterprise-flow-header h1,
.fe-theme-enterprise .fe-enterprise-flow-header p {
    margin-left: auto;
    margin-right: auto;
}

.fe-theme-enterprise .fe-enterprise-checkout-card {
    padding: 30px;
    border: 1px solid var(--fe-enterprise-line-soft);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.07);
}

.fe-theme-enterprise .fe-enterprise-paybox {
    position: sticky;
    top: 96px;
    align-self: start;
}

.fe-theme-enterprise .fe-pay-layout,
.fe-theme-enterprise .fe-order-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    align-items: start;
}

.fe-theme-enterprise .fe-pay-panel,
.fe-theme-enterprise .fe-order-panel {
    min-width: 0;
}

.fe-theme-enterprise .fe-mobile-tabbar {
    z-index: 150;
}

.fe-theme-enterprise .fe-site-footer {
    margin-top: 0;
}

@media (min-width: 1600px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(1540px, calc(100% - 96px));
        --fe-enterprise-wide: min(1840px, calc(100% - 64px));
    }
}

@media (max-width: 980px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 32px, 900px);
        --fe-enterprise-wide: min(100% - 32px, 900px);
        --fe-enterprise-article: min(100% - 32px, 720px);
    }

    .fe-theme-enterprise .fe-enterprise-nav,
    .fe-theme-enterprise .fe-enterprise-actions,
    .fe-theme-enterprise .fe-enterprise-topline {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .fe-theme-enterprise .fe-enterprise-header {
        position: sticky;
        top: 0;
        z-index: 180;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
    }

    .fe-theme-enterprise .fe-enterprise-header > .fe-shell {
        width: 100%;
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        min-height: 60px;
        padding: 0 12px;
    }

    .fe-theme-enterprise .fe-enterprise-brand {
        max-width: calc(100vw - 76px);
        padding-left: 0;
    }

    .fe-theme-enterprise .fe-enterprise-brand__mark,
    .fe-theme-enterprise .fe-enterprise-brand__mark-image {
        flex: 0 0 42px;
    }

    .fe-theme-enterprise .fe-enterprise-brand__logo {
        max-width: min(190px, calc(100vw - 92px));
        max-height: 34px;
    }

    .fe-theme-enterprise .fe-brand__text strong {
        max-width: calc(100vw - 130px);
        font-size: 0.98rem;
    }

    .fe-theme-enterprise .fe-brand__text small {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-brand--text_only .fe-brand__text strong {
        max-width: calc(100vw - 74px);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.88) 72%, var(--fe-surface, #fff) 100%),
            var(--fe-enterprise-home-hero-mobile-image, var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/mobile-portal-hero.png"))) center top / 100% 48% no-repeat,
            var(--fe-surface, #fff);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        min-height: 0;
        display: block;
        padding: clamp(210px, 52vw, 300px) 0 34px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero h1 {
        color: var(--fe-enterprise-ink);
        font-size: clamp(2.4rem, 12vw, 3.35rem);
        line-height: 1.02;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero p,
    .fe-theme-enterprise .fe-enterprise-home-hero .fe-eyebrow {
        color: var(--fe-enterprise-muted);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero .fe-btn--primary {
        background: var(--fe-enterprise-brand);
        border-color: var(--fe-enterprise-brand);
        color: #fff;
    }

    .fe-theme-enterprise .fe-enterprise-home-section {
        padding: 46px 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head {
        margin-bottom: 22px;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head h2 {
        font-size: clamp(1.85rem, 8vw, 2.45rem);
    }

    .fe-theme-enterprise .fe-enterprise-article-page {
        padding: 46px 0 88px;
    }

    .fe-theme-enterprise .fe-enterprise-article-hero {
        margin-bottom: 36px;
    }

    .fe-theme-enterprise .fe-enterprise-article-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.25rem);
    }

    .fe-theme-enterprise .fe-enterprise-article-list,
    .fe-theme-enterprise .fe-enterprise-article-block {
        text-align: left;
    }

    .fe-theme-enterprise .fe-enterprise-tax-grid.fe-enterprise-article-cards {
        grid-template-columns: 1fr;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero {
        min-height: auto;
        padding: 32px 0;
        border-radius: 0;
        background: transparent;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero::before {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero h1 {
        color: var(--fe-enterprise-ink);
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero p,
    .fe-theme-enterprise .fe-enterprise-catalog-hero .fe-eyebrow {
        color: var(--fe-enterprise-muted);
    }

    .fe-theme-enterprise .fe-service-layout,
    .fe-theme-enterprise .fe-enterprise-catalog-layout {
        padding-top: 10px;
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-product-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 10px 12px;
        padding: 10px;
        border-radius: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        grid-row: 1 / span 2;
        aspect-ratio: 1 / 1;
        min-height: 92px;
        border-radius: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure span {
        left: 6px;
        bottom: 6px;
        max-width: calc(100% - 12px);
        padding: 4px 7px;
        font-size: 0.68rem;
    }

    .fe-theme-enterprise .fe-product-detail-toggle {
        top: 6px;
        right: 6px;
        min-height: 24px;
        padding: 0 8px;
        font-size: 0.68rem;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body h3 {
        margin-bottom: 5px;
        font-size: 0.96rem;
        line-height: 1.32;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body p,
    .fe-theme-enterprise .fe-card__tags {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot {
        grid-column: 2;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 8px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__controls {
        display: inline-flex;
        grid-column: 1 / -1;
        width: fit-content;
        max-width: 100%;
        min-height: 32px;
        border-radius: 999px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-card__price-row {
        min-width: 0;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-qty-btn {
        width: 30px;
        height: 30px;
        min-height: 30px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-qty-input {
        width: 38px;
        height: 30px;
        min-height: 30px;
        font-size: 0.84rem;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__action {
        grid-column: 2;
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal {
        align-items: end;
        place-items: end center;
        padding: 8px 8px 0;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: 100%;
        max-height: min(78dvh, 620px);
        grid-template-columns: 1fr;
        border-radius: 20px 20px 0 0;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media {
        aspect-ratio: 16 / 9;
        max-height: 190px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body {
        padding: 18px;
    }

    .fe-theme-enterprise .fe-sku-detail-actions {
        position: sticky;
        bottom: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-top: 12px;
        background: rgba(255, 255, 255, 0.96);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar {
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 170;
        border-radius: 999px;
        padding: 10px 10px 10px 14px;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-body .fe-enterprise-tabbar {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-flow-header {
        padding: 36px 0 16px;
    }

    .fe-theme-enterprise .fe-enterprise-flow-header h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .fe-theme-enterprise .fe-enterprise-checkout__grid,
    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-card {
        padding: 18px;
        border-radius: 18px;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-paybox {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-checkout {
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout {
        padding-bottom: calc(104px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar {
        z-index: 170;
        min-height: 74px;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-body .fe-enterprise-tabbar {
        display: none;
    }

    .fe-theme-enterprise .fe-checkout-modal__dialog {
        max-height: min(82dvh, 640px);
        border-radius: 18px 18px 0 0;
    }

    .fe-theme-enterprise .fe-site-footer {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 20px, 390px);
        --fe-enterprise-wide: min(100% - 20px, 390px);
        --fe-enterprise-article: min(100% - 24px, 390px);
    }

    .fe-theme-enterprise .fe-enterprise-brand__mark,
    .fe-theme-enterprise .fe-enterprise-brand__mark-image {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .fe-theme-enterprise .fe-brand__text strong {
        max-width: calc(100vw - 120px);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar .fe-btn,
    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar .fe-btn {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.9rem;
    }
}

.fe-theme-enterprise .fe-sku-detail-stepper {
    display: none;
}

@media (min-width: 981px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(1640px, calc(100% - 24px));
        --fe-enterprise-wide: 100%;
    }

    .fe-theme-enterprise .fe-enterprise-header > .fe-shell,
    .fe-theme-enterprise .fe-enterprise-topline__inner {
        width: 100%;
        max-width: none;
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        padding: 0 28px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        display: block;
        padding: 164px 0 96px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__copy {
        max-width: 860px;
    }

    .fe-theme-enterprise .fe-enterprise-home-entry-section,
    .fe-theme-enterprise .fe-enterprise-home-process-section {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner {
        position: relative;
        overflow: hidden;
        padding: 104px 0 96px;
        background: var(--fe-enterprise-home-business-image, url("../images/frontend-portal/service-desk-contracts.png")) center / cover no-repeat;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(7, 12, 20, 0.62), rgba(7, 12, 20, 0.38));
        pointer-events: none;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner > .fe-shell {
        position: relative;
        z-index: 1;
        width: var(--fe-enterprise-content);
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-business {
        display: block;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-business__image {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-section__head {
        max-width: 720px;
        margin-bottom: 28px;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-section__head .fe-eyebrow,
    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-section__head h2,
    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-section__head p {
        color: #ffffff;
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-section__head p {
        max-width: 680px;
        color: rgba(255, 255, 255, 0.76);
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-business__list {
        max-width: 760px;
        margin-left: auto;
        padding: 30px 32px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 28px;
        background: rgba(7, 12, 20, 0.34);
        backdrop-filter: blur(18px);
    }

    .fe-theme-enterprise .fe-enterprise-home-business--banner .fe-enterprise-home-business__item {
        border-bottom-color: rgba(255, 255, 255, 0.16);
    }

    .fe-theme-enterprise .fe-enterprise-home-products {
        grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
        gap: 48px;
        align-items: start;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__grid {
        order: 1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fe-theme-enterprise .fe-enterprise-home-products__intro {
        order: 2;
        position: sticky;
        top: 104px;
        text-align: right;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__intro .fe-btn {
        margin-left: auto;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card {
        padding-top: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card strong {
        margin-top: 16px;
        font-size: 1.04rem;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card span {
        line-height: 1.7;
    }

    .fe-theme-enterprise .fe-enterprise-home-products__grid .fe-enterprise-sku-card b {
        margin-top: 12px;
        font-weight: 700;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        position: relative;
        display: grid;
        grid-template-rows: auto 1fr auto;
        gap: 0;
        padding: 14px;
        border: 1px solid var(--fe-enterprise-line-soft);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.84);
        box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        aspect-ratio: auto;
        display: grid;
        grid-template-rows: clamp(240px, 24vw, 360px) auto;
        overflow: visible;
        border-radius: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure img {
        min-height: 0;
        grid-row: 1;
        border-radius: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure span {
        z-index: 1;
    }

    .fe-theme-enterprise .fe-product-detail-toggle {
        position: static;
        grid-row: 2;
        margin-top: 12px;
        align-self: start;
        min-height: 34px;
        padding: 0 14px;
        border: 1px solid var(--fe-enterprise-line-soft);
        border-radius: 999px;
        background: rgba(17, 24, 39, 0.05);
        color: var(--fe-enterprise-ink);
        font-size: 0.82rem;
        font-weight: 700;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot {
        gap: 14px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card .fe-card__tags {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure > span,
    .fe-theme-enterprise .fe-enterprise-product-card__foot {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__action {
        min-height: 40px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: min(900px, calc(100vw - 48px));
        grid-template-columns: minmax(280px, 1fr) minmax(0, 0.92fr);
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media {
        aspect-ratio: 1 / 1;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media img {
        object-fit: contain;
        background: #f8fafc;
    }

    .fe-theme-enterprise .fe-sku-detail-quantity-text {
        display: none;
    }

    .fe-theme-enterprise .fe-sku-detail-stepper {
        display: grid;
        gap: 10px;
    }

    .fe-theme-enterprise .fe-sku-detail-stepper > span {
        color: var(--fe-enterprise-muted);
        font-size: 0.88rem;
        font-weight: 700;
    }

    .fe-theme-enterprise .fe-sku-detail-stepper .fe-price-card__controls {
        width: fit-content;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard {
        display: block;
        width: var(--fe-enterprise-content);
        margin: 0 auto;
        padding: 64px 0 48px;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard__visual {
        width: 100vw;
        min-height: 380px;
        margin: 0 0 36px calc(50% - 50vw);
        border-radius: 0;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard__visual img {
        min-height: 380px;
    }

    .fe-theme-enterprise .fe-enterprise-dashboard__copy {
        max-width: 780px;
        margin: 0 auto;
    }

    .fe-theme-enterprise .fe-enterprise-summary-grid,
    .fe-theme-enterprise .fe-enterprise-orders {
        width: var(--fe-enterprise-content);
        margin-left: auto;
        margin-right: auto;
    }

    .fe-theme-enterprise .fe-enterprise-footer__grid {
        padding-top: 60px;
        padding-bottom: 48px;
    }

    .fe-theme-enterprise .fe-enterprise-footer__bottom {
        padding-top: 18px;
        padding-bottom: 28px;
    }

    .fe-theme-enterprise .fe-enterprise-footer__compliance {
        display: none;
    }
}

/* Desktop review close-out: keep the full-bleed shell and bounded content
   contracts explicit after the legacy enterprise overrides above. */
@media (min-width: 981px) {
    body.fe-theme-enterprise {
        overflow-x: hidden;
    }

    .fe-theme-enterprise .fe-enterprise-header > .fe-shell,
    .fe-theme-enterprise .fe-enterprise-header-main {
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        border-radius: 0;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        grid-template-rows: auto minmax(0, 1fr);
        align-content: start;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body {
        min-height: 0;
        padding-top: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body h3,
    .fe-theme-enterprise .fe-enterprise-product-card__body p {
        max-width: 100%;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: min(960px, calc(100vw - 64px));
        height: min(760px, calc(100vh - 64px));
        max-height: none;
        grid-template-columns: minmax(340px, 1fr) minmax(0, 1fr);
        overflow: hidden;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media {
        height: 100%;
        min-height: 0;
        aspect-ratio: auto;
        background: #f8fafc;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 32px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body .fe-sku-detail-actions {
        position: sticky;
        bottom: 0;
        z-index: 1;
        margin-top: 24px;
        padding-top: 18px;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.98) 22%
        );
    }

    .fe-theme-enterprise .fe-enterprise-dashboard__visual {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
    }

    .fe-theme-enterprise .fe-enterprise-checkout__grid {
        align-items: stretch;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-card,
    .fe-theme-enterprise .fe-enterprise-paybox {
        min-height: 100%;
    }
}

/* Mobile H5 initial close-out: presentation only. Existing navigation,
   SKU, cart, checkout and template decoration data contracts stay intact. */
@media (max-width: 980px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 28px, 720px);
        --fe-enterprise-wide: min(100% - 28px, 720px);
        --fe-enterprise-article: min(100% - 28px, 680px);
        overflow-x: hidden;
    }

    body.fe-theme-enterprise > main.fe-shell {
        width: 100%;
        max-width: none;
    }

    .fe-theme-enterprise .fe-enterprise-topline,
    .fe-theme-enterprise .fe-enterprise-actions,
    .fe-theme-enterprise .fe-enterprise-nav {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-header {
        position: sticky;
        top: 0;
        z-index: 220;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(18px);
    }

    .fe-theme-enterprise .fe-enterprise-header > .fe-shell {
        width: 100%;
        max-width: none;
    }

    .fe-theme-enterprise .fe-enterprise-header-main {
        min-height: 58px;
        padding: 0 10px 0 14px;
        border-radius: 0;
        border-top: 0;
        border-left: 0;
        border-right: 0;
        background: transparent;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-brand {
        flex: 1 1 auto;
        max-width: calc(100vw - 66px);
        padding-left: 0;
    }

    .fe-theme-enterprise .fe-enterprise-brand__logo {
        max-width: min(190px, calc(100vw - 90px));
        max-height: 32px;
    }

    .fe-theme-enterprise .fe-enterprise-brand__mark,
    .fe-theme-enterprise .fe-enterprise-brand__mark-image {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .fe-theme-enterprise .fe-brand__text strong {
        max-width: calc(100vw - 112px);
        font-size: 0.98rem;
        line-height: 1.25;
    }

    .fe-theme-enterprise .fe-brand__text small {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-menu-toggle {
        position: relative;
        z-index: 281;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: var(--fe-enterprise-ink);
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-menu-toggle i,
    .fe-theme-enterprise .fe-enterprise-menu-toggle i::before,
    .fe-theme-enterprise .fe-enterprise-menu-toggle i::after {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .fe-theme-enterprise .fe-enterprise-menu-toggle i::before {
        transform: translateY(-7px);
    }

    .fe-theme-enterprise .fe-enterprise-menu-toggle i::after {
        transform: translateY(5px);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu {
        position: fixed;
        inset: 0;
        z-index: 280;
        display: grid;
        place-items: start end;
        padding: calc(10px + env(safe-area-inset-top)) 10px 10px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__backdrop {
        position: absolute;
        inset: 0;
        border: 0;
        background: rgba(15, 23, 42, 0.28);
        backdrop-filter: blur(8px);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__panel {
        position: relative;
        z-index: 1;
        width: min(322px, calc(100vw - 20px));
        max-height: calc(100vh - 20px);
        max-height: min(78dvh, calc(100vh - 20px));
        overflow-y: auto;
        border: 1px solid var(--fe-enterprise-line-soft);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__head {
        min-height: 52px;
        padding: 12px 14px 8px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__links {
        gap: 0;
        padding: 8px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__links a {
        min-height: 44px;
        padding: 0 12px;
        border-radius: 12px;
        color: var(--fe-enterprise-ink);
        font-size: 0.95rem;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__actions {
        padding: 10px 14px 14px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero {
        min-height: 560px;
        min-height: min(620px, calc(100svh - 58px));
        background:
            linear-gradient(180deg, rgba(7, 12, 20, 0.08) 0%, rgba(7, 12, 20, 0.52) 58%, rgba(7, 12, 20, 0.78) 100%),
            var(--fe-enterprise-home-hero-mobile-image, var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/mobile-portal-hero.png"))) center / cover no-repeat;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero::before {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        width: var(--fe-enterprise-content);
        min-height: inherit;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 88px 0 42px;
        text-align: center;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__copy {
        max-width: 100%;
        margin: 0 auto;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero .fe-eyebrow,
    .fe-theme-enterprise .fe-enterprise-home-hero h1,
    .fe-theme-enterprise .fe-enterprise-home-hero p {
        color: #ffffff;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero h1 {
        max-width: 100%;
        margin-top: 12px;
        font-size: clamp(2.35rem, 11vw, 3.25rem);
        line-height: 1.04;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero p {
        max-width: 34em;
        margin: 16px auto 0;
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.96rem;
        line-height: 1.68;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero .fe-hero-actions {
        justify-content: center;
        gap: 10px;
        margin-top: 22px;
    }

    .fe-theme-enterprise .fe-enterprise-home-hero .fe-btn {
        min-height: 42px;
        padding: 0 16px;
    }

    .fe-theme-enterprise .fe-enterprise-home-entry-section,
    .fe-theme-enterprise .fe-enterprise-home-process-section {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-home-section {
        padding: 42px 0;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head {
        max-width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head h2 {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
        line-height: 1.08;
    }

    .fe-theme-enterprise .fe-enterprise-home-section__head p {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.94rem;
    }

    .fe-theme-enterprise .fe-enterprise-home-business,
    .fe-theme-enterprise .fe-enterprise-home-scenario-layout,
    .fe-theme-enterprise .fe-enterprise-home-products {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fe-theme-enterprise .fe-enterprise-home-business__image,
    .fe-theme-enterprise .fe-enterprise-home-scenario-image,
    .fe-theme-enterprise .fe-enterprise-home-cta {
        border-radius: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-home-business__item,
    .fe-theme-enterprise .fe-enterprise-scenario-item {
        padding: 18px 0;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero {
        width: var(--fe-enterprise-content);
        min-height: 0;
        margin: 18px auto 0;
        padding: 0 0 16px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 14px;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero::before {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero .fe-eyebrow,
    .fe-theme-enterprise .fe-enterprise-catalog-hero h1,
    .fe-theme-enterprise .fe-enterprise-catalog-hero p {
        color: var(--fe-enterprise-ink);
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero h1 {
        margin-top: 8px;
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        line-height: 1.08;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero p {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-total {
        justify-self: end;
        min-width: 98px;
        padding: 8px 10px;
        border: 1px solid var(--fe-enterprise-line-soft);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
        text-align: right;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-total span {
        color: var(--fe-enterprise-muted);
        font-size: 0.72rem;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-total small {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-total strong {
        margin: 2px 0 0;
        color: var(--fe-enterprise-ink);
        font-size: 1rem;
        line-height: 1.2;
    }

    .fe-theme-enterprise .fe-service-layout,
    .fe-theme-enterprise .fe-enterprise-catalog-layout {
        width: var(--fe-enterprise-content);
        margin: 0 auto;
        padding: 10px 0 calc(96px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-section__head--compact {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        gap: 10px;
        margin-bottom: 12px;
    }

    .fe-theme-enterprise .fe-section__title--md {
        font-size: 1.2rem;
        line-height: 1.25;
    }

    .fe-theme-enterprise .fe-enterprise-product-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        min-height: 0;
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 8px 10px;
        padding: 8px;
        border-radius: 14px;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        grid-row: 1 / span 2;
        width: 86px;
        min-height: 86px;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
        overflow: hidden;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure span {
        display: none;
    }

    .fe-theme-enterprise .fe-product-detail-toggle {
        top: 6px;
        right: 6px;
        min-height: 24px;
        padding: 0 8px;
        border-radius: 999px;
        background: rgba(17, 24, 39, 0.72);
        color: #ffffff;
        font-size: 0.68rem;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body {
        min-width: 0;
        padding: 0;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body h3 {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__body p,
    .fe-theme-enterprise .fe-enterprise-product-card .fe-card__tags {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        padding: 0;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__controls {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-card__price-row {
        min-width: 0;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-card__price {
        font-size: 0.94rem;
    }

    .fe-theme-enterprise .fe-enterprise-product-card__foot .fe-price-card__action {
        min-height: 30px;
        padding: 0 10px;
        border-radius: 999px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-cart-bar {
        display: none !important;
    }

    .fe-theme-enterprise .fe-enterprise-cart-fab {
        position: fixed;
        right: 16px;
        bottom: calc(82px + env(safe-area-inset-bottom));
        z-index: 210;
        width: 56px;
        height: 56px;
        min-height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.72);
        background: var(--fe-enterprise-brand);
        color: var(--fe-button-text, #ffffff);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.28);
    }

    .fe-theme-enterprise .fe-enterprise-cart-fab::before {
        content: "";
        width: 22px;
        height: 16px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 2px 2px 6px 6px;
        transform: translateY(-1px);
    }

    .fe-theme-enterprise .fe-enterprise-cart-fab::after {
        content: "";
        position: absolute;
        left: 19px;
        bottom: 14px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: currentColor;
        box-shadow: 14px 0 0 currentColor;
    }

    .fe-theme-enterprise .fe-enterprise-cart-fab span,
    .fe-theme-enterprise .fe-enterprise-cart-fab strong {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-enterprise-cart-drawer {
        position: fixed;
        inset: 0;
        z-index: 300;
        display: grid;
        place-items: center;
        padding: 14px;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel--drawer {
        width: min(420px, calc(100vw - 28px));
        max-height: calc(100vh - 32px);
        max-height: min(82dvh, 640px);
        overflow-y: auto;
        border-radius: 22px;
        padding: 18px;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel__head {
        gap: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel__head p {
        display: none;
    }

    .fe-theme-enterprise .fe-cart-submit {
        position: sticky;
        bottom: 0;
        z-index: 1;
        margin-top: 14px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal {
        position: fixed;
        inset: 0;
        z-index: 310;
        display: grid;
        place-items: center;
        padding: 14px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: min(390px, calc(100vw - 28px));
        max-height: calc(100vh - 32px);
        max-height: min(84dvh, 640px);
        display: grid;
        grid-template-columns: 1fr;
        overflow: hidden;
        border-radius: 22px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media {
        min-height: 0;
        max-height: 210px;
        aspect-ratio: 16 / 10;
        background: #f8fafc;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__media img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body {
        min-height: 0;
        overflow-y: auto;
        padding: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body h2 {
        margin-top: 8px;
        font-size: 1.35rem;
        line-height: 1.18;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body p {
        margin-top: 10px;
        font-size: 0.92rem;
        line-height: 1.62;
    }

    .fe-theme-enterprise .fe-sku-detail-tags {
        gap: 6px;
        margin-top: 12px;
    }

    .fe-theme-enterprise .fe-sku-detail-tags span {
        padding: 5px 8px;
        font-size: 0.74rem;
    }

    .fe-theme-enterprise .fe-sku-detail-meta {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 14px;
    }

    .fe-theme-enterprise .fe-sku-detail-quantity-text {
        display: none;
    }

    .fe-theme-enterprise .fe-sku-detail-stepper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--fe-enterprise-line-soft);
    }

    .fe-theme-enterprise .fe-sku-detail-stepper > span {
        color: var(--fe-enterprise-muted);
        font-size: 0.84rem;
        font-weight: 700;
    }

    .fe-theme-enterprise .fe-sku-detail-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body .fe-sku-detail-actions {
        position: sticky;
        bottom: 0;
        z-index: 1;
        padding-top: 12px;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.98) 24%
        );
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__close {
        top: 10px;
        right: 10px;
    }

    .fe-theme-enterprise .fe-enterprise-flow-header,
    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout,
    .fe-theme-enterprise .fe-auth-wrap,
    .fe-theme-enterprise .fe-page-hero,
    .fe-theme-enterprise .fe-enterprise-dashboard,
    .fe-theme-enterprise .fe-enterprise-article-page {
        width: var(--fe-enterprise-content);
        margin-left: auto;
        margin-right: auto;
        padding-top: 32px;
    }

    .fe-theme-enterprise .fe-enterprise-article-page {
        padding-bottom: calc(92px + env(safe-area-inset-bottom));
        text-align: center;
    }

    .fe-theme-enterprise .fe-enterprise-article-list,
    .fe-theme-enterprise .fe-enterprise-article-block {
        text-align: left;
    }

    .fe-theme-enterprise .fe-enterprise-flow-header h1,
    .fe-theme-enterprise .fe-pay-hero h1,
    .fe-theme-enterprise .fe-order-hero h1,
    .fe-theme-enterprise .fe-enterprise-dashboard h1,
    .fe-theme-enterprise .fe-enterprise-article-hero h1,
    .fe-theme-enterprise .fe-page-hero h1,
    .fe-theme-enterprise .fe-auth-copy h1 {
        font-size: clamp(2rem, 9vw, 2.65rem);
        line-height: 1.08;
    }

    .fe-theme-enterprise .fe-enterprise-checkout {
        padding-bottom: calc(98px + env(safe-area-inset-bottom));
    }

    .fe-theme-enterprise .fe-enterprise-checkout__grid,
    .fe-theme-enterprise .fe-pay-layout,
    .fe-theme-enterprise .fe-order-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-checkout-card {
        padding: 16px;
        border-radius: 16px;
        box-shadow: none;
    }

    .fe-theme-enterprise .fe-checkout-modal {
        position: fixed;
        inset: 0;
        z-index: 320;
        display: grid;
        place-items: center;
        padding: 14px;
    }

    .fe-theme-enterprise .fe-checkout-modal__dialog {
        width: min(390px, calc(100vw - 28px));
        max-height: calc(100vh - 32px);
        max-height: min(84dvh, 640px);
        display: grid;
        grid-template-rows: auto minmax(0, 1fr) auto;
        overflow: hidden;
        border-radius: 22px;
    }

    .fe-theme-enterprise .fe-checkout-modal__body {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .fe-theme-enterprise .fe-checkout-modal__actions {
        position: sticky;
        bottom: 0;
        z-index: 1;
        background: rgba(255, 255, 255, 0.98);
    }

    .fe-theme-enterprise .fe-enterprise-paybox {
        display: none;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 230;
        min-height: 64px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        padding: 10px 10px 10px 14px;
        border: 1px solid var(--fe-enterprise-line-soft);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(18px);
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar > div {
        min-width: 0;
        display: grid;
        gap: 2px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar span {
        color: var(--fe-enterprise-muted);
        font-size: 0.74rem;
        line-height: 1.2;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar strong {
        color: var(--fe-enterprise-ink);
        font-size: 1.08rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar .fe-btn {
        min-width: 104px;
        min-height: 42px;
        padding: 0 14px;
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar [data-payment-warning] {
        max-height: 2.9em;
        margin: 2px 0 0;
        overflow: auto;
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar [data-payment-warning].is-hidden {
        display: none;
    }

    body.fe-theme-enterprise.fe-enterprise-checkout-body .fe-enterprise-tabbar {
        display: none;
    }

    body.fe-theme-enterprise.fe-has-mobile-tabbar:not(.fe-enterprise-catalog-body):not(.fe-enterprise-checkout-body) .fe-site-footer {
        padding-bottom: calc(72px + env(safe-area-inset-bottom));
    }

    body.fe-theme-enterprise.fe-enterprise-catalog-body .fe-site-footer {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    body.fe-theme-enterprise.fe-enterprise-checkout-body .fe-site-footer {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    body.fe-theme-enterprise.fe-no-mobile-tabbar:not(.fe-enterprise-checkout-body) .fe-site-footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    body.fe-theme-enterprise {
        --fe-enterprise-content: min(100% - 20px, 390px);
        --fe-enterprise-wide: min(100% - 20px, 390px);
        --fe-enterprise-article: min(100% - 20px, 390px);
    }

    .fe-theme-enterprise .fe-enterprise-home-hero {
        min-height: 520px;
        min-height: min(560px, calc(100svh - 58px));
    }

    .fe-theme-enterprise .fe-enterprise-home-hero__inner {
        padding-top: 78px;
        padding-bottom: 34px;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-total {
        justify-self: start;
        text-align: left;
    }

    .fe-theme-enterprise .fe-enterprise-product-card {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        width: 82px;
        min-height: 82px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-checkout-bar .fe-btn {
        min-width: 96px;
        padding: 0 12px;
        font-size: 0.88rem;
    }
}

/* Final micro close-out: presentation only; template data contracts remain
   unchanged so the existing decoration center stays authoritative. */
@media (min-width: 981px) {
    .fe-theme-enterprise .fe-enterprise-home-hero {
        background:
            linear-gradient(
                90deg,
                var(--fe-surface, #fff) 0%,
                var(--fe-surface, #fff) 20%,
                rgba(255, 255, 255, 0.88) 34%,
                rgba(255, 255, 255, 0) 70%
            ),
            var(--fe-enterprise-home-hero-image, url("../images/frontend-portal/hero-business-tax-portal.png")) 100% 50% / 80% 100% no-repeat,
            var(--fe-surface, #fff);
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure {
        grid-template-rows: auto auto;
    }

    .fe-theme-enterprise .fe-enterprise-product-card figure img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: min(640px, calc(100vw - 64px));
        height: auto;
        max-height: min(86vh, 720px);
        display: block;
        overflow: auto;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body {
        padding: 38px 34px 30px;
    }
}

.fe-theme-enterprise .fe-enterprise-sku-modal__media {
    display: none !important;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
    grid-template-columns: 1fr;
}

.fe-theme-enterprise .fe-enterprise-sku-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.fe-theme-enterprise .fe-enterprise-cart-panel #selected-items {
    min-height: 24px;
}

.fe-theme-enterprise .fe-enterprise-cart-panel .fe-cart-summary__item {
    min-width: 0;
}

.fe-auth-account-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--fe-enterprise-muted, #6e6e73);
    font-size: 0.88rem;
}

.fe-auth-account-links a {
    color: var(--fe-enterprise-ink, #1d1d1f);
    font-weight: 700;
    text-decoration: none;
}

.fe-auth-account-links a:hover,
.fe-auth-account-links a:focus-visible {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .fe-theme-enterprise .fe-enterprise-header {
        z-index: 500;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu {
        z-index: 510;
        isolation: isolate;
        padding: calc(66px + env(safe-area-inset-top)) 10px 10px;
    }

    .fe-theme-enterprise .fe-enterprise-mobile-menu__panel {
        max-height: min(78dvh, calc(100vh - 84px));
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero {
        grid-template-columns: minmax(0, 1fr) 104px !important;
        align-items: center;
        gap: 12px;
        min-height: 74px;
        margin-top: 16px;
        padding-bottom: 16px;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-hero h1 {
        min-width: 0;
        overflow: hidden;
        font-size: clamp(1.85rem, 8vw, 2.45rem);
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .fe-theme-enterprise .fe-enterprise-catalog-total {
        width: 104px;
        min-width: 104px;
        justify-self: end;
        text-align: right;
    }

    .fe-theme-enterprise .fe-enterprise-cart-drawer {
        z-index: 480;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-cart-summary {
        display: grid !important;
        gap: 10px;
        margin-top: 12px;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-cart-summary__items {
        display: grid !important;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-cart-summary__total {
        display: flex !important;
    }

    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-input-wrap,
    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-field,
    .fe-theme-enterprise .fe-enterprise-cart-panel .fe-process-card {
        display: none !important;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal {
        z-index: 520;
        place-items: center;
        padding: 14px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__dialog {
        width: min(390px, calc(100vw - 28px));
        max-height: min(84dvh, 640px);
        display: block;
        overflow: auto;
        border-radius: 22px;
    }

    .fe-theme-enterprise .fe-enterprise-sku-modal__body {
        padding: 36px 18px 18px;
    }
}

/* Keep mobile navigation outside the fixed header stacking context. */
@media (max-width: 980px) {
    body.fe-theme-enterprise > .fe-enterprise-mobile-menu[hidden] {
        display: none !important;
    }

    body.fe-theme-enterprise > .fe-enterprise-mobile-menu {
        position: fixed;
        inset: calc(58px + env(safe-area-inset-top)) 0 0;
        z-index: 1000;
        isolation: isolate;
        display: grid;
        place-items: start end;
        padding: 10px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overscroll-behavior: contain;
    }

    body.fe-theme-enterprise > .fe-enterprise-mobile-menu .fe-enterprise-mobile-menu__backdrop {
        position: absolute;
        inset: 0;
        z-index: 0;
        border: 0;
        background: rgba(15, 23, 42, 0.28);
        backdrop-filter: blur(8px);
    }

    body.fe-theme-enterprise > .fe-enterprise-mobile-menu .fe-enterprise-mobile-menu__panel {
        position: relative;
        z-index: 1;
        width: min(322px, calc(100vw - 20px));
        max-height: min(78dvh, calc(100dvh - 78px - env(safe-area-inset-top)));
        overflow-y: auto;
        border: 1px solid var(--fe-enterprise-line-soft);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 80px rgba(15, 23, 42, 0.24);
    }
}
