#clienttheme-one-step-order {
    --zl-shop-ink: var(--text-heading-color);
    --zl-shop-muted: var(--gray-lighter);
    --zl-shop-surface: var(--tile-bg);
    --zl-shop-soft: var(--gray-faded);
    --zl-shop-border: var(--gray-lighter-3);
    --zl-shop-outline: var(--gray-lighter-2);
    --zl-shop-focus: var(--link-color);
    --zl-shop-primary: var(--btn-primary-bg);
    --zl-shop-primary-hover: var(--btn-primary-hover-bg);
    --zl-shop-check: var(--brand-success);
}

.clienttheme-dark-mode #clienttheme-one-step-order {
    --zl-shop-soft: var(--body-bg);
    --zl-shop-check: var(--brand-success-lighter);
}

#clienttheme-one-step-order .main-header:has(.zl-shop-nav) {
    padding-block: 0;
    border-bottom: 0;
    color: var(--zl-shop-ink);
    background: var(--zl-shop-soft);
}

.main-header:has(.zl-shop-nav) #newOrderHeader,
.main-header:has(.zl-shop-nav) .main-header-content:not(:has(> :not(.header-lined))) {
    display: none;
}

#clienttheme-one-step-order .main-header-wrapper:has(.zl-shop-nav) {
    margin-top: 0;
    padding-top: 0;
}

.zl-shop-nav {
    padding-block: clamp(24px, 3vw, 44px) 12px;
}

.zl-shop-title {
    margin: 0;
    color: var(--zl-shop-ink);
    font-size: clamp(1.875rem, 3.2vw, 2.5rem);
    font-weight: 560;
    letter-spacing: -.035em;
    line-height: 1.16;
}

.zl-shop-categories {
    display: grid;
    gap: 16px;
    margin-top: clamp(18px, 2vw, 28px);
}

.zl-shop-category-panel {
    display: grid;
    grid-template-columns: minmax(14.5rem, 1fr) minmax(0, 5fr);
    gap: 12px clamp(16px, 2vw, 28px);
    min-width: 0;
    padding: clamp(12px, 1.3vw, 16px);
    border-radius: 14px;
    background: var(--gray-lighter-4);
}

.zl-shop-category-panel h2 {
    display: flex;
    align-items: center;
    align-self: center;
    gap: 10px;
    margin: 0;
    color: var(--zl-shop-ink);
    font-size: 1rem;
    font-weight: 620;
    line-height: 1.35;
}

.zl-shop-category-panel h2 .lm {
    flex-shrink: 0;
    color: var(--gray-icons);
    font-size: 1.125rem;
    line-height: 1;
}

.zl-shop-category-panel h2 span {
    text-wrap: balance;
}

.zl-shop-category-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px clamp(10px, 1.4vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

#clienttheme-one-step-order .zl-shop-category {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    height: 100%;
    padding: 5px 12px;
    border: 0;
    border-radius: 8px;
    color: var(--zl-shop-ink);
    background: var(--zl-shop-surface);
    font: inherit;
    font-size: .9375rem;
    font-weight: 520;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color 140ms ease-out;
}

.zl-shop-category span {
    min-width: 0;
    overflow-wrap: anywhere;
}

#clienttheme-one-step-order .zl-shop-category:hover {
    background: var(--btn-primary-faded-bg);
    color: var(--zl-shop-ink);
    text-decoration: none;
}

#clienttheme-one-step-order .zl-shop-category:is([aria-current="page"], [aria-pressed="true"]) {
    background: var(--zl-shop-primary);
    color: var(--btn-primary-color);
    font-weight: 640;
}

.zl-shop-category:disabled {
    cursor: wait;
}

#clienttheme-one-step-order :is(.zl-shop-category, .zl-shop-choose, .zl-shop-guide):focus-visible {
    outline: 2px solid var(--zl-shop-focus) !important;
    outline-offset: 3px;
}

#clienttheme-one-step-order .main-grid:has(.zl-shop-listing) {
    display: block;
}

#clienttheme-one-step-order .main-content:has(.zl-shop-listing) {
    width: 100%;
    /* The order theme otherwise reserves room for the configuration summary. */
    max-width: none !important;
    min-width: 0;
}

#clienttheme-one-step-order .main-body:has(.zl-shop-listing) {
    padding-top: clamp(24px, 2.8vw, 40px);
    background: var(--zl-shop-soft);
}

#clienttheme-one-step-order .zl-shop-listing .section-header {
    margin-bottom: 16px;
}

.zl-shop-listing .zl-shop-section-title {
    margin: 0;
    color: var(--zl-shop-ink);
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 560;
    letter-spacing: -.025em;
}

#clienttheme-one-step-order .zl-shop-heading-row,
#clienttheme-one-step-order .zl-shop-heading-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 20px;
}

#clienttheme-one-step-order .zl-shop-heading-row {
    justify-content: space-between;
}

.zl-shop-heading-row > .section-title {
    margin: 0;
}

#clienttheme-one-step-order .zl-shop-guide {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    max-width: 100%;
    color: var(--link-color);
    border-radius: 3px;
    font-size: .9375rem;
    font-weight: 550;
    line-height: 1.4;
    text-align: start;
    text-decoration: none;
}

.zl-shop-guide-label {
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 50%, transparent);
    text-underline-offset: .2em;
}

.zl-shop-guide:is(:hover, :focus-visible) .zl-shop-guide-label {
    text-decoration-color: currentColor;
}

.zl-shop-guide > .ls {
    flex: none;
    color: inherit;
    font-size: .875rem;
}

.zl-shop-empty {
    margin: 0;
    color: var(--zl-shop-muted);
}

#clienttheme-one-step-order .zl-shop-listing .zl-shop-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 1.8vw, 24px);
    margin: 0;
}

.zl-shop-products::before,
.zl-shop-products::after {
    display: none;
}

.zl-shop-product {
    display: flex;
    min-width: 0;
}

#clienttheme-one-step-order .zl-shop-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: clamp(18px, 2vw, 30px);
    border: 1px solid var(--zl-shop-border);
    border-radius: 18px;
    color: var(--zl-shop-ink);
    background: var(--zl-shop-surface);
    box-shadow: none;
    text-align: start;
    cursor: default;
    transform: none;
}

#clienttheme-one-step-order .zl-shop-card :is(.package-header, .package-body, .package-content) {
    padding: 0;
    text-align: start;
}

#clienttheme-one-step-order .zl-shop-card .package-header {
    background: transparent;
}

.zl-shop-card-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    margin: 0;
}

#clienttheme-one-step-order .zl-shop-card .zl-shop-card-heading .package-name {
    margin: 0;
    color: var(--zl-shop-ink);
    font-size: clamp(1.3125rem, 1.85vw, 1.625rem);
    font-weight: 560;
    letter-spacing: -.035em;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.zl-shop-featured {
    padding: 4px 10px;
    border-radius: 999px;
    color: var(--btn-primary-color);
    background: var(--zl-shop-primary);
    font-size: .75rem;
    font-weight: 650;
    line-height: 1.3;
}

#clienttheme-one-step-order .zl-shop-card .zl-shop-purchase {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
}

#clienttheme-one-step-order .zl-shop-purchase .price-starting-from {
    margin: 0 0 3px;
}

#clienttheme-one-step-order .zl-shop-card :is(.price, .package-price) {
    align-items: baseline;
    justify-content: flex-start;
    margin: 0;
    color: var(--zl-shop-ink);
    text-align: start;
}

#clienttheme-one-step-order .zl-shop-purchase .price {
    display: flex;
    flex-flow: row wrap;
    gap: 4px 7px;
}

#clienttheme-one-step-order .zl-shop-purchase .price > :not(.price-amount, .price-cycle) {
    flex-basis: 100%;
}

#clienttheme-one-step-order .zl-shop-card :is(.price-amount, .price:not(:has(.price-amount))) {
    font-size: clamp(2.125rem, 3vw, 2.625rem);
    font-weight: 575;
    font-variant-numeric: tabular-nums;
    line-height: 1.13;
    letter-spacing: -.04em;
}

#clienttheme-one-step-order .zl-shop-card :is(.price-starting-from, .price-cycle, .price-setup-fee) {
    color: var(--zl-shop-muted);
    font-size: .813rem;
    text-align: start;
}

#clienttheme-one-step-order .zl-shop-purchase .price-cycle {
    margin: 0;
}

.zl-shop-card-actions {
    margin-top: auto;
    padding-top: 16px;
}

.zl-shop-choose.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding-inline: 14px;
    border-radius: 10px;
    font-weight: 650;
    text-align: center;
    white-space: normal;
}

#clienttheme-one-step-order .zl-shop-purchase .btn-outline {
    border-color: var(--zl-shop-outline);
    color: var(--zl-shop-ink);
    background: var(--zl-shop-surface);
}

#clienttheme-one-step-order .zl-shop-purchase .btn-outline:hover {
    border-color: var(--zl-shop-ink);
    color: var(--zl-shop-ink);
    background: var(--zl-shop-soft);
}

#clienttheme-one-step-order .zl-shop-purchase .btn-primary {
    border-color: transparent;
    color: var(--btn-primary-color);
    background: var(--zl-shop-primary);
}

#clienttheme-one-step-order .zl-shop-purchase .btn-primary:hover {
    background: var(--zl-shop-primary-hover);
}

#clienttheme-one-step-order .zl-shop-card .package-body {
    margin-top: 0;
    padding-top: 22px;
}

#clienttheme-one-step-order .zl-shop-card .package-features {
    margin: 0;
    padding: 0;
    list-style: none;
}

#clienttheme-one-step-order .zl-shop-card .package-features > li:not(.premium-divider) {
    position: relative;
    display: block;
    padding: 4px 0 4px 24px;
    border: 0;
    color: var(--zl-shop-ink);
    font-size: .938rem;
    line-height: 1.4;
    text-align: start;
    overflow-wrap: anywhere;
}

#clienttheme-one-step-order .zl-shop-card .package-features > li:not(.premium-divider)::before {
    position: absolute;
    inset: 8px auto auto 0;
    width: 14px;
    height: 14px;
    background: var(--zl-shop-check);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.2 3.2L13 4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    content: '';
}

#clienttheme-one-step-order .zl-shop-card .package-features b {
    color: var(--zl-shop-ink);
    font-weight: 620;
}

#clienttheme-one-step-order .zl-shop-card .premium-divider {
    display: block;
    margin: 14px 0 3px;
    padding: 4px 0;
    border: 0;
    color: var(--zl-shop-ink);
    font-size: .875rem;
    font-weight: 650;
    text-align: start;
}

#clienttheme-one-step-order .zl-shop-card .premium-divider span {
    padding: 0;
    color: inherit;
    background: none;
}

.zl-shop-card .premium-divider::before,
.zl-shop-card .premium-divider::after,
.zl-shop-card .premium-divider span::before,
.zl-shop-card .premium-divider span::after {
    display: none;
}

@supports (grid-template-rows: subgrid) {
    @media (min-width: 576px) {
        /* Align plan names, purchase controls and details across each row. */
        .zl-shop-product,
        #clienttheme-one-step-order .zl-shop-card {
            display: grid;
            grid-row: span 3;
            grid-template-rows: subgrid;
            row-gap: 0;
        }
    }
}

@media (max-width: 991px) {
    .zl-shop-category-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    #clienttheme-one-step-order .zl-shop-listing .zl-shop-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    #clienttheme-one-step-order .zl-shop-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }

    #clienttheme-one-step-order .zl-shop-guide {
        min-height: 44px;
        scroll-margin-block: 5rem 10rem;
    }

    .zl-shop-category-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #clienttheme-one-step-order .zl-shop-category {
        padding-inline: 8px;
    }

    #clienttheme-one-step-order .zl-shop-listing .zl-shop-products {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (forced-colors: active) {
    #clienttheme-one-step-order .zl-shop-category {
        outline: 1px solid ButtonText;
    }

    #clienttheme-one-step-order .zl-shop-category:is([aria-current="page"], [aria-pressed="true"]) {
        outline: 1px solid Highlight;
    }

    #clienttheme-one-step-order :is(.zl-shop-category, .zl-shop-choose, .zl-shop-guide):focus-visible {
        outline-color: Highlight !important;
    }
}
