* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-dark: #0a0a0a;
  --bg-card: #222222;
  --accent-red: #bd234a;
  --accent-hover: #d82b57;
  --text-white: #ffffff;
  --text-gray: #a0a0a0;
  --text-dark: #1a1a1a;
  --font-title: 'Cormorant Garamond', serif;
  --font-body: 'Montserrat', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- ПЕРВЫЙ ЭКРАН (HERO) --- */
.hero {
  display: flex;
  align-items: center;         /* Центрирует контент вертикально */
  justify-content: flex-start;  /* Прижимает контент к левому краю */
  min-height: 550px;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%),
              url("../images/main_background.3df9748b01da.PNG") center/cover no-repeat;
}

.hero-content {
  max-width: 500px;
}

.hero .container {
  margin: 0;           /* Убираем автоматические отступы по бокам */
  padding-left: 150px;  /* Отступ от левого края экрана (настройте под себя) */
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--accent-red);
}

.hero-subtitle {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  background-color: var(--accent-red);
  color: white;
  padding: 14px 28px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  font-weight: 600;
  border: none;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

/* --- ПРЕИМУЩЕСТВА (БЕЛЫЙ БЛОК) --- */
.features {
  background-color: #ffffff;
  color: var(--text-dark);
  padding: 40px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-item {
  text-align: center;
  padding: 0 15px;
  position: relative;
}

/* Вертикальные разделительные линии между преимуществами */
.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--accent-red);
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 0.75rem;
  color: #666;
  line-height: 1.4;
}

/* --- БЛОК «ВЫБОР НАШИХ КЛИЕНТОВ» --- */
.section-products {
  padding: 80px 0;
}

.section-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.section-tag {
  color: var(--accent-red);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 30px;
}

.link-more {
  color: var(--accent-red);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--accent-red);
  padding-bottom: 2px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-7px);
}

/* Карточки — ссылки на страницы чая и набора */
a.product-card,
a.set-card {
  display: block;
}

.product-img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-info {
  padding: 12px 15px 14px;
}

.product-name {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 3px;
}

.product-type {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.product-price {
  color: var(--accent-red);
  font-size: 0.85rem;
}

/* --- БЛОК «ЧАЙНЫЕ НАБОРЫ» (СВЕТЛЫЙ ФОН) --- */
.section-sets {
  background-color: #f4f4f4;
  color: var(--text-dark);
  padding: 80px 0;
}

.sets-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
}

.sets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.set-card {
  background-color: var(--bg-card);
  color: var(--text-white);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.set-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.set-info {
  padding: 15px;
}

.set-title {
  font-size: 1rem;
  font-weight: 500;
}

.set-subtitle {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-top: 4px;
}

.set-price {
  color: var(--accent-red);
  font-size: 0.9rem;
  margin-top: 10px;
  font-weight: 600;
}

/* Адаптивность под мобильные устройства */
@media (max-width: 992px) {
  .section-layout, .sets-layout {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item:nth-child(2)::after { display: none; }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Планшеты: убираем жёсткий отступ слева у первого экрана и абсолютную подпись */
@media (max-width: 992px) {
  .hero .container {
    padding: 0 30px;
  }
  .section-products,
  .section-sets {
    padding: 60px 0;
  }
  .section-sets .anotation {
    position: static;
    margin-top: 16px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .hero {
    min-height: 460px;
  }
  .hero .container {
    padding: 0 20px;
  }
  .features-grid, .sets-grid {
    grid-template-columns: 1fr;
  }
  /* Популярные чаи — по 2 в ряд, чтобы не листать 4 экрана */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-info { padding: 10px; }
  .product-img { height: 150px; }
  .feature-item::after { display: none !important; }
  .hero-title { font-size: 2.2rem; }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  .section-layout, .sets-layout { gap: 24px; }
  .section-products,
  .section-sets {
    padding: 44px 0;
  }
  .section-sets .anotation { font-size: 12px; }
}

.feature-item i {
  font-size: 2.5rem; /* Или в пикселях: 22px */
  color: var(--accent-red);    /* Можно сразу задать цвет */
  transition: color 0.3s;
}

.custom_icon {
  width: 60px;  /* Задай нужную высоту/ширину дракона */
  height: 60px;
}

.custom_icon_header {
  width: 40px;  /* Задай нужную высоту/ширину дракона */
  height: 40px;
}

.set-card:hover {
  transform: translateY(-7px);
}

.anotation {
    display: flex;
    font-size: 15px;
    color: var(--accent-red);    /* Можно сразу задать цвет */
    position: absolute;
    padding-top: 10px;
    left: 820px;

}

.link-more:hover {
  font-size: 0.9rem;
}