/* ===================================
   АДАПТИВНЫЕ СТИЛИ ДЛЯ СЕКЦИИ FRAME-65
   Мобильная версия секции "Чому вам варто замовити килим саме у нас"
   =================================== */

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
  .frame-65__container {
    padding: 0 15px;
    margin-top: 60px;
  }

  .frame-65 {
    gap: 40px;
    align-items: center;
    text-align: center;
  }

  .frame-65__div {
    font-size: 32px !important;
    line-height: 120% !important;
    text-align: center !important;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Адаптация основного макета */
  .frame-65__frame-55 {
    flex-direction: column !important;
    gap: 30px;
    align-items: center;
    width: 100%;
  }

  /* Адаптация изображения */
  .frame-65___456254747 {
    width: 100% !important;
    height: 250px !important;
    border-radius: 15px;
    object-fit: cover;
    order: 1;
  }

  /* Адаптация блока с преимуществами */
  .frame-65__frame-139 {
    width: 100% !important;
    gap: 25px;
    align-items: center;
    order: 2;
  }

  /* Адаптация карточек преимуществ */
  .frame-65__frame-28,
  .frame-65__frame-29,
  .frame-65__frame-30 {
    width: 100% !important;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #b6b6b6;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .frame-65__frame-28:hover,
  .frame-65__frame-29:hover,
  .frame-65__frame-30:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  /* Адаптация заголовков карточек */
  .frame-65__frame-138 {
    gap: 15px;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
  }

  .frame-65__icon,
  .frame-65__icon2,
  .frame-65__fi-16281416 {
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0;
  }

  .frame-65___30,
  .frame-65___2013,
  .frame-65__div2 {
    font-size: 18px !important;
    line-height: 130% !important;
    text-align: left;
    flex: 1;
  }

  /* Адаптация описаний */
  .frame-65___302,
  .frame-65___10-1500,
  .frame-65__div3 {
    font-size: 14px !important;
    line-height: 140% !important;
    text-align: left;
    color: #666666;
  }

  /* Адаптация группы элементов */
  .frame-65__group-75 {
    width: 100%;
    justify-content: center;
  }
}

/* Планшеты (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .frame-65__container {
    padding: 0 20px;
    margin-top: 80px;
  }

  .frame-65 {
    gap: 50px;
  }

  .frame-65__div {
    font-size: 36px !important;
    max-width: 400px;
  }

  .frame-65__frame-55 {
    gap: 40px;
  }

  .frame-65___456254747 {
    height: 300px !important;
  }

  .frame-65__frame-139 {
    gap: 30px;
  }

  .frame-65__frame-28,
  .frame-65__frame-29,
  .frame-65__frame-30 {
    max-width: 300px;
    padding: 25px;
  }

  .frame-65___30,
  .frame-65___2013,
  .frame-65__div2 {
    font-size: 20px !important;
  }

  .frame-65___302,
  .frame-65___10-1500,
  .frame-65__div3 {
    font-size: 16px !important;
  }
}

/* Маленькие мобильные устройства (до 480px) */
@media (max-width: 480px) {
  .frame-65__container {
    padding: 0 10px;
    margin-top: 40px;
  }

  .frame-65 {
    gap: 30px;
  }

  .frame-65__div {
    font-size: 28px !important;
    max-width: 280px;
  }

  .frame-65__frame-55 {
    gap: 25px;
  }

  .frame-65___456254747 {
    height: 200px !important;
    border-radius: 12px;
  }

  .frame-65__frame-139 {
    gap: 20px;
  }

  .frame-65__frame-28,
  .frame-65__frame-29,
  .frame-65__frame-30 {
    padding: 15px;
    border-radius: 12px;
  }

  .frame-65__frame-138 {
    gap: 12px;
    margin-bottom: 12px;
  }

  .frame-65__icon,
  .frame-65__icon2,
  .frame-65__fi-16281416 {
    width: 35px !important;
    height: 35px !important;
  }

  .frame-65___30,
  .frame-65___2013,
  .frame-65__div2 {
    font-size: 16px !important;
  }

  .frame-65___302,
  .frame-65___10-1500,
  .frame-65__div3 {
    font-size: 13px !important;
  }
}

/* Очень маленькие экраны (до 375px) */
@media (max-width: 375px) {
  .frame-65__container {
    padding: 0 8px;
    margin-top: 30px;
  }

  .frame-65 {
    gap: 25px;
  }

  .frame-65__div {
    font-size: 24px !important;
    max-width: 250px;
  }

  .frame-65__frame-55 {
    gap: 20px;
  }

  .frame-65___456254747 {
    height: 180px !important;
    border-radius: 10px;
  }

  .frame-65__frame-139 {
    gap: 18px;
  }

  .frame-65__frame-28,
  .frame-65__frame-29,
  .frame-65__frame-30 {
    padding: 12px;
    border-radius: 10px;
  }

  .frame-65__frame-138 {
    gap: 10px;
    margin-bottom: 10px;
  }

  .frame-65__icon,
  .frame-65__icon2,
  .frame-65__fi-16281416 {
    width: 30px !important;
    height: 30px !important;
  }

  .frame-65___30,
  .frame-65___2013,
  .frame-65__div2 {
    font-size: 15px !important;
  }

  .frame-65___302,
  .frame-65___10-1500,
  .frame-65__div3 {
    font-size: 12px !important;
  }
}
