
.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

/* .review {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
} */

.name {
    font-weight: bold;
    font-size: 1.1em;
}

.date {
    color: #888;
    font-size: 0.9em;
}

.rating {
    color: orange;
    margin-top: 5px;
}

.text {
    margin-top: 10px;
    font-size: 0.95em;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1;
}

.arrow.left {
    left: -40px;
}

.arrow.right {
    right: -40px;
}

.controls {
    text-align: center;
    margin: 20px 0;
}

.btn {
    background: orange;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
}

form {
    background: #fff;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

form input,
form textarea,
form select {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background: orange;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
}


.slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
    padding: 20px 40px;
    /* для стрелок */
}

.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px;
}

.review {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 0px solid #ccc;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.swiper {
    width: 100%;
    max-width: 1100px;
    padding: 20px;
    margin: auto;
}

.swiper-slide.review {
    background: #0000001f;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    max-width: 300px;
    cursor: grab;
}
.name {
    font-weight: bold;
    font-size: 1.1em;
}

.date {
    color: #888;
    font-size: 0.9em;
}

.rating {
    color: orange;
    margin-top: 5px;
}

.text {
    margin-top: 10px;
    font-size: 0.95em;
}

.ans_pag {
    display: block;
    top: 275px !important;
}

.swiper-horizontal {
    touch-action: pan-y;
    padding: 0 0 24px 0 !important;
}


.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #ffa500 !important;
}

