.zhz-konfigurator-native-buy-hidden .basket-form-inline,
.zhz-konfigurator-native-buy-hidden > .basket-details-add-to-cart {
    display: none !important;
}
.zhz-konfigurator {
    border: 1px solid #d8dee4;
    border-radius: 6px;
    padding: 16px;
    margin: 18px 0;
    background: #fff;
}
.zhz-konfigurator__intro {
    display: grid;
    gap: 8px;
}
.zhz-konfigurator__panel[hidden] {
    display: none;
}
.zhz-konfigurator__header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
}
.zhz-konfigurator__header h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}
.zhz-konfigurator__group {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 12px;
}
.zhz-konfigurator__group-toggle {
    --zhz-group-color: #2563eb;
    width: 100%;
    border: 0;
    border-left: 4px solid var(--zhz-group-color);
    border-radius: 6px;
    background: #f8fafc;
    color: #111827;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    font-weight: 700;
    text-align: left;
}
.zhz-konfigurator__group-toggle i {
    color: var(--zhz-group-color);
    margin-right: 7px;
}
.zhz-konfigurator__group-body {
    padding-top: 10px;
}
.zhz-konfigurator[data-layout="flow"] .zhz-konfigurator__group:not(.is-active),
.zhz-konfigurator[data-layout="accordion"] .zhz-konfigurator__group:not(.is-active) .zhz-konfigurator__group-body {
    display: none;
}
.zhz-konfigurator__items {
    display: grid;
    gap: 8px;
}
.zhz-konfigurator__group--swatches .zhz-konfigurator__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.zhz-konfigurator__group--cols-1 .zhz-konfigurator__items {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
.zhz-konfigurator__group--cols-2 .zhz-konfigurator__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.zhz-konfigurator__group--cols-4 .zhz-konfigurator__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.zhz-konfigurator__group--modal .zhz-konfigurator__items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 64vh;
    overflow: auto;
    padding-right: 4px;
}
.zhz-konfigurator__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
}
.zhz-konfigurator__group--swatches .zhz-konfigurator__item {
    flex-direction: column;
    min-height: 150px;
}
.zhz-konfigurator__item:has(.zhz-konfigurator__choice:checked) {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, .22);
}
.zhz-konfigurator__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
    background: #f8fafc;
}
.zhz-konfigurator__choice {
    margin-top: 2px;
}
.zhz-konfigurator__group--swatches .zhz-konfigurator__choice {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.zhz-konfigurator__item small {
    display: block;
    color: #64748b;
    margin-top: 2px;
}
.zhz-konfigurator__item-text strong {
    display: -webkit-box;
    min-height: 4.05em;
    line-height: 1.35;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.zhz-konfigurator__item-text strong a {
    color: inherit;
}
.zhz-konfigurator__item-price {
    font-weight: 700;
}
.zhz-konfigurator__qty-wrap,
.zhz-konfigurator__select-qty-wrap label {
    display: grid;
    gap: 4px;
    min-width: 96px;
    font-size: .85rem;
    font-weight: 600;
}
.zhz-konfigurator__qty,
.zhz-konfigurator__select-qty {
    max-width: 110px;
}
.zhz-konfigurator__select-qty-wrap {
    margin-top: 10px;
}
.zhz-konfigurator__item.is-disabled-by-rule {
    opacity: .55;
    cursor: not-allowed;
    background: #f8fafc;
}
.zhz-konfigurator__item.is-disabled-by-rule strong {
    color: #64748b;
}
.zhz-konfigurator__product-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.zhz-konfigurator__item-description {
    color: #475569;
    line-height: 1.35;
}
.zhz-konfigurator__dependency-note {
    color: #991b1b;
    display: block;
    font-weight: 700;
    margin-top: 4px;
}
.zhz-konfigurator__footer {
    margin-top: 14px;
}
.zhz-konfigurator__flow-controls {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}
.zhz-konfigurator__progress {
    color: #64748b;
    font-size: .9rem;
}
.zhz-konfigurator__textfields {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}
.zhz-konfigurator__textfield span {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}
.zhz-konfigurator__message {
    color: #991b1b;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.zhz-konfigurator__price {
    font-weight: 700;
    margin-bottom: 10px;
}
.zhz-konfigurator__nova-price-updated {
    transition: color .15s ease;
}
.zhz-konfigurator__select {
    max-width: 420px;
}
.zhz-konfigurator__modal-launch {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.zhz-konfigurator__modal-summary {
    color: #64748b;
    font-size: .9rem;
}
.zhz-konfigurator__modal[hidden] {
    display: none;
}
.zhz-konfigurator__modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, .48);
}
.zhz-konfigurator__modal-dialog {
    width: min(960px, 100%);
    max-height: 88vh;
    display: grid;
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .28);
}
.zhz-konfigurator__modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.zhz-konfigurator__modal-filter {
    max-width: none;
}

@media (max-width: 720px) {
    .zhz-konfigurator__group--cols-2 .zhz-konfigurator__items,
    .zhz-konfigurator__group--cols-4 .zhz-konfigurator__items,
    .zhz-konfigurator__group--modal .zhz-konfigurator__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
