.options-wrapper {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

@media only screen and (max-width: 650px) {
    .options-wrapper {
        padding: 0 10px;
    }
}

@media only screen and (min-width: 1000px) {
    .options-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}


.options-wrapper label {
    cursor: pointer;

}

.options-wrapper::-webkit-scrollbar {
    display: none;
}

.option-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.option-wrapper > label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-wrapper > span {
    padding: 0px;
    color: var(--primary-color);
}

.price-wrapper {
    margin-top: 10px;
}

.deleted-price {
    text-decoration: line-through;
    color: #767676;
    font-size: smaller;
}

/* Style the options wrapper with a subtle box shadow for depth */
.option-wrapper {
    background-color: #fff;
    padding: 15px;
    margin: 0.5em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.option-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Style the labels to look more clickable */
.option-wrapper > label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto;
}

/* Improve the appearance of the price */
.deleted-price {
    font-size: 0.85em;
    color: #999;
}

/* Style for the discounted price */
.discounted-price {
    color: #e53935; /* A nice red color for discounts */
    font-weight: bold;
}

.price {
    color: var(--primary-color); /* A nice red color for discounts */
    font-weight: bold;
}

/* Layout for the image upload fields using CSS Grid */
.image-fields-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-gap: 1em;
    margin-top: 1em;
}

.radio-input:checked + label {
    border-width: 2px;
    border-color: var(--primary-color);
}


.form-part {
    margin-bottom: 40px;
}

@media only screen and (min-width: 1000px) {
    .form-part {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

.form-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-fields-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-content: center;
    justify-items: center;
}

.image-field {
    width: 250px;
    height: 150px;
    /*border: 2px dashed #dc3545;*/
    border-radius: 5px;
    position: relative;
    background-color: #ff6473;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
}

.upload-label {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plus-sign {
    font-size: 2em;
    color: #ccc;
}

.image-preview {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    position: absolute;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 50% opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000; /* High z-index to be on top of other elements */
}

#progress-text {
    color: white;
    margin-top: 20px;
}

.designer {
    margin: 30px 0px;
    max-width: 100%;
    margin-top: 50px;
    margin-bottom: 0px;
}

.image-container-temporary {
    width: 150px;
    height: 150px;
    flex-direction: column;
}

.image-container-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    border-radius: 15px;
}

.image-container-icon {
    width: 40px
}

.image-container-text {
    margin-bottom: 0px;
    text-align: center;
}

@media only screen and (min-width: 1000px) {
    .designer-options-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}


.main-image-wrapper {
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100%;
    max-width: 100%;
}

.main-image-wrapper > img {
    position: relative;
    transform-origin: center;
}

.size-options-wrapper {
    display: none;
}

#buy-button-wrapper {
    display: none;
}

.image-container-temporary {
    width: 250px;
    height: 150px;
}

.additional-information-wrapper {
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

#change-image-button {
    margin: 0px 15px;
}

.designer-information-icon {
    display: none;
    margin: 0px 15px;
    max-width: 50px;
    max-height: 50px;
}

.color-icon {
    filter: grayscale(100%);
    display: flex;
    cursor: pointer;
}




.quality-bar {
    width: 0%;
    height: 100%;
    transition: width 1s;
    background: white;
    position: absolute;
    right: 0;
}


.quality-bar-container-wrapper {
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.quality-bar-container {
    width: 50%;
    display: flex; /* Use flexbox to align the bar and the info icon */
    align-items: center; /* Align items vertically in the center */
}

.quality-bar-wrapper {
    top: 0%;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, red, orange, green);
    overflow: hidden;
    position: relative;
}

.info-icon {
    margin-left: 10px; /* Space between the bar and the info icon */
    position: relative; /* Relative positioning for the tooltip */
    cursor: pointer; /* Change cursor to indicate clickable element */
}

.tooltip-quality-bar {
    display: none; /* Initially hide the tooltip */
    position: absolute;
    left: 50%; /* Center the tooltip */
    transform: translateX(-50%); /* Centering adjustment */
    padding: 5px;
    background-color: #333;
    color: white;
    border-radius: 5px;
    z-index: 1000; /* Ensure tooltip is on top */
}


/* Improve the appearance of the price */
.deleted-price {
    font-size: 0.85em;
}

/* Style for the discounted price */
.discounted-price {
    color: #e53935; /* A nice red color for discounts */
    font-weight: bold;
}

.price {
    color: var(--primary-color); /* A nice red color for discounts */
    font-weight: bold;
}

.process-content-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 0px 50px;
}

.process-content-wrapper > div {
    width: 50%;
}


.process-content-wrapper > .text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.process-content-wrapper img {
    width: 500px;
    height: 500px;
    border-radius: 25px;
}

@media only screen and (max-width: 650px) {
    .process-content-wrapper {
        flex-direction: column;
        padding: 0px;
        height: 100%;
        justify-content: flex-start;
    }

    .process-content-wrapper > div {
        width: 100%;
        padding: 0px;
    }

    .process-content-wrapper > .text-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0px;
    }

    .process-content-wrapper > .text-wrapper > .step-text {
        width: 95%;
    }

    .process-content-wrapper img {
        width: 95%;
        height: auto;
    }
}



.gradient-orange-font {
    background: -webkit-linear-gradient(60deg,#F8A86D, #D75A00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-green-font {
    background: -webkit-linear-gradient(60deg,#AEC6AC, #6DB267);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-blue-font {
    background: -webkit-linear-gradient(60deg,#0054A1, #00315F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-purple-font {
    background: -webkit-linear-gradient(60deg,#8E2DE2, #4A00E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-orange-border {
    border-image: -webkit-linear-gradient(60deg,#F8A86D, #D75A00);
}

.gradient-green-border {
    border-image: -webkit-linear-gradient(60deg,#AEC6AC, #6DB267);
}

.gradient-blue-border {
    border-image: -webkit-linear-gradient(60deg,#0054A1, #00315F);
}

.gradient-purple-border {
    border-image: -webkit-linear-gradient(60deg,#8E2DE2, #4A00E0);
}


.splide__arrow {
    background: var(--primary-color) !important;
    opacity: unset !important;
    border-radius: 10px !important;
}

.splide__arrow:disabled {
    opacity: 0.2 !important;
}

.splide__arrow svg {
    fill: white !important;
}

@media only screen and (max-width: 650px) {

    .splide__arrow {
        top: 60% !important;
    }

    .splide__arrow--next {
        right: -10px !important;
    }

    .splide__arrow--prev {
        left: -10px !important;
    }
}


.details-card {
    border-radius: 15px;
}


.details-card > div {
    width: 50%;
}

.details-card > .details-card-image {
    padding: 25px;
}

.details-card-wrapper img {
    border-radius: 12px;
}

@media only screen and (max-width: 650px) {
    .details-card {
        flex-direction: column;
    }
    .details-card > div {
        width: 100%;
    }

    .details-card-image img {
        width: 100%;
        height: calc(100% - 50px);
    }
}

.gradient-orange-bg {
    background: linear-gradient(90deg, #FF9966, #FF5E62);
    color: white;
}

.gradient-green-bg {
    background: linear-gradient(90deg, #3c61f5 0%, #11158a 100%);
    color: white;
}


.material-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
  
.material-card-content p {
    text-align: center;
    width: 75%;
}
  
.material-card-image img {
    width: 220px;
    height: 220px;
    border-radius: 15px;
    border: 2px solid black;
}
  
.material-card-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.material-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    transition: transform 0.2s;
}

@media only screen and (max-width: 650px) {
    .material-card {
        flex-direction: row;
    }

    .material-card > div {
        width: 50%;
    }

    .material-card-image img {
        height: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .material-card-content p {
        text-align: center;
        width: 90%;
    }
}
  
.material-card:hover {
    transform: scale(1.05);
}
  

.header-wrapper {
    width: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-headline {
    border-bottom: 2px solid var(--secondary-color);
    padding: 0px 10px 2px 10px;
}