* {
    box-sizing: border-box;
}

*::after,
*::before {
    box-sizing: inherit;
}

a {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    position: relative;

    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all .5s ease;
}

p {
    margin-bottom: 20px;
}

ul,
li {
    list-style: none;
}

.ccalc-calculator {
    color: #201E1E;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Ubuntu', monospace;
    line-height: 130%;

    container-type: inline-size; 
    container-name: ccalc;
    max-width: 100%; 
}

.ccalc-calculator__inner {
    max-width: 1040px;
    padding: 10px;
    margin: 0 auto;
}

.ccalc-mb30 {
    margin-bottom: 30px;
}

.ccalc-price {
    position: sticky;
    z-index: 30;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #ffffff, #f1f1f1, #ffffff);
    background-size: 200% 100%;
    background-position: 0% 0%;

    border-left: 2px solid #FFA719;
    padding: 20px;
    border-radius: 6px;

    box-shadow: inset 2px 0 2px -2px #FFA719;

    animation: ccalc-glowBorder 2s ease-in-out infinite,
        ccalc-shimmer 4s ease-in-out infinite;
    overflow: hidden;
}

.ccalc-price:hover {
    animation: ccalc-glowBorder 1s ease-in-out infinite,
        ccalc-shimmer 2s ease-in-out infinite;
}

@keyframes ccalc-glowBorder {

    0%,
    100% {
        box-shadow: inset 2px 0 0 0 #FFA719;
    }

    50% {
        box-shadow: inset 2px 0 0 0 #FFCF50;
    }
}

@keyframes ccalc-shimmer {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 0%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.ccalc-price__worktype {
    display: inline-block;
}

.ccalc-price__worktype {
    font-size: 22px;
    font-weight: 700;
    line-height: 130%;
    margin: 20px 0;
}

.ccalc-price__hours {
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    margin-bottom: 20px;
}

.ccalc-price__total {
    font-size: 50px;
    font-weight: 700;
    line-height: 130%;
}

.ccalc-price__total span {
    font-weight: 500;
    padding-left: 50px;
}

.ccalc-title {
    margin-top: 30px;
    font-size: 30px;
    line-height: 130%;
    font-weight: 400;
    text-align: center;
}

.ccalc-worktype-inner {
    display: flex;
    justify-content: center;
}

.ccalc-worktype__list {
    display: flex;
    justify-content: center;

}

.ccalc-worktype__item+.ccalc-worktype__item {
    margin-left: 30px;
}

.ccalc-worktype-button {
    height: 100px;
    min-width: 100px;
    padding: 3px 5px;
    border-radius: 10px;
    border: 1px solid #C1C0CE;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.ccalc-worktype-button:hover {
    border: 1px solid #6C63FF;
    box-shadow: 1px 1px 2px 1px rgba(108, 99, 255, 0.3);
}

.ccalc-worktype-button.ccalc-active {
    border: 2px solid #6C63FF;
    box-shadow: 1px 1px 2px 1px rgba(108, 99, 255, 0.5);
    background-color: #f3f2ff;
}

.ccalc-worktype-img {
    display: block;
    width: 80px;
    height: 70px;
    padding-bottom: 5px;
}

.ccalc-worktype-title {
    font-size: 12px;
    font-weight: 300;
    line-height: 130%;
    display: inline-block;
}

.ccalc-cleaning-type {
    display: none;
}

.ccalc-cleaning-type.ccalc-cleaning-active {
    display: block;
}

.ccalc-faded {
    animation: ccalc-anim linear .5s;
}

@keyframes ccalc-anim {
    0% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }

}

.ccalc-main-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -10px;
}

.ccalc-rooms,
.ccalc-kitchens,
.ccalc-bathrooms,
.ccalc-windows,
.ccalc-area-rooms,
.ccalc-windows-repair,
.ccalc-area-commertial,
.ccalc-windows-commertial {
    width: 500px;
    height: 60px;
    border: 2px solid #CEC0C0;
    border-radius: 5px;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background-color: #ffffff;
}

.ccalc-main-services__item {
    margin: 0 10px;
}

/*.ccalc-bathroomcount-inner {
    margin-right: 20px;
}

.ccalc-areacount-inner {
    margin-right: 20px;
}

.ccalc-commertialareacount-inner {
    margin-right: 20px;
}*/

.ccalc-count-element,
.ccalc-rooms__name,
.ccalc-kitchens__name,
.ccalc-bathrooms__name,
.ccalc-windows__name,
.ccalc-area-rooms__name,
.ccalc-windows-repair__name,
.ccalc-area-commertial__name,
.ccalc-windows-commertial__name,
.ccalc-count-input {
    font-size: 22px;
    font-weight: 700;
    color: #413D3D;
    line-height: 130%;
    display: block;
    text-align: center;
}


.ccalc-area-rooms__count.ccalc-count-input,
.ccalc-area-commertial__count.ccalc-count-input{
    border: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.ccalc-count-input:focus{
    outline: none;
}

.ccalc-fade-out-minus {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in;
}

.ccalc-fade-out-plus {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in;
}

.ccalc-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease-out;
}

.ccalc-less-btn,
.ccalc-more-btn {
    border: none;
    z-index: 10;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
}

.ccalc-more-btn__img,
.ccalc-less-btn__img {
    width: 100%;
    height: 100%;
}

.ccalc-less-btn {
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.ccalc-more-btn {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.ccalc-additional-options {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.ccalc-house__inner,
.ccalc-products__inner {
    margin-bottom: 20px;
}

.ccalc-house__label,
.ccalc-products__label,
.ccalc-discount__label {
    display: flex;
    align-items: center;
    position: relative;
}

.ccalc-house__input,
.ccalc-products__input,
.ccalc-discount__input,
.ccalc-renovation-house__input,
.ccalc-renovation-products__input,
.ccalc-renovation-discount__input,
.ccalc-commertial-house__input,
.ccalc-commertial-products__input,
.ccalc-commertial-discount__input {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    padding-left: 90px;
}

.ccalc-checkbox-style {
    width: 60px;
    height: 60px;
    border: 2px solid #CEC0C0;
    background-color: #ffffff;
    border-radius: 5px;
    margin-right: 20px;
    transition: all 0.3s;
}

.ccalc-checkbox-style:hover {
    border: 2px solid #6C63FF;
    box-shadow: 1px 1px 2px 1px rgba(108, 99, 255, 0.3);
}

.ccalc-checkmark-img {
    transition: all 0.3s linear;
    opacity: 0;
    width: 50px;
    height: 50px;
    pointer-events: none;
}

.ccalc-house__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-products__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-discount__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-renovation-house__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-renovation-products__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-renovation-discount__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-commertial-house__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-commertial-products__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img,
.ccalc-commertial-discount__input:checked+.ccalc-checkbox-style .ccalc-checkmark-img {
    opacity: 1;
}

.ccalc-house__img-inner,
.ccalc-products__img-inner,
.ccalc-discount__img-inner {
    border: 2px solid #CEC0C0;
    background-color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.3s;
    display: inline-block;
}

.ccalc-house__img-inner:hover,
.ccalc-products__img-inner:hover,
.ccalc-discount__img-inner:hover {
    border: 2px solid #6C63FF;
    box-shadow: 1px 1px 2px 1px rgba(108, 99, 255, 0.3);
}

.ccalc-house__img,
.ccalc-products__img,
.ccalc-discount__img {
    width: 80px;
    height: 70px;
}

.ccalc-house__title,
.ccalc-products__title,
.ccalc-discount__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
    color: #413D3D;
    padding: 0 20px 0 30px;
}

.ccalc-house__markup,
.ccalc-products__markup,
.ccalc-discount__markup {
    background-color: #FFA719;
    border-radius: 10px;
    padding: 12px 18px;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
    position: relative;
    display: inline-block;
}

.ccalc-house__markup::before,
.ccalc-products__markup::before,
.ccalc-discount__markup::before,
.ccalc-item-price::before {
    content: "";
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 0;
    transition: none;
}

.ccalc-house__markup:hover::before,
.ccalc-discount__markup:hover::before,
.ccalc-products__markup:hover::before,
.ccalc-item-price:hover:before {
    animation: ccalc-bgWave 1s ease-out forwards;
}

@keyframes ccalc-bgWave {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.ccalc-additional-services__title {
    color: #413D3D;
    font-size: 25px;
    font-weight: 400;
    line-height: 130%;
    text-align: center;
}

.ccalc-additional-services__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.ccalc-additional_services__item {
    flex: 0 1 200px;
    height: 250px;
    border: 2px solid #CEC0C0;
    background-color: #ffffff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding: 30px 10px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s;
    margin: 0 15px 30px;
}

.ccalc-additional_services__item:hover {
    border: 2px solid #6C63FF;
    box-shadow: 1px 1px 2px 1px rgba(108, 99, 255, 0.3);
}

.ccalc-additional-service__item-img {
    height: 100px;
    width: 100px;
}

.ccalc-additional-service__item-title {
    color: #413D3D;
    font-weight: 700;
    font-size: 20px;
    margin-top: 20px;
    text-align: center;
}

.ccalc-item-price {
    background-color: #FFA719;
    border-radius: 10px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    padding: 12px 18px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.ccalc-item-price.ccalc-hidden {
    z-index: 0;
}

.ccalc-additional-services__inner {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: rgba(217, 217, 217, 0);
    transition: all 0.5s ease;
}

.ccalc-additional_services-active {
    background-color: rgba(217, 217, 217, 0.8);
    border: 2px solid #6C63FF;
    box-shadow: 1px 1px 2px 1px rgba(108, 99, 255, 0.5);
    background-color: #f3f2ff;
}

.ccalc-additional-services__btn-inner {
    position: absolute;
    background-color: #ffffff;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ccalc-additional-services__btn-inner {
    width: 160px;
    height: 50px;
    border: 2px solid #D9D9D9;
    background-color: #ffffff;
    border-radius: 5px;
    position: relative;
    z-index: 40;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.ccalc-additional-services__btn-activ {
    visibility: visible;
    opacity: 1;
}

.ccalc-additional-services__less-btn,
.ccalc-additional-services__more-btn {
    background-color: #FFFFFF;
    border: none;
    cursor: pointer;
    position: absolute;
}

.ccalc-additional-services__less-btn {
    left: 0;
}

.ccalc-additional-services__more-btn {
    right: 0;
}

/* ------------------------------------------------------------
   Quote request (email)
------------------------------------------------------------ */
.ccalc-quote{margin-top:24px;padding:16px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff;}
.ccalc-quote__title{font-weight:700;margin-bottom:12px;}
.ccalc-quote__grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.ccalc-quote__field{display:flex;flex-direction:column;gap:6px;font-size:14px;}
.ccalc-quote__field--full{grid-column:1/-1;}
.ccalc-quote__input,.ccalc-quote__textarea{width:100%;padding:10px 12px;border:1px solid rgba(0,0,0,.12);border-radius:10px;outline:none;}
.ccalc-quote__input:focus,.ccalc-quote__textarea:focus{border-color:rgba(0,0,0,.25);}
.ccalc-quote__actions{display:flex;gap:12px;align-items:center;margin-top:12px;flex-wrap:wrap;}
.ccalc-quote__btn{padding:10px 14px;border:none;border-radius:10px;cursor:pointer;font-weight:600;}
.ccalc-quote__status{font-size:13px;opacity:.85;}

@media (max-width: 640px){
  .ccalc-quote__grid{grid-template-columns:1fr;}
}