/* =========================
   MUSSON / AMX — Tab-like header (универсально)
   ========================= */
.musson-section-title,
.amx-reviews-head{
  position: relative;
  margin: 0 0 14px;
  padding: 16px 18px 16px 36px;
  background: #f4f6f9;
  border-bottom: 1px solid rgba(30,58,95,.10);
  border-radius: 8px 8px 0 0;
  color: #1e3a5f;
}

/* акцент-риска как у табов */
.musson-section-title:before,
.amx-reviews-head:before{
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 3px;
  height: 18px;
  border-radius: 0;
  background: #1e3a5f;
  transform: translateY(-50%);
  box-shadow: none;
}

/* MUSSON заголовок секции (если это именно title, а не контейнер) */
.musson-section-title{
  font-weight: 700;
  font-size: 16px !important;
}

/* =========================
   MUSSON: Capsule + Apple-like Read more
   ========================= */
.musson-home{
  margin: 0 0 24px;
}

.musson-capsule{
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30,58,95,.10);
  border-radius: 8px;
  padding: 20px 20px 18px;
  box-shadow: 0 4px 16px rgba(30,58,95,.05);
}

.musson-capsule p{
  margin: 0 0 12px;
  color: #222;
  line-height: 1.55;
}

/* H1 */
.musson-h1{
  margin: 0 0 18px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.28;
  color: #1e3a5f;
  letter-spacing: -0.01em;
}

.musson-h2{
  margin: 20px 0 10px;
  font-weight: 800;
  font-size: 18px;
  color: #1e3a5f;
  letter-spacing: -0.01em;
}

.musson-h3{
  margin: 18px 0 10px;
  font-weight: 800;
  font-size: 16px;
  color: #1e3a5f;
  letter-spacing: -0.01em;
}

.musson-list{
  margin: 12px 0 12px 18px;
  padding: 0;
}

.musson-list li{
  margin: 0 0 6px;
  line-height: 1.5;
  color: #222;
}

.musson-final{
  margin: 12px 0 0;
  color: #111;
}

/* Button — squared, navy outline */
.musson-readmore{
  align-self: flex-end;
  margin-top: 6px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 6px;
  border: 1px solid #1e3a5f;
  background: transparent;
  color: #1e3a5f;
  cursor: pointer;

  box-shadow: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}

.musson-readmore:hover{
  background: #1e3a5f;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(30,58,95,.12);
}

.musson-readmore:active{
  transform: translateY(0);
  box-shadow: none;
}

/* Apple-like раскрытие */
.musson-more{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.2,.8,.2,1);
  margin-top: 6px;
}

.musson-more-inner{
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  filter: blur(4px);
  transition: opacity .35s ease, transform .45s ease, filter .45s ease;
}

.musson-more.is-open{
  grid-template-rows: 1fr;
}

.musson-more.is-open .musson-more-inner{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Responsive */
@media (max-width: 767.98px){
  .musson-capsule{
    padding: 16px 16px 14px;
    border-radius: 8px;
  }
  .musson-h1{
    font-size: 20px;
  }
  .musson-readmore{
    padding: 9px 14px;
  }
}

/* =========================
   AMX — Reviews Swiper
   ========================= */
.amx-reviews-carousel{
  margin: 20px 0;
}

.amx-reviews-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.amx-reviews-title{
  margin: 0;
  font-weight: 700;
  font-size: 16px !important;
  color: #1e3a5f;
}

/* nav */
.amx-reviews-nav{
  display: flex;
  align-items: center;
  gap: 6px;
}

.amx-reviews-nav button{
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(30,58,95,.18);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  color: #1e3a5f;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.amx-reviews-nav button:hover{
  background: #1e3a5f;
  color: #fff;
  border-color: #1e3a5f;
}

.amx-reviews-nav i{
  font-size: 14px;
  line-height: 1;
  display: block;
}

.amx-reviews-swiper{
  overflow: hidden;
}

/* slide height auto — оставляй только если реально было нужно */
.amx-reviews-swiper .swiper-slide{
  height: auto;
}

/* card */
.amx-rev-card{
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(30,58,95,.10);
  border-radius: 8px;
  padding: 12px;
  height: 100%;
  min-height: 152px;
}

.amx-rev-imgbox{
  width: 84px;
  height: 84px;
  border-radius: 8px;
  border: 1px solid rgba(30,58,95,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex: 0 0 auto;
}

.amx-rev-img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.amx-rev-body{
  min-width: 0;
  flex: 1 1 auto;
}

.amx-rev-product{
  display: block;
  font-weight: 800;
  font-size: 14px;
  color: #1e3a5f;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amx-rev-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 8px;
}

.amx-rev-name{
  font-size: 13px;
  color: #111;
  opacity: .9;
  line-height: 1;
}

/* stars — звёзды оставляем жёлтыми (рейтинг = универсальный цвет) */
.amx-rev-stars{
  display: flex;
  align-items: center;
  gap: 3px;
  line-height: 1;
}

.amx-rev-stars i{
  display: block;
  line-height: 1;
  font-size: 12px;
  color: #e0d041;
}

/* ✅ вместо fa-star-o (FA4) — делаем для FA5: пустая звезда far */
.amx-rev-stars .far{
  opacity: .45;
}

.amx-rev-text{
  font-size: 13px;
  line-height: 1.35;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 767.98px){
  .amx-rev-card{ gap: 10px; }
  .amx-rev-imgbox{
    width: 72px;
    height: 72px;
    padding: 6px;
  }
  .amx-reviews-title{
    font-size: 15px !important;
  }
}
