/* Стили для основной страницы прайс-листа */
/* Удалено ограничение ширины main-content, чтобы hero-секция могла растянуться на всю ширину */

/* Основные стили секции прайс-листов */
.prices {
    padding: 5vw 0;
    background-color: #fbfbfb;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .prices__container {
    width: 80vw;
    margin: 0 auto;
    text-align: center;
    overflow: visible;
  }
  
  /* Подсказка о прокрутке для мобильных устройств */
  .prices__scroll-hint {
    display: none;
    text-align: center;
    font-size: 3vw;
    color: var(--color-text);
    margin-bottom: 3vw;
    padding: 2vw;
    background-color: rgba(6, 150, 238, 0.1);
    border-radius: var(--border-radius-md);
    animation: pulseHint 2s ease-in-out infinite;
  }
  
  @keyframes pulseHint {
    0%, 100% {
      opacity: 0.7;
    }
    50% {
      opacity: 1;
    }
  }
  
  @media (max-width: 768px) {
    .prices__scroll-hint {
      display: block;
    }
  }
  
  /* Универсальные классы */
  .blue {
    color: var(--color-primary);
  }
  
  .bold {
    font-weight: 700;
  }
  
  /* Единый класс для всех основных заголовков h2 */
  .main-title {
    font-weight: 900;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.04em;
    text-align: center;
    margin: 0 0 3vw 0;
    color: var(--color-text);
  }
  
  .prices__title {
    font-weight: 900;
    font-size: 3.125vw;
    line-height: 4.1666666667vw;
    letter-spacing: 0.04em;
    text-align: center;
    margin: 0 0 3vw 0;
    color: var(--color-text);
  }
  
  /* Заголовок таблицы с иконками действий */
  .prices__table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1vw;
  }
  
  .prices__table-actions {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    flex-shrink: 0;
  }
  
  .prices__download-icon,
  .prices__print-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2vw;
    height: 2vw;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0.7;
    flex-shrink: 0;
  }
  
  .prices__download-icon:hover,
  .prices__download-icon:focus,
  .prices__print-icon:hover,
  .prices__print-icon:focus {
    opacity: 1;
    background-color: var(--color-primary-hover);
    transform: scale(1.1);
    box-shadow: var(--shadow-light);
  }
  
  .prices__download-icon svg,
  .prices__print-icon svg {
    width: 1vw;
    height: 1vw;
  }
  
  /* Таблицы прайс-листов */
  .prices__tables {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3vw;
    align-items: start;
  }
  
  .prices__column {
    display: flex;
    flex-direction: column;
    gap: 2vw;
  }
  
  .prices__table-wrapper {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-fast);
    width: 100%;
  }
  
  .prices__table-wrapper:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-0.3vw);
  }
  
  /* Добавляем overflow для мобильных устройств */
  @media (max-width: 768px) {
    .prices__table-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      position: relative;
    }
    
    /* Добавляем тень-индикатор прокрутки */
    .prices__table-wrapper::after {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 30px;
      background: linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent);
      pointer-events: none;
      opacity: 0.5;
    }
    
    /* Кастомная полоса прокрутки для WebKit браузеров */
    .prices__table-wrapper::-webkit-scrollbar {
      height: 8px;
    }
    
    .prices__table-wrapper::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
    }
    
    .prices__table-wrapper::-webkit-scrollbar-thumb {
      background: var(--color-primary);
      border-radius: 10px;
    }
    
    .prices__table-wrapper::-webkit-scrollbar-thumb:hover {
      background: var(--color-primary-hover);
    }
  }
  
  .prices__table-title {
    background-color: var(--color-primary);
    color: white;
    padding: 1.5vw 2vw;
    margin: 0;
    font-size: 1.1vw;
    font-weight: 900;
    text-align: center;
    letter-spacing: 0.04em;
  }
  
  .prices__table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 100%;
    table-layout: auto;
  }
  
  @media (max-width: 768px) {
    .prices__table {
      min-width: 450px;
      display: table;
    }
  }
  
  @media (max-width: 480px) {
    .prices__table {
      min-width: 380px;
    }
  }
  
  .prices__table-header {
    background-color: var(--color-bg-secondary);
    padding: 1.2vw 1.5vw;
    text-align: left;
    font-weight: var(--font-weight-semibold);
    font-size: 1vw;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
  }
  
  @media (max-width: 768px) {
    .prices__table-header {
      white-space: normal;
      word-wrap: break-word;
    }
  }
  
  .prices__table-cell {
    padding: 1vw 1.5vw;
    font-size: 0.9vw;
    color: var(--color-text);
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
    text-align: left;
    word-wrap: break-word;
    max-width: 250px;
  }
  
  @media (max-width: 768px) {
    .prices__table-cell {
      max-width: 200px;
    }
  }
  
  @media (max-width: 480px) {
    .prices__table-cell {
      max-width: 150px;
    }
  }
  
  .prices__table-cell:hover {
    background-color: rgba(6, 150, 238, 0.02);
  }
  
  .prices__table-cell--price {
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    text-align: right;
  }
  
  .prices__table tr:last-child .prices__table-cell {
    border-bottom: none;
  }
  
  /* Дополнительный текст для блока цен */
  .prices__text-content {
    margin-top: 4vw;
    padding: 2vw 0;
    text-align: left;
  }
  
  .prices__text-content p {
    font-size: 1.1vw;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 1.5vw;
  }
  
  /* Стили для всех h3 внутри prices__container */
  .prices__container h3 {
    font-weight: 900;
    font-size: 1.2vw;
    line-height: 3vw;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 2vw 0 1.5vw 0;
  }

  .prices__container .su-row h3 {
    color: #222;
  }
  
  /* Стили для списков в блоке цен */
  .prices__text-content ol,
  .prices__text-content ul {
    margin: 1.5vw 0;
    padding-left: 2vw;
  }

  .prices__text-content h3 {
    color: #222;
  }

  .prices__text-content h4 {
    font-size: 1.15vw;
    font-weight: 700;
    color: var(--color-text);
    margin: 2vw 0 1vw 0;
    line-height: 1.4;
  }
  
  .prices__text-content ol {
    list-style: none;
  }
  
  .prices__text-content ol li,
  .prices__text-content ul li {
    margin-bottom: 0.8vw;
    padding-left: 0.5vw;
    line-height: 1.6;
    color: var(--color-text);
    font-size: 1.1vw;
    position: relative;
  }
  
  .prices__text-content ol li::before {
    content: counter(list-item);
    position: absolute;
    left: -2vw;
    top: 0;
    width: 1.5vw;
    height: 1.5vw;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8vw;
    font-weight: bold;
    box-shadow: var(--shadow-primary-light);
  }
  
  .prices__text-content ul li::before {
    content: "✓";
    position: absolute;
    left: -2vw;
    top: 0;
    width: 1.5vw;
    height: 1.5vw;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9vw;
    font-weight: bold;
    box-shadow: var(--shadow-primary-light);
  }
  
  /* ======================== */
  /* АДАПТИВНОСТЬ СЕКЦИИ ПРАЙС-ЛИСТОВ */
  /* ======================== */

  /* Tablet and smaller desktop screens */
  @media (max-width: 1200px) {
    .prices__container {
      width: 85vw;
    }

    .main-title,
    .prices__title {
      font-size: 3.5vw;
      line-height: 4.5vw;
    }

    .prices__tables {
      gap: 2.5vw;
    }

    /* Icons */
    .prices__download-icon,
    .prices__print-icon {
      width: 2.2vw;
      height: 2.2vw;
      min-width: 28px;
      min-height: 28px;
    }

    .prices__download-icon svg,
    .prices__print-icon svg {
      width: 1.1vw;
      height: 1.1vw;
      min-width: 14px;
      min-height: 14px;
    }

    /* Table elements */
    .prices__table-title {
      font-size: 1.1vw;
      font-weight: 900;
      letter-spacing: 0.04em;
      padding: 1.8vw 2.5vw;
    }

    .prices__table-header {
      font-size: 1.1vw;
      padding: 1.4vw 2vw;
    }

    .prices__table-cell {
      font-size: 1vw;
      padding: 1.2vw 2vw;
    }

    /* Text content */
    .prices__container h3 {
      font-weight: 900;
      font-size: 2.5vw;
      line-height: 3.3vw;
      letter-spacing: 0.04em;
      margin: 2.5vw 0 1.8vw 0;
    }

    /* Increase text content size on tablets */
    .prices__text-content p {
      font-size: 1.3vw;
    }

    .prices__text-content h4 {
      font-size: 1.5vw;
    }

    .prices__text-content ol li,
    .prices__text-content ul li {
      font-size: 1.3vw;
    }
  }
  
  /* Medium tablets - переход к однокоолоночному макету */
  @media (max-width: 992px) {
    .prices__tables {
      grid-template-columns: 1fr 1fr;
      gap: 3vw;
    }
    
    .prices__column {
      gap: 2.5vw;
    }
  }
  
  /* Fixes for screens around 1068px - предотвращение выхода контента за границы */
  @media (max-width: 1100px) and (min-width: 993px) {
    .prices__container {
      width: 90vw;
      max-width: 100%;
    }
    
    .prices__tables {
      grid-template-columns: 1fr 1fr;
      gap: 2.5vw;
    }
    
    .prices__table-wrapper {
      max-width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
    
    .prices__table {
      min-width: 100%;
    }
    
    .prices__table-title {
      font-size: 3vw;
      padding: 1.5vw 2vw;
      white-space: normal;
      word-wrap: break-word;
    }
    
    .prices__table-header {
      font-size: 1vw;
      padding: 1.2vw 1.5vw;
    }
    
    .prices__table-cell {
      font-size: 0.95vw;
      padding: 1vw 1.5vw;
    }
  }
  
  /* Mobile tablets */
  @media (max-width: 768px) {
    .prices__container {
      width: 90vw;
    }

    /* Titles */
    .main-title,
    .prices__title {
      font-size: 6vw;
      line-height: 7vw;
      margin-bottom: 5vw;
    }

    /* Layout changes */
    .prices__tables {
      grid-template-columns: 1fr;
      gap: 4vw;
    }

    .prices__column {
      gap: 3vw;
    }

    .prices__table-wrapper {
      border-radius: var(--border-radius-xl);
      max-width: 100%;
    }

    /* Icons */
    .prices__download-icon,
    .prices__print-icon {
      width: 6vw;
      height: 6vw;
      min-width: 32px;
      min-height: 32px;
    }

    .prices__download-icon svg,
    .prices__print-icon svg {
      width: 3vw;
      height: 3vw;
      min-width: 16px;
      min-height: 16px;
    }

    /* Table elements */
    .prices__table-title {
      font-size: 2vw;
      font-weight: 900;
      letter-spacing: 0.04em;
      padding: 3vw 4vw;
      white-space: normal;
      word-wrap: break-word;
      min-height: auto;
    }

    .prices__table-header {
      font-size: 3vw;
      padding: 2.5vw 3vw;
      white-space: normal;
      min-width: 80px;
    }

    .prices__table-cell {
      font-size: 2.8vw;
      padding: 2.5vw 3vw;
      white-space: normal;
      min-width: 100px;
    }

    .prices__table-cell--price {
      text-align: left;
      font-size: 3vw;
      white-space: nowrap;
      min-width: 120px;
    }

    /* Text content */
    .prices__text-content {
      margin-top: 6vw;
      padding: 3vw 0;
    }

    .prices__text-content p {
      font-size: 3.5vw;
    }

    .prices__container h3 {
      font-weight: 900;
      font-size: 3.5vw;
      line-height: 7vw;
      letter-spacing: 0.04em;
      margin: 4vw 0 3vw 0;
    }

    .prices__text-content h4 {
      font-size: 3.8vw;
      margin: 3vw 0 2vw 0;
    }

    /* List styles */
    .prices__text-content ol,
    .prices__text-content ul {
      margin: 3vw 0;
      padding-left: 6vw;
    }

    .prices__text-content ol li,
    .prices__text-content ul li {
      margin-bottom: 2vw;
      padding-left: 1vw;
      font-size: 3.5vw;
      color: var(--color-text);
    }

    .prices__text-content ol li::before {
      left: -6vw;
      width: 4vw;
      height: 4vw;
      font-size: 2.5vw;
    }

    .prices__text-content ul li::before {
      left: -6vw;
      width: 4vw;
      height: 4vw;
      font-size: 3vw;
    }
  }
  
  /* Mobile phones */
  @media (max-width: 480px) {
    .prices__container {
      width: 95vw;
    }

    /* Titles */
    .main-title,
    .prices__title {
      font-size: 7vw;
      line-height: 8vw;
      margin-bottom: 6vw;
    }

    /* Layout */
    .prices__tables {
      gap: 5vw;
    }

    .prices__column {
      gap: 4vw;
    }

    /* Icons */
    .prices__download-icon,
    .prices__print-icon {
      width: 7vw;
      height: 7vw;
      min-width: 36px;
      min-height: 36px;
    }

    .prices__download-icon svg,
    .prices__print-icon svg {
      width: 3.5vw;
      height: 3.5vw;
      min-width: 18px;
      min-height: 18px;
    }

    /* Table elements */
    .prices__table-title {
      font-size: 5vw;
      font-weight: 900;
      letter-spacing: 0.04em;
      padding: 3.5vw 4vw;
      white-space: normal;
      word-wrap: break-word;
      min-height: auto;
    }

    .prices__table-header {
      font-size: 3.2vw;
      padding: 3vw 3.5vw;
      white-space: normal;
      min-width: 70px;
    }

    .prices__table-cell {
      font-size: 3vw;
      padding: 3vw 3.5vw;
      white-space: normal;
      min-width: 90px;
    }

    .prices__table-cell--price {
      font-size: 3.2vw;
      white-space: nowrap;
      min-width: 100px;
    }

    /* Text content */
    .prices__text-content {
      margin-top: 8vw;
      padding: 4vw 0;
    }

    .prices__text-content p {
      font-size: 4vw;
    }

    .prices__container h3 {
      font-weight: 900;
      font-size: 6vw;
      line-height: 7.5vw;
      letter-spacing: 0.04em;
      margin: 5vw 0 3.5vw 0;
    }
  }
  
  /* Extra small screens */
  @media (max-width: 360px) {
    .prices__container {
      width: 100%;
      padding: 0 2vw;
    }
    
    .prices__table {
      min-width: 320px;
    }
    
    .prices__table-header {
      font-size: 3.5vw;
      min-width: 60px;
    }
    
    .prices__table-cell {
      font-size: 3.3vw;
      min-width: 80px;
      padding: 2.5vw 2.5vw;
    }
    
    .prices__table-cell--price {
      font-size: 3.5vw;
      min-width: 90px;
    }
  }