/* Altus CSS-bundel 1.1: altus-shortcode-alternatieven, altus-tax-toggle-style */

/* --- altus-shortcode-alternatieven --- */
.custom-dropdown {
    position: relative;
    width: 100%;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.custom-dropdown-selected {
    padding: 11px 40px 11px 20px;
    background: #fafeff;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.06), inset 0 1px 5px 0 rgba(0,0,0,.07);
    border: 1px solid #d0d5d6;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nNicgdmlld0JveD0nMCAwIDEwIDYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTUgNS43YS42OTguNjk4IDAgMCAxLS40OTUtLjIwNWwtNC4zLTQuM2EuNy43IDAgMSAxIC45OS0uOTlMNSA0LjAxIDguODA1LjIwNWEuNy43IDAgMCAxIC45OS45OWwtNC4zIDQuM0EuNjk4LjY5OCAwIDAgMSA1IDUuN1onIGZpbGw9JyMwMDM0NTknIGZpbGwtcnVsZT0nbm9uemVybycvPjwvc3ZnPg==);
    background-position: right 20px center;
    background-size: 12px 10px;
    background-repeat: no-repeat;
    z-index: 10;
}

.custom-dropdown-selected-inner {
    padding: 11px 20px;
    background: #fafeff;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nNicgdmlld0JveD0nMCAwIDEwIDYnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTUgNS43YS42OTguNjk4IDAgMCAxLS40OTUtLjIwNWwtNC4zLTQuM2EuNy43IDAgMSAxIC45OS0uOTlMNSA0LjAxIDguODA1LjIwNWEuNy43IDAgMCAxIC45OS45OWwtNC4zIDQuM0EuNjk4LjY5OCAwIDAgMSA1IDUuN1onIGZpbGw9JyMwMDM0NTknIGZpbGwtcnVsZT0nbm9uemVybycvPjwvc3ZnPg==);
    background-position: right 20px center;
    background-size: 12px 10px;
    background-repeat: no-repeat;
    z-index: 10;
}

.custom-dropdown-options {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #fafeff;
    border: 2px solid rgba(82,88,90,.2);
    box-shadow: 0 5px 14px 0 rgba(0,0,0,.06), inset 0 1px 5px 0 rgba(0,0,0,.07);
    border-radius: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 9;
    display: none;
    min-width: 360px;
    max-height: 553.84px; /* Set the height to display only 4 items (adjust as needed) */
    overflow: hidden;   /* Hide overflow beyond the parent */
    display: none;
    flex-direction: column; /* Ensure content is laid out vertically */
}

@media only screen and (max-width: 460px) {
    .custom-dropdown-options {
        min-width: 277px;
    }
}

.custom-dropdown-options li {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 2px solid rgba(82,88,90,.2);
    margin-bottom: -2px !important;
    padding: 1.25rem;
}

.custom-dropdown-options li:first-child {
    border-radius: 6px 6px 0 0;
}

.custom-dropdown-options li:last-child {
    border-radius: 0 0 6px 6px;
}

.custom-dropdown-options li:hover {
    border: 2px solid #C2410C;
}

.custom-radio {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.radio-icon {
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.custom-dropdown-options li:hover .radio-icon .inner-circle {
    fill: #C2410C; /* Fill the inner circle on hover */
}

.custom-dropdown-options li p {
    cursor: pointer;
    font-size: 16px;
    color: #003459;
    margin: 0;
    font-weight: bold;
}

.custom-dropdown ul {
    padding-left: unset !important;
}

.options-group {
    padding: 0 15px 15px;
    flex-grow: 1;        /* Make it expand to fill the available space */
    overflow-y: auto;    /* Enable vertical scrolling if content exceeds available space */
}

.textual-information-alternative-product {
    margin-left: 0.625rem;
    flex-grow: 1;
}

.textual-information-alternative-product p {
    margin: 0;
}

#alternative-products-title {
    font-weight: bold;
    font-size: 14px;
    margin-left: 10px;
    display: inline;
}

.textual-information-alternative-product ins {
    color: #C2410C;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
}

.pricing-and-brand {
    display: flex;
    align-items: center;
}

.pricing-and-brand .brand_description_block {
    margin-left: auto;
    flex-shrink: 0;
}

.pricing-and-brand .berocket_brand_description {
    margin: 0;
}

/* --- altus-tax-toggle-style --- */
.btw-toggle {
    display: flex;
    align-items: center;
}

div.btw-toggle p {
    color: #67bed9;
    margin: 0;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    min-width: 45px;
    width: 45px;
    height: 22px;
    margin: 0 5px 0;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 2px solid #24347a;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 24px;
    left: 0;
    top: 0;
    background-color: #C2410C;
    transition: transform 0.3s ease;
}

.switch input:checked+.slider {
    background-color: #fff;
}

.switch input:checked+.slider:before {
    transform: translateX(19px);
}

/* Rounded sliders */
.switch .slider.round {
    border-radius: 11px;
}

.switch .slider.round:before {
    border-radius: 11px;
}

/* Loading spinner styles */
.loading-spinner {
    border: 2px solid #f3f3f3;
    /* Light grey */
    border-top: 2px solid #C2410C;
    /* Orange */
    border-radius: 50%;
    width: 22px;
    height: 22px;
    animation: spin 2s linear infinite;
    display: none;
    margin: 0 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide the slider after the animation */
.btw-toggle.hide-slider .switch.toggle-container {
    opacity: 0;
    visibility: hidden;
    display: none;
}

.btw-toggle.hide-slider .loading-spinner {
    display: inline-block;
    opacity: 1;
    visibility: visible;
    transition: none;
}

/* Animation to hide slider and show spinner */
@keyframes hideSliderAndShowSpinner {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* Trigger the animation on .btw-toggle */
.btw-toggle.animate-slider .slider {
    animation: hideSliderAndShowSpinner 0s forwards 300ms;
}

.btw-toggle.hide-slider .loading-spinner {
    display: inline-block;
    opacity: 1;
    visibility: visible;
}

/* Added by Sergio Winter 03/25 - Mobile-specific changes */
@media (max-width: 768px) {
    .btw-toggle.mobile-only {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .btw-toggle.mobile-only p {
        color: #67bed9;
        margin: 0;
    }

    .btw-toggle.mobile-only .switch {
        width: 67.5px;
        height: 33px;
    }

    .btw-toggle.mobile-only .switch .slider:before {
        height: 29px;
        width: 36px;
        left: 0;
        top: 0;
    }

    .btw-toggle.mobile-only .switch input:checked+.slider:before {
        transform: translateX(28.5px);
    }

    .btw-toggle.mobile-only .switch .slider.round {
        border-radius: 16.5px;
    }

    .btw-toggle.mobile-only .switch .slider.round:before {
        border-radius: 16.5px;
    }

    .btw-toggle.mobile-only .loading-spinner {
        width: 33px;
        height: 33px;
        margin: 0 5px;
    }
}
/* Added by Sergio Winter 03/25 - Tablet-specific changes */
@media (max-width: 1024px) {
    .btw-toggle.tablet-only {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btw-toggle.tablet-only p {
        color: #67bed9;
        margin: 0;
    }
}




