.review {
    position: relative;
}

.review-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.review-items {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.review-pr {
    position: relative;
}

.slider-arrows {
    display: flex;
    width: 100%;
    justify-content: space-between;
    line-height: 0;
    position: absolute;
    top: 44%;
    z-index: 10;
    pointer-events: none;
}

.r-arrow {
    pointer-events: auto;
    cursor: pointer;
}

.r-arrow:first-child {
    margin-right: 50px;
}

.r-arrow:last-child {
    margin-left: 50px;
}

.review-items .section-title h3 {
    color: var(--t-color);
}

.review-cards {
    position: relative;
    padding: 0 90px;
}

.review-swiper {
    width: 100%;
    overflow: hidden;
    padding: 20px 12px 30px;
    display: block !important;
}

.review-swiper .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    height: auto;
}

.review-swiper .swiper-slide {
    flex-shrink: 0 !important;
    height: auto;
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background: var(--w-color);
    padding: 16px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    gap: 12px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../shape/c-shape.svg') no-repeat center right / contain;
    z-index: -1;
}

.review-card-items {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 28px;
    overflow: hidden;
}

.review-card-image img {
    width: 100%;
}

.review-card-name h3 {
    font-size: 22px;
}

.review-card-content p {
    font-size: 16px;
    line-height: 30px;
}

.review-card-information {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card-label {
    display: flex;
    background: var(--p-color);
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--w-color);
}

.review-card-star {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #FBF0DE;
    padding: 4px 8px;
    border-radius: 8px;
}

.review-card-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 1200px) {
    .review-title {
        margin-bottom: -20px;
    }

    .r-shape {
        height: 260px;
    }

    .slider-arrows {
        top: 48%;
    }
}

@media (max-width: 992px) {
    .r-shape {
        height: 230px;
        border-radius: 0 0 70px 70px;
    }

    .review-items .section-title h3 {
        text-align: center;
    }

    .review-card-image {
        width: 90px;
        height: 90px;
    }

    .review-card-content p {
        font-size: 15px;
        line-height: 26px;
    }

    .review-cards {
        padding: 0 90px;
    }
}

@media (max-width: 768px) {
    .r-shape {
        height: 210px;
        border-radius: 0 0 70px 70px;
    }

    .slider-arrows {
        top: 50%;
    }

    .r-arrow:first-child {
        margin-right: 40px;
    }

    .r-arrow:last-child {
        margin-left: 40px;
    }
}

@media (max-width: 576px) {
    .r-shape {
        height: 220px;
        border-radius: 0 0 60px 60px;
    }

    .r-shape::before {
        transform: scale(1.0043);
    }

    .review-cards {
        padding: 0 30px;
        margin-top: 10px;
    }

    .slider-arrows {
        top: 44%;
    }

    .slider-arrows img {
        width: 36px;
    }

    .review-cards::before {
        top: 48%;
        border-radius: 40px;
    }

    .r-arrow:first-child {
        margin-right: 20px;
    }

    .r-arrow:last-child {
        margin-left: 20px;
    }

    .slider-arrows {
        top: 49%;
    }
}

@media (max-width: 480px) {

    .r-shape {
        height: 210px;
        border-radius: 0 0 50px 50px;
    }

    .r-shape::before {
        transform: scale(1.0053);
    }

    .review-cards {
        padding: 0 20px;
    }

    .review-cards::before {
        top: 48%;
        border-radius: 30px;
    }

    .slider-arrows img {
        width: 36px;
    }

    .review-card-image {
        width: 84px;
        height: 84px;
    }

    .review-card-name h3 {
        font-size: 20px;
    }
}

@media (max-width: 390px) {
    .brands {
        margin-top: 60px;
    }

    .review-items {
        gap: 0;
    }

    .review-cards {
        padding: 0;
    }

    .review-card {
        border-radius: 30px;
    }

    .review-card-image {
        border-radius: 20px;
    }

    .review-card-name h3 {
        font-size: 18px;
    }

    .slider-arrows {
        top: 94%;
        justify-content: center;
        gap: 12px;
    }

    .review-card-label {
        display: flex;
        background: var(--p-color);
        padding: 5px 8px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
    }

    .review-card-star img {
        width: 18px;
    }

    .review-card-star img {
        width: 18px;
    }
}

@media (max-width: 360px) {
    .review-card-label {
        font-size: 12px;
    }
}