html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f3f4f6;
}

.customer-form__upload-input {
    margin-top: 0.5rem;
}

.customer-form__upload-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0f172a;
    font-weight: 500;
}

.memo-area {
    width: 100%;
    margin-top: 0.5rem;
}


a, .btn-link {
    color: #223261;
}

.btn-primary {
    color: #fff;
    background-color: #223261;
    border-color: #223261;
}

.dxbs-btn.btn-primary,
.dxbs-btn.btn-primary:hover,
.dxbs-btn.btn-primary:focus,
.dxbs-btn.btn-primary:active,
.dxbs-btn.btn-primary.active {
    background-color: #223261;
    border-color: #223261;
}

.dxbs-btn.btn-secondary,
.dxbs-btn.btn-secondary:hover,
.dxbs-btn.btn-secondary:focus,
.dxbs-btn.btn-secondary:active,
.dxbs-btn.btn-secondary.active {
    color: #223261;
    border-color: #223261;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #223261;
}

.content {
    padding-top: 1.1rem;
}

.page {
    display: block;
    min-height: 100vh;
}

main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.workflow-layout {
    display: block;
    align-items: start;
    position: relative;
}

.workflow {
    padding: 1.25rem 1rem;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: static;
    width: auto;
}

.workflow-layout .content {
    padding: 0;
    margin: 0 auto;
}

.workflow h4 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.workflow__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
    font-weight: 600;
}

.workflow__steps li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow__step-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.workflow__step-button:disabled {
    cursor: default;
}

.workflow__step {
    color: #94a3b8;
}

.workflow__step--pending {
    color: #b8c0cf;
}

.workflow__step--pending .workflow__step-button {
    opacity: 0.75;
}

.workflow__step i {
    font-size: 1.1rem;
}

.workflow__step--active,
.workflow__step--complete {
    color: #223261;
}

.workflow__step--active {
    font-weight: 700;
}


h1:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #223261;
}

h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i {
    color: #223261;
}

.page-header {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    justify-content: center;
    width: 100%;
}

.page-subtitle {
    margin: 0.25rem 0 0;
    color: #475569;
    text-align: center;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.header {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 1rem 0;
}

.header .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-workflow {
    display: flex;
    justify-content: center;
}

.header .workflow {
    padding: 0.4rem 0.75rem;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

.header .workflow h4 {
    display: none;
}

.header .workflow__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.header .workflow__steps li {
    align-items: center;
}

.header .workflow__steps li:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #223261;
    margin-left: 0.5rem;
}

.header .brand h3 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.header .brand {
    text-align: center;
}

.header .actions {
    justify-self: end;
}

.header-brand-logo {
    display: block;
    max-height: 50px;
    max-width: 250px;
    width: auto;
    height: auto;
}

.header .brand .subtitle {
    font-size: 0.9rem;
    color: #475569;
}

.header .actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.site-footer {
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: #ffffff;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
}

.site-footer__legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer__legal a {
    color: #223261;
    text-decoration: none;
    font-weight: 600;
}

.site-footer__legal a:hover {
    text-decoration: underline;
}

.site-footer__version {
    justify-self: end;
    text-align: right;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .site-footer__version {
        justify-self: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .header .header-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header .brand {
        grid-column: 1 / -1;
        display: flex;
        justify-content: center;
    }

    .header-workflow {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: center;
    }

    .header .workflow {
        width: 100%;
    }

    .header .workflow__steps {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .header .workflow__steps li {
        justify-content: center;
    }

    .header .workflow__step-button {
        font-size: 0;
        gap: 0.35rem;
    }

    .header .workflow__step-button i {
        font-size: 1rem;
        margin-right: 0 !important;
    }

    .header .workflow__steps li:not(:last-child)::after {
        display: inline-block;
        margin-left: 0.35rem;
    }

    .header .brand {
        text-align: center;
        justify-self: center;
    }

    .header-brand-logo {
        max-height: 35px;
    }

    .header .brand .subtitle {
        font-size: 0.8rem;
    }
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
    margin: 1.5rem 0 2rem;
}

.checkout {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

.checkout__header h1 {
    margin-bottom: 0.35rem;
}

.checkout__steps {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.checkout__step {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #94a3b8;
    font-weight: 600;
}

.checkout__step.active {
    color: #223261;
    border-color: #223261;
    background: #2232611a;
}

.checkout__content {
    display: grid;
    gap: 1.5rem;
}

.checkout__panel {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    display: grid;
    gap: 1rem;
}

.checkout__cart-layout {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(220px, 280px);
    gap: 1.5rem;
    align-items: start;
}

.checkout__cart-media {
    display: flex;
    justify-content: center;
}

.checkout__cart-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.checkout__cart-meta {
    display: grid;
    gap: 1rem;
}

.checkout__summary-list {
    display: grid;
    gap: 0.5rem;
}


@media (max-width: 900px) {
    .checkout__cart-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .checkout__cart-meta {
        width: 100%;
    }
}

.checkout__summary-list div {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.checkout__summary-list div span:first-child {
    flex: 0 0 50%;
    text-align: right;
    font-weight: 700;
}

.checkout__summary-list div span:last-child {
    flex: 0 0 50%;
    text-align: left;
}

.checkout__summary-list div span:first-child {
    flex: 0 0 50%;
    text-align: right;
    font-weight: 700;
}

.checkout__summary-list div span:last-child {
    flex: 0 0 50%;
    text-align: left;
}

.checkout__summary-group {
    margin-top: 0.5rem;
    font-weight: 600;
    color: #0f172a;
}

.checkout__totals {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.checkout__totals div {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.checkout__totals div span:first-child {
    flex: 0 0 50%;
    text-align: right;
    font-weight: 700;
}

.checkout__totals div span:last-child {
    flex: 0 0 50%;
    text-align: left;
}

.checkout__totals div span:first-child {
    flex: 0 0 50%;
    text-align: right;
    font-weight: 700;
}

.checkout__totals div span:last-child {
    flex: 0 0 50%;
    text-align: left;
}

.checkout__delivery,
.checkout__field {
    display: grid;
    gap: 0.5rem;
    justify-items: center;
    text-align: center;
}

.checkout__field-value {
    font-weight: 600;
    color: #0f172a;
}

.checkout__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.checkout__pickup-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0.5rem 0 0;
}

.checkout__pickup-note i {
    font-size: 2rem;
    color: #223261;
}

.checkout__checkboxes {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.checkout__checkboxes label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
}

.checkout__checkboxes label span {
    display: block;
}

.checkout__checkbox-text {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.checkout__checkbox-text p {
    margin: 0;
}

@media (min-width: 801px) {
    .checkout__checkboxes {
        padding: 0 7.2rem;
    }
}

@media (min-width: 801px) {
    .checkout__checkboxes {
        padding: 0 7.2rem;
    }
}

@media (min-width: 801px) {
    .checkout__checkboxes {
        padding: 0 7.2rem;
    }
}

.checkout__checkboxes label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkout__checkboxes label span {
    display: block;
}

.checkout__pdf {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.checkout__pdf iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

.checkout__error {
    color: #dc2626;
    font-weight: 600;
}

.checkout__info {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #f1f5f9;
}

.checkout__warning {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.checkout__nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.freigabe-page {
    max-width: 1040px;
}

.freigabe-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.freigabe-section {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
}

.freigabe-section-title {
    margin-bottom: 12px;
    font-weight: 700;
}

.freigabe-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.freigabe-row:last-child {
    border-bottom: none;
}

.freigabe-row span {
    color: #64748b;
}

.freigabe-row strong {
    text-align: right;
    color: #0f172a;
}

.freigabe-rezept-text {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
    white-space: pre-wrap;
}

.freigabe-recipe-image {
    max-width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

@media (max-width: 768px) {
    .freigabe-row {
        flex-direction: column;
        gap: 4px;
    }

    .freigabe-row strong {
        text-align: left;
    }
}

.welcome-banner {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.welcome-banner__title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #0f172a;
}

.welcome-banner__subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    color: #475569;
}

.measurement-hero {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.measurement-content {
    flex: 1 1 200px;
    font-weight: 600;
    color: #0f172a;
    width: 100%;
    text-align: center;
}

.measurement-content h1 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.measurement-content p {
    font-weight: 500;
    color: #475569;
    margin-bottom: 1.5rem;
}

.measurement-cta {
    font-size: 1.05rem;
    padding: 0.75rem 1.6rem;
}

.measurement-viewer {
    flex: 1 1 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    width: 100%;
    --pdf-height: 990px;
    --caption-height: 28px;
    --image-gap: 1rem;
}

.measurement-viewer__title {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}


.measurement-viewer__layout {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.measurement-image-stack {
    display: flex;
    flex-direction: column;
    gap: var(--image-gap);
    flex: 0 0 260px;
    height: var(--pdf-height);
}

.measurement-image {
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: calc((var(--pdf-height) - var(--image-gap)) / 2);
}

.measurement-image img {
    width: 100%;
    height: calc(((var(--pdf-height) - var(--image-gap)) / 2) - var(--caption-height));
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.measurement-image figcaption {
    margin-top: 0.4rem;
    color: #475569;
    font-weight: 600;
    min-height: var(--caption-height);
}

.measurement-pdf-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    flex: 1 1 auto;
    height: var(--pdf-height);
    background: #ffffff;
}

@media (max-width: 900px) {
    .measurement-viewer__layout {
        flex-direction: column;
    }
    .measurement-image-stack {
        flex: 1 1 auto;
    }
}

.measurement-pdf {
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.page-with-sticky-banner {
    padding-bottom: 160px;
}

.sticky-action-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3.9rem 1.25rem;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.1);
}

.sticky-action-banner__text {
    margin: 0;
    color: #0f172a;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 900px) {
    .page-with-sticky-banner {
        padding-bottom: 200px;
    }

    .sticky-action-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .sticky-action-banner .measurement-cta {
        width: 100%;
    }
}

.configuration {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) minmax(250px, 0.85fr);
    gap: 2rem;
    align-items: start;
    margin: 1.5rem 0 2rem;
}

.configuration__main {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.configuration__header p {
    color: #475569;
    margin: 0.25rem 0 0;
}

.configuration__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
    justify-content: center;
}

.configuration__step {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.configuration__step.active {
    background: #2232611a;
    color: #223261;
    border-color: #223261;
}

.configuration__panel {
    padding: 1rem 0;
    border-top: 1px solid #eef2f7;
}

.configuration__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
    justify-items: center;
}

.configuration__grid > div {
    width: 100%;
    max-width: 740px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    text-align: left;
}

.configuration__grid--center > div {
    align-items: center;
    text-align: center;
}

.configuration__grid--center .configuration__options {
    justify-content: center;
}

.configuration__grid label {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
}

.configuration__hint {
    font-size: 0.85rem;
    color: #64748b;
}

.configuration__input {
    width: 100%;
    max-width: 220px;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.configuration__input--compact {
    max-width: 120px;
    margin-top: 0.5rem;
}

.configuration__slider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 450px;
}

.configuration__range {
    width: 100%;
}

.configuration__slider-value {
    min-width: 2.5rem;
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.configuration__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: flex-start;
}

.configuration__option {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    font-weight: 600;
    color: #475569;
}

.configuration__option--icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.configuration__option-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.configuration__option.selected {
    border-color: #223261;
    background: #2232611a;
    color: #0f172a;
}

.configuration__section {
    margin-top: 1rem;
}

.configuration__model-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.configuration__model-columns .configuration__section {
    margin-top: 0;
}

.configuration__section-actions {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0 0.75rem;
}

.configuration__section--subtle {
    opacity: 0.75;
}

.configuration__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 0.75rem;
    justify-content: center;
}

.configuration__cards--full {
    flex-direction: column;
    align-items: stretch;
}

.configuration__card {
    text-align: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.configuration__card--full {
    width: 100%;
    flex: 1 1 100%;
    text-align: left;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
}

.configuration__card--premium {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fff7ed, #ffffff 55%);
    box-shadow: 0 16px 26px rgba(245, 158, 11, 0.18);
}

.configuration__card-badge {
    align-self: flex-start;
    display: inline-flex;
    width: fit-content;
    background: #f59e0b;
    color: #ffffff;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.configuration__card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.configuration__card-content {
    display: grid;
    gap: 0.4rem;
    text-align: left;
}

.configuration__card-header {
    display: grid;
    gap: 0.25rem;
}

.configuration__card.selected {
    border-color: #223261;
    box-shadow: 0 10px 20px rgba(34, 50, 97, 0.15);
}

.configuration__card--subtle {
    background: #f8fafc;
}

.card-image-small {
    width: 120px!important;
    height: 120px!important;
}

.configuration__card-title {
    font-weight: 700;
    color: #0f172a;
}

.configuration__card-tagline {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.configuration__card-text {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.configuration__card--full .configuration__card-text {
    align-items: center;
    flex-direction: row;
    gap: 1rem;
}

.configuration__card-description {
    color: #475569;
    line-height: 1.4;
    text-align: left;
}

.configuration__card-image {
    
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.configuration__card--full .configuration__card-image {
    width: 180px;
    height: 180px;
}

.configuration__color-swatch {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.configuration__card-price {
    font-weight: 700;
    color: #223261;
}

.configuration__card--full .configuration__card-price {
    align-self: flex-start;
}

.configuration__addons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    justify-items: center;
}

.configuration__checkbox {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
    font-weight: 500;
    align-items: center;
}

.configuration__checkbox .dx-checkbox {
    align-items: center;
}

.configuration__option-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.configuration__option-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.configuration__checkbox input {
    margin-right: 0.5rem;
}

.configuration__price {
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
}

.configuration__nav {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.configuration__summary {
    position: sticky;
    top: 1.5rem;
}

.configuration__summary-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.configuration__summary-price {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.5rem 0 1rem;
}

.configuration__summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #475569;
}

.configuration__summary-list > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.configuration__summary-label {
    flex: 0 0 50%;
    text-align: right;
    color: #475569;
    font-weight: 400;
}

.configuration__summary-value {
    flex: 0 0 50%;
    text-align: left;
    color: #0f172a;
    font-weight: 600;
}

.configuration__summary-group {
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.75rem;
}

.summary-step .configuration__summary-group {
    display: block;
    width: 100%;
    text-align: center;
}

@media (max-width: 1100px) {
    .configuration__model-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .configuration {
        grid-template-columns: 1fr;
    }

    .configuration__summary {
        position: static;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .header .workflow__steps {
        justify-content: center;
    }
}

.partner-selection {
    padding: 1.5rem 0 2rem;
    text-align: center;
}

.partner-selection__hint {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.partner-selection__error {
    margin: 0.75rem 0 0;
    color: #dc2626;
    font-weight: 600;
}

.partner-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.partner-filter label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    font-size: 0.85rem;
}

.partner-filter .form-control {
    max-width: 220px;
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.partner-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card {
    text-align: left;
}

@media (max-width: 900px) {
    .partner-card {
        grid-template-columns: 1fr;
    }

    .partner-card__locations {
        grid-template-columns: 1fr;
    }
}

.partner-card.selected {
    border-color: #223261;
    box-shadow: 0 14px 28px rgba(34, 50, 97, 0.15);
    transform: translateY(-2px);
}

.partner-logo {
    width: 140px;
    height: auto;
}

.partner-card__left {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.partner-card__right {
    display: grid;
}

.partner-card__locations {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.partner-card__location-list label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: block;
}

.partner-location-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.partner-location-item {
    width: 100%;
    text-align: left;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    display: grid;
    gap: 0.2rem;
    font-weight: 600;
    color: #0f172a;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.partner-location-item.selected {
    border-color: #223261;
    background: #2232611a;
}

.partner-location-item__city {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

.partner-location-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    display: grid;
    gap: 0.35rem;
    min-height: 320px;
}

.partner-location-card h4 {
    margin: 0 0 0.25rem;
    color: #0f172a;
}

.partner-location-card p {
    margin: 0;
    color: #475569;
    font-weight: 600;
}

.partner-location-map {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 10px;
}

.customer-details {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 0 2rem;
    text-align: center;
}

.customer-details__hint {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.customer-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.customer-form__row {
    width: 100%;
/*    max-width: 320px;
*/    text-align: left;
}

.customer-form__row .form-control,
.customer-form__input {
    width: 100%;
}

.customer-form__full-row {
    grid-column: 1 / -1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.customer-form__receipt-preview {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.customer-form__section-title {
    grid-column: 1 / -1;
    text-align: left;
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #d9e2f0;
    font-weight: 600;
    color: #223261;
}

.partner-info h3 {
    margin: 0 0 0.35rem;
}

.partner-description {
    color: #475569;
    line-height: 1.45;
}

.partner-actions {
    margin-top: auto;
}

.partner-selected {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.underage-contact {
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    max-width: 640px;
    text-align: center;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.underage-contact__icon {
    font-size: 3rem;
    color: #223261;
    margin-bottom: 1rem;
}

.underage-contact__details {
    margin-top: 1rem;
    color: #475569;
    font-weight: 500;
    font-size: 16px
}
.health-question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
}

.health-question-label {
    margin: 0;
}

.health-question-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.health-question-button {
    min-width: 100px;
}

    .health-question-button.is-selected {
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
    }