/* Общие сбросы и контейнер */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333333;
  background-color: #f9f9f9;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Шапка */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Логотип */
.logo {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.logo__accent {
  color: #ff6b00; /* Наш фирменный оранжевый акцент */
  margin-left: 2px;
}

/* Навигация */
.nav__list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav__link {
  text-decoration: none;
  color: #555555;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: #ff6b00;
}

/* Кнопка "Карта полок" */
.btn--header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn--header:hover {
  background-color: #ff6b00;
  transform: translateY(-1px);
}

/* ==========================================
   2. Главный баннер (Hero Section)
   ========================================== */

.hero {
  padding: 80px 0;
  background-color: #ffffff;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.hero__title-accent {
  color: #ff6b00;
}

.hero__subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Общие стили кнопок */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background-color: #ff6b00;
  color: #ffffff;
}

.btn--primary:hover {
  background-color: #e05e00;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: #1a1a1a;
  border: 2px solid #e5e5e5;
}

.btn--outline:hover {
  border-color: #1a1a1a;
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

/* Карточка товара с котиком */
.hero__image-wrapper {
  display: flex;
  justify-content: flex-end;
}

.hero__product-card {
  position: relative;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  max-width: 380px;
  width: 100%;
}

.hero__product-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.hero__product-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ==========================================
   Общие стили заголовков секций
   ========================================== */

.categories {
  padding: 80px 0;
  background-color: #fcfcfc;
  border-top: 1px solid #eaeaea;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 17px;
  color: #666666;
  line-height: 1.5;
}


/* ==========================================
   3. Блок категорий (Categories Grid)
   ========================================== */

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #eaeaea;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.category-card__image-wrapper {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #f3f3f3;
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card__img {
  transform: scale(1.05);
}

.category-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  justify-content: space-between;
}

.category-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.category-card__link {
  font-size: 14px;
  font-weight: 600;
  color: #ff6b00;
  transition: color 0.2s ease;
}

.category-card:hover .category-card__link {
  color: #e05e00;
}

/* ==========================================
   4. Блок анонса полок (Shops Preview)
   ========================================== */

.shops-preview {
  padding: 80px 0;
  background-color: #ffffff;
}

.shops-preview__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  padding: 50px;
}

.shops-preview__content .section-title,
.shops-preview__content .section-subtitle {
  text-align: left;
  margin-left: 0;
  max-width: 100%;
}

.shops-preview__content .section-title {
  margin-bottom: 16px;
}

.shops-preview__content .section-subtitle {
  margin-bottom: 24px;
}

.shops-preview__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 16px;
  color: #444444;
  font-weight: 500;
}

.shops-preview__map-mockup {
  width: 100%;
  height: 320px;
  background-color: #ececec;
  border-radius: 16px;
  border: 2px dashed #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.shops-preview__map-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #666666;
  font-weight: 600;
  font-size: 18px;
}

.shops-preview__map-hint {
  font-size: 14px;
  font-weight: 400;
  color: #888888;
}

/* ==========================================
   5. Блок кратко о мастере (About Preview)
   ========================================== */

.about-preview {
  padding: 80px 0;
  background-color: #fcfcfc;
  border-top: 1px solid #eaeaea;
}

.about-preview__wrapper--full {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.about-preview__content .section-title,
.about-preview__content .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.about-preview__content .section-title {
  margin-bottom: 16px;
}

.about-preview__content .section-subtitle {
  margin-bottom: 36px;
  color: #555555;
}

.about-preview__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  text-align: left;
}

.about-preview__feature-item {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
}

.about-preview__feature-num {
  font-size: 18px;
  font-weight: 800;
  color: #ff6b00;
}

.about-preview__action {
  display: flex;
  justify-content: center;
}

/* ==========================================
   Подвал сайта (Footer)
   ========================================== */

.footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Принудительно запрещаем любые переносы в имени */
.footer .logo__text {
  display: inline-block;
  white-space: nowrap;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__desc {
  font-size: 14px;
  color: #aaaaaa;
  line-height: 1.6;
  max-width: 320px;
}

.footer__title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 14px;
  color: #aaaaaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: #ff6b00;
}

.footer__text-muted {
  font-size: 14px;
  color: #888888;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13px;
  color: #888888;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copyright {
  color: #888888;
}

.footer__tax-info {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aaaaaa;
  font-weight: 500;
}

.footer__tax-divider {
  color: #666666;
}

/* ==========================================
   Адаптивность (Мобильные устройства)
   ========================================== */

@media (max-width: 768px) {

  /* Общие отступы секций для мобилок */
  .categories,
  .shops-preview,
  .about-preview {
    padding: 50px 0;
  }

  /* --- 1. Шапка (Header) --- */
  .header__container {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  /* Навигацию на мобилках можно сделать компактнее или скрыть/свернуть */
  .nav__list {
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .header__actions {
    display: none; /* Скрываем дублирующую кнопку в шапке на маленьких экранах, чтобы не загромождать */
  }

  /* --- 2. Главный баннер (Hero) --- */
  .hero__container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero__subtitle {
    font-size: 15px;
  }

  .hero__actions {
    justify-content: center;
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  /* --- 3. Категории --- */
  .categories__grid {
    grid-template-columns: 1fr; /* В один столбец */
    gap: 20px;
  }

  .section-title {
    font-size: 26px;
  }

  /* --- 4. Анонс полок --- */
  .shops-preview__wrapper {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 30px;
  }

  .shops-preview__content .section-title,
  .shops-preview__content .section-subtitle {
    text-align: center;
  }

  .shops-preview__list {
    align-items: center;
    text-align: center;
  }

  /* --- 5. О мастере --- */
  .about-preview__wrapper--full {
    padding: 25px;
  }

  .about-preview__features {
    grid-template-columns: 1fr; /* Карточки преимуществ друг под другом */
  }

  /* --- 6. Подвал (Footer) --- */
  .footer__top {
    grid-template-columns: 1fr; /* Все колонки подвала в столбец */
    gap: 30px;
    text-align: center;
  }

  .footer__col {
    align-items: center;
  }

  .footer__desc {
    max-width: 100%;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer__tax-info {
    justify-content: center;
  }
}