/* =========================================================
   supplier-shop3
   FAQ PAGE
   RTL / GLASS / RESPONSIVE
   Compatible with FAQ JS
   ========================================================= */


/* =========================================================
   FAQ PAGE BACKGROUND
========================================================= */

body.faq-page {

    background:
        radial-gradient(
            circle at top right,
            rgba(165, 111, 99, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(15, 48, 64, 0.25),
            transparent 40%
        ),
        #071C26;

    color: #dae7ed;

}


/* =========================================================
   MAIN
========================================================= */

.faq-main {

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;

    padding: 30px 20px 70px;

    box-sizing: border-box;

}


/* =========================================================
   HERO
========================================================= */

.faq-hero {

    width: 100%;

    text-align: center;

    margin-bottom: 45px;

}


/* =========================================================
   BADGE
========================================================= */

.faq-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: max-content;

    min-height: 32px;

    margin-bottom: 15px;

    padding: 0 18px;

    box-sizing: border-box;

    border-radius: 25px;

    background: #A56F63;

    color: #fff;

    font-size: 13px;

    font-weight: 600;

    line-height: 1;

}


/* =========================================================
   TITLE
========================================================= */

.faq-hero h1 {

    margin: 0 0 15px;

    color: #dae7ed;

    font-size: 32px;

    font-weight: 800;

    line-height: 1.5;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.faq-hero p {

    max-width: 680px;

    margin: 0 auto;

    color: rgba(218, 231, 237, .68);

    font-size: 14px;

    font-weight: 400;

    line-height: 2.1;

}


/* =========================================================
   FAQ CONTAINER
========================================================= */

.faq-container {

    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 18px;

}


/* =========================================================
   FAQ CARD
========================================================= */

.faq-item {

    width: 100%;

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    overflow: hidden;

    background: rgba(255, 255, 255, .12);

    border: 1px solid rgba(255, 255, 255, .20);

    border-radius: 22px;

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .15);

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;

}


/* =========================================================
   HOVER
========================================================= */

.faq-item:hover {

    transform: translateY(-3px);

    border-color:
        rgba(217, 155, 127, .35);

}


/* =========================================================
   OPEN CARD
========================================================= */

.faq-item.faq-open {

    border-color:
        rgba(217, 155, 127, .45);

    background:
        rgba(255, 255, 255, .13);

}


/* =========================================================
   QUESTION
========================================================= */

.faq-item summary {

    width: 100%;

    min-height: 70px;

    padding: 18px 22px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 18px;

    cursor: pointer;

    list-style: none;

    color: #fff;

    font-size: 16px;

    font-weight: 700;

    line-height: 1.8;

    user-select: none;

    outline: none;

}


/* =========================================================
   REMOVE DEFAULT DETAILS MARKER
========================================================= */

.faq-item summary::-webkit-details-marker {

    display: none;

}


.faq-item summary::marker {

    display: none;

}


/* =========================================================
   QUESTION TEXT
========================================================= */

.faq-item summary > span:first-child {

    flex: 1;

    min-width: 0;

}


/* =========================================================
   FOCUS
========================================================= */

.faq-item summary:focus-visible {

    outline:
        2px solid rgba(217, 155, 127, .70);

    outline-offset: -2px;

    border-radius: 18px;

}


/* =========================================================
   PLUS ICON
========================================================= */

.faq-icon {

    flex-shrink: 0;

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border-radius: 50%;

    background:
        rgba(165, 111, 99, .18);

    border:
        1px solid rgba(165, 111, 99, .35);

    color: #D99B7F;

    font-size: 23px;

    font-weight: 400;

    line-height: 1;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;

}


/* =========================================================
   OPEN ICON
========================================================= */

.faq-item.faq-open .faq-icon {

    transform: rotate(45deg);

    background: #A56F63;

    color: #fff;

}


/* =========================================================
   ANSWER
========================================================= */

.faq-answer {

    max-height: 0;

    padding-right: 22px;

    padding-left: 22px;

    box-sizing: border-box;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height .35s ease,
        opacity .30s ease;

}


/* =========================================================
   ANSWER TEXT
========================================================= */

.faq-answer p {

    margin: 0;

    padding-top: 18px;

    padding-bottom: 22px;

    border-top:
        1px solid rgba(255, 255, 255, .10);

    color:
        rgba(218, 231, 237, .68);

    font-size: 14px;

    font-weight: 400;

    line-height: 2.25;

}


/* =========================================================
   OPEN ANSWER
========================================================= */

.faq-item.faq-open .faq-answer {

    opacity: 1;

}


/* =========================================================
   HELP BOX
========================================================= */

.faq-help {

    width: 100%;

    margin-top: 35px;

    padding: 24px;

    box-sizing: border-box;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    background:
        rgba(255, 255, 255, .12);

    border:
        1px solid rgba(255, 255, 255, .20);

    border-radius: 22px;

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .15);

}


/* =========================================================
   HELP CONTENT
========================================================= */

.faq-help-content {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 15px;

}


/* =========================================================
   HELP ICON
========================================================= */

.faq-help-icon {

    flex-shrink: 0;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    border-radius: 50%;

    background:
        rgba(165, 111, 99, .18);

    border:
        1px solid rgba(165, 111, 99, .35);

    color: #D99B7F;

    font-size: 20px;

    font-weight: 800;

}


/* =========================================================
   HELP TITLE
========================================================= */

.faq-help h2 {

    margin: 0 0 5px;

    color: #fff;

    font-size: 18px;

    font-weight: 800;

    line-height: 1.7;

}


/* =========================================================
   HELP TEXT
========================================================= */

.faq-help p {

    margin: 0;

    color:
        rgba(218, 231, 237, .65);

    font-size: 13px;

    line-height: 1.9;

}


/* =========================================================
   HELP BUTTON
========================================================= */

.faq-help-button {

    flex-shrink: 0;

    min-height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 8px 20px;

    box-sizing: border-box;

    background: #0F3040;

    color: #fff;

    border-radius: 15px;

    text-decoration: none;

    transition:
        background .3s ease,
        transform .3s ease;

    font-weight: 600;

    font-size: 14px;

    white-space: nowrap;

}


.faq-help-button:hover {

    background: #A56F63;

    transform: translateY(-3px);

}


.faq-help-button:active {

    transform: translateY(0);

}


/* =========================================================
   FOOTER
========================================================= */

.faq-footer {

    width: 100%;

    padding: 25px 20px;

    box-sizing: border-box;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, .08);

}


.faq-footer p {

    margin: 0;

    color:
        rgba(218, 231, 237, .45);

    font-size: 12px;

    line-height: 1.8;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .faq-main {

        max-width: 900px;

        padding:
            30px 20px 60px;

    }


    .faq-hero h1 {

        font-size: 30px;

    }


    .faq-item summary {

        font-size: 15px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .faq-main {

        width: 100%;

        max-width: none;

        padding:
            25px 15px 50px;

    }


    .faq-hero {

        margin-bottom: 30px;

    }


    .faq-badge {

        min-height: 30px;

        margin-bottom: 13px;

        padding: 0 15px;

        font-size: 12px;

    }


    .faq-hero h1 {

        font-size: 27px;

    }


    .faq-hero p {

        font-size: 13px;

        line-height: 2;

    }


    .faq-container {

        gap: 12px;

    }


    .faq-item {

        border-radius: 18px;

    }


    .faq-item summary {

        min-height: 62px;

        padding: 15px 16px;

        gap: 12px;

        font-size: 13px;

        line-height: 1.9;

    }


    .faq-icon {

        width: 32px;

        height: 32px;

        font-size: 20px;

    }


    .faq-answer {

        padding-right: 16px;

        padding-left: 16px;

    }


    .faq-answer p {

        padding-top: 15px;

        padding-bottom: 18px;

        font-size: 12.5px;

        line-height: 2.15;

    }


    .faq-help {

        margin-top: 25px;

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 18px;

        border-radius: 18px;

    }


    .faq-help-content {

        align-items: flex-start;

    }


    .faq-help-icon {

        width: 40px;

        height: 40px;

        font-size: 18px;

    }


    .faq-help h2 {

        font-size: 16px;

    }


    .faq-help p {

        font-size: 12px;

    }


    .faq-help-button {

        width: 100%;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .faq-main {

        padding:
            22px 12px 40px;

    }


    .faq-hero h1 {

        font-size: 24px;

    }


    .faq-hero p {

        font-size: 12px;

    }


    .faq-item summary {

        min-height: 58px;

        padding: 14px;

        font-size: 12.5px;

    }


    .faq-icon {

        width: 29px;

        height: 29px;

        font-size: 18px;

    }


    .faq-answer {

        padding-right: 14px;

        padding-left: 14px;

    }


    .faq-answer p {

        padding-top: 14px;

        padding-bottom: 16px;

        font-size: 12px;

        line-height: 2.1;

    }


    .faq-help {

        padding: 17px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .faq-main {

        padding-right: 10px;

        padding-left: 10px;

    }


    .faq-item summary {

        min-height: 55px;

        padding: 12px;

        gap: 9px;

        font-size: 12px;

    }


    .faq-icon {

        width: 27px;

        height: 27px;

        font-size: 17px;

    }


    .faq-answer {

        padding-right: 12px;

        padding-left: 12px;

    }


    .faq-answer p {

        font-size: 11.5px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .faq-item,
    .faq-icon,
    .faq-help-button,
    .faq-answer {

        transition: none;

    }

}
/* =========================================================
   FAQ CARD ENTRANCE ANIMATION
   نمایش کارت‌ها به صورت ترتیبی هنگام لود صفحه
========================================================= */

.faq-item {

    opacity: 0;

    transform: translateY(35px);

}


/* کارت‌هایی که JS آماده نمایش کرده */

.faq-item.faq-visible {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .55s ease,
        transform .55s ease,
        border-color .3s ease,
        background .3s ease;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .faq-item {

        opacity: 1;

        transform: none;

    }

    .faq-item.faq-visible {

        transition: none;

    }

}