.c-tulpen--product-configurator-wrap {
    position: relative;
}

.c-tulpen-product-configurator {
    padding: 30px;
    background-color: #eee;
    margin-bottom: 30px;
}

.c-tulpen-product-configurator__productwrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.c-tulpen-product-configurator__product label {
    display: block;
    position: relative;
    margin: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    transition: 300ms;
    cursor: pointer;
}

/* disabled fields */
.c-tulpen-product-configurator input[type="text"]:disabled {
    background-color: #eee;
}

input#sendto_postalcode,
input#sendto_housenumber,
input#sendto_street,
input#sendto_place,
input#sendto_hospital_name,
input#sendto_hospital_room {
    margin: 0 !important;
    width: 100% !important;
}

.c-tulpen--product-configurator-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .8);
    z-index: 20;
}

.c-tulpen--product-configurator-loader__spinner {
    display: inline-block;
    border: 12px solid transparent;
    border-top: 12px solid #eee;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    animation: spin 1s linear infinite;
    /* align in the middle */
    position: absolute;
    top: calc(50% - 150px / 2);
    left: calc(50% - 150px / 2);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.c-tulpen-product-configurator__product input[type="radio"],
.c-tulpen-product-configurator__product input[type="checkbox"] {
    display: none;
}

.c-tulpen-product-configurator__product__image {
    width: 100%;
    height: 200px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.c-tulpen-product-configurator__alerts:empty {
    display: none;
}

/* step indicators */
.c-tulpen-product-configurator__steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.c-tulpen-product-configurator__step {
    position: relative;
    width: 100%;
    text-align: center;
}

.c-tulpen-product-configurator__step .indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #eee;
    display: inline-block;
    text-align: center;
    font-weight: bold;
}

.c-tulpen-product-configurator__step .indicator::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 2px;
    border: 2px solid #eee;
    display: block;
}

.c-tulpen-product-configurator__step.active .indicator {
    background-color: var(--color-1);
    color: #fff;
}

.c-tulpen-product-configurator__step.active .indicator::after {
    border-color: var(--color-1);
}

.c-tulpen-product-configurator__error {
    padding: 15px;
    background-color: #c611504d;
    border-radius: 6px;
    font-size: 14px;
}

.c-tulpen-product-configurator__error input[type="radio"],
.c-tulpen-product-configurator__error input[type="checkbox"] {
    display: inline-block;
    width: auto;
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

/* Variation selector */
.c-product-select-variationdisabled {
    opacity: .5;
}

/* Header Search */
.c-header-search-from-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .4);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.c-header-search-form {
    display: none;
    position: fixed;
    top: -400px;
    left: 0px;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    z-index: 9999;
    line-height: 1;
    opacity: 0;
    transition: display 0ms, top 600ms, opacity 600ms;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.c-header-search-from-backdrop.active,
.c-header-search-form.active {
    display: block !important;
}

.c-header-search-form.active {
    top: 0px;
    opacity: 1;
}

.c-header-search-form form {
    margin: 0;
}

.c-header-search-form form .search-field {
    float: left;
    width: calc(100% - 48px - 48px);
    height: 48px;
    margin: 0;
    border: 2px solid #333;
    border-right: none;
    border-radius: 6px 0 0 6px;
    background-color: #fff;
}

.c-header-search-form form .search-button {
    float: left;
    height: 48px;
    width: 48px;
    margin: 0;
    border: 2px solid #333;
    border-left: none;
    border-radius: 0 6px 6px 0;
    background-color: #fff;
    color: transparent;
    background-image: url('../images/magnifying-glass-fa-regular.svg');
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.c-header-search-form form .search-close {
    float: left;
    height: 48px;
    width: 48px;
    margin: 0;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    color: transparent;
    background-image: url('../images/xmark-large-regular.svg');
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

body.admin-bar .c-header-search-form {
    top: 32px;
}