
    /* Контейнер для карточек */
    .roll-collections {
      display: grid;
      grid-template-columns: 1fr 1.5fr 1fr; /* Средняя колонка шире */
      gap: 20px;
      padding: 50px;
      transition: grid-template-columns 0.3s ease;
    }

    /* Стиль для каждой карточки */
    .roll-card {
      background-color: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      cursor: pointer;
      transition: transform 0.3s ease;
      position: relative;
      height: 500px;
    }

    .roll-card-content {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .roll-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
    }

    /* Затемняющий оверлей для лучшей читаемости текста */
    .roll-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
      z-index: 2;
    }

    .roll-card-info {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 30px;
      z-index: 3;
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .roll-card-title {
      text-align: left;
      font-size: 1.6rem;
      font-weight: bold;
      color: white;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    .roll-card-subtitle {
      text-align: left;
      font-size: 1.1rem;
      color: rgba(255,255,255,0.9);
      text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .roll-card-button {
      background-color: rgba(255, 255, 255, 0.25);
      color: white;
      border: none;
      border-radius: 6px;
      padding: 12px 20px;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s ease;
      margin-top: 12px;
      align-self: flex-start;
      z-index: 4;
      backdrop-filter: blur(2px);
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.3);
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }

    .roll-card-button:hover {
      background-color: rgba(255, 255, 255, 0.4);
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }

    /* Эффект при наведении на карточку */
    .roll-card:hover {
      transform: scale(1.05);
      z-index: 10;
    }

    /* Сдвиг соседних карточек при наведении на первую */
    .roll-collections:has(.roll-card:nth-child(1):hover) .roll-card:nth-child(2),
    .roll-collections:has(.roll-card:nth-child(1):hover) .roll-card:nth-child(3) {
      transform: translateX(20px);
    }

    /* Сдвиг соседних карточек при наведении на вторую */
    .roll-collections:has(.roll-card:nth-child(2):hover) .roll-card:nth-child(1) {
      transform: translateX(-20px);
    }

    .roll-collections:has(.roll-card:nth-child(2):hover) .roll-card:nth-child(3) {
      transform: translateX(20px);
    }

    /* Сдвиг соседних карточек при наведении на третью */
    .roll-collections:has(.roll-card:nth-child(3):hover) .roll-card:nth-child(1),
    .roll-collections:has(.roll-card:nth-child(3):hover) .roll-card:nth-child(2) {
      transform: translateX(-20px);
    }

    /* Плавный переход для всех карточек */
    .roll-card {
      transition: transform 0.3s ease;
    }

    /* Стили для ссылки */
    .roll-card a {
      text-decoration: none;
      color: inherit;
      display: block;
      width: 100%;
      height: 100%;
    }

    /* Адаптивность для мобильных устройств */
    @media (max-width: 768px) {
      /*body {*/
      /*  padding: 10px;*/
      /*}*/

      .roll-collections {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 0 20px 0;
        gap: 8px;
        margin: 0 -5px;
      }

      .roll-card {
        min-width: calc(100% - 16px);
        width: calc(100% - 16px);
        height: 500px;
        scroll-snap-align: center;
        transform: none !important;
        margin: 0 8px;
        flex-shrink: 0;
      }

      /* Первая и последняя карточки с особыми отступами */
      .roll-card:first-child {
        margin-left: 8px;
      }

      .roll-card:last-child {
        margin-right: 8px;
      }

      /* Скрываем кнопку на мобильных устройствах */
      .roll-card-button {
        display: none;
      }

      /* Скрываем скроллбар для лучшего вида */
      .roll-collections::-webkit-scrollbar {
        display: none;
      }

      .roll-collections {
        -ms-overflow-style: none;
        scrollbar-width: none;
      }
    }



.collections-section-main .firm-style {
  text-align: center;
  font-family: 'Forum', serif;
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: -20px;
}

.collections-section-main h2 {
  text-align: center;
  font-family: 'Forum', serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 20px;
}