.cc-find-form__block {
    padding: 24px 16px;
    border-radius: 8px;
    border: 1px solid var(--other-outlined-border, #D1D5DB);
    max-width: 310px;
    box-sizing: border-box;
    position: relative;
}

.cc-find-form__select-wrap {
    position: relative;
}

.cc-find-form__select-wrap label {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.15px;
    position: absolute;
    left: 8px;
    top: 0;
    transform: translateY(-50%);
    background: #fff;
    z-index: 1;
    padding: 0 4px;
    color: #111827;
}

.cc-find-form__message {
    display: none;
    font-size: 11px;
    color: red;
    position: absolute;
    bottom: 7px;
    left: 6px;
}

.cc-find-form__select,
.cc-select-popup-form__select {
    width: 100%;
    height: 46px;
    margin-bottom: 24px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    font-size: 14px;
    line-height: 2;
    color: #111827;
    box-shadow: none;
    padding: 0 24px 0 12px;
    max-width: 100%;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M7 10L12 15L17 10H7Z' fill='%236B7280'/></svg>") no-repeat calc(100% - 8px) 50%;
    background-size: 24px 24px;
    cursor: pointer;
    vertical-align: middle;
}
.cc-find-form__select.empty {
    border-color: red;
}
.cc-find-form__select.empty ~ .cc-find-form__message {
    display: block;
}

.cc-find-form__select option[value=""],
.cc-find-form__select option[value="no-var"],
.cc-find-form__select--materials option,
.cc-find-form__select--brands option {
    display: block;
}
.cc-find-from__refresh-button {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 20px;
    top: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.cc-find-from__refresh-button svg {
    width: 24px;
    height: 24px;
}
.cc-find-form__popup-button {
    width: 100%;
    border-radius: 32px;
    background-color: var(--global-palette1);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    padding: 18px 32px;
    border-color: var(--global-palette1);
    margin-top: 27px;
}
.cc-find-form__popup-button[disabled] {
    cursor: default;
}


/* popup */
.cc-select-popup,
.cc-addons-popup {
    display: none;
    padding: 25px 25px 0;
    backface-visibility: hidden;
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    text-align: center;
    background: rgba(0,44,62,0.6);
    backdrop-filter: blur(10px);
}
.cc-select-popup:after,
.cc-addons-popup:after {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    content: "";
}
.cc-select-popup-is-opened,.cc-select-popup-is-opened .cc-select-popup__content,
.cc-addons-popup-is-opened,.cc-addons-popup-is-opened .cc-addons-popup__content {
    display: block;
}
.cc-select-popup-html-lock{
    overflow: hidden;
    touch-action: none;
}
.cc-select-popup-html-lock header#masthead,
.cc-select-popup-html-lock .cc-footer__topline,
.cc-select-popup-html-lock .cc-footer__bottom {
    z-index: -1;
}
.cc-select-popup__block,
.cc-addons-popup__block {
    box-shadow: 0px 25px 50px 0px rgba(100, 116, 139, 0.25);
    border-radius: 16px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    max-width: 600px;
    width: 100%;
    margin-bottom: 10px;
    transform: translate3d(0,0,0);
    background: #fff;
}
.cc-addons-popup__block {
    max-width: 640px;
}
.cc-select-popup__block-inner,
.cc-addons-popup__block-inner {
    text-align: left;
}
.cc-addons-popup__block-inner .cc-find-form__addon-popup {
    display: block;
    font-size: 0;
}
.cc-addons-popup__block-inner img {
    max-width: 100%;
}
.cc-select-popup__content,
.cc-addons-popup__content {
    display: none;
    font-size: 0;
}
.cc-select-popup__content iframe {
    width: 100%;
    min-height: 300px;
}
.cc-select-popup__open-link--main {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-top: auto;
}
.cc-select-popup__open-link--main > .cc-select-popup__text {
    font-size: 15px;
    line-height: 18px;
    text-decoration: underline;
}
.cc-select-popup__open-link--main > .cvle-inline-svg {
    margin-right: 5px;
    font-size: 0;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}
.cc-select-popup__open-link--main > .cvle-inline-svg svg{
    fill: #000000;
}
.cc-select-popup__open-link--main:hover > .cvle-inline-svg svg {
    fill: #ffffff;
}
.cc-select-popup__topline {
    padding: 24px;
    background: #060000;
    text-align: left;
    position: relative;
    color: #ffffff;
    font-family: 'Staatliches', sans-serif;
    font-size: 19px;
    line-height: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cc-select-popup__close-link,
.cc-addons-popup__close-link {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cc-select-popup__close-link svg,
.cc-addons-popup__close-link svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}
.cc-addons-popup__close-link {
    position: absolute;
    right: 20px;
    top: 20px;
}
.cc-addons-popup__close-link svg {
    fill: #000;
}
.cc-select-popup__bottom {
    padding: 40px 24px;
}
.cc-select-popup__bottom .screen-reader-response {
    display: none;
}
.cc-select-popup__bottom .wpcf7-form p {
    margin: 0;
}
.cc-select-products {
    margin-bottom: 40px;
}
.cc-select-products:has(~.wpcf7 .sent),
.cc-select-popup__subtitle:has(~.wpcf7 .sent) {
    display: none;
}
.cc-select-popup__subtitle {
    color: #111827;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 24px;
}
.cc-select-popup-form__item {
    position: relative;
    margin-top: 24px;
}
.cc-select-popup-form__item br {
    display: none;
}
.cc-select-popup-form__item label {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.15px;
    position: absolute;
    left: 8px;
    top: 0;
    transform: translateY(-50%);
    background: #fff;
    z-index: 1;
    padding: 0 4px;
    color: #111827;
}
.cc-select-popup-form__item .cc-select-popup-form__select {
    margin-bottom: 1rem;
}
.cc-select-popup-form__item input[type=text],
.cc-select-popup-form__item input[type=tel],
.cc-select-popup-form__item input[type=number],
.cc-select-popup-form__item textarea {
    width: 100%;
    height: 58px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    font-size: 14px;
    line-height: 2;
    color: #111827;
    box-shadow: none;
    padding: 0 24px 0 12px;
    max-width: 100%;
    -webkit-appearance: none;
    box-sizing: border-box;
}
.cc-select-popup-form__item textarea {
    height: 106px;
    resize: none;
    padding: 16px 24px 16px 12px;
}
.cc-select-popup-form__item .wpcf7-form-control-wrap {
    font-size: 0;
}
.cc-select-popup__values {
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.4;
    color: #111827;
}
.cc-select-popup-form__submit {
    margin-top: 40px;
    position: relative;
}
.cc-select-popup-form__submit .wpcf7-spinner {
    position: absolute;
    left: 20px;
    top: 20px;
}
.cc-select-popup-form__submit button,
.cc-select-popup-form__submit input[type=submit] {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0px 9px 18px 0px rgba(0, 0, 0, 0.15);
    background-color: var(--global-palette1);
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    padding: 18px 32px;
    border-color: var(--global-palette1);
}


/* select products */
.cc-select-products__item {
    display: none;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid #F6F6F6;
    margin-bottom: 16px;
    box-sizing: border-box;
    cursor: pointer;
}
.cc-select-products__item.show {
    display: flex;
}
.cc-select-products__item:hover,
.cc-select-products__item.active {
    border-color: #0E8074;
}
.cc-select-products__item-img {
    flex: 0 0 56px;
    font-size: 0;
}
.cc-select-products__item-img img {
    object-fit: contain;
    width: 56px;
    height: 56px;
    max-width: 100%;
}
.cc-select-products__item-title {
    flex: 1 1 auto;
    color: #111827;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    padding: 0 16px;
}
.cc-select-products__item-link {
    flex: 0 0 66px;
    text-align: center;
    position: relative;
}
.cc-select-products__item-link a {
    color: #5048E5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    padding: 0;
}
.cc-select-products__item-link a:after {
    content: "";
    position: absolute;
    right: 0;
    top: 2px;
    height: 19px;
    width: 1px;
    background-color: #D8D8D8;
}
.cc-select-products__item-checkboxes {
    padding: 0 10px 0 16px;
}
.cc-select-products__item-checkboxes label {
    cursor: pointer;
}
.cc-select-products__item-checkboxes label span {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid #6B7280;
    box-sizing: border-box;
    display: block;
    position: relative;
}
.cc-select-products__item-checkboxes label span:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    box-sizing: border-box;
}
.cc-select-products__item-checkboxes input[type=checkbox] {
    width: 0;
    height: 0;
    visibility: hidden;
    z-index: -1;
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
}
.cc-select-products__item-checkboxes input[type=checkbox]:checked ~ span {
    background-color: #0E8074;
    border-color: #0E8074;
}
.cc-select-products__item-checkboxes input[type=checkbox]:checked ~ span:after {
    opacity: 1;
}

.undecided {
  height: 76px;
}

@media (max-width: 480px) {
    .cc-select-popup {
        padding: 25px 10px 0;
    }
    .cc-select-popup__topline,
    .cc-select-popup__bottom {
        padding: 24px 15px;
    }
}

@media (max-width: 400px) {
    .cc-select-popup__topline {
        font-size: 16px;
    }
    .cc-select-products__item {
        padding: 8px;
    }
    .cc-select-products__item-img {
        flex: 0 0 45px;
    }
    .cc-select-products__item-img img {
        width: 45px;
        height: 45px;
    }
    .cc-select-products__item-title {
        font-size: 12px;
        padding: 0 8px;
    }
}




/* Addons styles */
.cc-find-form__addon-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
.cc-find-form__addon-layout {
    flex: 1 1 auto;
}
.cc-find-form__addon-layout--checkbox {
    flex: 0 0 18px;
    margin-right: 15px;
}
.cc-find-form__addon-layout label {
    cursor: pointer;
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.cc-find-form__addons-title {
    margin: 0 0 16px 0;
    line-height: 1;
    padding: 7px 16px;
}
.cc-find-form__addon-price {
    color: var(--global-palette1,#89172E);
}
.cc-find-form__addon-layout .cc-find-form__addon-popup-link {
    text-decoration: none;
    color: #254096;
    font-size: 14px;
    line-height: 1.5;
}
.cc-find-form__addon-checkbox input[type=checkbox] {
    width: 0;
    height: 0;
    visibility: hidden;
    z-index: -1;
    position: absolute;
    appearance: none;
}
.cc-find-form__addon-checkbox input[type=checkbox]:checked ~ span {
    background-color: var(--global-palette1, #89172E);
    border-color: var(--global-palette1, #89172E);
}
.cc-find-form__addon-checkbox input[type=checkbox]:checked ~ span:after {
    opacity: 1;
}
.cc-find-form__addon-checkbox{
    cursor: pointer;
}
.cc-find-form__addon-checkbox span {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 1px solid #374151;
    box-sizing: border-box;
    display: block;
    position: relative;
}
.cc-find-form__addon-checkbox span:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    box-sizing: border-box;
}
.cc-find-form__addon-popup {
    display: none;
}
