

/* Start:/local/templates/imkliva/styles.css?17957003597344*/
@import "/local/assets/dist/styles/styles.build.css";
/* Thu May 15 2025 14:32:01 GMT+0300 (Arabian Standard Time) */

.tabs__nav {
  display: flex;
  white-space: nowrap;
  scroll-behavior: auto; 
  
  -webkit-overflow-scrolling: touch; 
  
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs__nav::-webkit-scrollbar {
  display: none;
}

.tabs__nav-item {
    padding: 16px 10px;
}

table {
    min-width: unset !important;
}

.menu_sticker_online {
    background: #2bc63e;
    border-radius: 10px;
    padding: 0 4px;
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    margin: 0 0 0 0px;
    vertical-align: bottom;
}

.menu_sticker_online_m {
    background: #2bc63e;
    border-radius: 10px;
    padding: 0 4px;
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    margin: 0 0 0 6px;
    vertical-align: bottom;
}

.catalog_sticker_online {
display: inline-block;
    background: #2bc63e;
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    float: inline-end;
}


/* Отзывы клиентов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки как в ТЗ */
    gap: 24px;
    margin-top: 24px;
    align-items: stretch; /* Карточки в одном ряду всегда одинаковой высоты */
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
}

.review-card__top {
    margin-bottom: 10px;
}

.review-card__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ff4337;
    color: #fff;
    border: 1px solid #c30c00;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-card__text {
    font-size: 15px;
    line-height: 1.55;
    color: #1e293b;
    /* Ограничиваем высоту 5 строками, чтобы карточки были ровными */
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card__text.is-expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.review-card__more-btn {
    background: none;
    border: none;
    padding: 0;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #ff4337;
    cursor: pointer;
}
.review-card__more-btn:hover {
    text-decoration: underline;
}

/* Прижимаем нижнюю часть к низу карточки */
.review-card__bottom {
    margin-top: auto;
    padding-top: 5px;
}

.review-card__footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.review-card__meta {
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-card__author {
    color: #64748b;
    font-weight: 500;
}

.review-card__dot {
    color: #ff4337;
    font-weight: bold;
}

/* Кнопка ката "Ответ компании" */
.review-card__reply-toggle {
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s;
}
.review-card__reply-toggle:hover,
.review-card__reply-toggle.is-active {
    background-color: #f1f5f9;
}

/* Выпадающий блок ответа */
.review-card__reply-box {
    margin-top: 12px;
    padding: 12px 14px;
    background-color: #f8fafc;
    border-left: 3px solid #ff4337;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}

.review-card__attachment {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    font-size: 13px;
}
.review-card__attachment a {
    color: #2563eb;
    text-decoration: none;
}
.review-card__attachment a:hover {
    text-decoration: underline;
}
.btn-review-open, .btn-review-submit {
    background-color: #ff4337;
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.2s;
}
.btn-review-open:hover, .btn-review-submit:hover {
    background-color: #ff4337;
    color: #ccc;
}

.review-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.review-modal__overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
}
.review-modal__content {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.review-modal__close {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}
.review-form__group {
    margin-bottom: 16px;
}
.review-form__group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #334155;
}
.review-form__group input[type="text"],
.review-form__group input[type="email"],
.review-form__group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

/* 3 колонки на главной странице */
.reviews-grid--home {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
    .reviews-grid--home {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .reviews-grid--home {
        grid-template-columns: 1fr;
    }
}

/* Делаем карточки на главной более компактными */
.reviews-grid--home .review-card {
    padding: 20px 22px;
}

.reviews-grid--home .review-card__top {
    margin-bottom: 12px;
}

/* На главной обрезаем до 4 строк и уменьшаем шрифт на 1px */
.reviews-grid--home .review-card__text {
    font-size: 14px;
    line-height: 1.5;
    -webkit-line-clamp: 4;
}

/* Чтобы "Ответ компании" не прыгал то вправо, то вниз — на главной ставим его аккуратно под автором */
.reviews-grid--home .review-card__footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.reviews-grid--home .review-card__reply-toggle {
    padding-left: 0;
}

.reviews-more-link {
    margin-top: 28px;
    text-align: center;
}
.reviews-more-link a {
    display: inline-block;
    text-decoration: none;
}

.reviews-more-link a:hover {
    color: #fff;
}

.full-review-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.full-review-modal__text {
    font-size: 15px;
    line-height: 1.6;
    color: #1e293b;
}
/* End */
/* /local/templates/imkliva/styles.css?17957003597344 */
