/* FAQ page specific styles */
  
.faq-page {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0px;
}

.faq-title {
    font-size: var(--heading--font-size-h2);
    line-height: var(--heading--line-height-h2);
    font-weight: var(--heading--font-weight-page-title);
    text-transform: capitalize;
    max-width: 1440px;
    margin-bottom: 60px;
}

.faq-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    padding: 0 44px;
    position: relative;
    overflow: hidden;
}

.faq-content {
    position: relative;
    z-index: 2;
    background: transparent;
    transition: all 0.4s ease;
    padding: 20px 0;
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -1px;
    background: var(--global--color-light-grey);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.faq-item:hover::before {
    transform: translateY(0);
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    background: none;
    border: 0;
    padding: 0;
    cursor: default;
    position: relative;
    z-index: 3;
}

.question {
    font-size: 18px;
    line-height: 24px;
    color: var(--global--color-black);
    font-weight: 400;
    margin: 20px 0 0 0;
    text-align: left;
    transition: color 0.3s ease;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--global--color-cristal-blue);
    font-size: 24px;
    line-height: 1;
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.answer {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    color: var(--global--color-cristal-blue);
    font-size: 16px;
    line-height: 21px;
    font-weight: 400;
    letter-spacing: 0px;
    max-width: 1080px;
    padding-right: 24px;
    margin-top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
}

.faq-item.expanded .answer {
    opacity: 1;
    max-height: none;
    margin-top: 20px;
    margin-bottom: -40px;
}

.faq-item.expanded .question {
    color: var(--global--color-cristal-blue);
}

.faq-item.expanded .icon {
    color: var(--global--color-cristal-blue);
    transform: rotate(180deg);
}

.faq-item.expanded .icon img {
    transform: rotate(-180deg);
}

.divider-faq {
    height: 1px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}
  
.divider-faq:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--global--color-light-grey);
    transform: scaleX(0) translateZ(0);
    transform-origin: left;
    transition: transform .7s cubic-bezier(.32, .94, .6, 1) 0s;
    transition: transform .7s cubic-bezier(.32, .94, .6, 1) var(--item-delay, 0s);
}

.divider-faq.aos-init:before {
    transform: scaleX(1) translateZ(0);
}

.faq-item.expanded .divider-faq {
    margin-top: 40px;
}
  
/* CTA band */
.cta-band {
    position: relative;
    height: 300px;
    margin-top: 120px;
    margin-bottom: -120px;
}
.cta-bg {
    
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop banner */
.cta-bg-desktop {
    display: block;
}

/* Mobile banner */
.cta-bg-mobile {
    display: none;
}
  
@media (max-width: 767.98px) {
    .cta-bg-desktop {
        display: none;
    }
    
    .cta-bg-mobile {
        display: block;
    }
}

.cta-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.cta-title {
    color: var(--global--color-cristal-blue);
    font-size: 28px;
    line-height: 38px;
    font-weight: 400;
    text-transform: capitalize;
    margin: 0;
}

.cta-link {
    color: var(--global--color-cristal-blue);
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.cta-link .dot-cta {
    width: 21px;
    height: 21px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    border: 1px solid var(--global--color-cristal-blue);
    border-radius: 100%;
    position: relative;
}

.cta-link .dot-cta:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: scale(0.263);
    background-color: var(--global--color-cristal-blue);
    border-radius: 100%;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    will-change: transform;
}

.cta-link:hover .dot-cta:before {
    animation-name: rippleWith;
}

.cta-link .dot-cta:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translate3d(-50%, -50%, 0);
    border: 3px solid var(--global--color-cristal-blue);
    border-radius: 100%;
    opacity: 0;
    animation-duration: 0.8s;
    animation-delay: 0.4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
    will-change: transform, opacity;
}

.cta-link:hover .dot-cta:after {
    animation-name: ripple;
}

@media(max-width: 767.98px) {
    .faq-page {
        padding: 0px 20px 0px 20px;
    }

    .faq-title {
        font-size: 25px;
        line-height: 30px;
        letter-spacing: 0px;
        margin-bottom: 20px;
    }

    .faq-item {
        padding: 0px 20px;
    }
  
    /* Remove background when hover on mobile */
    .faq-item:hover::before {
        transform: translateY(100%);
    }
  
    /* .faq-item:hover .faq-content {
        padding: 0;
        margin: 0;
    } */

    .faq-toggle {
        gap: 30px;
    }

    .icon {
        width: 50px;
        margin-top: 20px;
    }

    .answer{
        padding-right: 40px;
    }

    .faq-content{
        padding: 10px 0 30px 0;
    }

    .divider-faq{
        margin-top: 0;
    }
  
    /* Change FAQ item when expanded on mobile */
    .faq-item.expanded {
        background: transparent;
    }
  
    .faq-item.expanded .faq-content {
        /* padding: 0; */
        margin: 0;
    }
  
    .faq-item.expanded .divider-faq {
        margin-top: 30px;
    }

    .cta-title{
        font-size: 25px;
        line-height: 32px;
        padding: 0px 25px;
    }

    .cta-band {
        margin-top: 60px;
        margin-bottom: -60px;
    }
}
  
/* Responsive */
/* @media (max-width: 1024px) {
    .faq-wrapper {
        padding: 0 16px;
    }
    .highlight {
        margin: 0 -16px 32px;
    }
}
@media (max-width: 640px) {
    .faq-title {
        margin-left: 16px;
    }
    .cta-title {
        font-size: 22px;
        line-height: 30px;
    }
} */
  


.faq-appliances,
.faq-section {
    display: none;
}

.appliance-item,
.faq-item {
    display: none;
}

.is-active {
    font-weight: 600;
}

.appliance-item.is-active,
[data-appliance-category].is-active {
    color: #000;
}

h2.faq-section-title {
    margin: 0 auto;
    text-align: center;
    text-transform: capitalize;
}

.page-template-faq-template {
    background: var(--global--color-light-grey-bg);
}

input.faq-search-input {
    border: none;
    outline: none;
    width: 100%;
    padding: 21px 63px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    margin-bottom: 55px;
    position: relative;
}

.faq-search::before {
    content: "";
    position: absolute;
    background: url(../images/search-normal.png) no-repeat;
    width: 19px;
    height: 19px;
    top: 23px;
    left: 30px;
    z-index: 9;
    pointer-events: none;
}

section.faq-search {
    width: 1125px;
    margin: 0 auto;
    max-width: 90%;
    margin-top: 40px;
    border-bottom: 1px solid var(--global--color-light-grey);
    position: relative;
    padding: 0;
}

input.faq-search-input::placeholder {
    color: var(--global--color-black);
}

section.faq-appliance-categories,
section.faq-appliances {
    padding: 0;
    padding-top: 55px;
    text-align: center;
    width: 1125px;
    margin: 0 auto;
    max-width: 90%;
}

.faq-appliance-categories .appliance-categories,
.faq-appliances .appliances {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 39px;
    gap: 30px;
}

.faq-appliance-categories .appliance-categories .appliance-category,
.faq-appliances .appliances .appliance-item {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0;
    cursor: pointer;
    color: var(--global--color-drank-grey);
}

.faq-appliance-categories .appliance-categories .appliance-category:first-child,
.faq-appliances .appliances .appliance-item:first-child {
    margin-left: 0;
}

.faq-appliance-categories .appliance-categories .appliance-category:hover,
.faq-appliances .appliances .appliance-item:hover,
.faq-appliances .appliances .appliance-item.is-active {
    color: var(--global--color-cristal-blue);
    text-decoration: underline;
}

section.faq-section {
    background: var(--global--color-light-blue);
    margin-top: 55px;
    padding-bottom: 138px;
}

.faq-product-selected {
    text-align: center;
    padding-top: 30px;
    margin-bottom: 40px;
}

.faq-section .faq-item::before {
    background: var(--global--color-cristal-blue);
}

.faq-section .faq-item.expanded .question,
.faq-section .faq-item.expanded .icon,
.faq-section .faq-item.expanded .answer {
    color: var(--global--color-white);
}

@media (min-width: 768px) {
    .faq-section .faq-item:hover .question,
    .faq-section .faq-item:hover .icon,
    .faq-section .faq-item:hover .answer {
        color: var(--global--color-white);
    }
}

.faq-appliances {
    margin-bottom: 60px;
}

.faq-section .faq-item .icon img.icon-expanded,
.faq-section .faq-item .icon img.icon-hover,
.faq-section .faq-item.expanded .icon img {
    display: none;
}

.faq-section .faq-item.expanded .icon img.icon-expanded {
    display: block;
}

.faq-item.expanded {
    background: var(--global--color-cristal-blue);
}

section.faq-section .faq-item.expanded .divider-faq:before {
    border-top-color: #ffffff2b;
}

@media (min-width: 768px) {
    .faq-section .faq-item.expanded:hover .icon img.icon-hover {
        display: none;
    }

    .faq-section .faq-item:hover .icon img {
        display: none;
    }

    .faq-section .faq-item:hover .icon img.icon-hover {
        display: block;
    }

    section.faq-section .faq-item:hover .divider-faq:before {
        border-top-color: #ffffff2b;
    }
}

.no-faq-found {
    text-align: center;
    display: none;
    padding-top: 40px;
}

.no-result .faq-product-selected {
    display: none !important;
}

.no-result .no-faq-found {
    display: block;
}

section.faq-section.no-result {
    background: transparent;
}

section.faq-section .divider-faq:before {
    border-top-color: #0048601A;
}

.clear-input {
    position: absolute;
    right: 34px;
    top: 24px;
    width: 16px;
    height: 16px;
    background: url(../images/clear-input.svg) no-repeat;
    background-position: center;
    cursor: pointer;
}

.back-to-appliance-categories {
    margin-top: 50px;
}

section.faq-section .icon {
    margin-right: 2px;
    margin-top: 18px;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    input.faq-search-input {
        margin-bottom: 40px;
    }
    
    section.faq-appliance-categories, section.faq-appliances {
        padding-top: 40px;
    }
    
    .faq-appliance-categories .appliance-categories .appliance-category,
    .faq-appliances .appliances .appliance-item {
        margin: 0;
    }
    
    .faq-appliance-categories .appliance-categories,
    .faq-appliances .appliances {
        gap: 30px;
    }

    .back-to-appliance-categories {
        margin-top: 40px;
    }

    /* .faq-section .faq-item.expanded .question,
    .faq-section .faq-item.expanded .answer {
        color: var(--global--color-cristal-blue);
    } */
    
    .faq-section .faq-item.expanded .icon img {
        display: none;
    }

    .faq-section .faq-item.expanded .icon img.icon-hover {
        display: none;
    }

    .appliance-page-content {
        padding-bottom: 60px;
    }

    section.faq-section {
        margin-top: 60px;
    }

    .faq-product-selected {
        padding-top: 60px;
        text-align: left;
        font-size: 28px;
        line-height: 38px;
        margin-bottom: 20px;
    }
}