/* =========================================================
   JORA TREND - CUSTOMER FEEDBACK
========================================================= */


/* =========================================================
   FEEDBACK SECTION
========================================================= */

.jora-feedback-section {

    width: 100%;
    padding: 90px 7%;
    background: #f8f4ed;
    box-sizing: border-box;

}


.feedback-heading {

    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;

}


.feedback-small-title {

    display: block;
    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;

    letter-spacing: 3px;
    color: #b38a4c;

}


.feedback-heading h2 {

    margin: 0 0 15px;

    font-family: "Cormorant Garamond", serif;
    font-size: 44px;
    font-weight: 600;

    color: #173f32;

}


.feedback-heading p {

    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.8;

    color: #6d665e;

}


/* =========================================================
   FEEDBACK GRID
========================================================= */

.feedback-grid {

    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}


.feedback-card {

    position: relative;

    min-height: 250px;
    padding: 30px;

    background: #fffdf9;

    border: 1px solid #ddd1c0;
    border-radius: 6px;

    box-sizing: border-box;

    text-align: center;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

}


.feedback-card:hover {

    transform: translateY(-6px);

    border-color: #c79b50;

    box-shadow:
        0 15px 35px rgba(35, 47, 40, 0.10);

}


.feedback-brand {

    margin-bottom: 16px;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 3px;

    color: #b38a4c;

}


.feedback-stars {

    display: flex;
    justify-content: center;
    gap: 5px;

    margin-bottom: 20px;

    color: #c79b50;

}


.feedback-stars i {

    font-size: 13px;

}


.feedback-message {

    margin: 0 auto;

    max-width: 400px;

    font-family: "Cormorant Garamond", serif;
    font-size: 21px;
    line-height: 1.55;

    color: #292820;

}


.feedback-line {

    width: 35px;
    height: 1px;

    margin: 20px auto 12px;

    background: #c79b50;

}


.feedback-date {

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    letter-spacing: 1px;

    color: #999084;

}


.feedback-empty {

    grid-column: 1 / -1;

    padding: 40px;

    text-align: center;

    border: 1px solid #ddd1c0;

    background: #fffdf9;

}


.feedback-empty i {

    display: block;

    margin-bottom: 12px;

    font-size: 30px;

    color: #c79b50;

}


.feedback-empty p {

    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

    color: #6d665e;

}


/* =========================================================
   FLOATING REVIEW BUTTON
========================================================= */

.jora-review-floating {

    position: fixed;

    right: 24px;
    bottom: 92px;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #c79b50;
    color: #ffffff;

    font-size: 20px;

    cursor: pointer;

    z-index: 9997;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.3s ease,
        background 0.3s ease;

}


.jora-review-floating:hover {

    transform: translateY(-4px);

    background: #003f2f;

    color: #c79b50;

}


/* =========================================================
   REVIEW MODAL
========================================================= */

.jora-review-modal {

    position: fixed;

    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 10000;

}


.jora-review-modal.active {

    display: flex;

}


.jora-review-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 34, 25, 0.68);

    backdrop-filter: blur(4px);

}


.jora-review-box {

    position: relative;

    width: 100%;
    max-width: 500px;

    max-height: 90vh;

    overflow-y: auto;

    padding: 45px;

    background: #fffdf9;

    border: 1px solid #d8c6a9;

    border-radius: 8px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    animation: reviewPopup 0.35s ease;

}


@keyframes reviewPopup {

    from {

        opacity: 0;
        transform: translateY(20px) scale(0.97);

    }

    to {

        opacity: 1;
        transform: translateY(0) scale(1);

    }

}


.jora-review-close {

    position: absolute;

    top: 15px;
    right: 15px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd1c0;
    border-radius: 50%;

    background: transparent;
    color: #6d665e;

    cursor: pointer;

    transition: all 0.3s ease;

}


.jora-review-close:hover {

    background: #003f2f;
    border-color: #003f2f;
    color: #ffffff;

}


.review-modal-icon {

    width: 58px;
    height: 58px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f2eadc;

    color: #b38a4c;

    font-size: 24px;

}


.review-modal-label {

    display: block;

    margin-bottom: 8px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;

    color: #b38a4c;

}


.jora-review-box h2 {

    margin: 0 0 10px;

    font-family: "Cormorant Garamond", serif;
    font-size: 36px;
    font-weight: 600;

    color: #173f32;

}


.review-modal-description {

    margin: 0 0 30px;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.7;

    color: #777067;

}


/* =========================================================
   STAR RATING
========================================================= */

.review-rating {

    margin-bottom: 25px;

}


.rating-label {

    display: block;

    margin-bottom: 12px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2px;

    color: #7b736a;

}


.star-rating {

    display: flex;
    flex-direction: row-reverse;

    justify-content: center;

    gap: 8px;

}


.star-rating input {

    display: none;

}


.star-rating label {

    cursor: pointer;

    color: #d4cabd;

    font-size: 27px;

    transition: color 0.2s ease;

}


.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {

    color: #c79b50;

}


/* =========================================================
   TEXTAREA
========================================================= */

.review-field {

    text-align: left;

    margin-bottom: 20px;

}


.review-field label {

    display: block;

    margin-bottom: 9px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2px;

    color: #7b736a;

}


.review-field textarea {

    width: 100%;

    min-height: 120px;

    padding: 14px 16px;

    resize: vertical;

    box-sizing: border-box;

    border: 1px solid #d8cfc2;
    border-radius: 4px;

    outline: none;

    background: #ffffff;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;

    color: #292820;

    transition: border-color 0.3s ease;

}


.review-field textarea:focus {

    border-color: #c79b50;

}


.review-field textarea::placeholder {

    color: #aaa299;

}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-review-btn {

    width: 100%;

    padding: 14px 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 1px solid #003f2f;

    background: #003f2f;
    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 2px;

    cursor: pointer;

    transition: all 0.3s ease;

}


.submit-review-btn:hover {

    background: #c79b50;
    border-color: #c79b50;

}


.review-form-message {

    margin-top: 12px;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

}


/* =========================================================
   SUCCESS MODAL
========================================================= */

.jora-success-modal {

    position: fixed;

    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 11000;

}


.jora-success-modal.active {

    display: flex;

}


.success-overlay {

    position: absolute;

    inset: 0;

    background: rgba(0, 34, 25, 0.68);

    backdrop-filter: blur(4px);

}


.success-box {

    position: relative;

    width: 100%;
    max-width: 430px;

    padding: 45px 35px;

    background: #fffdf9;

    border: 1px solid #d8c6a9;

    border-radius: 8px;

    text-align: center;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.25);

    animation: reviewPopup 0.35s ease;

}


.success-icon {

    width: 65px;
    height: 65px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #003f2f;
    color: #c79b50;

    font-size: 28px;

}


.success-box > span {

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;

    color: #b38a4c;

}


.success-box h2 {

    margin: 10px 0 12px;

    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
    font-weight: 600;

    color: #173f32;

}


.success-box p {

    margin: 0 auto 25px;

    max-width: 330px;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.7;

    color: #777067;

}


.success-box button {

    padding: 13px 22px;

    border: 1px solid #003f2f;

    background: #003f2f;
    color: #ffffff;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2px;

    cursor: pointer;

    transition: all 0.3s ease;

}


.success-box button:hover {

    background: #c79b50;
    border-color: #c79b50;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .feedback-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


@media (max-width: 600px) {

    .jora-feedback-section {

        padding: 65px 20px;

    }


    .feedback-heading h2 {

        font-size: 36px;

    }


    .feedback-heading p {

        font-size: 13px;

    }


    .feedback-grid {

        grid-template-columns: 1fr;

    }


    .feedback-card {

        padding: 25px;

    }


    .feedback-message {

        font-size: 19px;

    }


    .jora-review-floating {

        right: 18px;
        bottom: 85px;

        width: 48px;
        height: 48px;

    }


    .jora-review-box {

        padding: 35px 22px;

    }


    .jora-review-box h2 {

        font-size: 30px;

    }

}

/* =========================================================
   FLOATING REVIEW BUTTON
========================================================= */

.jora-review-floating {
    position: fixed;
    left: 35px;
    bottom: 95px;
    z-index: 9999;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c79b50;
    border-radius: 50%;
    background: #ffffff;
    color: #003f2f;
    font-size: 25px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
    transition: all .3s ease;
}

.jora-review-floating:hover {
    background: #003f2f;
    color: #c79b50;
    border-color: #003f2f;
    transform: translateY(-3px);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
    .jora-review-floating {
        left: 15px;
        bottom: 145px;
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}
.jora-review-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.jora-review-modal.active {
    display: flex;
}

.jora-success-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.jora-success-modal.active {
    display: flex;
}

#feedbackSection {
    scroll-margin-top: 100px;
}




/* REVIEW SLIDER */
.review-slider {
    position: relative;
    width: 100%;
    padding: 0 45px;
    box-sizing: border-box;
}

.feedback-grid {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 25px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.feedback-grid::-webkit-scrollbar {
    display: none;
}

.feedback-card {
    flex: 0 0 calc((100% - 50px) / 3);
    min-width: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
}

/* NAVIGATION ARROWS */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid #c79b50;
    border-radius: 50%;
    background: #003f2f;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s ease;
}

.review-arrow:hover {
    background: #c79b50;
    color: #003f2f;
    transform: translateY(-50%) scale(1.1);
}

.review-prev {
    left: 0;
}

.review-next {
    right: 0;
}

/* TABLET */
@media (max-width: 900px) {
    .feedback-card {
        flex: 0 0 calc((100% - 25px) / 2);
    }
}

/* MOBILE */
@media (max-width: 576px) {
    .review-slider {
        padding: 0 30px;
    }

    .feedback-grid {
        gap: 15px;
    }

    .feedback-card {
        flex: 0 0 100%;
    }

    .review-arrow {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }
}

