.product_image_box .swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.product_image_box .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.product_image_box .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    max-width: 100%;
    /* Das Bild bleibt innerhalb des Slide-Containers */
    max-height: 100%;
    /* Das Bild bleibt innerhalb des Slide-Containers */
    aspect-ratio: 1;
}

.product_image_box .swiper-slide {
    background-size: contain;
    background-position: center;
}

.faq_answer {
    margin-top: 1rem;
    font-weight: 300;
    line-height: 180%;
    font-size: 1.1rem;
}

.price_per_kg {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
    color: #002339;
    margin-left: 0.5rem;
}

.product_image_slider {
    height: fit-content;
    width: 100%;

}

.product_image_slider_thumbs {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.product_image_slider_thumbs .swiper-slide {
    width: 20%;
    height: 25%;
    opacity: 0.4;
}

.product_image_slider_thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.select2-selection {
    padding: 11px 15px;
    height: 50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 12px !important;
}

.select2-container {
    min-width: 300px;
}

.select2-container--default .select2-selection--single {
    background-color: #e5e8eb !important;
    border: 0px solid #aaa !important;
    border-radius: 0 !important;
}

.additional_option_text {
    color: #6c6c6c;
    font-size: 0.8rem;
}

.single_option {
    position: relative;
    user-select: none;
}

.single_option.option_selected::after {
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    background-color: #e82b32;
    background-image: url('https://cdn.phm-innotech.de/images/icon-check-white.svg');
    background-size: 90% 90%;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    font-size: 8px;
    text-align: center;
    line-height: 10px;
    border-radius: 2px;
    margin-left: 5px;
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    justify-content: center;
    align-items: center;
}

.single_option.option_selected:hover::after {
    content: "";
    display: flex;
    width: 1rem;
    height: 1rem;
    background-color: #e82b32;
    background-image: url('https://cdn.phm-innotech.de/images/icon-delete-white.svg');
    background-size: 90% 90%;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    font-size: 8px;
    text-align: center;
    line-height: 10px;
    border-radius: 2px;
    margin-left: 5px;
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    justify-content: center;
    align-items: center;
}


/*
.single_custom_text:hover {
    cursor: pointer;
    border: 3px solid rgb(232 43 50);
    transition: all 0.2s ease-in-out;
}

.single_custom_text {
    cursor: pointer;
    border: 3px solid rgb(229 232 235);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-content: start;
    align-items: flex-start;
}

.custom_text_active {
    border: 3px solid rgb(232 43 50);
    transition: all 0.2s ease-in-out;
}*/

.additional_option:hover {
    cursor: pointer;
    border: 3px solid rgb(232 43 50);
    transition: all 0.2s ease-in-out;
}

.additional_option {
    cursor: pointer;
    border: 3px solid rgb(229 232 235);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

@media only screen and (max-width: 450px) {
    .swiper_product_navigation {
        display: none;
    }
}


.loader-wrapper {
    position: absolute;
    width: 90%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    z-index: 2;
    display: none;
    opacity: 0;
    transition: all 0.4s ease-in-out;
}

.loader {
    position: relative;
    width: 130px;
    height: 100px;
    background-repeat: no-repeat;
    background-image: linear-gradient(#002339, #002339), linear-gradient(#e82b32, #e82b32), linear-gradient(#e82b32, #e82b32);
    background-size: 80px 70px, 30px 50px, 30px 30px;
    background-position: 0 0, 80px 20px, 100px 40px;
    display: block;
}

.loader:after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 12px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-sizing: content-box;
    border: 10px solid #002339;
    box-shadow: 78px 0 0 -10px #fff, 78px 0 #002339;
    animation: wheelSk 0.75s ease-in infinite alternate;
}

.loader:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 0px;
    height: 70px;
    width: 70px;
    background-image: linear-gradient(#002339 45px, transparent 0), linear-gradient(#002339 45px, transparent 0), linear-gradient(#002339 45px, transparent 0);
    background-repeat: no-repeat;
    background-size: 30px 4px;
    background-position: 0px 11px, 8px 35px, 0px 60px;
    animation: lineDropping 0.75s linear infinite;
}

.disabled {
    opacity: 0.3;
}

@keyframes wheelSk {

    0%,
    50%,
    100% {
        transform: translatey(0)
    }

    30%,
    90% {
        transform: translatey(-3px)
    }
}

@keyframes lineDropping {
    0% {
        background-position: 100px 11px, 115px 35px, 105px 60px;
        opacity: 1;
    }

    50% {
        background-position: 0px 11px, 20px 35px, 5px 60px
    }

    60% {
        background-position: -30px 11px, 0px 35px, -10px 60px
    }

    75%,
    100% {
        background-position: -30px 11px, -30px 35px, -30px 60px;
        opacity: 0;
    }
}

.quantity-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cart_number {
    background-color: #f7f8f9;
    padding: 11px 15px;
    border-bottom: 2px solid #e82b32;
    border-radius: 0;
    width: 4rem;
    -moz-appearance: textfield;
    appearance: textfield;
    text-align: center;
}

.quantity-btn {
    background-color: #fff;
    border: 3px solid #e5e8eb;
    padding: 9px 17px;
    cursor: pointer;
    font-size: 16px;
    color: #002339;
}

.cart_number::-webkit-outer-spin-button,
.cart_number::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add_to_cart_button[disabled] {
    background-color: #000;
    opacity: 0.1;
    pointer-events: none;
}

.animation-grow {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
    transition: all 0.1s ease-in-out;
    border: 3px solid rgb(232, 43, 50) !important;
}

.option_wrapper:has(.option_group) {
    display: flex;
    flex-direction: row;
}

.option_group {
    gap: 0.5rem;
    display: flex;
    flex-wrap: wrap;
}

.option_wrapper {
    flex-wrap: wrap;
    max-height: 13rem;
    overflow-y: auto;
}

.option_wrapper::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.option_wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.option_wrapper::-webkit-scrollbar-thumb {
    background: #00233998;
}

/* Handle on hover */
.option_wrapper::-webkit-scrollbar-thumb:hover {
    background: #002339;
}

.option_group_heading {
    width: 100%;
}

.product_description h3 {
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 3rem;
    line-height: 180%;
}

.product_description h4 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-top: 3rem;
}

.product_description p {
    margin-top: 1rem;
    font-weight: 300;
    line-height: 180%;
    font-size: 1.1rem;
}

.product_description ul {
    margin-top: 1rem;
    list-style: disc;
    padding-left: 3rem;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 180%;
}

.product_description ol {
    margin-top: 1rem;
    list-style: decimal;
    padding-left: 3rem;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 180%;
}

.ve_text {
    font-size: 1rem;
    font-weight: 400;
    color: #002339;
}

.product_description a {
    color: #e82b32;
}

.configure_product_button:hover {
    color: rgb(0, 35, 57) !important;
    background-color: white !important;
}

.add_to_cart_button:hover {
    color: rgb(232, 43, 50);
    background-color: white !important;
}

.configure_product_button {
    user-select: none;
}

.add_to_cart_button {
    user-select: none;
}

.ve_text thead {
    background-color: #e5e8eb;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    color: #002339;
}

.ve_text th {
    color: #002339 !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    width: 50%;
}

.ve_text tbody {
    background-color: #e5e8eb6b !important;
}

.ve_text td {
    font-weight: 400;
    padding: 0.5rem 1rem;
}

.single_option {
    min-width: 3rem;
    min-height: 3rem;
}

@media screen and (max-width: 900px) {
    .amount_button_wrapper {
        flex-direction: column;
    }

    .amount_button_wrapper div {
        width: 100%;
    }

    .quantity-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .cart_number {
        width: 100%;
    }

    .add_to_cart_button {
        text-align: center;
    }

    .text-base {
        font-size: 0.9rem;
        line-height: 1rem;
    }

    .product_description p,
    .product_description li {
        margin-top: 1rem;
        font-weight: 300;
        line-height: 180%;
        font-size: 0.9rem;
    }

    .product_faqanswer{
        margin-top: 1rem;
        font-weight: 300;
        line-height: 180% !important;
        font-size: 0.9rem !important
    }

    .text-3xl {
        font-size: 1.275rem;
        line-height: 1.55rem;
    }

    .swiper-pagination-bullet {
        width: 8px !important;
        height: 5px !important;
        background: #e5e8eb !important;
        border: 0 !important;
        opacity: 1 !important;
        border-radius: 0 !important;
    }

    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: #e82b32 !important;
        width: 15px !important;
    }

    .w-10 {
        width: 1.5rem;
    }

    .h-10 {
        height: 1.5rem;
    }

    .single_option {
        min-width: 2.5rem;
        min-height: 2.5rem;
    }

    .kontakt_zeiten_fragen {
        font-size: 0.8rem;
    }

    .text-2xl {
        font-size: 1.175rem;
        line-height: 1.45rem;
    }

    .text-l {
        font-size: 0.8rem;
        line-height: 1.1rem;
    }

    .single_product_price {
        color: #4D915E;
        font-weight: 600;
        font-size: 1rem;
        line-height: 115%;
    }
}



.product_faqanswer{
    margin-top: 1rem;
    font-weight: 300;
    line-height: 180%;
    font-size: 1.1rem;
}

.product_faqanswer ul {
    margin-top: 1rem;
    list-style: disc;
    padding-left: 3rem;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 180%;
}

.product_faqanswer ol {
    margin-top: 1rem;
    list-style: decimal;
    padding-left: 3rem;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 180%;
}


.product_faqanswer a {
    color: #e82b32;
}