@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: Leviathan;
    src: url('../fonts/Leviathan+HTF-Black+Regular+\(1\).otf');
}

main h1 {
    max-width: 100% !important;
    margin: 0 0 1em;
    font-family: Leviathan, sans-serif;
    font-size: 2.8em;
    letter-spacing: 0.05em;
    font-weight: 900;
    color: #0082c0;
}

#moi-fat-calculator {
    max-width: 1600px;
    margin: 0 auto;
}

.moi-fat-checker-form-wrapper {
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 4em;
    padding: 0 3vw;
    margin: 2em 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-optical-sizing: auto;
}
.moi-fat-checker-form-wrapper.calculated {
    align-items: center;
}

.moi-fat-checker-form-wrapper * {
    box-sizing: border-box;
    color: #ffffff;
}

.moi-fat-checker-form-wrapper .spin-icon {
    display: none;
    -webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.moi-fat-checker-form-wrapper .form-column {
    padding: 4vw;
    background: #0082c0;
    width: 60%;
    border-radius: 50px;
}

.moi-fat-checker-form-wrapper .form-column h1 {
    font-family: Leviathan, sans-serif;
}

.moi-fat-checker-form-wrapper .info-action-column {
    width: 40%;
}

.moi-fat-checker-form-wrapper .form-field {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1em;
    margin: 0 0 0.9em;
}

.moi-fat-checker-form-wrapper .form-field label {
    max-width: 400px;
    width: 100%;
    display: block;
    margin-bottom: 0.5em;
}

.moi-fat-checker-form-wrapper .form-field .form-control-wrap {
    width: 50%;
}

.moi-fat-checker-form-wrapper .form-field .select-control-wrap {
    position: relative;
}

.moi-fat-checker-form-wrapper .form-field .select-control-wrap .caret {
    position: absolute;
    top: 1em;
    right: 1em;
}

.moi-fat-checker-form-wrapper .form-field .form-control-wrap *, ::placeholder {
    color: #2393c8;
    font-weight: 600;
}

.moi-fat-checker-form-wrapper .form-field .form-control {
    padding: 0.7em 1.2em;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    border-radius: 100px;
    border: 0;
    text-align: center;
}

.moi-fat-checker-form-wrapper .form-field .select-control-wrap select {
    padding: 0.7em 2em 0.7em 1.2em;
}

.moi-fat-checker-form-wrapper .form-field select {
    background: url(../../images/caret.svg) no-repeat right 1em center;
    background-size: 1em 1em;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    background: #fff;
}

.moi-fat-checker-form-wrapper .form-field .field-input:focus {
    outline: 0;
}

.moi-fat-checker-form-wrapper .price-field {
    position: relative;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    gap: 1em;
    background: #fff;
}
.moi-fat-checker-form-wrapper .price-field.error {
    border: 1px solid #cc0000;
}

.moi-fat-checker-form-wrapper .price-field .prefix {
    position: absolute;
    left: 1em;
    top: 0.6em;
}

.moi-fat-checker-form-wrapper .price-field .field-input {
    width: 100%;
    border: 0;
    background: transparent;
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    text-align: center;
}
.moi-fat-checker-form-wrapper .form-actions .form-control-wrap {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}
.moi-fat-checker-form-wrapper .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
    padding: 0.7em 2em;
    background: #b1cde4;
    border: 0;
    border-radius: 100px;
    font-size: 1em;
    font-weight: bold !important;
    text-transform: uppercase;
    font-family: "Montserrat", sans-serif;
    color: #0082c0 !important;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.moi-fat-checker-form-wrapper .button span {
    color: #0082c0 !important;
}
.moi-fat-checker-form-wrapper .button[disabled] {
    opacity: 0.3;
}
.moi-fat-checker-form-wrapper .reset-button {
    display: none;
    width: 100%;
}
.moi-fat-checker-form-wrapper .button:hover:not([disabled]) {
    background: #046897;
    color: #fff !important;
}
.moi-fat-checker-form-wrapper .button:hover:not([disabled]) span {
    color: #fff !important;
}

.moi-fat-checker-form-wrapper .calculation-result-inner {
    display: flex;
    flex-flow: column;
    gap: 1em;
    padding: 1.5em 0 0;
    margin: 2em 0 0;
    border-top: 2px solid #fff;
}
.moi-fat-checker-form-wrapper .calculation-result p {
    margin: 0;
    line-height: 1.5em;
}

.moi-fat-checker-form-wrapper .calculation-result p.small-text {
    margin-top: 1em;
    opacity: 0.5;
    font-size: 0.8em;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta {
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta * {
    color: #000000;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-inner,
.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo {
    display: none;
    flex-flow: column;
    gap: 2em;
}
.moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-inner.show,
.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo.show {
    display: flex;
}
.moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header {
    display: flex;
    gap: 2em;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header .cta-image {
    width: 100%;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header img {
    width: 100%;
    border-radius: 100%;
    height: auto;
    border: 1px solid #fff;
}
.moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-form-fields {
    width: 100%;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header-text {
    display: flex;
    flex-flow: column;
    align-items: start;
    justify-content: center;
    font-size: 1.3em;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header-text h3 {
    font-family: Leviathan, sans-serif;
    color: #0082c0;
    font-size: 2.0em;
    margin: 0;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header-text span {
    text-transform: uppercase;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-form-fields .form-field label {
    width: 100px;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-form-fields .form-field .form-control-wrap {
    width: 100%;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-form-fields .form-field .form-control {
    text-align: left;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .form-actions .form-control-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .form-actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 80%;
    padding: 1em 2em;
    background-color: #0082c0;
    color: #fff !important;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .form-actions .button span {
    color: #fff !important;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .form-actions .button:hover {
    background-color: #046897;
}


.product-infos {
    position: relative;
    display: flex;
    flex-flow: column;
    align-items: end;
    height: 100%;
}

.product-infos .product-info {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 500px;
    width: 100%;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    
}

.product-infos .product-info .product-info-inner {
    display: flex;
    flex-flow: column;
    gap: 1.5em;
}

.product-infos .product-info * {
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    font-weight: normal;
}

.product-infos .product-info h2 {
    font-family: Leviathan, sans-serif;
    font-size: 2.6em;
    color: #0082c0;
    margin: 0;
}

.product-infos .product-info .subtitle {
    font-size: 1.3em;
    font-weight: 600;
}

.product-infos .product-info .image img {
    width: 80%;
    margin-left: -1em;
    height: auto;
    -webkit-filter: drop-shadow(12px 5px 10px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(12px 5px 10px rgba(0, 0, 0, 0.5));
}

.product-infos .product-info .content {
    display: flex;
    flex-flow: column;
    gap: 1em;
}

.product-infos .product-info .content p {
    margin: 0;
    font-size: 0.9em;
}

.product-infos .product-info .tags {
    display: flex;
    gap: 0.1em;
    margin: 0 -0.3em;
}

.product-infos .product-info .tags img {
    width: 70px;
    height: auto;
}

.moi-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: #00000085;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.moi-success-modal.show {
    opacity: 1;
}
.moi-success-modal .moi-success-modal-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3em 4em;
    margin: 1.5em;
    background: #fff;
    border-radius: 10px;
}

.moi-success-modal .moi-success-modal-inner .close-modal {
    position: absolute;
    top: 1.5em;
    right: 1em;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.moi-success-modal-content {
    display: flex;
    flex-flow: column;
    gap: 1em;
}

.moi-success-modal .moi-success-modal-inner h2 {
    margin: 0;
    font-family: 'Leviathan', sans-serif;
    color: #0082c0;
    text-align: center;
}
.moi-success-modal .moi-success-modal-inner p {
    margin: 0;
    text-align: center;
    font-size: 1.3em;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo {
    position: relative;
    z-index: 2;
    align-items: center;
    justify-content: center;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo .promo-inner {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    max-width: 460px;
    text-align: center;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo h2 {
    font-family: Leviathan, sans-serif;
    font-size: 3em;
    color: #0082c0;
    margin: 0;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo .image {
    margin: 2.5em -2em 0;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo .image img {
    width: 100%;
    height: auto;
}

.moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo p {
    padding: 0 1.7vw;
    margin: 0;
    font-weight: normal;
}

@media (max-width: 1366px) {

    .wp-block-site-logo,
    .moi-fat-checker-form-wrapper {
        padding: 0 4vw;
    }

    .moi-fat-checker-form-wrapper .form-column {
        width: 55%;
    }
    
    .moi-fat-checker-form-wrapper .info-action-column {
        width: 45%;
    }

    .moi-fat-checker-form-wrapper .form-column h1 {
        font-size: 1.8em;
    }
    .moi-fat-checker-form-wrapper .form-column h1 br,
    .moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo h2 br {
        display: none;
    }
    .moi-fat-checker-form-wrapper .form-field {
        flex-flow: column;
        gap: 0em;
    }
    .moi-fat-checker-form-wrapper .form-field label {
        text-align: center;
    }
    
    .moi-fat-checker-form-wrapper .form-field .form-control-wrap {
        width: 100%;
    }
    
    .moi-fat-checker-form-wrapper .form-actions .form-control-wrap {
        margin-top: 0
    }

    .product-infos .product-info .product-info-inner {
        gap: 1em;
    }

    .product-infos .product-info h2 {
        font-size: 2.2em;
    }

    .product-infos .product-info .subtitle {
        font-size: 1.2em;
    }

    .product-infos .product-info .tags img {
        width: 50px;
    }

    .moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header {
        gap: 1em;
    }
    
    .moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header-text {
        font-size: 1em;
    }

    .moi-fat-checker-form-wrapper .inquiry-form-cta .cta-header-text h3 {
        font-size: 1.7em;
    }
    
    .moi-fat-checker-form-wrapper .inquiry-form-cta .inquiry-form-fields .form-field label {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .moi-success-modal .moi-success-modal-inner {
        padding: 2em 2.5em;
    }

    .moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo h2 {
        font-size: 2.1em;
    }
    
    .moi-fat-checker-form-wrapper .inquiry-form-cta .moi-unox-promo .image {
        margin-top: 1.5em;
    }
}

@media (max-width: 480px) {
    #moi-fat-calculator .moi-fat-checker-form-wrapper {
        flex-flow: column;
        margin: 0;
        gap: 1em;
    }
    .moi-fat-checker-form-wrapper .form-column {
        width: 100%;
        padding: 2.5em 2em;
    }
    
    .moi-fat-checker-form-wrapper .form-column h1 {
        font-size: 1.6em;
    }
    
    .moi-fat-checker-form-wrapper .info-action-column {
        width: 100%;
    }

    .product-infos .product-info {
        padding: 2em;
    }

    .product-infos .product-info h2,
    .product-infos .product-info .subtitle,
    .product-infos .product-info .image,
    .product-infos .product-info .content p {
        text-align: center;
    }

    .product-infos .product-info h2 {
        font-size: 2em;
    }

    .product-infos .product-info .subtitle {
        font-size: 1.1em;
    }

    .product-infos .product-info .image img {
        max-width: 90%;
        margin-left: 0;
    }
    .product-infos .product-info .tags {
        align-items: center;
        justify-content: center;
    }
}

@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
    }
}
  
@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
  }
  
@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
  }
  
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}