#produkteList {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    scroll-snap-type: none;
    flex-grow: 1;
    padding: 2rem 3.5rem 2rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4.5rem;
    justify-items: end;
    max-width: 1000px;
    margin: 0 auto;
}

#produkteList::-webkit-scrollbar {
    width: 8px;
}

#produkteList::-webkit-scrollbar-thumb {
    background: #7f85e4;
    border-radius: 4px;
}

#produkteList::-webkit-scrollbar-track {
    background: #2c2c46;
}

.produkt-block {
    border: 3px solid #2c2c46;
    background-color: #141420;
    outline: none;
    border-radius: 12px;
    padding: 2rem 1.5rem 3rem;
    width: 100%;
    max-width: 1000px;
    transition: all 0.4s ease-in-out;
    position: relative;
    margin: 0.5rem 0;
    background-clip: padding-box;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.produkt-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.produkt-block.selected {
    border-color: var(--colorLeft, #7f85e4);
}

.produkt-block::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2c2c46;
    border: 2px solid #2c2c46;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease-in-out;
}

.produkt-block.selected::before {
    background: var(--colorLeft, #7f85e4);
    border-color: var(--colorLeft, #7f85e4);
}

.produkt-block.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.produkt-block input[type="checkbox"]:checked+label {
    font-weight: bold;
    color: #ffffff;
}

.produkt-block label {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 5rem;
    margin-top: -0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
}

.product-price {
    font-size: clamp(1.1rem, 1.8vw, 1.2rem);
    color: #7f85e4;
    font-weight: 700;
    text-align: center;
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: #1c1c28;
    border-radius: 6px;
    margin-top: 1rem;
    z-index: 1;
}

.connector-price {
    font-size: clamp(0.8rem, 1.3vw, 0.9rem);
    color: #ffffff;
    text-align: center;
    position: absolute;
    bottom: 3.5rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product-image img {
    width: 70%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.Icon-block {
    background: linear-gradient(90deg, var(--colorLeft, #ffffff), var(--colorRight, #ffffff));
    width: 6rem;
    height: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: absolute;
    top: -1.5rem;
    left: 10%;
    transform: translateX(-50%);
}

.product-subheading {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin-bottom: 3rem;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    position: relative;
    padding-bottom: 0.5rem;
    width: 100%;
}

.product-subheading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c2c46;
    transform: none;
}

.product-description {
    margin: 5px auto 10px auto;
    font-size: 14px;
    width: 70%;
    margin-top: -4rem;
    margin-bottom: 5rem;
    color: #898e9e;
    text-align: center;
    line-height: 1.4;
}

.user-controls,
.custom-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    width: 100%;
}

.user-controls label,
.custom-controls label {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
    text-align: left;
    width: auto;
}

.control-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 600px;
    background: #1c1c28;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.features-controls .control-group {
    max-width: 100%;
    padding: 0.5rem;
}

.control-group input[type="range"],
.control-group input[type="number"],
.control-group span {
    flex-shrink: 0;
}

.control-group input[type="range"] {
    flex-grow: 1;
    max-width: 300px;
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--colorLeft, #7f85e4) 0%, var(--colorLeft, #7f85e4) var(--value, 0%), #2c2c46 var(--value, 0%), #2c2c46 100%);
    outline: none;
    appearance: none;
    transition: background 0.3s ease;
    margin: 0;
}

.features-controls .control-group input[type="range"] {
    max-width: 150px;
    background: linear-gradient(to right, var(--colorLeft, #7f85e4) 0%, var(--colorLeft, #7f85e4) var(--value, 0%), #2c2c46 var(--value, 0%), #2c2c46 100%);
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--colorLeft, #7f85e4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.features-controls .control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--colorLeft, #7f85e4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.control-group input[type="number"] {
    width: 80px;
    padding: 0.4rem;
    border: none;
    border-radius: 6px;
    background-color: #1c1c28;
    border: 1px solid #7f85e4;
    color: #ffffff;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    text-align: center;
    -webkit-appearance: none;
    appearance: textfield;
}

.features-controls .control-group input[type="number"] {
    width: 60px;
}

.control-group span {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: #898e9e;
    white-space: nowrap;
}

.control-group .control-description {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    color: #898e9e;
    line-height: 1.3;
}

.user-controls input[type="range"]::-webkit-slider-thumb,
.custom-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--colorLeft, #7f85e4);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.user-controls input[type="range"].dynamic-slider,
.custom-controls input[type="range"].dynamic-slider {
    width: 100px;
    height: 6px;
}

.user-controls input[type="range"].dynamic-slider::-webkit-slider-thumb,
.custom-controls input[type="range"].dynamic-slider::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
}

.user-controls input[type="range"].dynamic-slider+input[type="number"],
.custom-controls input[type="range"].dynamic-slider+input[type="number"] {
    width: 50px;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
}

.user-controls label:has(+ .control-group input[type="range"].dynamic-slider),
.custom-controls label:has(+ .control-group input[type="range"].dynamic-slider) {
    font-size: clamp(0.7rem, 1.2vw, 0.7rem);
    transition: opacity 0.3s ease;
}

.user-controls input[type="number"]:focus,
.custom-controls input[type="number"]:focus {
    border-color: #ffffff;
    outline: none;
}

.user-controls input[type="number"]::-webkit-inner-spin-button,
.user-controls input[type="number"]::-webkit-outer-spin-button,
.custom-controls input[type="number"]::-webkit-inner-spin-button,
.custom-controls input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.features-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0.5rem 0;
}

.features-controls .product-subheading {
    width: 100%;
    text-align: left;
    position: relative;
}

.features-controls>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    border: 2px solid #2c2c46;
    background-color: #1c1c28;
    border-radius: 6px;
    height: 180px;
    margin: 0.3rem 0;
}

.features-controls>div>* {
    margin: 0.2rem 0;
}

.features-controls label {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    margin: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: #cccccc;
    width: 100%;
    text-align: center;
}

.features-controls input[type="checkbox"].feature-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    border-radius: 4px;
    background-color: #2c2c46;
    margin-right: 0.5rem;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.features-controls input[type="checkbox"].feature-checkbox:disabled {
    border-color: #707076;
    opacity: 0.5;
    cursor: not-allowed;
}

.features-controls input[type="checkbox"].feature-checkbox:checked {
    background-color: #2c2c46;
    border-color: #cccccc;
}

#produkteList .features-controls input[type="checkbox"].feature-checkbox:checked::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7f85e4 !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
}

#produkteList .produkt-block input[type="checkbox"]:not(.feature-checkbox):not(.custom-control-checkbox) {
    display: none !important;
}

.info-icon,
.info-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
    width: 16px;
    height: 16px;
    fill: #7f85e4;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.produkt-block>label>.info-icon,
.produkt-block>label>.info-link {
    margin-top: -0.75rem;
}

.info-icon:hover,
.info-link:hover {
    fill: #ffffff;
}

.info-link {
    text-decoration: none;
}

.produkt-block.selected>label>.info-icon,
.produkt-block.selected>label>.info-link {
    fill: #7f85e4;
}

.produkt-block.selected>label>.info-icon:hover,
.produkt-block.selected>label>.info-link:hover {
    fill: #ffffff;
}

.features-controls label input.feature-checkbox:checked~.info-icon,
.features-controls label input.feature-checkbox:checked~.info-link {
    fill: #7f85e4;
}

.features-controls label input.feature-checkbox:checked~.info-icon:hover,
.features-controls label input.feature-checkbox:checked~.info-link:hover {
    fill: #ffffff;
}

.custom-controls input[type="checkbox"].custom-control-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    border-radius: 4px;
    background-color: #2c2c46;
    margin-right: 0.5rem;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

.custom-controls input[type="checkbox"].custom-control-checkbox:disabled {
    background-color: #2c2c46;
    border-color: #707076;
    opacity: 0.0;
    cursor: not-allowed;
}

.custom-controls input[type="checkbox"].custom-control-checkbox:checked {
    background-color: #2c2c46;
    border-color: #cccccc;
}

.custom-controls input[type="checkbox"].custom-control-checkbox:checked::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--checkboxColor, #ffffff);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.custom-controls input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    border-radius: 50%;
    background-color: #2c2c46;
    margin-right: 0.5rem;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

.custom-controls input[type="radio"]:checked {
    background-color: #2c2c46;
    border-color: var(--checkboxColor, #cccccc);
}

.custom-controls input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--checkboxColor, #cccccc);
}

#bau13b_block .custom-controls input[type="radio"] {
    border-color: var(--checkboxColor, #3a5a40);
}

#bau13b_block .custom-controls input[type="radio"]:checked {
    border-color: var(--checkboxColor, #3a5a40);
}

#bau13b_block .custom-controls input[type="radio"]:checked::after {
    background: var(--checkboxColor, #3a5a40);
}

.transaction-control {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.transaction-control:not(.hidden) {
    opacity: 1;
    display: block;
}

.control-group.transaction-control:not(.hidden) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.feature-description {
    text-align: center;
    margin: 3px 0 8px 0;
    font-size: 12px;
    color: #898e9e;
    line-height: 1.3;
    width: 90%;
}

.checkbox-control-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 600px;
    background: #1c1c28;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.checkbox-control-group input[type="checkbox"].custom-control-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #cccccc;
    border-radius: 4px;
    background-color: #2c2c46;
    margin-right: 0.5rem;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}

.checkbox-control-group input[type="checkbox"].custom-control-checkbox:checked {
    background-color: #2c2c46;
    border-color: #cccccc;
}

.checkbox-control-group input[type="checkbox"].custom-control-checkbox:checked::after {
    content: '\2714';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--checkboxColor, #ffffff);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.checkbox-control-group input[type="checkbox"].custom-control-checkbox:disabled {
    border-color: #707076;
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-control-group label {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-align: left;
    width: auto;
}

.checkbox-control-group span {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    color: #898e9e;
    white-space: nowrap;
}

.checkbox-control-group .control-description {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 5px;
    font-size: 12px;
    color: #898e9e;
    line-height: 1.3;
}