﻿@charset "utf-8";

/**
* offer-table
* Author URL : https://artcode.com.ua
*/

.offer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  margin: 30px 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  table-layout: auto; /* ← ВАЖНО */
}

/* Первый столбец растягивается и переносит строки */
.offer-table td:first-child,
.offer-table th:first-child {
  width: 100%;
  white-space: normal;
  word-break: break-word; /* ← перенос слов */
}

/* Второй и третий — только по содержимому */
.offer-table td:nth-child(2),
.offer-table td:nth-child(3),
.offer-table td:nth-child(4),
.offer-table th:nth-child(2),
.offer-table th:nth-child(3),
.offer-table th:nth-child(4) {
  width: 1%;
  white-space: nowrap; /* ← чтобы не растягивались */
  text-align: center;
}

.offer-table th,
.offer-table td {
  padding: 8px 12px;
  border-bottom: 1px solid #eaeaea;
}

.offer-table th {
  background: #f9fafb;
  font-weight: 600;
}

/* На мобильных — чуть меньше отступы и текст */
@media (max-width: 600px) {
  .offer-table th,
  .offer-table td {
    padding: 3px 3px;
    font-size: 14px;
  }

  /* Второй и третий столбцы ужимаем */
  .offer-table td:nth-child(2),
  .offer-table td:nth-child(3),
  .offer-table td:nth-child(4),
  .offer-table th:nth-child(2),
  .offer-table th:nth-child(3),
  .offer-table th:nth-child(4) {
    width: 60px;
  }
}

.offer-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.offer-table tbody tr:hover {
  background: #f1f7ff;
}

.offer-table td:nth-child(2),
.offer-table td:nth-child(3),
.offer-table td:nth-child(4),
.offer-table th:nth-child(2),
.offer-table th:nth-child(3),
.offer-table th:nth-child(4) {
  text-align: center;
/*  width: 120px;*/
}

/*
.offer-table td {
  white-space: nowrap;
}
*/

/* Сделать значки чуть выразительнее */
.offer-table td:nth-child(2),
.offer-table td:nth-child(3),
.offer-table td:nth-child(4) {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.yes {
  color: #0f9d4e; /* красивый зелёный */
  font-weight: bold;
}

.no {
  color: #d23636; /* мягкий красный */
  font-weight: bold;
}

/* social-links */

.social-links {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.social-links li {
  display: inline-block;
  margin-right: 1rem;
}

.social-links i {
  margin-bottom: 10px;
  font-size: 1.25em;
  width: 22px;
  text-align: center;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: #1a1a1a;
  transition: color 0.25s ease, transform 0.25s ease;
}

.social-links a:hover {
  color: #0a7aff;
  transform: translateX(4px);
}

.social-links a:hover i {
  opacity: 1;
}

/* Цвета соцсетей */
.social-links .fa-facebook-f { color: #1877F2; }
.social-links .fa-instagram { 
  background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.social-links .fa-twitter { color: #000; } /* X -> черный / можно #1DA1F2 если хочешь старый Twitter */
.social-links .fa-tiktok { color: #000; } /* стильный минимализм как у ТикТок */
.social-links .fa-telegram { color: #0088CC; }
