/* FAQ - Старт */
.details {
  position: relative;
  display: block;
  margin: 0 auto 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
  transition: 0.3s;
  overflow: hidden;
}

.details::after {
  position: absolute;
  right: 20px;
  top: 18px;
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-right: 3px solid #2563eb;
  border-bottom: 3px solid #2563eb;
  transform: rotate(-45deg);
  transform-origin: center;
  transition: .3s;
}

.details[open]::after {
  transform: rotate(45deg);
}

.details[open] {
  padding-bottom: 100px;
}

.details[open] .details__title {
  margin-bottom: 32px;
}

.details__title {
  background: #fff;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 100%;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  transition: .3s;
}

.details__title::-webkit-details-marker {
  display: none;
}

.details__content {
  padding: 0 32px;
  font-size: 100%;
  margin-bottom: -60px;
}

.details__content p:last-child {
  margin-bottom: 0;
}
.details__content p:first-child {
  margin-top: 0;
}
/* FAQ - Финиш */








/* Рейтинг - Старт */

/* Основная плашка */
.rating-container {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #2563eb;
  height: 40px;
  line-height: 1;
  font-family: Arial, sans-serif;
  margin-bottom: 20px;
}

/* Секция звёзд */
.stars-section {
  background: #2563eb;
  padding: 0 12px;
  display: flex;
  align-items: center;
}

/* Секция значения */
.value-section {
  background: white;
  padding: 0 12px;
  display: flex;
  align-items: center;
  min-width: 40px;
  justify-content: center;
}

/* Контейнер звёзд */
.rating-stars {
  display: flex;
  gap: 3px;
}

/* Базовая звезда */
.star {
  position: relative;
  width: 24px;
  height: 24px;
}

/* Два слоя для каждой звезды */
.star-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

/* Нижний слой (белая звезда) */
.star-background {
  color: white;
  z-index: 1;
}

/* Верхний слой (оранжевая часть) */
.star-foreground {
  color: #f97316;
  z-index: 2;
  clip-path: inset(0 0 0 0); /* Динамически меняется в JS */
}

/* Числовое значение */
.rating-value {
  font-weight: bold;
  color: #1F2937;
  font-size: 18px;
}

/* Центрирование на мобильных */
@media (max-width: 768px) {
  .rating-container {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: fit-content; /* Ширина по содержимому */
  }
}
/* Рейтинг - Финиш */







/* Вступление - Старт */
.intro {
    background-color: white;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20px 1px 20px; 
	
}
/* Вступление - Финиш */









/* Изображение и Характеристики - Старт */

/* Основной контейнер */
.pic-char {
    --pic-char-radius: 10px;
    --pic-char-padding: 20px;
    --image-max-width: 300px;
    
    background-color: #ffffff;
    border-radius: var(--pic-char-radius);
    padding: var(--pic-char-padding) var(--pic-char-padding) 5px 10px;
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0 5px;
    box-sizing: border-box;
    align-items: flex-start;
}

/* Контейнер для изображения */
.pic-char .picture {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 15px;

    /* Принудительное отключение липкости */
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    will-change: auto !important;
    z-index: auto !important;
}

/* Контейнер для характеристик */
.pic-char .characteristics {
    flex: 2;
    min-width: 250px;
    padding: 10px 10px 0;
}

/* Стили для изображения */
.pic-char .picture img {
    width: 100%;
    max-width: var(--image-max-width);
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
}

/* Контейнер с кнопками - Основные стили */
.pic-char .buttons-after-picture {
    width: 100%;
    max-width: var(--image-max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Минимальное расстояние между кнопками на десктопе */
@media (min-width: 769px) {
    .pic-char .buttons-after-picture {
        gap: 2px;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .pic-char {
        padding: 20px 15px 5px;
    }
    
    .pic-char .picture,
    .pic-char .characteristics {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 15px 10px 0;
    }
    
    .pic-char .picture {
        position: static;
        padding-bottom: 10px;
    }
}

.pic-char .characteristics ul {
    color: #555;
    margin: 0;
    padding-left: 20px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 100000 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9) !important;
    animation: fadeIn 0.3s;
}

.modal-content {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

body.modal-open {
    overflow: hidden !important;
}

/* Стили для кликабельных изображений */
.pic-char .picture img {
    cursor: pointer;
    transition: transform 0.3s;
}

.pic-char .picture img:hover {
    transform: scale(1.02);
}
/* Изображение и Характеристики - Финиш */










/* Плюсы и Минусы - Старт */
/* Блок Плюсы и Минусы */
.plus-minus {
    background: #fff;
    border-radius: 10px;
    padding: 20px 20px 10px 20px;
    margin: 20px 0 50px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}                    

.plus-minus .plus,
.plus-minus .minus {
    flex: 1;
    min-width: 300px;
    padding: 0 10px;
}

.plus-minus ul {
    padding: 0;
    margin: 0 0 15px;
}

.plus-minus li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    list-style: none;
    line-height: 1.5;
}

.plus-minus .plus li::before {
    content: "+";
    color: #2563eb;
    position: absolute;
    left: 5px;
    font-weight: 700;
}

.plus-minus .minus li::before {
    content: "-";
    color: #2563eb;
    position: absolute;
    left: 5px;
    font-weight: 700;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .plus-minus {
        flex-direction: column;
        padding: 15px 15px 5px 15px;
    }
    
    .plus-minus .plus,
    .plus-minus .minus {
        min-width: 100%;
        padding: 0;
    }
    
    .plus-minus li {
        padding-left: 22px;
    }
}
/* Плюсы и Минусы - Финиш */










 
/* партнерские кнопки - Старт */
/* Основные стили кнопки */
.partner-btn {
    /* Размеры и отступы */
    display: inline-block;
    min-width: 205px;
    padding: 10px 20px;
    box-sizing: border-box;
    
    /* Цвета */
    background-color: #f97316;
    color: white !important;
    
    /* Внешний вид */
    border-radius: 10px;
    border: none;
    
    /* Текст */
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    
    /* Поведение */
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: /* партнерские кнопки - Старт */
/* Основные стили кнопки */
.partner-btn {
    /* Размеры и отступы */
    display: inline-block;
    min-width: 205px;
    padding: 10px 20px;
    box-sizing: border-box;
    
    /* Цвета */
    background-color: #f97316;
    color: white !important;
    
    /* Внешний вид */
    border-radius: 10px;
    border: none;
    
    /* Текст */
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    
    /* Поведение */
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: auto; /* Изменили на auto для центрирования */
}

/* Состояние при наведении */
.partner-btn:hover {
    background-color: #2563eb;
}

/* Центрирование на мобильных */
@media (max-width: 768px) {
    .partner-btn {
        display: block; /* Меняем на блочный элемент */
        width: 90%; /* Можно регулировать ширину */
        max-width: 200px; /* Максимальная ширина */
        margin: auto;	
    }
/* партнерские кнопки - Финиш */    /* Изменили на auto для центрирования */
}

/* Состояние при наведении */
.partner-btn:hover {
    background-color: #2563eb;
}

/* Центрирование на мобильных */
@media (max-width: 768px) {
    .partner-btn {
        display: block; /* Меняем на блочный элемент */
        width: 90%; /* Можно регулировать ширину */
        max-width: 200px; /* Максимальная ширина */
        margin: auto;	
    }
/* партнерские кнопки - Финиш */       

